Oups sorry.... Hope this will be fine. I'm not used to do so.
I based it on the 3.1-SNAPSHOT version. Best regards, Jean-Sébastien Scrève. http://www.nabble.com/file/p20476893/OpenEJBListenerPatch.txt OpenEJBListenerPatch.txt Alex Grönholm-2 wrote: > > Jean-Sébastien Scrève kirjoitti: >> Hi, >> >> I've been working with OpenEJB, Tomcat 5.5 and WTP for some time and I >> have >> a question regarding the OpenEJB deployment in Tomcat. >> >> By default, OpenEJB is installed into Tomcat itself and everything works >> fine. >> With WTP, we have the possibility to let the Tomcat installation >> unchanged >> and define a Context that points to our web application. (The context is >> defined in the server.xml configuration file). Doing that allows us to >> put >> our web application wherever we want. >> Currently, defining OpenEJB as a context in Tomcat fails : an exception >> is >> launched at startup. >> By defining OpenEJB as a context, I mean adding something like that in >> the >> server.xml : >> <Context docBase="D:\tempWebApp\openejb-tomcat-webapp-3.1.0" path="" >> reloadable="false"/> >> >> I've made a small change in OpenEJBListener.java to make it work in my >> environment. I've made only simple basic tests for now. >> >> Is there any restriction for such kind of deployment ? Do you think you >> could take this modification into account ? >> >> Best regards, >> >> Jean-Sébastien Scrève >> >> Ps : attached file : >> http://www.nabble.com/file/p20377766/OpenEJBListener.java >> OpenEJBListener.java >> > In the future, please send patches instead of modified files. It'll be > much easier to figure out what you changed. > > -- View this message in context: http://www.nabble.com/OpenEJB-in-Tomcat-and-WTP-tp20377766p20476893.html Sent from the OpenEJB Dev mailing list archive at Nabble.com.
