users@glassfish.java.net

Re: Resource Adapter can not be injected via anotation must ...

From: <forums_at_java.net>
Date: Fri, 12 Oct 2012 17:35:55 -0500 (CDT)

That's my guess that classloaders are not correct and that's why cast doesn't
work. Can you try restarting GF after undeploying MDB with ejb-jar.xml? I
would imagine that there are plenty of tests that verify that your scenario
works when you just do it one way or the other, but may be not changing the
setup... -marina

--
[Message sent by forum member 'mvatkina']
View Post: http://forums.java.net/node/891408