"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.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4132525#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...