I have this part of code in my /usr/local/jakarta-tomcat5.0/conf/server.xml

      <Host name="localhost" debug="0" appBase="webapps"
       unpackWARs="true" autoDeploy="true"
       xmlValidation="false" xmlNamespaceAware="false">

But, I dont have the .war file in /usr/local/jakarta-tomcat5.0/webapps

instead, what i have done is to extract that .war file in that directory, so I have a pack of files in this directory:

noname# pwd
/usr/local/jakarta-tomcat5.0/webapps/intranet
noname#ls -l
drwxr-xr-x   8 xxxxxx   1024 Aug  9 10:20 .
drwxr-xr-x  10xxxxx    512 Aug  9 10:20 ..
drwxr-xr-x   2 xxxxxx    512 Aug  5 16:28 META-INF
drwxr-xr-x   6 xxxxxx    512 Aug  5 16:35 WEB-INF
-rw-r--r--   1 xxxxxxx   3157 Aug  5 16:28 aggregate.xmap
drwxr-xr-x   3 xxxxxxx    512 Aug  5 16:28 build
-rw-r--r--   1 xxxxxxx   5483 Aug  5 16:28 default-forrest.properties
-rw-r--r--   1 xxxxxxx  10041 Aug  5 16:28 faq.xmap
-rw-r--r--   1 xxxxxxx  13193 Aug  5 16:28 forrest.xmap
-rw-r--r--   1 xxxxxxx   2372 Aug  5 16:28 i18n.xmap
-rw-r--r--   1 xxxxxxx   1669 Aug  5 16:28 issues.xmap
-rw-r--r--   1 xxxxxxx  3994 Aug  5 16:28 jettyconf.xml
-rw-r--r--   1 xxxxxxx   2630 Aug  5 16:28 linkmap.xmap
-rw-r--r--   1 xxxxxxxw   6053 Aug  5 16:28 menu.xmap
-rw-r--r--   1 xxxxxxx 2070 Aug  5 16:28 profiler.xmap
drwxr-xr-x   4 xxxxxxx    512 Aug  5 16:28 project
-rw-r--r--   1 xxxxxxx  3849 Aug  5 16:28 raw.xmap
drwxr-xr-x   5 xxxxxxx    512 Aug  5 16:28 resources
-rw-r--r--   1 xxxxxxx  20844 Aug  5 16:28 resources.xmap
-rw-r--r--   1 xxxxxxx   3170 Aug  5 16:28 revisions.xmap
-rw-r--r--   1xxxxxxx   6334 Aug  5 16:28 search.xmap
-rw-r--r--   1 xxxxxxx 28644 Aug  5 16:28 sitemap.xmap
drwxr-xr-x  10xxxxxxx    512 Aug  5 16:28 skins
-rw-r--r--   1 xxxxxxx   3881 Aug  5 16:28 tabs.xmap
noname# pwd
/usr/local/jakarta-tomcat5.0/webapps/intranet

I have restarted the FreeBSD by shutdown -r now

and when the system is up, catalina Tomcat is up, and I can see other Tomcata projects, i can visualize jsp files located in different projects at /usr/local/jakarta-tomcat5.0/webapps

what i want is to make my forrest-project as runnable as the other ones i have in webapps, where i dont need to restart Tomcat for having them up.

currently i am arise them by:
/usr/local/jakarta-tomcat5.0/bin/catalina.sh stop -force
and
/usr/local/jakarta-tomcat5.0/bin/catalina.sh run &

with this action, I have my forrest-project read by Tomcat, and up, ready to see in my browser... so this is manually..

ok i think i have wrote too much...  no?







2005/8/9, Thorsten Scherler <[EMAIL PROTECTED]>:
On Tue, 2005-08-09 at 11:31 -0500, Hugo Osorio wrote:
> Hello people,
>
> I need my forrest-project to run in system initialization, but i
> couldn't do it,
>
> the things i have done is to construct the forrest project to a .war
> file, and afterwards extract it in
> /usr/local/jakarta-tomcat/webapps ,
>
> for the project to run, i have to restart everytime de Tomcat server
> by:
> /usr/local/jakarta-tomcat/bin/catalina.sh run &
>
> in this way i do have my project running on Tomcat, but if i the
> system is restarted, there is not project up :(

Hmm, sounds weird. You have your forrest project in tomcat running but
after restart it is gone?

in /usr/local/jakarta-tomcat/conf/server.xml
do you find something like:
<Host name="localhost" debug="0" appBase="webapps"
       unpackWARs="true" autoDeploy="true">
?

in /usr/local/jakarta-tomcat/webapp/ can you find a dir with your
project name? When after deploy and/or restart?

salu2
thorsten
>
> any help ?
--
thorsten

"Together we stand, divided we fall!"
Hey you (Pink Floyd)