You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Joel Hughes <jo...@jojet.com> on 2003/01/15 12:31:27 UTC
Shutdown.bat problem on Windows 2000
Hi all,
This is my first post to this group so apologies if I'm breaking any
conventions.
I have installed TC 4.1.18 on Windows 2000 server. JDK 1.4 is present as
well.
TC seems to run fine and I can hit it on the 8080 etc.
However, when I try to run SHUTDOWN.BAT I get the following error:
<ERROR>
C:\Program Files\Apache Group\Tomcat 4.1\bin>shutdown.bat
Using CATALINA_BASE: C:\Program Files\Apache Group\Tomcat 4.1
Using CATALINA_HOME: C:\Program Files\Apache Group\Tomcat 4.1
Using CATALINA_TMPDIR: C:\Program Files\Apache Group\Tomcat 4.1\temp
Using JAVA_HOME: C:\j2sdk1.4.1_01
Catalina.stop: java.net.ConnectException: Connection refused: connect
java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
at
java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
at java.net.Socket.connect(Socket.java:426)
at java.net.Socket.connect(Socket.java:376)
at java.net.Socket.<init>(Socket.java:291)
at java.net.Socket.<init>(Socket.java:119)
at org.apache.catalina.startup.Catalina.stop(Catalina.java:581)
at
org.apache.catalina.startup.Catalina.execute(Catalina.java:402)
at
org.apache.catalina.startup.Catalina.process(Catalina.java:180)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
C:\Program Files\Apache Group\Tomcat 4.1\bin>
</ERROR>
Any ideas?
I can shutdown and restart TC from the Services menu but I am more
interested in fixing this error. I have had a similar problem with TC on
other Windows boxes.
Any ideas appreciated.
Regards
Joel Hughes
____________________________________________
Jojet
35 Farm Road
Hove East Sussex
+44 (0)1273 324771
http://www.jojet.com/
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.408 / Virus Database: 230 - Release Date: 24/10/2002
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Upgrading an application from TC3 to TC4
Posted by Joel Hughes <jo...@jojet.com>.
Hi all,
I have searched for this but haven't turned up much.
Does anyone no of an URL which talks about the general points which need
to be addressed when moving a webapp from TC3 to TC4.1 (there are config
file changes etc etc).
Regards
Joel Hughes
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.408 / Virus Database: 230 - Release Date: 24/10/2002
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
RE: Shutdown.bat problem on Windows 2000
Posted by Joel Hughes <jo...@jojet.com>.
> Tomas Wredendal
>You can't use shutdown.bat when you run Tomcat as service
>use service-console or command 'net start/stop "Apache Tomcat 4.1"'
Ah! The truth at last!
Thanks
joel
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.408 / Virus Database: 230 - Release Date: 24/10/2002
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: Shutdown.bat problem on Windows 2000
Posted by Tomas Wredendal <to...@bredband.net>.
Joel Hughes wrote:
> Hi all,
> This is my first post to this group so apologies if I'm breaking any
> conventions.
>
> I have installed TC 4.1.18 on Windows 2000 server. JDK 1.4 is present as
> well.
>
> TC seems to run fine and I can hit it on the 8080 etc.
>
> However, when I try to run SHUTDOWN.BAT I get the following error:
>
> <ERROR>
removed
> </ERROR>
>
> Any ideas?
>
> I can shutdown and restart TC from the Services menu but I am more
> interested in fixing this error. I have had a similar problem with TC on
> other Windows boxes.
>
> Any ideas appreciated.
>
> Regards
>
> Joel Hughes
> ____________________________________________
> Jojet
> 35 Farm Road
> Hove East Sussex
> +44 (0)1273 324771
> http://www.jojet.com/
>
You can't use shutdown.bat when you run Tomcat as service
use service-console or command 'net start/stop "Apache Tomcat 4.1"'
--
Tomas
Health is merely the slowest possible rate at which one can die.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
tomas.wredendal@bredband.net
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>