1 2 Previous Next 23 Replies Latest reply on Feb 29, 2008 4:10 PM by alllle

    4.2.2 wont deploy my persistency unit

    justkeys

      Migration from 4.2.1 to 4.2.2
      using linux, java 1.5.0_13-b05

      I try to deploy an .ear with a .jar inside, containing the META-INF/persistence.xml below.

      15:20:27,725 INFO [PersistenceUnitDeployment] Starting persistence unit persistence.units:ear=q.ear,unitName=manager1
      15:20:27,741 WARN [ServiceController] Problem starting service persistence.units:ear=q.ear,unitName=manager1
      javax.naming.NoInitialContextException: Need to specify class name in environment or system property, or as an applet parameter, or in an application resource file: java.naming.factory.initial

       <persistence>
       <persistence-unit name="manager1" >
       <jar-file>../ejb3/beans.jar</jar-file>
       <jar-file>../ejb3/beans2.jar</jar-file>
       <jta-data-source>java:/DefaultDS</jta-data-source>
       <properties>
       <property value="java:/Manager1" name="jboss.entity.manager.jndi.name" />
       <property value="java:/Manager1Factory" name="jboss.entity.manager.factory.jndi.name" />
       <property value="org.hibernate.dialect.HSQLDialect" name="hibernate.dialect" />
       <property value="update" name="hibernate.hbm2ddl.auto" />
       <property value="8" name="hibernate.connection.isolation" />
       </properties>
       </persistence-unit>
       </persistence>
      


      Since it's complaining about jndi-factory properties, i tried to add these properties in the persistence.xml, or add a jndi.properties inside beans.jar

      java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
      java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces
      


      That didn't help.

      The ear deploys on 4.2.1, but there i need to add ejb3/beans.jar in the .ear as well as in the nested .jar.

        • 1. Re: 4.2.2 wont deploy my persistency unit
          jaikiran

          Can you post the logs from the server.log file, from the point where it logs the following message:

          15:20:27,725 INFO [PersistenceUnitDeployment] Starting persistence unit persistence.units:ear=q.ear,unitName=manager1




          • 2. Re: 4.2.2 wont deploy my persistency unit
            justkeys

            javax.naming.NoInitialContextException: Need to specify class name in environment or system property, or as an applet parameter, or in an application resource file: java.naming.factory.initial
            at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:645)
            at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247)
            at javax.naming.InitialContext.getURLOrDefaultInitCtx(InitialContext.java:284)
            at javax.naming.InitialContext.lookup(InitialContext.java:351)
            at org.jboss.ejb3.entity.PersistenceUnitDeployment.start(PersistenceUnitDeployment.java:216)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:585)
            at org.jboss.ejb3.ServiceDelegateWrapper.startService(ServiceDelegateWrapper.java:103)
            at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
            at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
            at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:585)
            at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
            at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
            at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
            at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
            at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
            at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
            at $Proxy0.start(Unknown Source)
            at org.jboss.system.ServiceController.start(ServiceController.java:417)
            at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:585)
            at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
            at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
            at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
            at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
            at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
            at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
            at $Proxy82.start(Unknown Source)
            at org.jboss.ejb3.JmxKernelAbstraction.install(JmxKernelAbstraction.java:120)
            at org.jboss.ejb3.Ejb3Deployment.startPersistenceUnits(Ejb3Deployment.java:627)
            at org.jboss.ejb3.Ejb3Deployment.start(Ejb3Deployment.java:351)
            at org.jboss.ejb3.Ejb3Module.startService(Ejb3Module.java:91)
            at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
            at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
            at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:585)
            at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
            at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
            at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
            at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
            at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
            at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
            at $Proxy0.start(Unknown Source)
            at org.jboss.system.ServiceController.start(ServiceController.java:417)
            at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:585)
            at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
            at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
            at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
            at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
            at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
            at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
            at $Proxy35.start(Unknown Source)
            at org.jboss.ejb3.EJB3Deployer.start(EJB3Deployer.java:512)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:585)
            at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
            at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
            at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
            at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
            at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
            at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97)
            at org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(InterceptorServiceMBeanSupport.java:238)
            at org.jboss.wsf.container.jboss42.DeployerInterceptor.start(DeployerInterceptor.java:87)
            at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.start(SubDeployerInterceptorSupport.java:188)
            at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:95)
            at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
            at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
            at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
            at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
            at $Proxy36.start(Unknown Source)
            at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
            at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1015)
            at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
            at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
            at sun.reflect.GeneratedMethodAccessor20.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:585)
            at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
            at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
            at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
            at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
            at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
            at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
            at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
            at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
            at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
            at $Proxy9.deploy(Unknown Source)
            at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
            at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
            at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
            at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:336)
            at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
            at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
            at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:585)
            at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
            at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
            at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
            at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
            at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
            at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
            at $Proxy0.start(Unknown Source)
            at org.jboss.system.ServiceController.start(ServiceController.java:417)
            at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:585)
            at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
            at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
            at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
            at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
            at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
            at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
            at $Proxy4.start(Unknown Source)
            at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302)
            at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
            at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
            at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
            at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:585)
            at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
            at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
            at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
            at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
            at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
            at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
            at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
            at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
            at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
            at $Proxy5.deploy(Unknown Source)
            at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
            at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
            at org.jboss.Main.boot(Main.java:200)
            at org.jboss.Main$1.run(Main.java:508)
            at java.lang.Thread.run(Thread.java:595)

            • 3. Re: 4.2.2 wont deploy my persistency unit
              jaikiran

              Strange. Since this piece of code is running in the server itself, you shouldnt have seen this error. JBoss comes with 3 "servers" (named 'default', 'minimal' and 'all'). Which one are you using? Or have you created your own server? If you have created the server yourself, are you sure you did it right? And depending on the server you are using, do you see a file named jndi.properties in the %JBOSS_HOME%\server\< serverName>\conf folder? What does it contain? Also, does your ear/jar file contain any jndi.properties file in it?

              • 4. Re: 4.2.2 wont deploy my persistency unit
                jaikiran

                 

                The ear deploys on 4.2.1


                I just compared the source code of 4.2.1 and 4.2.2. Incidentally, there's a change in the org.jboss.ejb3.Ejb3Deployment. The change relates to the way the InitialContext is being constructed.

                I can't reproduce this error on 4.2.2 system, with my sample persistence application. However, i have seen a similar post in one of the forums here which too pointed to the same error while deploying an application on 4.2.2 (and the application deployed fine on 4.2.1). Looks like something specific to the way the application is packaged or maybe the contents in your application.




                • 5. Re: 4.2.2 wont deploy my persistency unit
                  justkeys

                  Yes something changed in the packaging interpretation.
                  In 4.2.1, we had to package the jars containing the ejbs (beans.jar) twice:

                  - q.ear/lib/utils.jar
                  - q.ear/META-INF/application.xml (module/ejb=app.jar)
                  - q.ear/beans.jar <- duplicate
                  - q.ear/app.jar/ejb3/beans.jar
                  - q.ear/app.jar/META-INF/persistence.xml (jar-file=../ejb3/beans.jar)

                  In 4.2.2 the packaging above results in deployment errors, so i changed the packaging into what i believe is the correct ejb3-packaging

                  - q.ear/lib/utils.jar
                  - q.ear/META-INF/application.xml (module/ejb=app.jar)
                  - q.ear/app.jar/ejb3/beans.jar
                  - q.ear/app.jar/META-INF/persistence.xml (jar-file=ejb3/beans.jar)

                  and then i got the jndi-factory-naming error.

                  So perhaps, the difference is that my persistence.xml is in a .jar inside an .ear (that also contains lib/.jars).

                  • 6. Re: 4.2.2 wont deploy my persistency unit
                    jaikiran

                    I still have no clue why your packaging should result in that error. Why not try this package structure:

                    - q.ear/lib/utils.jar
                    - q.ear/META-INF/application.xml (module/ejb=beans.jar)
                    - q.ear/beans.jar
                    - q.ear/beans.jar/META-INF/persistence.xml


                    And dont specify the jar-file element in the persistence.xml.

                    See if this works.



                    • 7. Re: 4.2.2 wont deploy my persistency unit
                      alllle

                      I wonder if anyone has encountered the same problem described here?

                      I am having the same problem. My EAR contains a module app.jar, which contains the persistence.xml file:

                      <persistence>
                       <persistence-unit name="myDB">
                       <provider>org.hibernate.ejb.HibernatePersistence</provider>
                       <jta-data-source>java:appDS</jta-data-source>
                       </persistence-unit>
                      </persistence>
                      

                      Where the appDS is deployed with a xxx-ds.xml file with no problem. However, I am getting the same NoInitialContextException.

                      I tried to deploy the app.jar under module/java as well as module/ejb but same problem. I also tried to add:
                      <properties>
                       <property name="java.naming.factory.initial" value="org.jnp.interfaces.NamingContextFactory" />
                       <property name="java.naming.factory.url.pkgs" value="org.jboss.naming:org.jnp.interfaces" />
                       </properties>
                      

                      to the persistence.xml file and same error.

                      I have no clue what is wrong. It's deployed to the server so no jndi.properties file should be needed. If so, why this error occurs?

                      • 8. Re: 4.2.2 wont deploy my persistency unit
                        alllle

                        Forgot to mention that I was using SEAM. And I compared all the configuration files with one of the SEAM examples, didn't see any differences other than name references.

                        • 9. Re: 4.2.2 wont deploy my persistency unit
                          alllle

                          After tracing into the deployment code, I believe I found the bug that caused this problem, at least for my case.

                          My EAR contains a MDB and the persistence.xml file for configuring the EntityManager.

                          Two classes are involved in this deployment problem: org.jboss.ejb3.EJBContainer and org.jboss.ejb3.mdb.MessagingContainer.

                          The MessagingContainer is a subclass of the EJBContainer, it has a method with the signature:

                          protected JMSProviderAdapter getJMSProviderAdapter(){...}

                          It invokes the
                          public InitialContext getInitialContext(){...}
                          in the EJBContainer class to obtain a InitialContext object in order to lookup the JMS provider adapter object from the JNDI. At the end of the method, MessagingContainer closes the InitialContext object.

                          In the previous implemention, the EJBContainer.getinitialContext() method returns a new InitialContext object everytime it is called. In version 4.2.2.GA, it returns the shared instance of InitialContext object defined in the class InitialContextFactory, whch is defined as static in the InitialContextFactory class.

                          As you might already figure out at this point, the problem rises when a MDB is deployed. Because the MessagingContainer.getJMSProviderAdapter() method closes the InitialContext object, it nullify all internal properties of the shared instance of the InitialContext object. This shared InitialContext object is later used to deploy the persistence.xml file, which throws the NoInitialContextException exception.

                          To overcome this problem before the official fix is out, I had to recompile the EJB3 deployment jar with the modified source. the patched class is attached in the next reply below.


                          • 10. Re: 4.2.2 wont deploy my persistency unit
                            alllle

                            If you are having the same problem, you may need the patched class file (I haven't find any workaround). To compile it from the source is a very tedious work so I'll post it here, hope this will save you some time.

                            Since the forum does not allow attachment, I encoded the patch in Base64. You can copy the text below and go to this site to decode it. It's a zip file that contains the patched MessagingContainer class.

                            UEsDBAoAAAAAAIp6gzcAAAAAAAAAAAAAAAAKAAAAb3JnL2pib3NzL1BLAwQKAAAAAACPeoM3AAAA
                            AAAAAAAAAAAADwAAAG9yZy9qYm9zcy9lamIzL1BLAwQKAAAAAACQeoM3AAAAAAAAAAAAAAAAEwAA
                            AG9yZy9qYm9zcy9lamIzL21kYi9QSwMEFAAAAAgAPHqDN/TwhXFuGQAAjzoAACsAAABvcmcvamJv
                            c3MvZWpiMy9tZGIvTWVzc2FnaW5nQ29udGFpbmVyLmNsYXNzxFoLeFTlmf6+YZIZJgeQYCBBkAER
                            Qm4joogJIoEESUzCJREFqngyc5KcMJkzziUkaq2X2qu1e6ndSl1d11W61bWiMgFRUbtqL1vX1bWu
                            2+u23Wq73UvrturWat/vP2fuM0B9nj6rDznn/Jfvfv3/+cZ7jz1JRCtdWzzkYjrTig0HRgeteDxg
                            jA6uCoyFBgO9RjyuD5uR4Y1WJKGbESPmITfTaQVLO7s35CyoZGopWJAwx4xY3IiNm0EjMICP0JbB
                            USOY6IqMW3uNGNO0sDXMNL8nuw8DgjjQg6cRa2PSFJB+GwhTbc+oPq5PCHwFMT2DlTP1YMIc1xOm
                            FemPGkGmM3pK8Naetwjb5o4pbo3OSChqmZHEJoCxYpNM55XabkaGwta+QPcGjPaW3AiQtR2dm9ov
                            6RnY09HZP9DV1z7QtaVvz8DOrZ1M1Yr+QFgHj/2JGFjF+hkQYzyhRxI79HDS8NIcplmKzZbRsXjL
                            gBU1wU1Vd2//nvaO9q0DW7Z7aS6TD5PNMb0lpkOSVTmovFSHgZART5gRxSnTKYWUeGkBkOSsGZiM
                            Qrw1W7dv2dHV0bndxoRnd19Hl5cWMc2JxqxxM2TE2kN6NGHEZAJoetsv29Pf2d+v8C4BVWP6RD8E
                            o9DOWarHoX+BH+8w4/pg2Agx8S4m79pg2IyYiXUwgvoVO5jcG62Q4aMV1OihBod/W0wbwwCiURM1
                            Q1mg2IwZofY02P6EnkjGFZBd04kpoNEZtNRHK2mVh86GKsqZlkbn0LlM04eNhD3A1FzfU4C1bUV5
                            0xRs52nkIS+o7YEP9CXHBo3YgDAperaCeniHHjPl2xmsXOuw/Gx9sRnkYNKtaKA9DvNM9OoRXZAV
                            EtZj6aH84TQUNZJMmOHAZj0+khDEbYWGDGM1YkEjCnMNdGXfuyJD1nYjasVNZceFuzrxp8OIhq3J
                            MSOSaFuxw0MXMM0rJGFD0gyDNi9dyLRQbW8ZPdswWp04cAGixqqmiD5mXOCjtdSuUSttgOGVkMiK
                            HbKiQ6NO2gTh6dGoEQkVqCm9tGjIIaNNQGzWqIu6YXQJy55kOrW+eAvWTqMeIaiX6dU/sor+/5S2
                            hWnxCQOjj/pom4himdh5v0ZVpHnoEqi0VL7oUInAmEjI4ks1uox2IuYMGnrEGVcSYZpd5GAe2s10
                            7gcKtD7aRdsE4RUazaCZ8nmlRjoNImnEjUQmNYHm+kKxZCbbVOxJjJigbnmpgF+cCxGwPZjugwnj
                            bcxWP5Ac1zqYXMEwvKWMlSAHKGnJkA14RjAxsTVmRSXMGSCupqSRYDzHLrJ2wLT6g9kPAngoYy5M
                            i05gT9AyAmhGRnYSmZPnW7aeIR8szNoYpDlkDucyODu9S7HYq0clN0etaDKsJ4z2gtQ+Q2FNjFgh
                            oR/c5nprzBgKQ/QBe0FeDBfFZPcBQ108TX5xAdBaZDYnWQGITc0FhduNuJWEnFXGtGKiWA9dy1Sf
                            Q1AkYiUUY6qkydthxHyw7us0+ghdD/nEMBceN9ozO1C8lcpY2RG72mqromvoRo1ukhBYMS4lBrSs
                            54Bp6DlZgkRieiiUrw5Hi5NZNWRUmFOtldG9SKuKPkmf9tCnmJaceL1GtwgjWtT5Fql66VbYxFiu
                            GfroT+jPPPSnsNDCeKvRn9PnkFCMq5J6OF6QexyZrdjloc8zrcoKZsxI6CE9oZclDHald2CBj26j
                            bV66HXFF0pzUNF/U6A76S9tZOoxgWEcJs8k0wieRzdLGrJYjQ91Fd3vor/Lybt4Sjf6a7oEw4uJt
                            QSnEVOnhrt8l6fQuulej++gACiYsQMgrwXoJYezw0k2ipC9rdL8If0Za+Kpg9dDfoYjP7tqejEjR
                            3jkhEQZi8tED9BXJJQ+hHstFODASs/apOCY28DA96qFHADzPhDQ6RCmQG02C3DUnR27xkIcOIy5l
                            hzO0wQzgV8lwQoq4wvDjjWYse+nJWDJ2jDlGgKTW8wFsByCmi9E4xlFX1hDgwcqTnYVsZDJEPn9Y
                            WIHWIgb+fJnBuBQ6z2v097RMIszXNUrab9/U6B9oGZaaESS6ftnnoxfoRQ/9I0rrE3V36V7MCYMa
                            /RO9hA4BNt+l2hvp31bVrygMqieC0yYk/LNGr9C3UVcHYwbywUBeUxg6Tn4/Ibb8ntQxnhINplQa
                            /6LRdPKJpP5Vo++IpDQlXKhxAklMCP2eRt+nH8DYYFagvoDS0+rLgRcf+zfA60KHYOph82oEAmlj
                            fqzRT+jfocWQMZgcLhOsdghJr2t0NXXL2880+rkQNx0d4kYlL6gUaugem7CLi0X1aTbt8kVyuQNM
                            FkDi/0X/46H/Lq4UhdNJRzGbjXBUGqlf0q/s0KZ6nu5IyLSxtByv7CqOel76XyZ/6Y6hadSBiqbh
                            N/S2h97KO7kYm7DdNssCMI3DsYS8d+j/UKcF7QGmlWUDbnlpvEvveeh3CNZFy3r18JAVy1iRrM+4
                            mUbvixZmRYEjAWcK7h2I6UHDywy5btJNNMP+hOW3LdqfBdDkH4sPg9F3eZrGbom3vkyRZUgwbQc/
                            o2ldLjwu7QhJoxmFBIqXHo/+NimpnxcGdHiM6LU/OTRkThTE4bJtTSkd80wmdMynIGQFkKK5WuM5
                            fCr4MSMhY2LLUJlOsEvWztV4HtfCrOPJwbjTx9XUd5VA43AdUVxrIWNITybStPtGcxjRHLT9qJ1G
                            QJOcaITFiu1wwNR+nMJy98mlHl6cl3oySQ+eymdoNE77vHwm0zkbrWQ45Ef15XcqPX+mJfCPKYz+
                            oZg15o+KC/pBY7jV7+PltNnD9Uis5cgUNA0an86NipuytfDJcYN8adMix3ZlJYN6Q48No7SaUwIq
                            Jk1VtM8vT4yPV/G5Hj4nr3qD5Aw9pPFqPk/6o2QsBgu2BwsbentUgTlf41aWRmnY7gnT3ajdeSHH
                            FncrTlMmkrtA43XixJ5oMj7SGQl6eH3xmWnuQagYTlBleB9fyBtQ9vDGgg60gFdEb6zs1HgTXwTz
                            lMItNG7GLdA2v3CbM+Ps6dK4my+229322HBSPBpCn1tfSpdqR6/GfbxFJXix7z4Io1B0znoR3TaN
                            t3M/RBcvLbr5Re2HIzmVkPgSjXeI7CrRxUF0cFwrHErvnRkBtKywSnTfpaUKTc6CJvPT6vxMPivK
                            q0xNpTJmueUeviLPlzIHjZ2xmBXz8pUI3WqD39mhHHbSSPjNdOI2Qj6+nAel4EXedkcvNibzz30z
                            flAlTizQrKRSQyFRkCOqDh7R2ORR8C3LB5FGNuuRUFiEuOZ4TX6POWQEJ4NhI6fbd3ZCu2GOeHgM
                            LdsHg6CxxVGw5agCDGx0iGNakGdPBaHBw6B7bpZRaDmTcLwMMTT0WelwN6LHEQONiN9pSpEv95mJ
                            Ef96B6WPr6J2H+/jSQ8jmC/LshI3EB7MxGSg33mBHq2gqSxI46v5Gpt0odmIbUXOCJpRPSz1mUN6
                            BkBmEpR/GMZUslMuQtdhjcFuq/ha/ojG10sKr01GkIRG4KFmUDjJwJXMdqPGN/FH4SlhIzKcGFHH
                            2V0e/hga4lI8mWPRsJEFwDfbUvikxp/iT9vhIIenBfVlWVqxw8OfyYuxtm2K935WcsYiFJ6qYk6f
                            3eVaJ6JiIm28Glw7B2ddWZTw/HiekFAnlj5+KCNUaZES6Rya3/Vk+0n4HarvKApy/qLGd0hBXh0z
                            xqzxvHpc2LxT47skSFXJ+kwdP43v1vh2aYp28d0gOevcWy0rLPP3anyP7JNznq3FNyMC+ksaxSmB
                            xpa/rPH9/ADUOixN97KyASk/AtNt/KDGX1En19hoXw7xQSc+tQY6pK4JJ7p7+9MEOAdjOTcwM9WJ
                            Q85NUHX+gH1UwpzSeIoP21kyB6DDEdOKvL4NfUVAyqhA8VKUeI8BS3rUr9vDKFVoLT+uUSc/UXDo
                            UUIC+Uf4VXyMn/bwU3mJ9zgkaPwMfxUGqxpPpTcnecnxQzryozaUyxxnBlQ/C7sK2l+tfi+j7j09
                            W6MDlB/O649ZiPbOKhHb1zV+lLq9/E2m81XcUjV6cyhmjhuR5pzrNf+wjLT5k3GpT/3DSVFQZNif
                            UPJfyd/S+AWVLvbpsYhAflHjR1Q3xy8BB7/MtLa+NOklyuXiIQH0isbf5lfh7qq7txtD53Kxrgxs
                            dKX8Wt5t5LakkVQW8x2Nv1sITU16+Pt5R5zZ8+RA9uQ4J+b/EOgvieyNWPsi/hyJNYtoUOB+j9q9
                            /GOoriubYO00EFRHKFhyC22u4p/yGx5+HWm0FCMa/0yctSIYtuJyaq+n7Xr5SVq13UHaRjS3nAmh
                            X150EQwkV++KCyUXPxotv+TzX2pk0Ckiwzc1rmLNy79GAM22Ja1+4eYtjd/mdyQnWNbeZLQgbJTQ
                            dKbf+G1aYYojhdvL6F4D2Q5jCH2PMuirFGW5Yhc6mtX9nJffh4A6J+QeAzLXHTbKLHahq61U4NDY
                            sWua5nK7KuCFdnubF4NCxcfWJ2va5URg85qDpc3j8iD35YHtU4+M6Xlc050VOZRs1OOJnNPBCsVR
                            NvtlJAqLOL3neNAzC8oBb/O6ZpUzGOWWymA8rtl56lQzXtec0upMqH3lNFSTr86B4y6eB3UqcAGp
                            AewwkSsFtVuScb85jO3JGKR0XZFi1zaWUc+6P4rKFyKDlZzzulDKzMuVs5KblYyEEO1daNGno+3W
                            41ZEPs+Atym7lRCt+yPGPn/CGItaMT02mSswyWrsOlNzLXMtRxfinE2mV+bZ/LIyNp/PmLqMVJdo
                            04KJCQk1eT8jwIzzU4LGP0DQTOv/YL0UkOVztbjO8rgCeYFd9QuyH/EyB0T2+Ne1UrqvogPfslva
                            BM0qCRzLESdd52qu1YRistbMy+LZS0OPaw1K9jwzyk/4Ptd5tA1/XG3oxlxrs9cPBdeoql91rdP4
                            PiRz13p1mWvtFeUno/5oUSnjdW0AY1n3C1n+ESNmgp2g347Wfmsoz6mR4l0dGv3E1YkG5/iXGLmX
                            Il7XRUwbchAZwA8+jaKI0eQP2dVgHDGg1a9kkvvrodyf+ti/3PHKiH1h65bX9OV0sUkwuQw5OOtX
                            N4GbTLG/ecX34i2y272YYLv4V0FVNF9+HUNEbjk1V88q0tRzBs3EcwHNolOwdjbeXVSN71Nzvmvw
                            PS/nuxbf83O+T8P3wpzv0/Htz/lefEqt/BYI74tBxZm0DDPL8XUBnvJfXTWnqH4/edwHyD3tEWqp
                            5sN01iO0+qDavgZ/fXgSrQXQdXS+GiVsbqU2B9TXwJgw2NFwlNburF43ResbU7QxRRc1Nde5G+sq
                            6irrPFN0Mab7dk7R1kO0vaF64BDtwMAuDHzoEF3e8Cj+pWhPFut8qsTfPlpE7dRAW+ks2g6M/bSR
                            BhQV222cFKSQYqRDygnFVAcN0bCisoNGyIQi5G0Us271tpfCUIy8jVFEYekgi6IQAdNVFCP5lR9a
                            FjzdciWkvsdpn+J6giYdrtcBg+CobGgE/YXSuhIYdEXnXHtVhs5KpXbG/1dTtwPrMgdWbUP1NSn6
                            8FN0TU/j81RZXfNQ4xG6gemhDPRqxYMBLEOAMgwlmzlYah0sPsx9lG4GdDd9jD5uY2E3JCHcjjYd
                            oU+gO/lMij67n644SrdBCX/RV31b9RdStL/VXed2p+jOOnezvS5Ff4OpL8lURV2FmqqQqb9VUwdo
                            Vqv7KD2ws849RQ8ea7T3NB+hg9Po0oPAPJd6aAtNOfSfrUw/AvqimIlDuwkYZZJWQsKtkPF6SHgL
                            JLONrqXd4MAE9cLfZjgRKM9IcZSO0GNK26N0lB4H9LmwjSfoSfC4CLZyjJ4C761wn6fxVgF4PnqG
                            vooxlgs/rH+WSH1NKQ2Y6p1oecMUPQdD/Br+faPhMH2rAS8vH6JX8XhNPh+lV1P03ay6T1eEfQ7b
                            Pw+D/ALY2w813AEvvBNo7lLEazZoh3i33C4WEbAFI7Kq7mFaXf3DFP0ICH9aXQMV3U4evL+RRWnb
                            wD1Ady9CxX1AdyAHTZ2Dhuk/6BeOfT0OCYjFb+Ie8PSfvcpP34SfNtl+2td8mH7dc4CWi/JT9FvR
                            p6yZI9StxxC77IVTXHGs8SFArUXQ8dO7DkVLlC/ej68HII4HMXsQs49g/BDwp+BfRxSF59hUOBS6
                            qIMr2QNoHrqQvfBPCW8tdDvepmHvEnqGp4NXt1wyFglstfIhIq+EjhT7Cj3wSUA9liMXb1r80mw4
                            ctkPPEJR0xye0df4HJ3ROIdnpXj2aneN23UXzWqscbuvTHFN3wHyNeJPRVNfc9YXba5fAE0v4u0l
                            +OLLCNWvINy+RvX0A0StH+Vw3ZSx3SaucyJVE89XXLupnk9TXM+mebyAFwqfcvCU5Zr9iuIbAEu0
                            39zQmOIlfc3P06KsspaqyMvLsrpqaG5K8YrC8PE6wsAbENPPIdZfKBIbbKAZEpu5iZsVic3cwgHs
                            rqTlfBavlKwmtyhFhL2IGfGETYf57BSv6WtI8dqjfOHOxiluF6vCd0edG9RsFnPqaa3EuuYUb8X4
                            QF3lQ60Vud8Vx4C7CkJcnaF8NcIm0a+A403M/AaO/RZy39vIau9g3e8oQO/RKryvhlGuwfeF+N5I
                            75cwO3ED4YTVm82dGOClKlXU0GK+jHcqznbxbsdQAo6xVYj/Z8VZKYOIq1krq0h7HzZ/yNl8CcCK
                            RS58mFr2U42AeJ5mHuXLobI9U6wfyweqzBeGX8u+nNC+MEP9Qg5ySOhhg4cK3YI3413M8taGR3k4
                            xXt7mxSuq4ArPsXJY4d5vK9hDl8raYavFc08R0vr3Ef4OoRzvuFOmneUb97pDEzxxw/zJw6Qh/Fw
                            P8G37JzW2N9a0dBUV5HiWy89QMtaK+sqn6ap22l6XeVTNHVMZYJKyQStnmZsqvMck8dB0LkbHAzB
                            WnbT9fg/zW03bJJ4ltyGksZi/qfSaVwDa5tL53Mt9fIC2gZH2M1LsHspjfAyGufldD030I2/b83M
                            Y6OqojB+zplp0zLW1hlSSzt0wyjOomGLtArUGNDa4QlVuqGJoxhxjzahYIiJGwkxNqAUxQQQ1Eww
                            Lo3WmY4TbBjNYBDTEI0ghhiJ/uMWFUNMo8Tv3vfmznTaUkz8p/OW++733u+d851zXxGHWzhEW/H7
                            POI1Vyj6Da1+3sbbQacEI1/AGNUx9fKLvAMv5Qq6lwd4J4itpQU6EorQMFTxS/yyerXq0+cE27nD
                            8ek69dIy5M3WBH4lwLpM8O5Agl8t6GN4PhgupEt4EVXyYqrmZqrla/Pips64097pvW5/gdfxMsze
                            MqnXvTbJbAtMMCf49cKp2nBRZJKAdqtVgRPQt5PdrvjxtDFvbZIPCIrsQAQOWgL/eXvQx4MFnsOr
                            qJxXk4/bwffWvLj2O/OXI79TMG20LPyeUepxlKq1UsNEJS7U6YJON3R6oLM2T6fa6HiMzvtT6FRd
                            gM6d0IlC5y7o3D2NztAUOjUXoLMeOvdB537oPHB+He3nhX5gOQUjDcUPImgu7FKRtEtFCnUCvUYw
                            yR8xrTRnP9GtQfasdhDktY8zuqbE+VNVeCox3MdH4nw0EMKx0Tgfs7zesO5YPAFc/mWMrvLxibwj
                            J2PkT/Epp1x9C5VwtlZ9N2LUT+M4JvzePqVuIMk/MOUi1faMx6iIe8nPG2gO91EzP05LeTO18lNk
                            8dPUzs/CM7bQPbyVHubn4Bn98IxtaE530D7kfAo5fggZnqt+aYdoER3kH/knEJxDe/ln/gWqFtpU
                            vy7QbvW9dwLldUhyVWOGzUP8qh5iiH8zDxFQjPQR/iNH+s9cE4YxrMrmaIZWB9Vvks8iOngMjUdL
                            s9tc8reNZ9S5io/GqAEtuMF6btx5RRYvqwGePxbUA4RymqGEiFJQ/tyCQtUlxfq3T0oc1ivUOpL3
                            wLL2wZP3g/Eb1MIH6EZ+k7r4Lerhd6gPUbsJWTsAB9yF5eRuTtAeLCPf5SQNYj/BH2rOS/XyY9h4
                            87CmqzJju25/1D1slBniAeceRHhaLgLjTSCfljLVCKov99Ozl4v/L/ZSMZ69eM/PXmZOwV4qHPaV
                            BeyhMB37EbBPg/3HYJ8B+yNg/xnYfw72o2B/DOy/APuvwP442J8A+6/B/iTYHwf7b/4D+yqZNQV7
                            UR+ycc6wl2qVj1Kjfe0Mjqn5o6GwQ86Plk6ROIwsHTT8ap2U90k9/qouImVzNCMac6agnCWIZaVc
                            ljerLkozyANYrlwXzr+Th89QGZ+lmfwXauw/tJjP0S1wyg5x5QGIGgBRmUvderaoXKmTHFt6FeLS
                            WzX6e0EZ3aZRFEmAsiURV0oQW6I+eE6CJOQ0Ci49U+mwhIOhuMxX/uXKVVpZQiVif1CptweaWys1
                            t1Zqv5s88VJH3K3+U5nLBeBQogexrXKhMzAkCw9TWUqu6U5IUwwGji11MCHNkUBclpg0kGXj0gAL
                            eNt2RprdQe27s9yDlr0VVm15Iy2HHWat+HLcNkkbzZaV1CirqEnaabl0UBt+LVmDN9BBa6Qz7zE7
                            ncecDcu2Q7CRFqH/0esg9T8+p1SedtZmFluhDDVl70v8qmc9JBVoOb1epGcd9nhsF12KUoPdCp2t
                            Prkeywy5AdlXrndXIJgwPKzipxhrsasBLG9hIWikZT0Vy4PklYeoWh6henmU5kovRm6gebKRrpPN
                            1CJPUKs8SRF5Ji+mLPPiLB1JrLdu0k8kGNuqY8oLRjeDlJvmIXojOr0Y1FTEWP8CUEsDBAoAAAAA
                            AIZ5gzcAAAAAAAAAAAAAAAAEAAAAb3JnL1BLAQIUAAoAAAAAAIp6gzcAAAAAAAAAAAAAAAAKAAAA
                            AAAAAAAAEAAAAAAAAABvcmcvamJvc3MvUEsBAhQACgAAAAAAj3qDNwAAAAAAAAAAAAAAAA8AAAAA
                            AAAAAAAQAAAAKAAAAG9yZy9qYm9zcy9lamIzL1BLAQIUAAoAAAAAAJB6gzcAAAAAAAAAAAAAAAAT
                            AAAAAAAAAAAAEAAAAFUAAABvcmcvamJvc3MvZWpiMy9tZGIvUEsBAhQAFAAAAAgAPHqDN/TwhXFu
                            GQAAjzoAACsAAAAAAAAAAAAgAAAAhgAAAG9yZy9qYm9zcy9lamIzL21kYi9NZXNzYWdpbmdDb250
                            YWluZXIuY2xhc3NQSwECFAAKAAAAAACGeYM3AAAAAAAAAAAAAAAABAAAAAAAAAAAABAAAAA9GgAA
                            b3JnL1BLBQYAAAAABQAFAEEBAABfGgAAAAA=

                            • 11. Re: 4.2.2 wont deploy my persistency unit
                              alllle

                              forgot to mention that you should merge this above patched MessagingContainer class into the SERVER_CONFIG/deploy/ejb3.deployer/jboss-ejb3.jar file.

                              • 12. Re: 4.2.2 wont deploy my persistency unit
                                alllle
                                • 13. Re: 4.2.2 wont deploy my persistency unit
                                  alllle

                                   

                                  "alllle" wrote:
                                  ... You can copy the text below and go to this site to decode it. It's a zip file that contains the patched MessagingContainer class....


                                  And since I can't edit the original post, here is the link I forgot to post to the site that does the base64 encode/decode online for free:
                                  http://www.motobit.com/util/base64-decoder-encoder.asp

                                  • 14. Re: 4.2.2 wont deploy my persistency unit
                                    justkeys

                                    Thanks. I decoded your base64, but my decompiler says its not a class file. Perhaps you could make your patched class file online available some other way, or mail it to mynickname / yahoo / com?

                                    1 2 Previous Next