Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

tomcat startup error.  RSS feed

 
MP
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 83
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!