Hi.
At a customer runs a Tomcat 5.5.9, on Java 1.5, under HPUX 11.11.
It was installed from a standard HPUX package, which install in
/opt/hpws/tomcat, but otherwise looks pretty much like a plain vanilla
Tomcat5.x from the official site.
The package comes with a series of sample webapps, apparently installed
in /opt/hpws/tomcat/webapps.
I have added my own application under there too, and it works.
(Fine is another story, but that's not the crux here).
For various reasons, I wanted to slim down this Tomcat, and for that
remove the sample applications.
I thus created a backup directory somewhere, stopped Tomcat, and moved
the following subdir trees totally to this new dir :
../webapps/jsp-examples
../webapps/servlets-examples
../webapps/webdav
(to respectively somewhere_else/webapps-saved/jsp-examples etc..)
then I restarted Tomcat.
Tomcat starts,
and I have this kind of lines in the catalina.out logfile :
...
Nov 21, 2008 11:12:51 AM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8081
Nov 21, 2008 11:12:51 AM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
Nov 21, 2008 11:12:51 AM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/33 config=null
Nov 21, 2008 11:12:51 AM org.apache.catalina.storeconfig.StoreLoader load
INFO: Find registry server-registry.xml at classpath resource
Nov 21, 2008 11:12:52 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 10019 ms
...
So far, so good.
Using the Manager app, I don't see the above apps anymore (but still see
the ones I left sitting in /webapps, and can use them).
...
But a while later, I discover the following in the Tomcat catalina.out
logfile :
Nov 21, 2008 11:57:39 AM org.apache.catalina.core.StandardContext stop
INFO: Container
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/jsp-examples]
has not been started
Nov 21, 2008 11:57:41 AM org.apache.catalina.startup.HostConfig
checkResources
INFO: Undeploying context [/jsp-examples]
Nov 21, 2008 11:57:48 AM org.apache.catalina.core.StandardContext stop
INFO: Container
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/servlets-examples]
has not been started
Nov 21, 2008 11:57:48 AM org.apache.catalina.startup.HostConfig
checkResources
INFO: Undeploying context [/servlets-examples]
Nov 21, 2008 11:58:23 AM org.apache.catalina.core.StandardContext stop
INFO: Container
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/webdav]
has not been started
Nov 21, 2008 11:58:23 AM org.apache.catalina.startup.HostConfig
checkResources
INFO: Undeploying context [/webdav]
Nov 21, 2008 12:00:04 PM org.apache.catalina.core.StandardContext stop
Now, my question is, considering these webapps are no longer "there" (in
mean in the tomcat/webapps directory, where does Tomcat find the
information about them, to see (apparently) that that they should have
been there ?
Magic ?
(An accessory question of course is why it takes Tomcat some 40+ minutes
to figure this out.)
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]