A second launch means a second set of servlet instances, second set of
resources, overall a higher memory footprint and they won't share data.
Placing this stuff in server.xml does work, but if you want to change
the config you are required to bounce the tomcat service for changes to
take effect. With the Context definitions in separate files, you can
use the manager webapp to stop/start/restart individual webapps without
taking down the whole server and all the other webapps tomcat is serving.
--David
Chris Riekenberg wrote:
So you want you make your webapp to also respond at
http://[myServer:port]/welcome. You can achieve a second launch of your
webapp just by placing welcome.xml (w/ your Context config) in
[TomcatHome]/conf/Catalina/localhost. Just know this is a second
launch, not an alias to the first running instance.
Can you explain this a little bit more detailed? What does a secon
launch mean? What are the consequences? I just want to start the
application with /welcome. So this would be the same instance everytime?!
As I wrote, it works if I insert the context into server.xml. Is this
really bad style? It is much simpler as creating a new welcome.xml.
thx
chris
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]