[Bug 7069] starting win32-version of tomcat fails with a "jvm_bind" or "java.util.TimeZone.getTimeZone" error message

Wine Bugs wine-bugs at winehq.org
Tue Jan 9 23:31:46 CST 2007


http://bugs.winehq.org/show_bug.cgi?id=7069





------- Additional Comments From uberfob at gmail.com  2007-09-01 23:31 -------
I think there is a workaround for the JVM_Bind problem that could help!

I have been researching this problem for a while. A Linux strace revealed that
Java tries to use IPv6 address space to open a port by default. And it seems
that Wine does not support that, making the JVM fail with a misleading error
message.

There is a Java system property called "java.net.preferIPv4Stack" that, when set
to "true" makes the JVM use the tried-and-true IPv4 network stack. Running
Tomcat with that property set to true makes it work, and strace confirms that.

I'm sure other folks have gotten to this workaround already, but I couldn't find
a mention of it yet. Hope this helps.

P.S. the TimeZone bug also has a workaround, it's documented somewhere on the
Internet.

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the wine-bugs mailing list