4 Replies Latest reply on Sep 22, 2007 11:24 AM by Maksim Kaszynski

    How to get rid of the com.sun.facelets.compiler.TagLibraryCo

    Michael Max Newbie

      Looks like it is a well known error message, but I have not found out a good decision to resolve that.
      For instance, the messages below fired for the latest richfaces-demo-3.0.1-20070330.000327-21.war deployed on JBoss AS 4.0.5/All:

      14:53:55,329 ERROR [STDERR] Mar 30, 2007 2:53:55 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
      INFO: Added Library from: jar:file:/srv/jboss/server/all/./tmp/deploy/tmp38121richfaces-demo-3.0.1-exp.war/WEB-INF/lib/jsf-facelets-1.1.12.jar!/META-INF/jstl-fn.taglib.xml
      14:53:55,420 ERROR [STDERR] Mar 30, 2007 2:53:55 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
      INFO: Added Library from: jar:file:/srv/jboss/server/all/./tmp/deploy/tmp38121richfaces-demo-3.0.1-exp.war/WEB-INF/lib/jsf-facelets-1.1.12.jar!/META-INF/jstl-core.taglib.xml
      14:53:55,578 ERROR [STDERR] Mar 30, 2007 2:53:55 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
      INFO: Added Library from: jar:file:/srv/jboss/server/all/./tmp/deploy/tmp38121richfaces-demo-3.0.1-exp.war/WEB-INF/lib/richfaces-3.0.1-SNAPSHOT.jar!/META-INF/rich.taglib.xml
      14:53:55,672 ERROR [STDERR] Mar 30, 2007 2:53:55 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
      INFO: Added Library from: jar:file:/srv/jboss/server/all/./tmp/deploy/tmp38121richfaces-demo-3.0.1-exp.war/WEB-INF/lib/jsf-facelets-1.1.12.jar!/META-INF/jsf-core.taglib.xml
      14:53:55,698 ERROR [STDERR] Mar 30, 2007 2:53:55 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
      INFO: Added Library from: jar:file:/srv/jboss/server/all/./tmp/deploy/tmp38121richfaces-demo-3.0.1-exp.war/WEB-INF/lib/jsf-facelets-1.1.12.jar!/META-INF/jsf-html.taglib.xml
      14:53:55,751 ERROR [STDERR] Mar 30, 2007 2:53:55 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
      INFO: Added Library from: jar:file:/srv/jboss/server/all/./tmp/deploy/tmp38121richfaces-demo-3.0.1-exp.war/WEB-INF/lib/ajax4jsf-1.1.1-SNAPSHOT.jar!/META-INF/a4j.taglib.xml
      14:53:55,805 ERROR [STDERR] Mar 30, 2007 2:53:55 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
      INFO: Added Library from: jar:file:/srv/jboss/server/all/./tmp/deploy/tmp38121richfaces-demo-3.0.1-exp.war/WEB-INF/lib/jsf-facelets-1.1.12.jar!/META-INF/jsf-ui.taglib.xml
      ===============

      Thank you.

        • 1. Re: How to get rid of the com.sun.facelets.compiler.TagLibra
          Michael Max Newbie

          In addition to the previous one.

          When I deployed richfaces-demo-3.0.1-20070330.000327-21.war to Tomcat, I got this exception

          HTTP Status 500 -

          --------------------------------------------------------------------------------

          type Exception report

          message

          description The server encountered an internal error () that prevented it from fulfilling this request.

          exception

          javax.servlet.ServletException: java.lang.LinkageError: loader constraints violated when linking javax/el/ExpressionFactory class
          org.apache.jasper.servlet.JspServlet.service(JspServlet.java:274)
          javax.servlet.http.HttpServlet.service(HttpServlet.java:803)


          root cause

          java.lang.LinkageError: loader constraints violated when linking javax/el/ExpressionFactory class
          org.apache.jsp.index_jsp._jspInit(index_jsp.java:22)
          org.apache.jasper.runtime.HttpJspBase.init(HttpJspBase.java:52)
          org.apache.jasper.servlet.JspServletWrapper.getServlet(JspServletWrapper.java:157)
          org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:320)
          org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
          org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
          javax.servlet.http.HttpServlet.service(HttpServlet.java:803)


          note The full stack trace of the root cause is available in the Apache Tomcat/6.0.10 logs.
          ====================

          Can the JBoss Ajax team recommend a standard RichFaces/Ajax4JSF library set that is runnable on and compartible with main app servers/containers?

          • 2. Re: How to get rid of the com.sun.facelets.compiler.TagLibra
            Sergey Smirnov Master

            The richfaces-demo uses Facelets and JSF RI 1.2. If you find the way how to launch this set (without Ajax4jsf an Richfaces) on your desire AS, you will be able to launch it with Ajax4jsf and RichFaces as well.

            We use Tomcat 5.x to develop and launch this demo. So, it is our recommendation at this moment.

            • 3. Re: How to get rid of the com.sun.facelets.compiler.TagLibra
              Beaudoin Gaël Newbie

               

              "MichaelMuo" wrote:

              14:53:55,329 ERROR [STDERR] Mar 30, 2007 2:53:55 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
              INFO: Added Library from:


              So, no idea about how to get rid of these errors ?
              I've got those too on all of our seam projects.

              • 4. Re: How to get rid of the com.sun.facelets.compiler.TagLibra
                Maksim Kaszynski Apprentice

                You can get rid of them by explicitly defining all of facelets taglibs in web.xml file.