Hi,
Rick thank you for your suggestions.I removed all my log files and restarted
tomcat againg but faced the same problems. I also checked and saw that
tomcat was running under user tomcat and not root.
Also I do not use the restart argument for my script. Whenever I work use
stop and start argume
I tried your script both ways and it worked flawlessly on a CentOS 3.6
box.
I would take a look under which user the jvm is running after you start
your script. (ps -ef | grep java) If it is running as root then that
might indicate that something about the su command isn't working as
expected.
It