From owner-freebsd-java@FreeBSD.ORG Thu Dec 16 09:09:25 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 48C5C16A4CE for ; Thu, 16 Dec 2004 09:09:25 +0000 (GMT) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id C921D43D2D for ; Thu, 16 Dec 2004 09:09:24 +0000 (GMT) (envelope-from xinizul@gmail.com) Received: by wproxy.gmail.com with SMTP id 50so210904wri for ; Thu, 16 Dec 2004 01:09:24 -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:mime-version:content-type:content-transfer-encoding; b=aI5jT1tanf7AINXMy3fdE5GKxmsSz/YbhQFd3pFsAi0qRbkslrMNsZ0Neqc8XScp2kVMrKoFKjzHQok9Ya0TwHcn2Ch3DqG2Hc0KpSRC7fHDZUxW1qZjVI3AuboJmcku+qasSjvT005xD9FQPvtFyvHUXFvgBZnig/trSgsxG40= Received: by 10.54.22.35 with SMTP id 35mr2564792wrv; Thu, 16 Dec 2004 01:09:24 -0800 (PST) Received: by 10.54.22.78 with HTTP; Thu, 16 Dec 2004 01:09:24 -0800 (PST) Message-ID: <4d07305604121601092e204cd@mail.gmail.com> Date: Thu, 16 Dec 2004 10:09:24 +0100 From: Xinizul Xinizul To: freebsd-java@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Tomcat 5 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: Thu, 16 Dec 2004 09:09:25 -0000 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