BindAddress error with jdk1.5 and Tomcat and Resin

Richard Schilling rschi at rsmba.biz
Fri Nov 11 13:44:46 PST 2005


I'm trying to get tomcat running.  I think it's a JDK problem.  I made 
absoutely sure that Tomcat isn't running, the ports aren't being used, 
and there are no instances of a JVM running anywhere on the box.

I get the same BindAddress error no matter what version of Tomcat I use. 
  Resin report the same error as well.

uname output: FreeBSD newbox.cognitiongroup.biz 6.0-STABLE FreeBSD 
6.0-STABLE #3: Fri Nov  4 23:36:56 PST 2005 
rschilling at elmer.cognitiongroup.biz:/usr/obj/usr/src/sys/PRODUCTION  amd64

java -version output:
java version "1.5.0-p1"
Java(TM) 2 Runtime Environment, Standard Edition (build 
1.5.0-p1-rschilling_06_nov_2005_19_59)
Java HotSpot(TM) 64-Bit Server VM (build 
1.5.0-p1-rschilling_06_nov_2005_19_59, mixed mode)


here's the error log from Tomcat:

Nov 11, 2005 11:49:24 AM org.apache.catalina.core.StandardServer await
SEVERE: StandardServer.await: create[8005]:
java.net.BindException: Can't assign requested address
         at java.net.PlainSocketImpl.socketBind(Native Method)
         at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:359)
         at java.net.ServerSocket.bind(ServerSocket.java:319)
         at java.net.ServerSocket.<init>(ServerSocket.java:185)
         at 
org.apache.catalina.core.StandardServer.await(StandardServer.java:346)
         at org.apache.catalina.startup.Catalina.await(Catalina.java:600)
         at org.apache.catalina.startup.Catalina.start(Catalina.java:560)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:271)
         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:409)


More information about the freebsd-java mailing list