facebook

stop Tomcat 5

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #206230 Reply

    Andrew Cheng
    Participant

    I start Tomcat from MyEclipse properly, but can not stop it.

    Eclipse Platform

    Version: 3.0.0
    Build id: 200402122000

    (c) Copyright IBM Corp. and others 2000, 2003. All rights reserved.
    Visit http://www.eclipse.org/platform

    — error message —

    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:452)
    at java.net.Socket.connect(Socket.java:402)
    at java.net.Socket.<init>(Socket.java:309)
    at java.net.Socket.<init>(Socket.java:124)
    at org.apache.catalina.startup.Catalina.stopServer(Catalina.java:433)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at org.apache.catalina.startup.Bootstrap.stopServer(Bootstrap.java:322)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:396)

    #206233

    Riyad Kalla
    Member

    Are you using Tomcat 5.0.19 on Linux? If you watch the console output for your main Tomcat thread you may see an exception about a missing proprety, I ran into this exact same error on Linux and found it in the Tomcat bug tracker. It was fixed in the nightly builds so I downloaded 5.0.21 (dev build) and it was working fine.

    The strange part is, sometime later I downloaded 5.0.19 again, and reinstalled it in its own dir, and everything worked fine again.

    For the time being you can just kill the Tomcat process from the debug perspective with the Stop button.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: stop Tomcat 5

You must be logged in to post in the forum log in