5 Replies Latest reply on Nov 20, 2008 6:21 PM by Diana Gomez

    managed-persistence-context JTA websphere 6.1

    Diana Gomez Newbie

      Hi all... i am having some problems trying to access some CRUD app seam-gen made. i get  entityManager is null when i try to access a page.


      i am working with websphere 6.1.0.19  and
      jboss-seam2.0.1BETA1
      here is the stack trace.



      org.jboss.seam.InstantiationException: Could not instantiate Seam component: recursoProyectoList
              at org.jboss.seam.Component.newInstance(Component.java:2041)
              at org.jboss.seam.Component.getInstance(Component.java:1923)
              at org.jboss.seam.Component.getInstance(Component.java:1890)
              at org.jboss.seam.Namespace.getComponentInstance(Namespace.java:55)
              at org.jboss.seam.Namespace.getComponentInstance(Namespace.java:50)
              at org.jboss.seam.el.SeamELResolver.resolveBase(SeamELResolver.java:166)
              at org.jboss.seam.el.SeamELResolver.getValue(SeamELResolver.java:53)
              at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:143)
              at com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:72)
              at org.jboss.el.parser.AstIdentifier.getValue(AstIdentifier.java:44)
              at org.jboss.el.parser.AstValue.getValue(AstValue.java:63)
              at org.jboss.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:186)
      
      Caused by: java.lang.IllegalStateException: entityManager is null
              at org.jboss.seam.framework.EntityQuery.validate(EntityQuery.java:39)
              at sun.reflect.GeneratedMethodAccessor427.invoke(Unknown Source)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
              at java.lang.reflect.Method.invoke(Method.java:618)
              at org.jboss.seam.util.Reflections.invoke(Reflections.java:22)
      


      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: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:xsi="http://www.w3.org/2001/XMLSchema-instance"
                  xmlns:transaction="http://jboss.com/products/seam/transaction"
                  xsi:schemaLocation=
                      "http://jboss.com/products/seam/core http://jboss.com/products/seam/core-2.1.xsd 
                       http://jboss.com/products/seam/persistence http://jboss.com/products/seam/persistence-2.1.xsd 
                       http://jboss.com/products/seam/drools http://jboss.com/products/seam/drools-2.1.xsd
                       http://jboss.com/products/seam/bpm http://jboss.com/products/seam/bpm-2.1.xsd
                       http://jboss.com/products/seam/security http://jboss.com/products/seam/security-2.1.xsd
                       http://jboss.com/products/seam/mail http://jboss.com/products/seam/mail-2.1.xsd
                       http://jboss.com/products/seam/components http://jboss.com/products/seam/components-2.1.xsd">
      
         <core:init debug="true" jndi-pattern="java:comp/env/jboss_recursoshsh/#{ejbName}"/>
         
         
         <core:manager concurrent-request-timeout="500" 
                       conversation-timeout="120000" 
                       conversation-id-parameter="cid"
                       parent-conversation-id-parameter="pid"/>
       
         <persistence:entity-manager-factory name="myEMFactory" persistence-unit-name="jboss_recursoshsh"/>   
          
          <transaction:ejb-transaction />  
          
        <persistence:managed-persistence-context name="entityManager"
           auto-create="true"
            entity-manager-factory="#{myEMFactory}"/>
        
        
         
         <drools:rule-base name="securityRules">
            <drools:rule-files>
               <value>/security.drl</value>
            </drools:rule-files>
         </drools:rule-base>
      
         <security:rule-based-permission-resolver security-rules="#{securityRules}"/> 
         
         <security:identity authenticate-method="#{authenticator.authenticate}" remember-me="true"/>
         
         <event type="org.jboss.seam.security.notLoggedIn">
            <action execute="#{redirect.captureCurrentView}"/>
         </event>
         <event type="org.jboss.seam.security.loginSuccessful">
            <action execute="#{redirect.returnToCapturedView}"/>
         </event>
         
         <mail:mail-session host="localhost" port="2525" username="test" password="test" />
            
      </components>




      here is the persistence.xml


      <persistence-unit name="jboss_recursoshsh" transaction-type="JTA">
            <provider>org.hibernate.ejb.HibernatePersistence</provider>
            <jta-data-source>jboss_recursoshshDatasource</jta-data-source>
            <properties>
               <!-- From WAS 6.1.0.9, the embedded DB is switched to the same Derby DB in Glassfish -->
               <property name="hibernate.dialect" value="org.hibernate.dialect.OracleDialect"/>
               <property name="hibernate.hbm2ddl.auto" value="create-drop"/>
               <property name="hibernate.show_sql" value="true"/>
               <property name="hibernate.format_sql" value="true"/>
               <property name="hibernate.cache.provider_class" value="org.hibernate.cache.HashtableCacheProvider"/>
               <property name="hibernate.transaction.manager_lookup_class" value="org.hibernate.transaction.WebSphereExtendedJTATransactionLookup"/>         
              </properties>
         </persistence-unit>


         
      Any idea??

        • 1. Re: managed-persistence-context JTA websphere 6.1
          Jay Balunas Novice

          OK, well I guess first I am assuming that are using an EAR seam-gen application, and that you have installed the EJB3 feature pack as described in the WebSpehere Reference Guide .


          Second I would ask why are using Seam 2.0.1.BETA1?  I would recommend either 2.0.2.SP1, or Seam 2.1.0.SP1.  Although the document was originally written with the 2.0.X branch.


          Third - Were you ever able to get the application running before you generated CRUD pages?  I would recommend that as a starting point.  Get a simple base seam-gen application running following the reference guide, then we can isolate what might be causing any new issues.



          Caused by: java.lang.IllegalStateException: entityManager is null
                  at org.jboss.seam.framework.EntityQuery.validate(EntityQuery.java:39)
                  at sun.reflect.GeneratedMethodAccessor427.invoke(Unknown Source)
                  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
                  at java.lang.reflect.Method.invoke(Method.java:618)
                  at org.jboss.seam.util.Reflections.invoke(Reflections.java:22)
          



          This is just a symptom of the issue, are there any other related exceptions earlier in the log?


          Oh - one thing I just noticed what that your jta data source is named jboss_recursoshshDatasource, but in the components.xml you reference it as just jboss_recursoshsh.  Unless their is some implicit renaming that I am not aware of this would cause an issue like this.


          Hopefully this is the issue, if not can you give a little more information on the application changes you made, and look in the logs for exception higher up in deployment.


          Regards,
          Jay

          • 2. Re: managed-persistence-context JTA websphere 6.1
            Diana Gomez Newbie

            Thanks for reply Jay


            Yes, i am using a EAR seam-gen application, i had follow the WebSphere Reference Guide


            Besides the generated CRUD pages i have a generated new-form page wich is running in this moment with no problem.
            the problem just show up when i try to access the generated CRUD pages.


            I am not sure, i am probably wrong but, i referenced  "jboss_recursoshsh" in componenets.xml because is the  persistence-unit-name = _jboss_recursoshsh_
            in persistence.xml file  any way i changed it the way you suggested before and i got the following error :



            org.jboss.seam.InstantiationException: Could not instantiate Seam component: recursoProyectoList
                 at org.jboss.seam.Component.newInstance(Component.java:2041)
                 at org.jboss.seam.Component.getInstance(Component.java:1923)
                 at org.jboss.seam.Component.getInstance(Component.java:1890)
                 at org.jboss.seam.Namespace.getComponentInstance(Namespace.java:55)
                 at org.jboss.seam.Namespace.getComponentInstance(Namespace.java:50)
                 at org.jboss.seam.el.SeamELResolver.resolveBase(SeamELResolver.java:166)
                 at org.jboss.seam.el.SeamELResolver.getValue(SeamELResolver.java:53)
                 at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:143)
                 at com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:72)
                 at org.jboss.el.parser.AstIdentifier.getValue(AstIdentifier.java:44)
            
            
            at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:195)
                 at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:743)
                 at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:873)
                 at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1473)
            Caused by: org.jboss.seam.InstantiationException: Could not instantiate Seam component: myEMFactory
                 at org.jboss.seam.Component.newInstance(Component.java:2041)
                 at org.jboss.seam.Component.getInstance(Component.java:1923)
                 at org.jboss.seam.Component.getInstance(Component.java:1890)
                 at org.jboss.seam.Namespace.getComponentInstance(Namespace.java:55)
                 at org.jboss.seam.Namespace.getComponentInstance(Namespace.java:50)
                 at org.jboss.seam.el.SeamELResolver.resolveBase(SeamELResolver.java:166)
            
                 ... 84 more
            Caused by: javax.persistence.PersistenceException: No Persistence provider for EntityManager named jboss_recursoshshDatasource
                 at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:89)
                 at org.jboss.seam.persistence.EntityManagerFactory.createEntityManagerFactory(EntityManagerFactory.java:85)
                 at org.jboss.seam.persistence.EntityManagerFactory.startup(EntityManagerFactory.java:50)
                 at sun.reflect.GeneratedMethodAccessor432.invoke(Unknown Source)




            Keeping the configuration i posted before i am having this exception when i deploy my app....



            [13/11/08 14:46:21:343 COT] 00000022 Component     I org.jboss.seam.Component <init> Component: org.jboss.seam.web.userPrincipal, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.faces.UserPrincipal
            [13/11/08 14:46:21:343 COT] 00000022 Component     I org.jboss.seam.Component <init> Component: proyecto, scope: CONVERSATION, type: ENTITY_BEAN, class: com.heinsohn.recursoshsh.jboss.Proyecto
            [13/11/08 14:46:21:343 COT] 00000022 Component     I org.jboss.seam.Component <init> Component: proyectoHome, scope: CONVERSATION, type: JAVA_BEAN, class: com.heinsohn.recursoshsh.jboss.ProyectoHome
            [13/11/08 14:46:21:390 COT] 00000022 Component     I org.jboss.seam.Component <init> Component: proyectoList, scope: EVENT, type: JAVA_BEAN, class: com.heinsohn.recursoshsh.jboss.ProyectoList
            [13/11/08 14:46:21:406 COT] 00000022 Component     I org.jboss.seam.Component <init> Component: recurso, scope: CONVERSATION, type: ENTITY_BEAN, class: com.heinsohn.recursoshsh.jboss.Recurso
            [13/11/08 14:46:21:406 COT] 00000022 Component     I org.jboss.seam.Component <init> Component: recursoHome, scope: CONVERSATION, type: JAVA_BEAN, class: com.heinsohn.recursoshsh.jboss.RecursoHome
            [13/11/08 14:46:21:421 COT] 00000022 Component     I org.jboss.seam.Component <init> Component: recursoList, scope: EVENT, type: JAVA_BEAN, class: com.heinsohn.recursoshsh.jboss.RecursoList
            [13/11/08 14:46:21:468 COT] 00000022 Component     I org.jboss.seam.Component <init> Component: recursoProyecto, scope: CONVERSATION, type: ENTITY_BEAN, class: com.heinsohn.recursoshsh.jboss.RecursoProyecto
            [13/11/08 14:46:21:468 COT] 00000022 Component     I org.jboss.seam.Component <init> Component: recursoProyectoHome, scope: CONVERSATION, type: JAVA_BEAN, class: com.heinsohn.recursoshsh.jboss.RecursoProyectoHome
            [13/11/08 14:46:21:468 COT] 00000022 Component     I org.jboss.seam.Component <init> Component: recursoProyectoList, scope: EVENT, type: JAVA_BEAN, class: com.heinsohn.recursoshsh.jboss.RecursoProyectoList
            [13/11/08 14:46:21:484 COT] 00000022 Component     I org.jboss.seam.Component <init> Component: securityRules, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.drools.RuleBase
            [13/11/08 14:46:21:546 COT] 00000022 WebApp        E   Exception caught while initializing context 
            java.lang.IllegalStateException: duplicate factory for: org.jboss.seam.web.webSession (duplicate is specified in components.xml)
                 at org.jboss.seam.core.Init.checkDuplicateFactoryExpressions(Init.java:222)
                 at org.jboss.seam.core.Init.checkDuplicateFactory(Init.java:215)
                 at org.jboss.seam.core.Init.addFactoryValueExpression(Init.java:278)
                 at org.jboss.seam.init.Initialization.installComponents(Initialization.java:983)
                 at org.jboss.seam.init.Initialization.init(Initialization.java:631)
                 at org.jboss.seam.servlet.SeamListener.contextInitialized(SeamListener.java:34)
                 at com.ibm.ws.wswebcontainer.webapp.WebApp.notifyServletContextCreated(WebApp.java:916)
                 at com.ibm.ws.webcontainer.webapp.WebApp.commonInitializationFinish(WebApp.java:350)
                 at com.ibm.ws.wswebcontainer.webapp.WebApp.initialize(WebApp.java:337)
                 at com.ibm.ws.wswebcontainer.webapp.WebGroup.addWebApplication(WebGroup.java:92)
                 at com.ibm.ws.wswebcontainer.VirtualHost.addWebApplication(VirtualHost.java:157)
                 at com.ibm.ws.wswebcontainer.WebContainer.addWebApp(WebContainer.java:666)
                 at com.ibm.ws.wswebcontainer.WebContainer.addWebApplication(WebContainer.java:619)
                 at com.ibm.ws.webcontainer.component.WebContainerImpl.install(WebContainerImpl.java:395)
                 at com.ibm.ws.webcontainer.component.WebContainerImpl.start(WebContainerImpl.java:611)
                 at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:1304)




            eventhough i have that exception when i start the app,  it deploys.. and when i try to access a CRUD generated page this is the excetion:



                                             org.jboss.seam.InstantiationException: Could not instantiate Seam component: recursoList
                 at org.jboss.seam.Component.newInstance(Component.java:2041)
                 at org.jboss.seam.Component.getInstance(Component.java:1923)
                 at org.jboss.seam.Component.getInstance(Component.java:1890)
                 at org.jboss.seam.Namespace.getComponentInstance(Namespace.java:55)
                 at org.jboss.seam.Namespace.getComponentInstance(Namespace.java:50)
                 at org.jboss.seam.el.SeamELResolver.resolveBase(SeamELResolver.java:166)
                 at org.jboss.seam.el.SeamELResolver.getValue(SeamELResolver.java:53)
                 at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:143)
                 at com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:72)
                 at org.jboss.el.parser.AstIdentifier.getValue(AstIdentifier.java:44)

                 at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:102)
                 at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
                 at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
                 at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
                 at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)
                 at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:195)
                 at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:743)
                 at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:873)
                 at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1473)
            Caused by: org.jboss.seam.InstantiationException: Could not instantiate Seam component: myEMFactory
                 at org.jboss.seam.Component.newInstance(Component.java:2041)
                 at org.jboss.seam.Component.getInstance(Component.java:1923)
                 at org.jboss.seam.Component.getInstance(Component.java:1890)
                 at org.jboss.seam.Namespace.getComponentInstance(Namespace.java:55)
                 at org.jboss.seam.Namespace.getComponentInstance(Namespace.java:50)
                 at org.jboss.seam.el.SeamELResolver.resolveBase(SeamELResolver.java:166)
                 at org.jboss.seam.el.SeamELResolver.getValue(SeamELResolver.java:53)
                 at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:143)
                 at com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolve
                 ... 85 more
            Caused by: java.lang.RuntimeException: exception invoking: startup
                 at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:136)
                 at org.jboss.seam.Component.callComponentMethod(Component.java:2154)
                 at org.jboss.seam.Component.callCreateMethod(Component.java:2069)
                 at org.jboss.seam.Component.newInstance(Component.java:2029)
                 ... 142 more
            Caused by: java.lang.reflect.InvocationTargetException
                 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
                 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
                 at java.lang.reflect.Method.invoke(Method.java:618)
                 at org.jboss.seam.util.Reflections.invoke(Reflections.java:22)
                 at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:126)
                 ... 145 more
            Caused by: java.lang.ExceptionInInitializerError
                 at java.lang.J9VMInternals.initialize(J9VMInternals.java:216)
                 at org.hibernate.ejb.packaging.JarVisitor.getVisitor(JarVisitor.java:120)
                 at org.hibernate.ejb.Ejb3Configuration.getMainJarVisitor(Ejb3Configuration.java:266)
                 at org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:239)
                 at org.hibernate.ejb.HibernatePersistence.createEntityManagerFactory(HibernatePersistence.java:120)
                 at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:83)
                 at org.jboss.seam.persistence.EntityManagerFactory.createEntityManagerFactory(EntityManagerFactory.java:85)
                 at org.jboss.seam.persistence.EntityManagerFactory.startup(EntityManagerFactory.java:50)
                 ... 151 more
            Caused by: org.apache.commons.logging.LogConfigurationException: org.apache.commons.logging.LogConfigurationException: org.apache.commons.logging.LogConfigurationException: Class org.apache.commons.logging.impl.Jdk14Logger does not implement Log
                 at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:532)
                 at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:272)
                 at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:246)
                 at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:395)
                 at org.hibernate.ejb.packaging.FileZippedJarVisitor.<clinit>(FileZippedJarVisitor.java:21)
                 at java.lang.J9VMInternals.initializeImpl(Native Method)
                 at java.lang.J9VMInternals.initialize(J9VMInternals.java:194)
                 ... 158 more
            Caused by: org.apache.commons.logging.LogConfigurationException: org.apache.commons.logging.LogConfigurationException: Class org.apache.commons.logging.impl.Jdk14Logger does not implement Log
                 at org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryImpl.java:416)
                 at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:525)
                 ... 164 more
            Caused by: org.apache.commons.logging.LogConfigurationException: Class org.apache.commons.logging.impl.Jdk14Logger does not implement Log
                 at org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryImpl.java:412)
                 ... 165 more



            :(

            • 3. Re: managed-persistence-context JTA websphere 6.1
              Jay Balunas Novice

              Yup never mind the persistence unit name thing - I've been looking at too much XML I guess :-)


              And you are using the EJB3 feature pack correct?  Also what about the Seam version - why 2.0.1.BETA1?


              [13/11/08 14:46:21:546 COT] 00000022 WebApp        E   Exception caught while initializing context 
              java.lang.IllegalStateException: duplicate factory for: org.jboss.seam.web.webSession (duplicate is specified in components.xml)
                   at org.jboss.seam.core.Init.checkDuplicateFactoryExpressions(Init.java:222)
                   at org.jboss.seam.core.Init.checkDuplicateFactory(Init.java:215)
                   at org.jboss.seam.core.Init.addFactoryValueExpression(Init.java:278)
                   at org.jboss.seam.init.Initialization.installComponents(Initialization.java:983)
              



              This can be caused by multiple jboss-seam.jar files in the classpath.  Where do you have jboss-seam.jar files.  Often times there is one at the root directory of the EAR, and again in the lib directory.  If that is the case your can try removing the one in the /lib directory.  If that causes other issues could you post those.


              Caused by: org.apache.commons.logging.LogConfigurationException: Class org.apache.commons.logging.impl.Jdk14Logger does not implement Log
                   at org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryImpl.java:412)
                   ... 165 more
              



              What version of the commons-logging.jar are you seeing in your classpath?  This  type of issue is typically caused by either multiple versions or just incompatible version in the classpath.


              Regards,
              Jay

              • 4. Re: managed-persistence-context JTA websphere 6.1
                Diana Gomez Newbie
                Hi Jay.. yes i have  jboss-seam.jar in the root of the EAR file and the EAR/lib folder,  when i try to install the app in WAS without jboss-seam.jar  in EAR /lib folder.. It shows  me the following error and doesnt allow me to continue:

                Mensajes
                Error El archivo EAR podría esta dañado o incompleto.
                AppDeploymentException: [Type org.jboss.seam.annotations.Name not present] java.lang.TypeNotPresentException: Type org.jboss.seam.annotations.Name not present


                and taking off the one at the root of the EAR produce the following error:

                [14/11/08 07:55:37:484 COT] 0000002b SeamPhaseList W org.jboss.seam.jsf.SeamPhaseListener afterPhase uncaught exception, passing to exception handler
                                                 java.lang.IllegalStateException: Could not commit transaction
                     at org.jboss.seam.jsf.SeamPhaseListener.commitOrRollback(SeamPhaseListener.java:626)
                     at org.jboss.seam.jsf.SeamPhaseListener.commitOrRollback(SeamPhaseListener.java:605)



                I also try with 2.1.0.SP1 version .. and i keep getting the same error :(
                • 5. Re: managed-persistence-context JTA websphere 6.1
                  Diana Gomez Newbie

                  Hi all.. i cheched my libraries and i am not getting  Class org.apache.commons.logging.impl.Jdk14Logger does not implement Log anymore.


                  i keep getting org.jboss.seam.web.webSession (duplicate is specified in components.xml) (the reason i explain the post before).


                  now i am  getting besides entityManager is null this:



                  Caused by: java.lang.NoClassDefFoundError: org.hibernate.ejb.packaging.FileZippedJarVisitor (initialization failure)
                       at java.lang.J9VMInternals.initialize(J9VMInternals.java:132)
                       at org.hibernate.ejb.packaging.JarVisitor.getVisitor(JarVisitor.java:120)
                       at org.hibernate.ejb.Ejb3Configuration.getMainJarVisitor(Ejb3Configuration.java:266)
                       at org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:239)


                  any idea?