problem when allocating port with openjdk6
develop
dev at alegram.com
Mon Dec 6 06:45:14 PST 2010
Hi guys,
I just compiled and successfully installed openjdk6 on my FreeBSD 7.1 box.
I have diablo (patch 07) as well. I have no problem running apache
tomcat with diablo but when I try using openjdk I get the following
exception:
SEVERE: StandardServer.await: create[8885]:
java.net.BindException: Can't assign requested address
at java.net.PlainSocketImpl.socketBind(Native Method)
at java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:336)
at java.net.ServerSocket.bind(ServerSocket.java:336)
at java.net.ServerSocket.<init>(ServerSocket.java:202)
at org.apache.catalina.core.StandardServer.await(StandardServer.java:373)
at org.apache.catalina.startup.Catalina.await(Catalina.java:662)
at org.apache.catalina.startup.Catalina.start(Catalina.java:614)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
I have checked and the port 8885 (the shutdown port of tomcat) is free.
If I change the jdk back to diablo it works.
Any idea what could cause the problem?
/simeon
More information about the bsd-port-dev
mailing list