WebObjects and IPv6 Support
WebObjects and IPv6 Support
- Subject: WebObjects and IPv6 Support
- From: Saad Laassel <email@hidden>
- Date: Wed, 16 Apr 2014 15:23:08 -0400
Hello All,
We are trying to deploy a webobjects application on an IPv6 network but as soon we pass "java.net.preferIPv6Addresses = true" to the JVM, to try to force our app to use IPv6 addresses we get the following error and the application can not start up:
<Servlet: "WOServletAdaptor" failed to preload on startup in Web application: "app".
javax.servlet.UnavailableException: Error initializing servlet adaptor: null
at com.webobjects.jspservlet.WOServletAdaptor._applicationInit(WOServletAdaptor.java:442)
at com.webobjects.jspservlet.WOServletAdaptor.initStatics(WOServletAdaptor.java:95)
We believe this is due to the EOTemporaryGlobalID._setHostIdentificationBytes() method that's part of the javaeocontrol jar. The _setHostIdentificationBytes() method expects the ip address to be either 4 bytes or 6 bytes, but in the case of IPv6 it will be 16 bytes so the check fails and an exception is thrown. The fix is pretty straight forward but since this is part of the WebObjects framework we are unable to change the source code and are wondering if this was already addressed as part of project wonder? or if somebody has been successful at running WebObjects with IPv6 some other way? Thanks in advance.
Thanks,
Saad
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden