Re: adding servlet definition to context on the fly :Tomcat 5.5

2008-10-05 Thread Mark Thomas
[EMAIL PROTECTED] wrote: Hi, I had written some code to dynamically add a servlet to a context in a deployed applicaiton in Tomcat 4.1. This code basically uses the catalina loader to obtain the server-engine-host-and context, and invokes the addChild method after configuring a

Re: adding servlet definition to context on the fly :Tomcat 5.5

2008-10-05 Thread Mark Thomas
Johnny Kewl wrote: I'd luv to see that code... the stuff you playing with is in Tomcat core... must have been difficult to debug... perhaps its an embedded app? But I think this answers your question... public void addChild(Container child) { throw new IllegalStateException

RE: adding servlet definition to context on the fly :Tomcat 5.5

2008-10-05 Thread Martin Gainty
distribution to any party other than intended recipient. Sender does not necessarily endorse content contained within this transmission. Date: Sat, 4 Oct 2008 23:12:11 -0600 Subject: Re: adding servlet definition to context on the fly :Tomcat 5.5 From: [EMAIL PROTECTED] To: users

RE: adding servlet definition to context on the fly :Tomcat 5.5

2008-10-05 Thread ram . sriharsha
to any party other than intended recipient. Sender does not necessarily endorse content contained within this transmission. Date: Sat, 4 Oct 2008 23:12:11 -0600 Subject: Re: adding servlet definition to context on the fly :Tomcat 5.5 From: [EMAIL PROTECTED] To: users@tomcat.apache.org Hi

Re: adding servlet definition to context on the fly :Tomcat 5.5

2008-10-05 Thread Johnny Kewl
- 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

RE: adding servlet definition to context on the fly :Tomcat 5.5

2008-10-05 Thread Martin Gainty
:11 -0600 Subject: Re: adding servlet definition to context on the fly :Tomcat 5.5 From: [EMAIL PROTECTED] To: users@tomcat.apache.org 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

Re: adding servlet definition to context on the fly :Tomcat 5.5

2008-10-05 Thread Johnny Kewl
- 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

Re: adding servlet definition to context on the fly :Tomcat 5.5

2008-10-05 Thread Johnny Kewl
- 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

adding servlet definition to context on the fly :Tomcat 5.5

2008-10-04 Thread ram . sriharsha
Hi, I had written some code to dynamically add a servlet to a context in a deployed applicaiton in Tomcat 4.1. This code basically uses the catalina loader to obtain the server-engine-host-and context, and invokes the addChild method after configuring a StandardWwrapper to represent the servlet I

Re: adding servlet definition to context on the fly :Tomcat 5.5

2008-10-04 Thread Johnny Kewl
- Original Message - From: [EMAIL PROTECTED] To: users@tomcat.apache.org Sent: Saturday, October 04, 2008 5:34 PM Subject: adding servlet definition to context on the fly :Tomcat 5.5 Hi, I had written some code to dynamically add a servlet to a context in a deployed applicaiton

RE: adding servlet definition to context on the fly :Tomcat 5.5

2008-10-04 Thread Martin Gainty
PROTECTED] To: users@tomcat.apache.org Subject: Re: adding servlet definition to context on the fly :Tomcat 5.5 Date: Sat, 4 Oct 2008 21:20:39 +0200 - Original Message - From: [EMAIL PROTECTED] To: users@tomcat.apache.org Sent: Saturday, October 04, 2008 5:34 PM Subject: adding

Re: adding servlet definition to context on the fly :Tomcat 5.5

2008-10-04 Thread Johnny Kewl
- Original Message - From: Martin Gainty [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Saturday, October 04, 2008 11:39 PM Subject: RE: adding servlet definition to context on the fly :Tomcat 5.5 doctor john to followup with the addChild method

Re: adding servlet definition to context on the fly :Tomcat 5.5

2008-10-04 Thread Johnny Kewl
- Original Message - From: Johnny Kewl [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Sunday, October 05, 2008 5:40 AM Subject: Re: adding servlet definition to context on the fly :Tomcat 5.5 - Original Message - From: Martin Gainty [EMAIL PROTECTED

Re: adding servlet definition to context on the fly :Tomcat 5.5

2008-10-04 Thread ram . sriharsha
); } - Original Message - From: Johnny Kewl [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Sunday, October 05, 2008 5:40 AM Subject: Re: adding servlet definition to context on the fly :Tomcat 5.5 - Original Message - From: Martin Gainty [EMAIL PROTECTED