tomcat on freebsd

eoghan freebsd at redry.net
Mon Mar 13 10:31:57 UTC 2006


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


More information about the freebsd-questions mailing list