From owner-freebsd-java@FreeBSD.ORG Fri Dec 17 08:33:42 2004 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F34A116A4CE for ; Fri, 17 Dec 2004 08:33:41 +0000 (GMT) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 42D2B43D5A for ; Fri, 17 Dec 2004 08:33:41 +0000 (GMT) (envelope-from xinizul@gmail.com) Received: by wproxy.gmail.com with SMTP id 69so19112wra for ; Fri, 17 Dec 2004 00:33:40 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=IfQRGQliz0i9h5LX1+Be/MhcCCXdNjanFjD6hC6lKdjquR3mYUVH/PW46FLTCC46vmt5gd4g/MScONOk1q/wd8sVxbZNjWy7SRdmG2oCyQOGdpSbJCNnQ1NSs5VSGEBq4qmcW+WTP9QgD4E6iRKjpsoQtjioRWxx7qGntg0I2Jg= Received: by 10.54.31.20 with SMTP id e20mr161061wre; Fri, 17 Dec 2004 00:33:40 -0800 (PST) Received: by 10.54.22.78 with HTTP; Fri, 17 Dec 2004 00:33:40 -0800 (PST) Message-ID: <4d07305604121700333ab2c435@mail.gmail.com> Date: Fri, 17 Dec 2004 09:33:40 +0100 From: Xinizul Xinizul To: freebsd-java@freebsd.org In-Reply-To: <4d07305604121601092e204cd@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <4d07305604121601092e204cd@mail.gmail.com> Subject: Tomcat 5 (ii) X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Xinizul Xinizul List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Dec 2004 08:33:42 -0000 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 Date: Thu, 16 Dec 2004 10:09:24 +0100 Subject: Tomcat 5 To: freebsd-java@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