tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Johnny Kewl" <>
Subject Re: adding servlet definition to context on the fly :Tomcat 5.5
Date Sun, 05 Oct 2008 17:00:45 GMT

----- Original Message ----- 
From: <>
To: "Tomcat Users List" <>
Sent: Sunday, October 05, 2008 7:12 AM
Subject: Re: adding servlet definition to context on the fly :Tomcat 5.5

> Hi Johnny,
> Th code i used is basically the one you have in your last email...
> I have an app running in privileged mode, and it has to add a servlet
> definition on the fly to another in my app i call a method and
> pass the description of the other application as well as the servlet
> definition i want to add:

Ram... just want to understand the plain functionality...

You have one web app running... WebApp MAIN

Then you are able to drop another web app in WebApp EXTRA
You have some kind of "invoker" in MAIN, that you Add EXTRA servlets to.

So Main in the end is running EXTRA servlets that are dropped in late... 
neat idea.

Its not unlike the invoker servlet idea, but you working cross context and 
still have cool things available like init params...
Problem is that it heart surgery... which means normal debugging is an 
issue, thus the problem, its hard to see.

If this is the scheme?
I'm just wondering if maybe its something silly... like in the old TC you 
have crossContext="true" setup, and thats not setup now...
I know Chuck always says... no more in servlet config, now must be in 
webapps... so just wondering if its forgotten or changed.
I'm thinking the classloaders will have to share if I get the overall idea.


The most powerful application server on earth.
The only real POJO Application Server.
See it in Action :

To start a new topic, e-mail:
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message