14 Replies Latest reply on Sep 28, 2011 9:18 AM by for1988

    Seam3 failed to inject EntityManager

    for1988

      I am having a problem with using seam3 on Jboss as 7. when i inject the EntityManager, it throws Exceptions . But injecting Logger is OK. 

      Then, i tried it on Tomcat 7, but it also can not work.

      This is my code and profile:

      --------------------------------------------------------------
      import javax.enterprise.context.ConversationScoped;
      import javax.enterprise.inject.Produces;
      import javax.persistence.EntityManagerFactory;
      import javax.persistence.PersistenceUnit;
      import org.jboss.seam.solder.core.ExtensionManaged;

      public class EntityManagerProducer
      {
         @PersistenceUnit
         @ConversationScoped
         @Produces
         @ExtensionManaged
         EntityManagerFactory emf; 
        
      }



      @Model
      public class CustomerAction
      {
              @Inject
         private EntityManager em ;
        
        
         public void saveCustomer()
         {
                 String hql \= "from User";
                      User user \= (User)em.createQuery(hql).getResultList().get(0);
                      System.out.println(user.getUsername());
         }
      }
      -----------------------------------------------------------------

      This is my web.xml, and i also have an empty faces-config.xml and a beans.xml
      -------------------------------------------------------------------
        <listener>
            <listener-class>org.jboss.weld.environment.servlet.Listener</listener-class>
         </listener>
        <servlet>
          <servlet-name>Faces Servlet</servlet-name>
          <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
          <load-on-startup>1</load-on-startup>
        </servlet>
        <servlet-mapping>
          <servlet-name>Faces Servlet</servlet-name>
          <url-pattern>*.seam</url-pattern>
        </servlet-mapping>
      -----------------------------------------------------------------------

      And i also tried beans.xml with a interceptor:

      <interceptors>
           <class>org.jboss.seam.transaction.TransactionInterceptor</class>
      </interceptors>


      I also tried on JBoss AS 7.0.1 ...  ;-(

        • 1. Re: Seam3 failed to inject EntityManager
          for1988
          <blockquote>
          _Feng J wrote on Sep 27, 2011 05:30:_<br/>
          
          |I am having a problem with using seam3 on Jboss as 7. when i inject the EntityManager, it throws Exceptions . But injecting Logger is OK.  
          
          Then, i tried it on Tomcat 7, but it also can not work.
          
          This is my code and profile:
          
          --------------------------------------------------------------
          
          
          

          import javax.enterprise.context.ConversationScoped;
          import javax.enterprise.inject.Produces;
          import javax.persistence.EntityManagerFactory;
          import javax.persistence.PersistenceUnit;
          import org.jboss.seam.solder.core.ExtensionManaged;


          public class EntityManagerProducer
          {
             @PersistenceUnit
             @ConversationScoped
             @Produces
             @ExtensionManaged
             EntityManagerFactory emf; 
            
          }




          @Model
          public class CustomerAction
          {
                  @Inject
             private EntityManager em ;
            
            
             public void saveCustomer()
             {
                     String hql = from User;
                          User user = (User)em.createQuery(hql).getResultList().get(0);
                          System.out.println(user.getUsername());
             }
          }

          
          
          -----------------------------------------------------------------
          
          This is my web.xml, and i also have an empty faces-config.xml and a beans.xml
          -------------------------------------------------------------------
            
          
          
          
          

          <listener>
                <listener-class>org.jboss.weld.environment.servlet.Listener</listener-class>
             </listener>
            <servlet>
              <servlet-name>Faces Servlet</servlet-name>
              <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
              <load-on-startup>1</load-on-startup>
            </servlet>
            <servlet-mapping>
              <servlet-name>Faces Servlet</servlet-name>
              <url-pattern>*.seam</url-pattern>
            </servlet-mapping>
          
          
          
          -----------------------------------------------------------------------
          
          
          
          
          
          
          I also tried on JBoss AS 7.0.1 ...  ;-(|
          </blockquote>
          
          Click HELP for text formatting instructions. Then edit this text and check the preview.



          • 2. Re: Seam3 failed to inject EntityManager
            lightguard

            What exception are you receiving and when is it thrown?

            • 3. Re: Seam3 failed to inject EntityManager
              for1988

              After i inject the entitymanager ,i call it in my method.

              • 4. Re: Seam3 failed to inject EntityManager
                for1988

                Feng J wrote on Sep 27, 2011 20:10:


                After i inject the entitymanager ,i call it in my method.

                It throws an Exception :javax.servlet.ServletException: java.lang.RuntimeException: org.jboss.weld.exceptions.NullInstanceException: WELD-000044 Unable to obtain instance from null
                     javax.faces.webapp.FacesServlet.service(FacesServlet.java:325)


                • 5. Re: Seam3 failed to inject EntityManager
                  for1988

                  I guess the  EntityManagerProducer did not work.





                  public class EntityManagerProducer 
                  {
                     @PersistenceUnit(unitName="JBossSeam3")
                     @ConversationScoped
                     @Produces
                     @ExtensionManaged
                     EntityManagerFactory emf;    
                  }
                  



                  According to the Seam3 reference implementation, I tried adding a interceptors in the beans.xml




                  <interceptors>
                          <class>org.jboss.seam.transaction.TransactionInterceptor</class>
                  </interceptors>




                  And what do i want to do that can let Seam managed persistence context from this EntityManagerFactory.
                  Then i can inject the EntityManager with using @Inject.

                  • 6. Re: Seam3 failed to inject EntityManager
                    for1988


                    09:39:23,018 信息    [org.jboss.modules] JBoss Modules version 1.0.1.GA
                    09:39:23,627 INFO  [org.jboss.msc] JBoss MSC version 1.0.0.GA
                    09:39:23,752 INFO  [org.jboss.as] JBoss AS 7.0.0.Final "Lightning" starting
                    09:39:25,421 INFO  [org.jboss.as] creating http management service using network interface (management) port (9990) securePort (-1)
                    09:39:25,580 INFO  [org.jboss.as.logging] Removing bootstrap log handlers
                    09:39:25,627 INFO  [org.jboss.as.connector.subsystems.datasources] (Controller Boot Thread) Deploying non-JDBC-compliant driver class com.mysql.jdbc.Driver (version 5.1)
                    09:39:25,643 INFO  [org.jboss.as.connector.subsystems.datasources] (Controller Boot Thread) Deploying JDBC-compliant driver class org.h2.Driver (version 1.2)
                    09:39:25,658 INFO  [org.jboss.as.clustering.infinispan.subsystem] (Controller Boot Thread) Activating Infinispan subsystem.
                    09:39:25,845 INFO  [org.jboss.as.naming] (Controller Boot Thread) Activating Naming Subsystem
                    09:39:25,861 INFO  [org.jboss.as.naming] (MSC service thread 1-2) Starting Naming Service 
                    09:39:25,861 INFO  [org.jboss.as.osgi] (Controller Boot Thread) Activating OSGi Subsystem
                    09:39:25,908 INFO  [org.jboss.as.security] (Controller Boot Thread) Activating Security Subsystem
                    09:39:25,955 INFO  [org.jboss.remoting] (MSC service thread 1-3) JBoss Remoting version 3.2.0.Beta2
                    09:39:26,001 INFO  [org.xnio] (MSC service thread 1-3) XNIO Version 3.0.0.Beta3
                    09:39:26,017 INFO  [org.xnio.nio] (MSC service thread 1-3) XNIO NIO Implementation Version 3.0.0.Beta3
                    09:39:26,438 INFO  [org.jboss.as.ee] (Controller Boot Thread) Activating EE subsystem
                    09:39:26,454 INFO  [org.apache.catalina.core.AprLifecycleListener] (MSC service thread 1-4) The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: D:\java\jdk1.6.0_10\bin;.;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;D:\java\jdk1.6.0_10\jre\bin;native
                    09:39:26,795 INFO  [org.jboss.as.jmx.JMXConnectorService] (MSC service thread 1-4) Starting remote JMX connector
                    09:39:26,795 INFO  [org.jboss.as.remoting] (MSC service thread 1-3) Listening on /127.0.0.1:9999
                    09:39:26,905 INFO  [org.apache.coyote.http11.Http11Protocol] (MSC service thread 1-4) Starting Coyote HTTP/1.1 on http--127.0.0.1-8080
                    09:39:27,139 INFO  [org.jboss.as.connector] (MSC service thread 1-1) Starting JCA Subsystem (JBoss IronJacamar 1.0.0.CR2)
                    09:39:27,295 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-1) Bound data source [java:MySqlDS]
                    09:39:28,199 ERROR [org.jboss.remoting.remote] (XNIO NIO Read 1) JBREM00200: Remote connection failed: java.io.IOException: 您的主机中的软件中止了一个已建立的连接。
                    09:39:29,027 INFO  [org.jboss.as.deployment] (MSC service thread 1-4) Started FileSystemDeploymentService for directory D:\java\jboss-as-web-7.0.0.Final\standalone\deployments
                    09:39:29,043 WARN  [org.jboss.as.deployment] (DeploymentScanner-threads - 1) Deployment of 'JEE6' requested, but the deployment is not present
                    09:39:29,043 INFO  [org.jboss.as.deployment] (DeploymentScanner-threads - 1) Found JBossSeam3.war in deployment directory. To trigger deployment create a file called JBossSeam3.war.dodeploy
                    09:39:29,043 INFO  [org.jboss.as.deployment] (DeploymentScanner-threads - 1) Found JEE6.war in deployment directory. To trigger deployment create a file called JEE6.war.dodeploy
                    09:39:29,043 INFO  [org.jboss.as.deployment] (DeploymentScanner-threads - 1) Found seam-config-example-princess-rescue.war in deployment directory. To trigger deployment create a file called seam-config-example-princess-rescue.war.dodeploy
                    09:39:29,121 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-3) Starting deployment of "JBossSeam3.war"
                    09:39:31,539 WARN  [org.jboss.as.server.deployment.service-loader] (MSC service thread 1-2) Encountered invalid class name "com.sun.faces.vendor.Tomcat6InjectionProvider:org.apache.catalina.util.DefaultAnnotationProcessor" for service type "com.sun.faces.spi.injectionprovider"
                    09:39:31,539 WARN  [org.jboss.as.server.deployment.service-loader] (MSC service thread 1-2) Encountered invalid class name "com.sun.faces.vendor.Jetty6InjectionProvider:org.mortbay.jetty.plus.annotation.InjectionCollection" for service type "com.sun.faces.spi.injectionprovider"
                    09:39:31,554 INFO  [org.jboss.jpa] (MSC service thread 1-2) read persistence.xml for JBossSeam3
                    09:39:32,426 INFO  [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-2) Deploying non-JDBC-compliant driver class com.mysql.jdbc.Driver (version 5.1)
                    09:39:32,457 INFO  [org.jboss.jpa] (MSC service thread 1-2) starting Persistence Unit Service 'JBossSeam3.war#JBossSeam3' 
                    09:39:32,597 INFO  [org.hibernate.annotations.common.Version] (MSC service thread 1-2) Hibernate Commons Annotations 3.2.0.Final
                    09:39:32,597 INFO  [org.hibernate.cfg.Environment] (MSC service thread 1-2) HHH00412:Hibernate [WORKING]
                    09:39:32,597 INFO  [org.hibernate.cfg.Environment] (MSC service thread 1-2) HHH00206:hibernate.properties not found
                    09:39:32,613 INFO  [org.hibernate.cfg.Environment] (MSC service thread 1-2) HHH00021:Bytecode provider name : javassist
                    09:39:32,630 INFO  [org.hibernate.ejb.Ejb3Configuration] (MSC service thread 1-2) HHH00204:Processing PersistenceUnitInfo [
                         name: JBossSeam3
                         ...]
                    09:39:32,676 WARN  [org.hibernate.cfg.AnnotationBinder] (MSC service thread 1-2) HHH00194:Package not found or wo package-info.java: validation.model
                    09:39:32,676 WARN  [org.hibernate.cfg.AnnotationBinder] (MSC service thread 1-2) HHH00194:Package not found or wo package-info.java: validation
                    09:39:32,676 WARN  [org.hibernate.cfg.AnnotationBinder] (MSC service thread 1-2) HHH00194:Package not found or wo package-info.java: validation.action
                    09:39:32,801 INFO  [org.hibernate.service.jdbc.connections.internal.ConnectionProviderInitiator] (MSC service thread 1-2) HHH00130:Instantiating explicit connection provider: org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider
                    09:39:32,864 INFO  [org.hibernate.dialect.Dialect] (MSC service thread 1-2) HHH00400:Using dialect: org.hibernate.dialect.HSQLDialect
                    09:39:32,879 INFO  [org.hibernate.engine.jdbc.internal.LobCreatorBuilder] (MSC service thread 1-2) HHH00423:Disabling contextual LOB creation as JDBC driver reported JDBC version [3] less than 4
                    09:39:32,879 INFO  [org.hibernate.engine.transaction.internal.TransactionFactoryInitiator] (MSC service thread 1-2) HHH00268:Transaction strategy: org.hibernate.engine.transaction.internal.jta.CMTTransactionFactory
                    09:39:32,895 INFO  [org.hibernate.hql.internal.ast.ASTQueryTranslatorFactory] (MSC service thread 1-2) HHH00397:Using ASTQueryTranslatorFactory
                    09:39:32,926 INFO  [org.hibernate.validator.util.Version] (MSC service thread 1-2) Hibernate Validator 4.1.0.Final
                    09:39:32,942 INFO  [org.hibernate.validator.engine.resolver.DefaultTraversableResolver] (MSC service thread 1-2) Instantiated an instance of org.hibernate.validator.engine.resolver.JPATraversableResolver.
                    09:39:33,207 INFO  [org.hibernate.tool.hbm2ddl.SchemaExport] (MSC service thread 1-2) HHH00227:Running hbm2ddl schema export
                    09:39:33,207 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (MSC service thread 1-2) HHH00389:Unsuccessful: create table user (username varchar(255) not null, name varchar(255), password varchar(255), primary key (username))
                    09:39:33,207 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (MSC service thread 1-2) Table 'user' already exists
                    09:39:33,207 INFO  [org.hibernate.tool.hbm2ddl.SchemaExport] (MSC service thread 1-2) HHH00230:Schema export complete
                    09:39:33,269 INFO  [org.apache.catalina.core.StandardContext] (MSC service thread 1-2) The listener "com.sun.faces.config.ConfigureListener" is already configured for this context. The duplicate definition has been ignored.
                    09:39:33,269 INFO  [org.apache.catalina.core.StandardContext] (MSC service thread 1-2) The listener "com.sun.faces.config.ConfigureListener" is already configured for this context. The duplicate definition has been ignored.
                    09:39:33,347 信息    [org.jboss.weld.Version] (MSC service thread 1-2) WELD-000900 SNAPSHOT
                    09:39:33,566 信息    [org.jboss.weld.Bootstrap] (MSC service thread 1-2) WELD-000101 Transactional services not available. Injection of @Inject UserTransaction not available. Transactional observers will be invoked synchronously.
                    09:39:33,846 INFO  [org.jboss.seam.solder.Version] (MSC service thread 1-2) Seam Solder null (build id: null)
                    09:39:33,862 INFO  [org.jboss.seam.config.xml.bootstrap.XmlConfigExtension] (MSC service thread 1-2) Seam Config XML provider starting...
                    09:39:33,862 INFO  [org.jboss.seam.config.xml.bootstrap.XmlConfigExtension] (MSC service thread 1-2) Loading XmlDocumentProvider: org.jboss.seam.config.xml.bootstrap.ResourceLoaderXmlDocumentProvider
                    09:39:33,862 INFO  [org.jboss.seam.config.xml.bootstrap.XmlConfigExtension] (MSC service thread 1-2) Reading XML file: vfs:/D:/java/jboss-as-web-7.0.0.Final/standalone/deployments/JBossSeam3.war/WEB-INF/classes/META-INF/seam-beans.xml
                    09:39:33,879 INFO  [org.jboss.seam.config.xml.bootstrap.XmlConfigExtension] (MSC service thread 1-2) Reading XML file: vfs:/D:/java/jboss-as-web-7.0.0.Final/standalone/deployments/JBossSeam3.war/WEB-INF/lib/seam-solder.jar/META-INF/beans.xml
                    09:39:33,879 信息    [org.jboss.weld.environment.servlet.Listener] (MSC service thread 1-2) Tomcat 7 detected, CDI injection will be available in Servlets and Filters. Injection into Listeners is not supported
                    09:39:34,128 INFO  [org.jboss.seam.solder.core.CoreExtension] (MSC service thread 1-2) Preventing class org.jboss.seam.transaction.UTTransaction from being installed as bean due to @Veto annotation
                    09:39:34,175 INFO  [org.jboss.seam.solder.core.CoreExtension] (MSC service thread 1-2) Preventing class org.jboss.seam.transaction.CMTTransaction from being installed as bean due to @Veto annotation
                    09:39:34,237 INFO  [org.jboss.seam.persistence.ManagedPersistenceContextExtension] (MSC service thread 1-2) Configuring Seam Managed Persistence Context from producer field validation.EntityManagerProducer.emf with qualifiers [@javax.enterprise.inject.Any(), @javax.enterprise.inject.Default()]
                    09:39:34,315 INFO  [org.jboss.seam.solder.core.CoreExtension] (MSC service thread 1-2) Preventing class org.jboss.seam.solder.core.VersionLoggerUtil from being installed as bean due to @Veto annotation
                    09:39:34,425 INFO  [org.jboss.seam.solder.core.CoreExtension] (MSC service thread 1-2) Preventing class org.jboss.seam.transaction.EntityTransaction from being installed as bean due to @Veto annotation
                    09:39:34,674 INFO  [org.jboss.seam.solder.core.CoreExtension] (MSC service thread 1-2) Preventing class org.jboss.seam.solder.resourceLoader.ResourceProvider from being installed as bean due to @Veto annotation
                    09:39:34,705 INFO  [org.jboss.seam.solder.core.CoreExtension] (MSC service thread 1-2) Preventing class org.jboss.seam.transaction.SeSynchronizations from being installed as bean due to @Veto annotation
                    09:39:34,752 INFO  [org.jboss.seam.solder.core.CoreExtension] (MSC service thread 1-2) Preventing class org.jboss.seam.persistence.HibernatePersistenceProvider from being installed as bean due to @Veto annotation
                    09:39:35,127 INFO  [org.jboss.seam.solder.core.CoreExtension] (MSC service thread 1-2) Preventing class org.jboss.seam.persistence.hibernate.HibernateManagedSessionExtensionImpl from being installed as bean due to @Veto annotation
                    09:39:35,127 INFO  [org.jboss.seam.solder.core.CoreExtension] (MSC service thread 1-2) Preventing class org.jboss.seam.transaction.NoTransaction from being installed as bean due to @Veto annotation
                    09:39:35,315 INFO  [org.jboss.seam.solder.core.CoreExtension] (MSC service thread 1-2) Preventing class org.jboss.seam.transaction.HibernateTransaction from being installed as bean due to @Veto annotation
                    09:39:35,752 信息    [javax.enterprise.resource.webcontainer.jsf.config] (MSC service thread 1-2) 初始化上下文 '/JBossSeam3' 的 Mojarra 2.0.4 (FCS b09-jbossorg-4)
                    09:39:38,872 信息    [org.primefaces.webapp.PostConstructApplicationEventListener] (MSC service thread 1-2) Running on PrimeFaces 3.0.M1
                    09:39:38,919 INFO  [org.jboss.web] (MSC service thread 1-2) registering web context: /JBossSeam3
                    09:39:38,919 INFO  [org.jboss.as] (MSC service thread 1-4) JBoss AS 7.0.0.Final "Lightning" started in 16494ms - Started 232 of 288 services (56 services are passive or on-demand)
                    09:39:38,982 INFO  [org.jboss.as.server.controller] (DeploymentScanner-threads - 2) Deployed "JBossSeam3.war"
                    



                    • 7. Re: Seam3 failed to inject EntityManager
                      lightguard

                      Feng J wrote on Sep 27, 2011 20:46:


                      I guess the  EntityManagerProducer did not work.




                      public class EntityManagerProducer 
                      {
                         @PersistenceUnit(unitName="JBossSeam3")
                         @ConversationScoped
                         @Produces
                         @ExtensionManaged
                         EntityManagerFactory emf;    
                      }
                      



                      According to the Seam3 reference implementation, I tried adding a interceptors in the beans.xml



                      <interceptors>
                              <class>org.jboss.seam.transaction.TransactionInterceptor</class>
                      </interceptors>




                      And what do i want to do that can let Seam managed persistence context from this EntityManagerFactory.
                      Then i can inject the EntityManager with using @Inject.



                      If you're running in a Java EE 6 compliant server, you don't need the servlet listener for CDI, so you can remove that. Also remove any Weld libraries from your WAR as they're already provided via the application server. It also looks like you don't have a beans.xml in WEB-INF. Put one in there and let's see how far we get.

                      • 8. Re: Seam3 failed to inject EntityManager
                        for1988

                        I removed the servlet listener for CDI, and also put one empty beans.xml in WEB-INF.  It still throws the same exception.


                        Look at my jboss start log above. 




                        09:39:34,237 INFO  [org.jboss.seam.persistence.ManagedPersistenceContextExtension] (MSC service thread 1-2) Configuring Seam Managed Persistence Context from producer field validation.EntityManagerProducer.emf with qualifiers [@javax.enterprise.inject.Any(), @javax.enterprise.inject.Default()]



                        It means that the EntityManagerProducer has already , all right?  But other org.jboss.seam.solder.core.CoreExtension  means the other seam transaction ,persistence which looks like do not work.


                        I do not know what the start log should be.  May be , my jars are not compatible. I am going to get all the jars from the example Seam-booking with using Maven

                        • 9. Re: Seam3 failed to inject EntityManager
                          lightguard

                          Feng J wrote on Sep 28, 2011 03:18:


                          I removed the servlet listener for CDI, and also put one empty beans.xml in WEB-INF.  It still throws the same exception.

                          Look at my jboss start log above. 



                          09:39:34,237 INFO  [org.jboss.seam.persistence.ManagedPersistenceContextExtension] (MSC service thread 1-2) Configuring Seam Managed Persistence Context from producer field validation.EntityManagerProducer.emf with qualifiers [@javax.enterprise.inject.Any(), @javax.enterprise.inject.Default()]



                          It means that the EntityManagerProducer has already , all right?  But other org.jboss.seam.solder.core.CoreExtension  means the other seam transaction ,persistence which looks like do not work.

                          I do not know what the start log should be.  May be , my jars are not compatible. I am going to get all the jars from the example Seam-booking with using Maven


                          That all looks fine. What problems are running into now?

                          • 10. Re: Seam3 failed to inject EntityManager
                            for1988

                            Think you for your help, Jason.
                            Now i change my jars , i get everything from the example seam-booking .Now there is a new exception.




                              [javax.enterprise.resource.webcontainer.jsf.application] (http--127.0.0.1-8080-5) java.lang.RuntimeException: java.lang.RuntimeException: java.lang.RuntimeException: Could not find TransactionManager in JNDI: javax.faces.el.EvaluationException: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.RuntimeException: Could not find TransactionManager in JNDI






                            Caused by: javax.naming.NamingException: Failed to get context with name comp




                            I am glad to see that the exception has a change in last two days. I am going to solve it .  ;)

                            • 11. Re: Seam3 failed to inject EntityManager
                              for1988

                              Yes, it's done. When  i used @PersistenceContext(name="JBossSeam3") to replace @Inject ,i got the instance of EntityManager  at least.


                              Now i have no listener in my web.xml , but why i can use the @Inject to inject the em ? Could not find it in JNDI? But why is JNDI?

                              • 12. Re: Seam3 failed to inject EntityManager
                                lightguard

                                Use Seam Persistence > 3.0.0.Final for AS7

                                • 13. Re: Seam3 failed to inject EntityManager
                                  hantsy

                                  Jason Porter wrote on Sep 28, 2011 05:26:


                                  Use Seam Persistence > 3.0.0.Final for AS7


                                  The JNDI name of transaction is changed in JBoss 7....I used 3.1.Beta2, It can be found.

                                  • 14. Re: Seam3 failed to inject EntityManager
                                    for1988

                                    Hi, I changed the seam persistence to 3.1.Beta2 . But i find that it has no transaction . Then i put the Seam Transaction 3.1 in the lib. But it throws some other exceptions. Could you list your jars in the lib for me to find which jar i lost.