• 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

what does this error message mean?

 
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, 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?
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)
 
Ranch Hand
Posts: 233
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi
Simple way to check weather some service is runing a port, use the commond below in the commond promt
telnet ip port
where ip = your localhost ip if you don't know. type localhost or 127.0.0.1
are give the url in the browser
http:\\localhost ort
if any service is runing you get some index page. else page not fond error is displayed.
find out wether some service is runing in the same port and revit back the details.
regarding InvocationTargetException refer the details and java doc in the link given below.
http://library.cs.tuiasi.ro/programming/java/java/fclass/ch13_04.htm
and
[URL=http://java.sun.com/j2se/1.3/docs/api/java/lang/reflect/InvocationTargetException.html]http://java.sun.com/j2se/1.3/docs/api/java/lang/reflect/InvocationTargetException.html[/ URL]
-arun
[ February 01, 2002: Message edited by: arun boraiah ]
 
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, thanks for the advice. I tried it, 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!
 
Ranch Hand
Posts: 3695
IntelliJ IDE Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm moving this to the Tomcat forum...
 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm not sure what this means, but I would start out by checking whether /usr/local/tomcat3.3/conf/ajp12.id exists and what its permissions are. Try the commands
cd /usr/local/tomcat3.3/conf
ls -l ajp12.id
You want to determine whether that file is readable by whatever login the tomcat server is running under. If not, change the permissions.
 
reply
    Bookmark Topic Watch Topic
  • New Topic