Hi
I have installed tomcat 5.5 from ports without problems and consulted
the freebsd docs on it:
http://www.freebsd.org/doc/en_US.ISO8859-1/articles/java-tomcat/x159.html
It seems to start fine, at least it deosnt show any errors... but when i
try to go to:
http://127.0.0.1:8080 i am unable to connect.
I checked the logs in /usr/local/tomcat5.5/logs at both catalina and
localhost but I cant really make out what I am meant to be seeing as a
problem. Its the first time I have used tomcat. I have pasted the
contents of the catalina log below, could anyone let me know where I am
going wrong?
Thanks
Mar 8, 2006 8:45:49 PM org.apache.catalina.core.AprLifecycleListener
lifecycleEvent
INFO: The Apache Portable Runtime which allows optimal performance in
production environments was not found on the java.library.path:
/usr/local/jdk1.4.2/jre/lib/i386/client:/usr/local/jdk1.4.2/jre/lib/i386:/usr/local/jdk1.4.2/jre/../lib/i386:/usr/lib:/usr/local/lib
Mar 8, 2006 8:45:50 PM org.apache.coyote.http11.Http11BaseProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-8180
Mar 8, 2006 8:45:50 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 2770 ms
Mar 8, 2006 8:45:50 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Mar 8, 2006 8:45:50 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5.12
Mar 8, 2006 8:45:50 PM org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
Mar 8, 2006 8:45:56 PM org.apache.coyote.http11.Http11BaseProtocol start
INFO: Starting Coyote HTTP/1.1 on http-8180
Mar 8, 2006 8:45:57 PM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
Mar 8, 2006 8:45:57 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/451 config=null
Mar 8, 2006 8:45:57 PM org.apache.catalina.storeconfig.StoreLoader load
INFO: Find registry server-registry.xml at classpath resource
Mar 8, 2006 8:45:57 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 7739 ms
Mar 8, 2006 8:45:57 PM 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:331)
at java.net.ServerSocket.bind(ServerSocket.java:318)
at java.net.ServerSocket.<init>(ServerSocket.java:185)
at
org.apache.catalina.core.StandardServer.await(StandardServer.java:343)
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:324)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:275)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
Mar 8, 2006 8:45:57 PM org.apache.coyote.http11.Http11BaseProtocol pause
INFO: Pausing Coyote HTTP/1.1 on http-8180
Mar 8, 2006 8:45:57 PM org.apache.catalina.connector.Connector pause
SEVERE: Protocol handler pause failed
java.net.NoRouteToHostException: Can't assign requested address
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
at java.net.Socket.connect(Socket.java:452)
at java.net.Socket.connect(Socket.java:402)
at java.net.Socket.<init>(Socket.java:309)
at java.net.Socket.<init>(Socket.java:153)
at
org.apache.jk.common.ChannelSocket.unLockSocket(ChannelSocket.java:463)
at org.apache.jk.common.ChannelSocket.pause(ChannelSocket.java:270)
at org.apache.jk.server.JkMain.pause(JkMain.java:679)
at org.apache.jk.server.JkCoyoteHandler.pause(JkCoyoteHandler.java:162)
at org.apache.catalina.connector.Connector.pause(Connector.java:1031)
at
org.apache.catalina.core.StandardService.stop(StandardService.java:491)
at org.apache.catalina.core.StandardServer.stop(StandardServer.java:714)
at org.apache.catalina.startup.Catalina.stop(Catalina.java:586)
at
org.apache.catalina.startup.Catalina$CatalinaShutdownHook.run(Catalina.java:629)
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"