[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-developers] error starting Tomcat with JDK



Diana,
Either Tomcat is already running, and simple stopping and restarting should take care of it. JServ should not be causing the problem, but if Tomcat is not already running, and you are getting the error, then something is running and using that port.

Out of personal preferance I commented out the lines in the httpd.conf file that starts and stops tomcat. Instead I start and stop them seperately, and a symbolic link to the tomcat.sh in the rc3.d directory to handle the startup in the event of a reboot.

Good luck, hope that helps.

Diana Saunders wrote:

I just installed JDK 1.3 and the update. I was restarting httpd (for something unrelated) and at the conclusion of all the messages I got the following:

[admin@dns2 admin]$ FATAL:java.net.BindException: Address already in use
java.net.BindException: Address already in use
at java.net.PlainSocketImpl.socketBind(Native Method)
at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:405)
at java.net.ServerSocket.<init>(ServerSocket.java:170)
at org.apache.tomcat.net.DefaultServerSocketFactory.createSocket(DefaultServerSocketFactory.java:103) at org.apache.tomcat.service.PoolTcpEndpoint.startEndpoint(PoolTcpEndpoint.java:241) at org.apache.tomcat.service.PoolTcpConnector.start(PoolTcpConnector.java:188)
at org.apache.tomcat.core.ContextManager.start(ContextManager.java:527)
at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:202)
at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:235)

I'm not that much of an expert, so I'm not sure what is causing this
or how to correct it. I already had JServ 1.1 installed when I installed JDK, would that cause a problem? Does anyone have a suggestion as to how I can correct this?

Thanks



_________________________________________________________________
MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx

_______________________________________________
cobalt-developers mailing list
cobalt-developers@xxxxxxxxxxxxxxx
http://list.cobalt.com/mailman/listinfo/cobalt-developers





--
Sincerely,
William L. Thomson Jr.
Obsidian-Studios, Inc.
439 Amber Way
Petaluma, Ca. 94952
Phone 	707.766.9509
Fax 707.766.8989
http://www.obsidian-studios.com