Hi,

I have already post this question, but I haven't find the solution.

I am trying to create a new context into a ServletContextListener.
==> A Tomcat server is started whith usual method (server.xml and catalina.bat run).
In a specific context, a class (extend of ServletContextListener) try to create (or install, or deploy)
an other context. This second context is used to store files on the disk and to distibute these files.
My first and main context is an application distributed by a war. I cannot store files into.


I am using Tomcat 4.1.24.

I followed instruction from article : "Embedding Tomcat Into Java Applications" from site "http://www.onjava.com/onjava/j2ee/";.
But I have errors : "Can't create connector", wrappen can found DefaultServlet, ....
In this article, the article create an engine, a host, ..., but in my case I have already these objects !


I have tried also to use code similar as ManagerServlet.
I wrote a servlet what implements ContainerServlet and my "webapp" had "privileged="true" attribute.
But setWrapper was never call !



Have you an idea about my problem ?


Thanks for your help,


Elisabeth - Toulouse


_________________________________________________________________
Trouvez l'�me soeur sur MSN Rencontres ! http://g.msn.fr/FR1000/9551


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to