----- Original Message ----- From: <[EMAIL PROTECTED]>
To: "Tomcat Users List" <users@tomcat.apache.org>
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 app...so 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.

???

---------------------------------------------------------------------------
HARBOR : http://www.kewlstuff.co.za/index.htm
The most powerful application server on earth.
The only real POJO Application Server.
See it in Action : http://www.kewlstuff.co.za/cd_tut_swf/whatisejb1.htm
---------------------------------------------------------------------------




---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to