2 Replies Latest reply on Oct 11, 2006 8:23 AM by redsea

    Problem with struts 1.2.9 on jboss 4.0.4

    redsea

      I have a jsf-guessNumber.war file that I use as part of my initial testing.

      I drop this jsf-guessNumber.war into tomcat and it works.
      I drop this into jboss-4.0.4GA and it doesnt work I get the following error

      java.lang.NullPointerException
      at javax.faces.webapp.UIComponentTag.setupResponseWriter(UIComponentTag.java:615)

      So I downloaded jboss-4.0.5.rc1 and dropped it into that version. It also did not work.

      I then downloaded jboss-4.0.2 and dropped it into that version AND IT WORKED!

      So jboss-4.0.2 works, jboss-4.0.4 and jboss-4.0.5 DONT WORK.

      I suggest to jboss to get the jsf-guessNumber.war file and include in their regression testing.

      The jsf-guessNumber is the java server faces tutorial from sun.

      Looking forward to any comments.

        • 1. Could this be classpath problem?
          redsea

          My application bundles the sun jsf jars in my apps lib folder.

          jboss has the myfaces jars in its standard classpath.

          When my project is deployed can you tell me where my apps jars are placed in the classpath?

          If my jars are after the jboss jars then my app will link with the wrong jars.

          Can someone help me out here and explain how the classpath is formed by jboss when an application is deployed?

          Thanks.

          • 2. Correction: Title should be Java Server Faces
            redsea

            does not work with jboss-4.0.4.