• Post Reply Bookmark Topic Watch Topic
  • New Topic

tomcat startup error.  RSS feed

 
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.
 
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.
 
We begin by testing your absorbancy by exposing you to this tiny ad:
Rocket Oven Kickstarter - from the trailboss
https://coderanch.com/t/695773/Rocket-Oven-Kickstarter-trailboss
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!