Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Dec 2004 10:09:24 +0100
From:      Xinizul Xinizul <xinizul@gmail.com>
To:        freebsd-java@freebsd.org
Subject:   Tomcat 5
Message-ID:  <4d07305604121601092e204cd@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hello all:

I have installed Jakarta Tomcat 5 in my RELEASE 5.3 system together
with jakarta-struts just to enjoy a bit.

I have found the following problem:

Tomcat is configured by default as a daemon running the script located
in /usr /local/etc/rc.d/020.jakarta-tomcat50.sh

When started in this way There are some web app that doesnt run at all
like he "admin" application and the struts example web applications. A
sample excpetion rised in the log file coud be:

java.io.FileNorFoundException:/usr/local/jakarta-tomcat5.0/work/Catalina/locahost/struts-blank/loader/apache/struts/resources/web-app_2_2.dtd
(No such file or directory)


By the way if I start Tomcat with the script
/usr/local/jakarta-tomcat5.0/bin/startup.sh script then all run fine.

The question is: How can I fix the daemon issue to work in the same
way as the startup script?

Thanks a lot,

Xinizul



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4d07305604121601092e204cd>