2 Replies Latest reply on Dec 29, 2008 11:10 AM by Gareth Webbley

    Ear classloading issue

    Gareth Webbley Newbie

      I have an ear file with and ejb-jar and a web application. There are several jar files which need to be shared between the ejbs and the web application. The ear structure looks something like this :-

      - shared.jar
      - ejb.jar
      - webapp.war

      The problem is that there is a Webapp Context Listener in the shared.jar file which is referenced from the war file web.xml. When webapp is started it fails with a ClassNotFoundException for the Listener class.

      I have tried adding jboss-app.xml and jboss-web.xml files referencing the same loader-repository but this hasn't helped. Can anyone please tell me how I can debug this issue - I have tried changing log4j logging levels to dbeug but this hasn't given me any clues.