From owner-freebsd-java@FreeBSD.ORG Sun Aug 7 22:37:17 2005 Return-Path: X-Original-To: freebsd-java@freebsd.org 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 0A79D16A421 for ; Sun, 7 Aug 2005 22:37:17 +0000 (GMT) (envelope-from bryan.maynard@reallm.com) Received: from hosting.sourcit.net (mail3.eitsolutions.net [68.23.20.100]) by mx1.FreeBSD.org (Postfix) with ESMTP id 85F5443EFE for ; Sun, 7 Aug 2005 22:17:14 +0000 (GMT) (envelope-from bryan.maynard@reallm.com) Received: (qmail 20428 invoked from network); 7 Aug 2005 17:17:13 -0500 Received: from al1-24.207.169.154.charter-stl.com (HELO ?192.168.1.101?) (24.207.169.154) by sourcit.net with SMTP; 7 Aug 2005 17:17:13 -0500 From: Bryan Maynard Organization: Sofos Nikitis To: freebsd-java@freebsd.org Date: Sun, 7 Aug 2005 17:16:17 +0000 User-Agent: KMail/1.8.1 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200508071716.18303.bryan.maynard@reallm.com> Subject: Tmocat .ear question X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Aug 2005 22:37:17 -0000 Hello all! I ahve a simple question: how do I deploy an EAR in Tomcat 5.0? I read through Tapestry in action and would like to give the Virtual Library application a spin. I ran the Ant build spript and a .ear file was created. I then dropped the .ear file into my ${CATALINA_BASE}/webapps directory. This is different from my ${CATALINA_HOME}/webapps directory. Jan Grant gave me the following script: [[ #!/bin/sh CATALINA_HOME=/usr/local/jakarta-tomcat5.0 CATALINA_BASE=/home/Bryan/tomcat50 JAVA_OPTS="-Xss4m -Djava.awt.headless=true" JAVA_HOME=/usr/local/jdk1.4.2 export CATALINA_HOME CATALINA_BASE export JAVA_OPTS JAVA_HOME cd "$CATALINA_BASE" exec "$CATALINA_HOME"/bin/catalina.sh $1 ]] This is what I use to start Tomcat. Thanks in advance for your help. I've learned a lot from these lists already :-) Bryan -- Open Source: by the people, for the people.