Win a copy of The Journey To Enterprise Agility this week in the Agile and Other Processes forum! And see the welcome thread for 20% off.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
Sheriffs:
  • Paul Clapham
  • Junilu Lacar
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Ganesh Patekar
  • Tim Moores
  • Pete Letkeman
  • Stephan van Hulst
Bartenders:
  • Carey Brown
  • Tim Holloway
  • Joe Ess

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.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!