3 Replies Latest reply on Jan 20, 2010 10:09 AM by wolfgangknauf

    i really need help on this case

    adam1984

      i downloaded JBOSS server 4.2.0, unzipped it and run it. everything was
      fine except it failed to deploy my .war file (tomcat had no prob) and b4 u asking, they're on different ports and i also tried to shutdown the tomcat
      but nothing. same for V4.2.1 and 4.0.5.
      BUT i have a V4.0.5 installed via JEMS add it does deploy successfully the war file.
      am i missing something??

      i checked the log and found a point where an exception is thrown while deploying my war, but they're different in each version:
      V4.0.5:
      2007-09-23 12:31:57,156 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/test]] Error configuring application listener of class com.sun.faces.config.ConfigureListener
      java.lang.NoClassDefFoundError: javax/el/CompositeELResolver
      V4.2.1:
      2007-09-23 12:29:26,750 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/test]] Exception sending context initialized event to listener instance of class org.jboss.web.jsf.integration.config.JBossJSFConfigureListener
      java.lang.ClassCastException: com.sun.faces.config.WebConfiguration

      both throw a "deployment failed" exception shortly afterward...

        • 1. Re: i really need help on this case
          pjmorce

          I have the same problem.
          I have a webapplication which use JSF. Deploying this application to tomcat 6.0 works fine.
          Deploying the same application to JBoss4.2.2 returns the error:

          ...
          12:11:11,171 ERROR [[/faces-tutorial2]] Exception sending context initialized event to listener instance of class org.jboss.web.jsf.integration.config.JBossJSFConfigureListener
          java.lang.ClassCastException: com.sun.faces.config.WebConfiguration
          at com.sun.faces.config.WebConfiguration.getInstance(WebConfiguration.java:135)
          at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:228)
          at org.jboss.web.jsf.integration.config.JBossJSFConfigureListener.contextInitialized(JBossJSFConfigureListener.java:69)
          ...

          any idea?

          • 2. Re: i really need help on this case
            neron17
            Old thread but same problem forr me on JBoss 5.1.0.GA - Anyone can tell whats wrong?
            • 3. Re: i really need help on this case
              wolfgangknauf

              Hi,

               

              do you have bundled JSF libraries in your deployed web app?

               

              Best regards

               

              Wolfgang