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
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.
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
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
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