4 Replies Latest reply on Jan 24, 2003 5:12 AM by pkliem

    Jboss-Tomcat does't compile JSP

    perumal

      I integrated Jboss3.0.3+Tomcat4.x runs servlet sucessfully but gives problem when I call JSP.
      I am using jsp, java bean, and EJB. In Jsp using bean object to call Home interface but I am getting error When I call JSP. it gives error like:

      org.apache.jasper.JasperException: Unable to compile class for JSP

      Please give an idea to solve this.

      Regards,
      Perumal.

        • 1. Re: Jboss-Tomcat does't compile JSP

          Set the environment property JAVA_HOME

          Regards,
          Adrian

          • 2. Re: Jboss-Tomcat does't compile JSP
            perumal

            Thank you for your reply.

            I have set Java_home,jboss_home, catilina_home properly but still I am getting the same problem. Please tell me any more settings I should have.

            Perumal.

            • 3. Re: Jboss-Tomcat does't compile JSP
              rino_salvade

              I had a similar problem which was related to Ant. Since the new Jaspar version uses Ant for the JSP compilation it needs some jar files in the class path. I added crimson.jar and jaxp.jar from the Ant lib directory to the class path and the problem went away. Hope this helps.

              • 4. Re: Jboss-Tomcat does't compile JSP
                pkliem

                Using JDK1.4.1_01 Jboss3.0.4 and Tomcat 4.1.12 I encountered the same problem including strange behaviour of a non-deterministic success on some startups.
                We concluded that this has to be a classloading problem an copied the ant.jar from tomcat (tomcat4.1.x/server/lib I think) to the lib directory of the config.
                This solved our problem.