I'm getting some strange behavior with WAS 5.1 and finding resources. I deploy an EAR, which contains a WAR, an JAR of EJBs and the necessary 3rd party JAR libraries common to both the web layer and the ejb layer. The WAR contains an implementation of ServletContextListener which does some config stuff when the web app is started, for which it relies on these 3rd party libraries and a config file deployed in the EJB JAR file. However I'm getting NullPointerExceptions and NoClassDefFoundExceptions from the ServletContextListener when it tries to use one of these common files. I can deploy this fine in other application servers, and I have always understood that EAR files are largely used to bundle up all the applciation components and dependencies for easy deployment. Can anyone explain what's going on?
The only thing I could think of with out the log feed back is to try edit the manifest using the Assembly tookit instead of manual editing(technically shouldn't make a diff but never know) I'll try my side too.
Thanks,<br />Sudhir <br />SCJP1.4
Let's go to the waterfront with this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop