3 Replies Latest reply on Jun 3, 2004 7:37 PM by vivkap01

    JBoss Classloader problem

    lborupj

      Hi,

      Im developing an application with multiple web-modules which
      each uses WebWork for presentation. My application is packed
      into one .EAR archive with webapp1.war, webapp2..war and
      so forth..
      When JBoss deployes my EAR archive the first web-app is configured
      okay, but the rest seems to fail (not during deployment though, but
      when I request the first .action (.do for WebWork).
      Anyone else had the same kind of problems??
      If I deploy on a standalone tomcat there's no problem so I think
      this might be related to the JBoss Classloader hierarchy (or the
      fact theres a really flat hierarchy).
      Can I fix this somehow?

      /Lars Borup

        • 1. Re: JBoss Classloader problem

          Try:

          deploy/jbossweb-tomcat.sar/META-INF/jboss-service.xml

          UseJBossWebLoader = false

          • 2. Re: JBoss Classloader problem
            lborupj

             

            "juha@jboss.org" wrote:
            Try:

            deploy/jbossweb-tomcat.sar/META-INF/jboss-service.xml

            UseJBossWebLoader = false



            Hi Juha!

            Thanks alot - this seems to "fix" my problem... Much appreciated.
            And thanks for the very fast reply...

            regards Lars Borup

            • 3. Re: JBoss Classloader problem
              vivkap01

              Hi
              I am having a classloading problem too. I have log4j.properties under WEB-INF/classes of my war file. But JBoss does not pick it. I have even tried setting
              false

              Since Jboss has its own log4j.xml I guess it reads it first and does not not find any of my settings there and hence it fails. But how do I make JBoss look into WEB-INF/classess ?

              --Viv