Additional info: I configured my application to be in an ear. contents of my ear file: META-INF/ META-INF/MANIFEST.MF MyApplication.jar ROOT.war META-INF/application.xml
contents of application.xml <?xml version="1.0" encoding="ISO-8859-1"?> <application> <display-name>MyApp</display-name> <module> <web> <web-uri>ROOT.war</web-uri> <context-root>/</context-root> </web> </module> <module> <ejb>MyApplication.jar</ejb> </module> </application> I can access the root context from tomcat but I still cannot talk to an ejb. I still get the NullPointerException at StatelessSessionContainer line 593 when a servlet tries to talk to an ejb. Thanks On Thu, 2002-04-11 at 19:40, Scott M Stark wrote: > This is not a Catalina integration issue. It is an issue with the > servlet 2.3 class loading model and the servlet to ejb call > being optimized when it should not be. > > By default Jetty is not using the servlet 2.3 class loading model > that loads classes from the war before the parent class loader > and so it works. If you turn on the servlet 2.3 class loading > model in Jetty it also fails. > > This behavior is not seen if the war is included in the ear with > the ejb jar and the ejb client jar left out of the war. Is there a > reason this can't be done? > > xxxxxxxxxxxxxxxxxxxxxxxx > Scott Stark > Chief Technology Officer > JBoss Group, LLC > xxxxxxxxxxxxxxxxxxxxxxxx > ----- Original Message ----- > From: "James Higginbotham" <[EMAIL PROTECTED]> > To: "Dennis Muhlestein" <[EMAIL PROTECTED]>; > <[EMAIL PROTECTED]> > Cc: "Scott M Stark" <[EMAIL PROTECTED]> > Sent: Tuesday, April 09, 2002 5:08 PM > Subject: RE: [JBoss-user] Building Catalina .sar (Tomcat to work with > JBossBeta 2 HOWTO)? > > > Attached is a testcase that reproduces the problem that we talked about > here. My apologies for sending this to all on the list, but I hope that > this testcase finds it way to the appropriate Jboss developers. I don't > have an official bug number for reference, nor do I have a specific > email to send this to within the development team. > > If you have any questions about the testcase, feel free to send me an > email to this address. > > Regards, > James > > > > _______________________________________________ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user >
signature.asc
Description: This is a digitally signed message part