2009/6/30 zhicheng wang <zcwli...@hotmail.co.uk>:
>
> if i try to start tomcat using
>
> service tomcat start
>
> it hangs at INFO: Initializing Spring root WebApplicationContext
>
> or reboot also hangs here
>
>
>
> BUT, if i run the following commands, it starts up fine:
>
> /etc/init.d/tomcat start
>
> /etc/rc5.d/S80tomcat start
>
> $CATALINA_HOME/bin/startup.sh
>

AFAIK, one of essentials about /sbin/service is that starts
the script using empty environment.

Maybe that causes the difference.

Best regards,
Konstantin Kolinko

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to