• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

tomcat startup error, please help

 
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello all:
Can someone please explain to me what the following error message mean? It happens when I shutdown the tomcat server,(seems to be successful) then start it up.
Does it mean something is running on port 8080? How do I check what is running on 8080? And how do I stop them? I am pretty sure no other web server is running on 8080, so I suspect the previous Tomcat instance was not deleted successfully, how to check and solve?
Thanks!
java.lang.reflect.InvocationTargetException: org.apache.tomcat.core.TomcatExcept
ion: Root cause - Address already in use
at org.apache.tomcat.modules.server.PoolTcpConnector.engineStart(Unknown
Source)
at org.apache.tomcat.core.ContextManager.start(Unknown Source)
at org.apache.tomcat.startup.EmbededTomcat.start(Unknown Source)
at org.apache.tomcat.startup.EmbededTomcat.execute1(Unknown Source)
at org.apache.tomcat.startup.EmbededTomcat$1.run(Unknown Source)
at org.apache.tomcat.util.compat.Jdk12Support$PrivilegedProxy.run(Unknow
n Source)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.tomcat.util.compat.Jdk12Support.doPrivileged(Unknown Sourc
e)
at org.apache.tomcat.startup.EmbededTomcat.execute(Unknown Source)
at java.lang.reflect.Method.invoke(Native Method)
at org.apache.tomcat.util.IntrospectionUtils.execute(Unknown Source)
at org.apache.tomcat.startup.Main.execute(Unknown Source)
at org.apache.tomcat.startup.Main.main(Unknown Source)
 
Stephen Wei
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi, now I think I know what is wrong, but not why.
I think the problem is that I can not shutdown my tomcat server now for some reason. I use ./shutdown.sh command in the /bin directory. But it gives me the following message..
Using classpath: ./../lib/tomcat.jar
Using JAVA_HOME: /usr/java/jdk1.3.1_01
Using TOMCAT_HOME: /usr/local/tomcat3.3
Stopping Tomcat.
Can't read /usr/local/tomcat3.3/conf/ajp12.id
What does the above mean? It means shutdown fails right? How to solve?
Now I point my browser to tomcat top page, I can still see the welcome page and link through them, so I suppose tomcat is still running after I tried to shut it down. Why?
Please help! Thanks!
 
reply
    Bookmark Topic Watch Topic
  • New Topic