From owner-freebsd-questions@FreeBSD.ORG Mon Mar 13 10:31:57 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A5E0D16A425 for ; Mon, 13 Mar 2006 10:31:43 +0000 (UTC) (envelope-from freebsd@redry.net) Received: from cali.ucd.ie (cali.ucd.ie [193.1.169.37]) by mx1.FreeBSD.org (Postfix) with ESMTP id 38F2143D46 for ; Mon, 13 Mar 2006 10:31:43 +0000 (GMT) (envelope-from freebsd@redry.net) Received: from conversion-daemon.cali.ucd.ie by cali.ucd.ie (Sun Java System Messaging Server 6.2-2.05 (built Apr 28 2005)) id <0IW200501AIMK600@cali.ucd.ie> (original mail from freebsd@redry.net) for freebsd-questions@freebsd.org; Mon, 13 Mar 2006 10:31:41 +0000 (GMT) Received: from [137.43.111.203] by cali.ucd.ie (Sun Java System Messaging Server 6.2-2.05 (built Apr 28 2005)) with ESMTPS id <0IW200FZ2AKSSSA0@cali.ucd.ie>; Mon, 13 Mar 2006 10:31:40 +0000 (GMT) Date: Mon, 13 Mar 2006 10:31:40 +0000 From: eoghan In-reply-to: <200603131011.24443.ashley.moran@codeweavers.net> To: Ashley Moran Message-id: <44154A0C.2030308@redry.net> MIME-version: 1.0 Content-type: text/plain; format=flowed; charset=ISO-8859-1 Content-transfer-encoding: 7BIT References: <440F46B8.6050500@redry.net> <440F5145.5030400@redry.net> <200603131011.24443.ashley.moran@codeweavers.net> User-Agent: Thunderbird 1.5 (Windows/20051201) Cc: freebsd@osx.demon.nl, freebsd-questions@freebsd.org Subject: Re: tomcat on freebsd X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Mar 2006 10:31:57 -0000 Ashley Moran wrote: > On Wednesday 08 March 2006 21:48, eoghan wrote: >> Bosch Rogier wrote: >>> I think its port 8180 (by default). >>> >>> Goodluck, >>> >>> TC >> Ok, 8180 worked. But when i run ./startup.sh (as root) it seems to work, >> once only. If i run it again, it works again, once. I can view the >> tomcat default page, but have to keep running the startup script. >> >> # ./startup.sh >> Using CATALINA_BASE: /usr/local/tomvat5.5 >> Using CATALINA_HOME: /usr/local/tomvat5.5 >> Using CATALINA_TMPDIR: /usr/local/tomvat5.5/temp >> Using JRE_HOME: /usr/local/jdk1.4.2 >> # >> >> So is there some way I can keep it running? Seems very strange I have to >> keep running the startup script... Can anyone help? >> Thanks >> Eoghan >> _______________________________________________ > > > Have you got tomcat55_enable="YES" in /etc/rc.conf? > > You should really use the /usr/local/etc/rc.d/tomcat55.sh script to start and > stop tomcat. Only works with the above line though. > > Ashley Hi Nope I dont have that. I did try run /usr/local/etc/rc.d/tomcat55.sh to start it but without having added tomcat_enable="YES" to my rc.conf. Nothing happened. So I will add that line and try it again... Thanks for the info. Eoghan