This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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 Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Tomcat Issue" Watch "Tomcat Issue" New topic
Author

Tomcat Issue

Vj Reddy
Greenhorn

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_BASE: ..
Using CATALINA_HOME: ..
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.
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:150)
C:\Tomcat 4.1\bin>
[ September 28, 2006: Message edited by: Bear Bibeault ]
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12761
    
    5
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?

Bill
Vj Reddy
Greenhorn

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

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
 
Similar Threads
Tomcat Shutdown problem
tomcat configuration problem
Another shutting down problem
Error while Shutting down Tomcat 4.1
connection refused on tomcat web server