Results 1 to 4 of 4
  1. #1
    jithan is offline Member
    Join Date
    Jun 2008
    Posts
    39
    Rep Power
    0

    Default Shutdown tomcat6 server

    Hello friends,
    I want to shutdown tomcat 6 server ..... how?....... pls help me

    Thanks in advance..

  2. #2
    serjant's Avatar
    serjant is offline Senior Member
    Join Date
    Jun 2008
    Location
    Ukraine,Zaporozhye
    Posts
    487
    Rep Power
    7

    Default

    In linux you enter the folder of your apache-tomcat and then the command as a root:

    Java Code:
    user@root# sh bin/shutdown.sh

  3. #3
    jithan is offline Member
    Join Date
    Jun 2008
    Posts
    39
    Rep Power
    0

    Default

    it gives an error message..........
    Sep 17, 2008 5:46:32 PM org.apache.catalina.startup.Catalina stopServer
    SEVERE: Catalina.stop:
    java.net.ConnectException: Connection refused
    at java.net.PlainSocketImpl.socketConnect(Native Method)
    at java.net.PlainSocketImpl.doConnect(PlainSocketImpl .java:333)
    at java.net.PlainSocketImpl.connectToAddress(PlainSoc ketImpl.java:195)
    at java.net.PlainSocketImpl.connect(PlainSocketImpl.j ava:182)
    at java.net.SocksSocketImpl.connect(SocksSocketImpl.j ava:366)
    at java.net.Socket.connect(Socket.java:519)
    at java.net.Socket.connect(Socket.java:469)
    at java.net.Socket.<init>(Socket.java:366)
    at java.net.Socket.<init>(Socket.java:180)
    at org.apache.catalina.startup.Catalina.stopServer(Ca talina.java:421)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.apache.catalina.startup.Bootstrap.stopServer(B ootstrap.java:337)
    at org.apache.catalina.startup.Bootstrap.main(Bootstr ap.java:415)

  4. #4
    serjant's Avatar
    serjant is offline Senior Member
    Join Date
    Jun 2008
    Location
    Ukraine,Zaporozhye
    Posts
    487
    Rep Power
    7

    Default

    As i told you ,to do that as a root and not as a user.
    but i think it is not the whole exception which was given to you
    Last edited by serjant; 09-17-2008 at 05:38 PM.

Similar Threads

  1. How to send SMS and E-Mail on Jboss shutdown.
    By thufail@neevtech.com in forum Java Servlet
    Replies: 1
    Last Post: 12-29-2008, 09:51 AM
  2. VJSF/Tomcat6.x: Trouble accessing libraries
    By VJSFDeveloper in forum SWT / JFace
    Replies: 0
    Last Post: 09-08-2008, 05:52 PM
  3. Does any file in an FTP server ends up in an HTTP server?
    By islamfunny in forum CLDC and MIDP
    Replies: 4
    Last Post: 08-15-2008, 05:30 PM
  4. Replies: 0
    Last Post: 03-31-2008, 11:21 AM
  5. Replies: 0
    Last Post: 09-28-2007, 01:52 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •