6 Replies Latest reply on Oct 7, 2012 9:33 AM by kmranganathan

    Missing Built-in Tag Libraries issue

    kmranganathan

      Hi,
      I have the problem of getting 'Missing Built-in Tag Libraries' issue. I have gone through the forums, but my case is different. I am NOT getting the NullPointerException.


      More importantly, the issue for me is intermittent. At times, it works, at times its not.


      I am using jboss-seam-2.2.0.GA deployed in jboss-5.1.0.GA server. I have tried the usual fix of replacing the facelet 1.1.14 with 1.1.15.B1, but still continue to get the issue.


      This happens when I click on the

      <rich:simpleTogglePanel>

      Sometimes it expands and sometimes it throws this exception.


      Exception trace:



      SEVERE [compiler] Missing Built-in Tag Libraries! Make sure they are included within the META-INF directory of Facelets' Jar
      WARNING [lifecycle] JSF1053: (Listener: org.jboss.seam.debug.jsf.SeamDebugPhaseListener.beforePhase(), Phase ID: RENDER_RESPONSE 6,  View ID: /debug.xhtml) Exception thrown during phase-listener execution: javax.el.ELException: //home/ranga/programs/jboss-5.1.0.GA/server/default/deploy/hrms.ear/hrms.war/WEB-INF/lib/jboss-seam-debug.jar/META-INF/debug.xhtml: Property 'execute' not found on type org.jboss.seam.debug.jsf.DebugRedirect
      21:21:49,262 WARNING [lifecycle] com.sun.facelets.compiler.AttributeInstruction.write(AttributeInstruction.java:53)
      com.sun.facelets.compiler.UIInstructions.encodeBegin(UIInstructions.java:39)
      com.sun.facelets.compiler.UILeaf.encodeAll(UILeaf.java:149)
      javax.faces.component.UIComponent.encodeAll(UIComponent.java:933)
      org.jboss.seam.debug.jsf.SeamDebugPhaseListener.beforePhase(SeamDebugPhaseListener.java:56)
      com.sun.faces.lifecycle.Phase.handleBeforePhase(Phase.java:214)
      com.sun.faces.lifecycle.Phase.doPhase(Phase.java:96)
      com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
      javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
      org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
      org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)
      org.jboss.seam.web.IdentityFilter.doFilter(IdentityFilter.java:40)
      org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
      org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:90)
      org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
      org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)
      org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
      org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)
      org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
      org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:178)
      org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:290)
      org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:368)
      org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:495)
      org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:56)
      org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
      org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:60)
      org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
      org.jboss.seam.web.HotDeployFilter.doFilter(HotDeployFilter.java:53)
      org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
      org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)
      org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
      org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)
      org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
      org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)
      org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433)
      org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)
      org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
      org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
      org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
      org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
      org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
      org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
      org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
      org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598)
      org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
      java.lang.Thread.run(Thread.java:619)





        • 1. Re: Missing Built-in Tag Libraries issue
          kragoth

          Check you don't have duplicate jars on the path.

          • 2. Re: Missing Built-in Tag Libraries issue
            kmranganathan

            Hi,
            Duplicate jars on the path means what? i.e my application as a ear has everything within it, right. Its not clear to me what I need to check.

            • 3. Re: Missing Built-in Tag Libraries issue
              mmulligan03

              can you post the code for the


              <rich:simpleTogglePanel>



              • 4. Re: Missing Built-in Tag Libraries issue
                kmranganathan

                It just comes from the search xhtml 'generated' from seam-gen:


                <rich:simpleTogglePanel label="Student Search Filter" switchType="ajax">
                
                    <s:decorate template="layout/display.xhtml">
                        <ui:define name="label">Name</ui:define>
                        <h:inputText id="name" value="#{studentList.student.name}"/>
                    </s:decorate>
                
                    <s:decorate template="layout/display.xhtml">
                        <ui:define name="label">Match</ui:define>
                        <h:selectOneRadio id="logic" value="#{studentList.restrictionLogicOperator}" styleClass="radio">
                            <f:selectItem itemLabel="All" itemValue="and"/>
                            <f:selectItem itemLabel="Any" itemValue="or"/>
                        </h:selectOneRadio>
                    </s:decorate>
                
                </rich:simpleTogglePanel>
                





                • 5. Re: Missing Built-in Tag Libraries issue
                  camillefurtado

                  Good Afternoon,

                   

                  Please, did you solved this problem of Missing Build-in Tag Libraries?

                  I'm migrating my app from jboss4-2-2 to jboss5 and facing the same problem.

                  I've solved part of this problem using this link: https://community.jboss.org/message/126295

                  But, when I try to access debug.seam I'm getting the error below:

                   

                  2012-09-18 14:57:14,388 SEVERE [facelets.compiler] (http-localhost%2F127.0.0.1-8080-1) Missing Built-in Tag Libraries! Make sure they are included within the META-INF directory of Facelets' Jar

                  2012-09-18 14:57:14,779 WARNING [javax.enterprise.resource.webcontainer.jsf.lifecycle] (http-localhost%2F127.0.0.1-8080-1) JSF1053: (Listener: org.jboss.seam.debug.jsf.SeamDebugPhaseListener.beforePhase(), Phase ID: RENDER_RESPONSE 6,  View ID: /debug.xhtml) Exception thrown during phase-listener execution: javax.el.ELException: //D:/dev/jboss-5.0.1.GA/server/default/deploy/App-desenv.ear/jboss-seam-debug.jar/META-INF/debug.xhtml: Property 'execute' not found on type org.jboss.seam.debug.jsf.DebugRedirect

                  2012-09-18 14:57:14,779 WARNING [javax.enterprise.resource.webcontainer.jsf.lifecycle] (http-localhost%2F127.0.0.1-8080-1) com.sun.facelets.compiler.AttributeInstruction.write(AttributeInstruction.java:53)

                  com.sun.facelets.compiler.UIInstructions.encodeBegin(UIInstructions.java:39)

                  com.sun.facelets.compiler.UILeaf.encodeAll(UILeaf.java:149)

                   

                  Thanks a lot.

                  • 6. Re: Missing Built-in Tag Libraries issue
                    kmranganathan

                    Hi,

                    The one thing that I remember doing is to replace the jsf-api jar with version 1.5 (I think I had 1.4 or so).

                     

                    But my app never went to production, so I am unable to say whether it was successful 100%. Nevertheless, I felt this did improve things.

                     

                     

                    hth,

                    Ranga.