wood burning stoves
The moose likes Tomcat and the fly likes Tomcat Issue Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Tomcat Issue" Watch "Tomcat Issue" New topic

Tomcat Issue

Vj Reddy

Joined: Sep 28, 2006
Posts: 20
Not able to start up my tomcat , even the logs doesn't showup any thing
Just got this below when trying to do a shut down
Please help really urgent

C:\Tomcat 4.1\bin>shutdown.bat
Using CATALINA_TMPDIR: ..\temp
Using JAVA_HOME: C:\jdk1.4.2
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:461)
at java.net.Socket.connect(Socket.java:411)
at java.net.Socket.<init>(Socket.java:310)
at java.net.Socket.<init>(Socket.java:125)
at org.apache.catalina.startup.Catalina.stop(Catalina.java:831)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:683)
at org.apache.catalina.startup.Catalina.process(Catalina.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:150)
C:\Tomcat 4.1\bin>
[ September 28, 2006: Message edited by: Bear Bibeault ]
William Brogden
Author and all-around good cowpoke

Joined: Mar 22, 2000
Posts: 13018
That exception on shutdown is what you get if Tomcat is not actually running and is therefore not listening on the control port.

How are you trying to start Tomcat? What happens when you do it?

Vj Reddy

Joined: Sep 28, 2006
Posts: 20
trying to start tomcat with the startup.bat file from bin folder
Ben Souther

Joined: Dec 11, 2004
Posts: 13410

And what happens when you do this?
Did you try hitting http://localhost:8080 from the machine where Tomcat is running?

Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
I agree. Here's the link: http://aspose.com/file-tools
subject: Tomcat Issue
jQuery in Action, 3rd edition