Page 1 of 1

tomcat retsart problems

Posted: Mon Jan 09, 2006 9:07 pm
by koxbox
im using suse 9.3

tomcat restart did not works...

braintux:~/Desktop # /etc/init.d/tomcat restart
/etc/init.d/tomcat: line 36: /etc/init.d/functions: No such file or directory
braintux:~/Desktop #

----------------------------------------------------


braintux:~ # ps -eaf | grep tomcat
root 17879 1 1 01:48 pts/6 00:00:14 /usr/java/j2sdk1.4.2_10/bin/java -server -Xms256m -Xmx256m -Djava.endorsed.dirs=/root/jakarta-tomcat-5.0.28/common/endorsed -classpath /usr/java/j2sdk1.4.2_10/lib/tools.jar:/root/jakarta-tomcat-5.0.28/bin/bootstrap.jar:/root/jakarta-tomcat-5.0.28/bin/commons-logging-api.jar -Dcatalina.base=/root/jakarta-tomcat-5.0.28 -Dcatalina.home=/root/jakarta-tomcat-5.0.28 -Djava.io.tmpdir=/root/jakarta-tomcat-5.0.28/temp org.apache.catalina.startup.Bootstrap start
braintux:~ #



---------------------------------------------------

i can login into webmail.. but not into scalix server administration...

i get a german error info...
some like that...

cannot find confiiguration files... something is wrong with the administration server

greats

Posted: Mon Jan 09, 2006 9:15 pm
by koxbox
update:

now administartion login works fine...

but... /etc/init.d/tomcat restart --- always same problem

Posted: Mon Jan 09, 2006 9:22 pm
by ScalixSupport
Hi,

You may find that you want to use the service command.

service tomcat start
service tomcat stop
service tomcat restart

Should do the trick for you. Did you by any chance edit the tomcat script to configure your CATALINA_HOME? It also tells you how to set up the script so that it starts automatically.

Thanks,
Don

Posted: Mon Jan 09, 2006 9:55 pm
by koxbox
hi thers no problem tu use startup.sh and shutdown.sh...

but i want to make a startupscript for rc.d... taht use the /etc/init.d/tomcat

i changed in tomcat file the catalina_home diriectory to the right path... /root/jakarta....

on redhat that was the only thing to do...
and works fine...

greats...