Tomcat 5 (ii)

Xinizul Xinizul xinizul at gmail.com
Fri Dec 17 00:33:42 PST 2004


Sorry to post again this message but I'm not sure it was correctly
delivered (I didn't see it in my Inbox as It happens with other lists)

---------- Forwarded message ----------
From: Xinizul Xinizul <xinizul at gmail.com>
Date: Thu, 16 Dec 2004 10:09:24 +0100
Subject: Tomcat 5
To: freebsd-java at freebsd.org


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


More information about the freebsd-java mailing list