File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Tomcat and the fly likes tomcat startup error. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "tomcat startup error." Watch "tomcat startup error." New topic
Author

tomcat startup error.

MP
Greenhorn

Joined: Sep 22, 2002
Posts: 6
Tomcat startup error :
[root@krishna root]# tomcat4 run
Using CLASSPATH: /usr/src/redhat/SOURCES/jakarta-tomcat-4.0/bin/bootstrap.jar:/home/jdk1.3.1_01/lib/tools.jar
Using CATALINA_BASE: /usr/src/redhat/SOURCES/jakarta-tomcat-4.0
Using CATALINA_HOME: /usr/src/redhat/SOURCES/jakarta-tomcat-4.0
Using JAVA_HOME: /home/jdk1.3.1_01
Catalina.start: LifecycleException: null.open: java.net.BindException: Permission denied
LifecycleException: null.open: java.net.BindException: Permission denied
at org.apache.catalina.connector.http.HttpConnector.initialize(Unknown Source)
at org.apache.catalina.core.StandardService.initialize(Unknown Source)
at org.apache.catalina.core.StandardServer.initialize(Unknown Source)
at org.apache.catalina.startup.Catalina.start(Unknown Source)
at org.apache.catalina.startup.Catalina.execute(Unknown Source)
at org.apache.catalina.startup.Catalina.process(Unknown Source)
at java.lang.reflect.Method.invoke(Native Method)
at org.apache.catalina.startup.Bootstrap.main(Unknown Source)
----- Root Cause -----
java.net.BindException: Permission denied
at java.net.PlainSocketImpl.socketBind(Native Method)
at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:405)
at java.net.ServerSocket.<init>(ServerSocket.java:170)
at java.net.ServerSocket.<init>(ServerSocket.java:121)
Can somebody help me in resolving this issue.
sonny kher
Ranch Hand

Joined: Nov 06, 2001
Posts: 83
you are trying to start the server on a port that is already in use. Do
netstat --ip -all
and see if the port u are using in the server config file is in use. Then change the port declaration in the config file or stop the service running on that port and restart server.


_ __________________ _ <br />RHCE<br />SCJP<br />??:-(
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: tomcat startup error.