0 Replies Latest reply on Jul 26, 2005 10:57 AM by mroosendaal

    WAR-file in EAR-file can't find libraries

      Hi,

      I have a problem when deploying my ear on JBoss. My ear is structured as follows:

      ear
      --META-INF
      --application.xml
      --
      --APP-INF
      --lib
      --jsf
      --spring
      --hibernate
      --myapp.jar
      --mywebapp.war
      --WEB-INF
      --web.xml
      --faces-config.xml
      --classes
      --my.jsp

      When i deploy the ear on JBoss (4.0.2) the war file can't find any
      of the JSF classes (ClassNotFoundExceptions) i configured in my web.xml. When i put them in a lib in the WEB-INF folder there is no
      problem. I know it should work because we did the same thing on the
      last project, but i'm not sure what i'm doing wrong. Does this have to do with the JBoss EAR-Classloader? How can i make my war-file find the jar-files in the APP-INF folder in the ear-file?

      Thanks,
      Maarten