1 2 Previous Next 23 Replies Latest reply on Feb 29, 2008 4:10 PM by alllle Go to original post
      • 15. Re: 4.2.2 wont deploy my persistency unit
        justkeys

        Ah its a zip!

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

          Works great!

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

             

            "justkeys" wrote:
            Works great!


            Good, that confirms that your problem is caused by the same bug.

            • 18. Re: 4.2.2 wont deploy my persistency unit
              aborland

              Is there currently any other solution/workaround for this? I'd prefer not to hack in such a change. I'm using 4.2.0.GA_CP01 and having this exact problem.

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

                 

                "aborland" wrote:
                Is there currently any other solution/workaround for this? I'd prefer not to hack in such a change. I'm using 4.2.0.GA_CP01 and having this exact problem.


                This fix is pretty safe and should not have any impact to the rest of the system.

                As for other workaround, I guess it would be your turn to find it and publish it out :)

                • 20. Re: 4.2.2 wont deploy my persistency unit
                  degerhar

                  Thank you very much! Had the same problem and your patch solved the issue!!

                  Thanx for supplying the zip file, made things much easier

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

                     

                    "degerhar" wrote:
                    Thank you very much! Had the same problem and your patch solved the issue!!

                    Thanx for supplying the zip file, made things much easier


                    You are welcome. Glad it helped you. It is a pain to setup project just to compile a small class change :)

                    • 22. Re: 4.2.2 wont deploy my persistency unit
                      yugantshah

                       

                      "alllle" wrote:
                      "aborland" wrote:
                      Is there currently any other solution/workaround for this? I'd prefer not to hack in such a change. I'm using 4.2.0.GA_CP01 and having this exact problem.


                      This fix is pretty safe and should not have any impact to the rest of the system.

                      As for other workaround, I guess it would be your turn to find it and publish it out :)


                      Hello,
                      This solution solves the persistence context loading issue.
                      But now I have one more issue.The @PersistenceContext is not supported in MDB. Also I tried with the
                      <persistence-context-ref>
                      <persistence-context-ref-name>hopsLM3/messaging/entity_manager</persistence-context-ref-name>
                      <persistence-unit-name>hopsMessaging$LM</persistence-unit-name>
                      </persistence-context-ref>
                      in ejb-jar.xml but still same issue.
                      The error that I get is

                      14:50:01,042 ERROR [STDERR] javax.naming.NameNotFoundException: hopsLM3 not boun
                      d
                      14:50:01,042 ERROR [STDERR] at org.jnp.server.NamingServer.getBinding(Naming
                      Server.java:529)
                      14:50:01,042 ERROR [STDERR] at org.jnp.server.NamingServer.getBinding(Naming
                      Server.java:537)
                      14:50:01,057 ERROR [STDERR] at org.jnp.server.NamingServer.getObject(NamingS
                      erver.java:543)
                      14:50:01,057 ERROR [STDERR] at org.jnp.server.NamingServer.lookup(NamingServ
                      er.java:267)
                      14:50:01,057 ERROR [STDERR] at org.jnp.server.NamingServer.lookup(NamingServ
                      er.java:270)

                      I am not able to resolve it.
                      Any help on it would be appreciated.

                      Thanks and Regards,
                      Yugant Shah.

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

                        I think you will have better chance to get some help if you open a new thread as it seems like a different issue.

                        1 2 Previous Next