aspose file tools*
The moose likes Tomcat and the fly likes Help with Tomcat 4.0.4 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Help with Tomcat 4.0.4" Watch "Help with Tomcat 4.0.4" New topic
Author

Help with Tomcat 4.0.4

Tonya Johnson
Greenhorn

Joined: Feb 04, 2008
Posts: 16
Can someone please help me? When I type the command /etc/rc2.d/S96tomcat start in UNIX to start tomcat I am getting the following error:

Catalina.start: LifecycleException: Error creating server socket (java.net.BindException): java.net.BindException: Address already in use
LifecycleException: Error creating server socket (java.net.BindException): java.net.BindException: Address already in use
at org.apache.catalina.connector.warp.WarpConnector.initialize(WarpConnector.java:491)
at org.apache.catalina.core.StandardService.initialize(StandardService.java:454)
at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:553)
at org.apache.catalina.startup.Catalina.start(Catalina.java:780)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:681)
at org.apache.catalina.startup.Catalina.process(Catalina.java:179)
at java.lang.reflect.Method.invoke(Native Method)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243)
----- Root Cause -----
java.net.BindException: Address already in use
at java.net.PlainSocketImpl.socketBind(Native Method)
at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:447)
at java.net.ServerSocket.<init>(ServerSocket.java:165)
at java.net.ServerSocket.<init>(ServerSocket.java:116)
at org.apache.catalina.net.DefaultServerSocketFactory.createSocket(DefaultServerSocketFactory.java:118)
at org.apache.catalina.connector.warp.WarpConnector.initialize(WarpConnector.java:485)
at org.apache.catalina.core.StandardService.initialize(StandardService.java:454)
at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:553)
at org.apache.catalina.startup.Catalina.start(Catalina.java:780)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:681)
at org.apache.catalina.startup.Catalina.process(Catalina.java:179)
at java.lang.reflect.Method.invoke(Native Method)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243)
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

This error means that something is already bound to one of the ports that Tomcat wants to use.

Type: netstat -lpn to see what's using what.

In your tomcat/conf/server.xml file, you'll see all the ports that Tomcat wants to use.


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
David O'Meara
Rancher

Joined: Mar 06, 2001
Posts: 13459

From my experience it is usually Skype
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Help with Tomcat 4.0.4