This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman on-line!
See this thread for details.
The moose likes Servlets and the fly likes Problem STOPPING tomcat 5.0... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Building Microservices this week in the Design forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Problem STOPPING tomcat 5.0..." Watch "Problem STOPPING tomcat 5.0..." New topic

Problem STOPPING tomcat 5.0...

Ivan Jouikov
Ranch Hand

Joined: Jul 22, 2003
Posts: 269
I have a problem stopping tomcat on my computer. Whenever I run from the bin directory, I get the following:
[ivanjouikov@ned bin] $ ./
Using CATALINA_BASE: /usr/local/jakarta/build
Using CATALINA_HOME: /usr/local/jakarta/build
Using CATALINA_TMPDIR: /usr/local/jakarta/build/temp
Using JAVA_HOME: /usr/java/j2sdk1.4.2_04
Catalina.stop: Connection refused Connection refused
at Method)
at org.apache.catalina.startup.Catalina.stopServer(
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(
at sun.reflect.DelegatingMethodAccessorImpl.invoke(
at java.lang.reflect.Method.invoke(
at org.apache.catalina.startup.Bootstrap.stopServer(
at org.apache.catalina.startup.Bootstrap.main(
[ivanjouikov@ned bin] $

Btw tomcat IS running while I attempt that. I have no clue what's going on. Please help!
William Brogden
Author and all-around good cowpoke

Joined: Mar 22, 2000
Posts: 13005
What it sounds like is that the shutdown script is not using the right port - I have no idea how this could come about.
Incidently, since this is Tomcat specific, you should have posted in the Tomcat forum.
Ivan Jouikov
Ranch Hand

Joined: Jul 22, 2003
Posts: 269
I scanned thru the forum list and didn't see it... sorry
I agree. Here's the link:
subject: Problem STOPPING tomcat 5.0...
jQuery in Action, 3rd edition