2 Replies Latest reply on Oct 16, 2009 10:12 PM by lcbdl888

    endless load tag library

    lcbdl888

      Hi, I added a line of tranction setup in the components.xml

      <transaction:entity-transaction entity-manager="#{entityManager}" />

      then I got an endless tag library loading error


      16:02:31,981 ERROR [STDERR] 14-Oct-2009 4:02:31 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
      INFO: Added Library from: jar:file:/C:/workspaces/TaxProcessing/workspace/.metadata/.plugins/org.jboss.ide.eclipse.as.core/JBoss_4.2_Runtime_Server/deploy/Intellitax.war/WEB-INF/lib/jboss-seam-excel.jar!/META-INF/seam-excel.taglib.xml
      16:02:31,981 ERROR [STDERR] 14-Oct-2009 4:02:31 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
      INFO: Added Library from: jar:file:/C:/workspaces/TaxProcessing/workspace/.metadata/.plugins/org.jboss.ide.eclipse.as.core/JBoss_4.2_Runtime_Server/deploy/Intellitax.war/WEB-INF/lib/jboss-seam-mail.jar!/META-INF/seam-mail.taglib.xml
      16:02:32,001 ERROR [STDERR] 14-Oct-2009 4:02:32 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
      INFO: Added Library from: jar:file:/C:/workspaces/TaxProcessing/workspace/.metadata/.plugins/org.jboss.ide.eclipse.as.core/JBoss_4.2_Runtime_Server/deploy/Intellitax.war/WEB-INF/lib/jboss-seam-pdf.jar!/META-INF/seam-pdf.taglib.xml
      16:02:32,041 ERROR [STDERR] 14-Oct-2009 4:02:32 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
      INFO: Added Library from: jar:file:/C:/workspaces/TaxProcessing/workspace/.metadata/.plugins/org.jboss.ide.eclipse.as.core/JBoss_4.2_Runtime_Server/deploy/Intellitax.war/WEB-INF/lib/jboss-seam-ui.jar!/META-INF/s.taglib.xml
      16:02:32,081 ERROR [STDERR] 14-Oct-2009 4:02:32 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
      INFO: Added Library from: jar:file:/C:/workspaces/TaxProcessing/workspace/.metadata/.plugins/org.jboss.ide.eclipse.as.core/JBoss_4.2_Runtime_Server/deploy/Intellitax.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jsf-core.taglib.xml
      16:02:32,091 ERROR [STDERR] 14-Oct-2009 4:02:32 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
      INFO: Added Library from: jar:file:/C:/workspaces/TaxProcessing/workspace/.metadata/.plugins/org.jboss.ide.eclipse.as.core/JBoss_4.2_Runtime_Server/deploy/Intellitax.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jsf-html.taglib.xml
      16:02:32,111 ERROR [STDERR] 14-Oct-2009 4:02:32 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
      INFO: Added Library from: jar:file:/C:/workspaces/TaxProcessing/workspace/.metadata/.plugins/org.jboss.ide.eclipse.as.core/JBoss_4.2_Runtime_Server/deploy/Intellitax.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jsf-ui.taglib.xml
      16:02:32,131 ERROR [STDERR] 14-Oct-2009 4:02:32 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
      INFO: Added Library from: jar:file:/C:/workspaces/TaxProcessing/workspace/.metadata/.plugins/org.jboss.ide.eclipse.as.core/JBoss_4.2_Runtime_Server/deploy/Intellitax.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jstl-core.taglib.xml
      16:02:32,141 ERROR [STDERR] 14-Oct-2009 4:02:32 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
      INFO: Added Library from: jar:file:/C:/workspaces/TaxProcessing/workspace/.metadata/.plugins/org.jboss.ide.eclipse.as.core/JBoss_4.2_Runtime_Server/deploy/Intellitax.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jstl-fn.taglib.xml
      16:02:32,171 ERROR [STDERR] 14-Oct-2009 4:02:32 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
      INFO: Added Library from: jar:file:/C:/workspaces/TaxProcessing/workspace/.metadata/.plugins/org.jboss.ide.eclipse.as.core/JBoss_4.2_Runtime_Server/deploy/Intellitax.war/WEB-INF/lib/richfaces-ui.jar!/META-INF/a4j.taglib.xml
      16:02:32,181 ERROR [STDERR] 14-Oct-2009 4:02:32 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
      INFO: Added Library from: jar:file:/C:/workspaces/TaxProcessing/workspace/.metadata/.plugins/org.jboss.ide.eclipse.as.core/JBoss_4.2_Runtime_Server/deploy/Intellitax.war/WEB-INF/lib/richfaces-ui.jar!/META-INF/jsp.taglib.xml
      16:02:32,191 ERROR [STDERR] 14-Oct-2009 4:02:32 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
      INFO: Added Library from: jar:file:/C:/workspaces/TaxProcessing/workspace/.metadata/.plugins/org.jboss.ide.eclipse.as.core/JBoss_4.2_Runtime_Server/deploy/Intellitax.war/WEB-INF/lib/richfaces-ui.jar!/META-INF/ajax4jsf.taglib.xml
      16:02:32,321 ERROR [STDERR] 14-Oct-2009 4:02:32 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
      INFO: Added Library from: jar:file:/C:/workspaces/TaxProcessing/workspace/.metadata/.plugins/org.jboss.ide.eclipse.as.core/JBoss_4.2_Runtime_Server/deploy/Intellitax.war/WEB-INF/lib/richfaces-ui.jar!/META-INF/rich.taglib.xml
      16:02:32,351 ERROR [STDERR] 14-Oct-2009 4:02:32 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
      INFO: Added Library from: jar:file:/C:/workspaces/TaxProcessing/workspace/.metadata/.plugins/org.jboss.ide.eclipse.as.core/JBoss_4.2_Runtime_Server/deploy/Intellitax.war/WEB-INF/lib/richfaces-ui.jar!/META-INF/richfaces.taglib.xml
      16:02:34,785 ERROR [STDERR] 14-Oct-2009 4:02:34 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
      INFO: Added Library from: jar:file:/C:/workspaces/TaxProcessing/workspace/.metadata/.plugins/org.jboss.ide.eclipse.as.core/JBoss_4.2_Runtime_Server/deploy/Intellitax.war/WEB-INF/lib/jboss-seam-excel.jar!/META-INF/seam-excel.taglib.xml
      16:02:34,795 ERROR [STDERR] 14-Oct-2009 4:02:34 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
      INFO: Added Library from: jar:file:/C:/workspaces/TaxProcessing/workspace/.metadata/.plugins/org.jboss.ide.eclipse.as.core/JBoss_4.2_Runtime_Server/deploy/Intellitax.war/WEB-INF/lib/jboss-seam-mail.jar!/META-INF/seam-mail.taglib.xml
      16:02:34,795 ERROR [STDERR] 14-Oct-2009 4:02:34 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
      INFO: Added Library from: jar:file:/C:/workspaces/TaxProcessing/workspace/.metadata/.plugins/org.jboss.ide.eclipse.as.core/JBoss_4.2_Runtime_Server/deploy/Intellitax.war/WEB-INF/lib/jboss-seam-pdf.jar!/META-INF/seam-pdf.taglib.xml
      16:02:34,805 ERROR [STDERR] 14-Oct-2009 4:02:34 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
      INFO: Added Library from: jar:file:/C:/workspaces/TaxProcessing/workspace/.metadata/.plugins/org.jboss.ide.eclipse.as.core/JBoss_4.2_Runtime_Server/deploy/Intellitax.war/WEB-INF/lib/jboss-seam-ui.jar!/META-INF/s.taglib.xml
      16:02:34,815 ERROR [STDERR] 14-Oct-2009 4:02:34 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
      INFO: Added Library from: jar:file:/C:/workspaces/TaxProcessing/workspace/.metadata/.plugins/org.jboss.ide.eclipse.as.core/JBoss_4.2_Runtime_Server/deploy/Intellitax.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jsf-core.taglib.xml
      16:02:34,815 ERROR [STDERR] 14-Oct-2009 4:02:34 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
      INFO: Added Library from: jar:file:/C:/workspaces/TaxProcessing/workspace/.metadata/.plugins/org.jboss.ide.eclipse.as.core/JBoss_4.2_Runtime_Server/deploy/Intellitax.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jsf-html.taglib.xml
      16:02:34,825 ERROR [STDERR] 14-Oct-2009 4:02:34 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
      



      Here is my components.xml


      <?xml version="1.0" encoding="UTF-8"?>
      <components xmlns="http://jboss.com/products/seam/components"
                  xmlns:core="http://jboss.com/products/seam/core"
                  xmlns:persistence="http://jboss.com/products/seam/persistence"
                  xmlns:transaction="http://jboss.com/products/seam/transaction"
                  xmlns:drools="http://jboss.com/products/seam/drools"
                  xmlns:bpm="http://jboss.com/products/seam/bpm"
                  xmlns:security="http://jboss.com/products/seam/security"
                  xmlns:mail="http://jboss.com/products/seam/mail"
                  xmlns:web="http://jboss.com/products/seam/web"
                  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                  xsi:schemaLocation=
                      "http://jboss.com/products/seam/core http://jboss.com/products/seam/core-2.2.xsd
                       http://jboss.com/products/seam/persistence http://jboss.com/products/seam/persistence-2.2.xsd
                       http://jboss.com/products/seam/transaction http://jboss.com/products/seam/transaction-2.2.xsd
                       http://jboss.com/products/seam/drools http://jboss.com/products/seam/drools-2.2.xsd
                       http://jboss.com/products/seam/bpm http://jboss.com/products/seam/bpm-2.2.xsd
                       http://jboss.com/products/seam/security http://jboss.com/products/seam/security-2.2.xsd
                       http://jboss.com/products/seam/mail http://jboss.com/products/seam/mail-2.2.xsd
                       http://jboss.com/products/seam/web http://jboss.com/products/seam/web-2.2.xsd
                       http://jboss.com/products/seam/components http://jboss.com/products/seam/components-2.2.xsd">
      
         <core:init debug="true" jndi-pattern="@jndiPattern@"/>
      
         <core:manager concurrent-request-timeout="500"
                       conversation-timeout="120000"
                       conversation-id-parameter="cid"
                       parent-conversation-id-parameter="pid"/>
      
         <!-- Make sure this URL pattern is the same as that used by the Faces Servlet -->
         <web:hot-deploy-filter url-pattern="*.seam"/>
      
         <transaction:entity-transaction entity-manager="#{entityManager}" />
      
         <persistence:entity-manager-factory name="entityManagerFactory"
                            persistence-unit-name="Intellitax"/>
      
         <persistence:managed-persistence-context name="entityManager" auto-create="true"
                                entity-manager-factory="#{entityManagerFactory}"/>
      
         <security:identity authenticate-method="#{authenticator.authenticate}" remember-me="true"/>
      
         <event type="org.jboss.seam.security.notLoggedIn">
            <action execute="#{redirect.captureCurrentView}"/>
            <action execute="#{identity.tryLogin()}" />
         </event>
         <event type="org.jboss.seam.security.loginSuccessful">
            <action execute="#{redirect.returnToCapturedView}"/>
         </event>
      
         <mail:mail-session host="mailhost.empire.ca" port="25"/>
      
         <!-- For use with jBPM pageflow or process management -->
         <!--
         <bpm:jbpm>
            <bpm:process-definitions></bpm:process-definitions>
            <bpm:pageflow-definitions></bpm:pageflow-definitions>
         </bpm:jbpm>
         -->
      
      </components>
      



        • 1. Re: endless load tag library
          lcbdl888

          I am using JDK1.5, Seam 2.2.0GA, JBoss 4.2, Latest Jboss tools. When I remove that line, it works fine. Anybody can explain it?

          • 2. Re: endless load tag library
            lcbdl888

            I got the answer.  To use JPA transaction, there are two places to setup.


            1. Add the following into components.xml



            <transaction:entity-transaction entity-manager="#{entityManager}" />




            2. set transaction typ to RESOURCE LOCAL in the persistence.xml


            <persistence - unit name="Intellitax" transaction-type="RESOURCE_LOCAL">