tomcat 5.5 embedded war deployment

2004-12-21 Thread Patrick Lacson
hi all, i've searched the archives and googled around, to no avail.. i'm trying to figure out how to deploy a WAR file using tomcat 5.5.4 embedded.. i know there are some issues with the embedded class, like the createconnector(...) returning null, since it doesn't account for the http scheme

Tomcat 5.5 Embedded

2004-10-31 Thread Ralph Schaer
I have a small application with an embedded Tomcat 5.0.x. Now I try to upgrade to Tomcat 5.5.x. The problem is that the API changed. My code no longer compiles. Below the code for my Tomcat 5.0.x version. The part with ContextResource and ResourceParams no longer work this way in Tomcat 5.5.x.

Re: Tomcat 5.5 Embedded

2004-10-31 Thread Remy Maucherat
On Sun, 31 Oct 2004 13:23:40 +0100, Ralph Schaer [EMAIL PROTECTED] wrote: I have a small application with an embedded Tomcat 5.0.x. Now I try to upgrade to Tomcat 5.5.x. The problem is that the API changed. My code no longer compiles. Below the code for my Tomcat 5.0.x version. The part with

Re[2]: Tomcat 5.5 Embedded

2004-10-31 Thread Ralph Schaer
Thanks for your answer. Now my last problem is how can I add the new ContextResource (res) into the rootCtx. With Tomcat 5.0. this method does the job: rootCtx.addResource(res); But this method does not exists in Tomcat 5.5 Regards Ralph RM On Sun, 31 Oct 2004 13:23:40 +0100, Ralph Schaer [EMAIL

Re: Tomcat 5.5 Embedded

2004-10-31 Thread Peter Rossbach
Hey Ralph, Use rootCtx.getNamingResources().addResource(rs). Peter Ralph Schaer schrieb: Thanks for your answer. Now my last problem is how can I add the new ContextResource (res) into the rootCtx. With Tomcat 5.0. this method does the job: rootCtx.addResource(res); But this method does not exists