You are not logged in.

#1 2006-11-24 00:37:05

eduac
Member
Registered: 2006-03-17
Posts: 123

tomcat script problem

Hi all,


The tomcat start/stop script cant works on stop state:

# /etc/rc.d/tomcat stop
:: Stopping Tomcat                                 [FAIL]

The script:

  stop)
    stat_busy "Stopping Tomcat"
    /opt/tomcat/bin/jsvc 
      -stop 
      -pidfile /var/run/tomcat.pid 
      org.apache.catalina.startup.Bootstrap

    if [ $? -gt 0 ]; then
      stat_fail
    else
      rm_daemon tomcat
      stat_done
    fi
    ;;

Arch - newbie

Offline

#2 2006-11-24 04:52:35

neotuli
Lazy Developer
From: London, UK
Registered: 2004-07-06
Posts: 1,204
Website

Re: tomcat script problem

Yes, I wrote that code and it works here. Hmmm....


The suggestion box only accepts patches.

Offline

#3 2007-02-01 20:24:23

qwerty
Member
Registered: 2004-12-17
Posts: 183

Re: tomcat script problem

It works if you perform:

/etc/rc.d/tomcat stop

But i don't know why it doesn't work when you are shutting down your pc and it try stops automatically all the daemons...

Last edited by qwerty (2007-02-01 20:24:53)

Offline

#4 2007-02-04 17:29:59

colnago
Member
From: Victoria, BC
Registered: 2004-03-25
Posts: 438

Re: tomcat script problem

Hi,

Is there anything in /var/log/... about the failed stop?  It seems to be fine for me.  Also, maybe look around somewhere else for your catalina.out.  Maybe these are both related to a path issue?

Good luck.

Offline

#5 2007-02-08 21:13:17

qwerty
Member
Registered: 2004-12-17
Posts: 183

Re: tomcat script problem

In /opt/logs/catalina.log i can read only:

jsvc.exec error: Shutdown or reload already scheduled

Catalina.out is not present in my system, neither all the other dailly logs and so on...

Offline

Board footer

Powered by FluxBB