jaikiran pai [
http://community.jboss.org/people/jaikiran] replied to the discussion
"Problem with NotEligibleForDirectInvocationException"
To view the discussion, visit:
http://community.jboss.org/message/553808#553808
--------------------------------------------------------------
java.lang.ClassCastException: javax.naming.Reference cannot be cast to
de.kirchedlau.ponteseam.sessions.ContentInterface
Looks like you are missing the jbossall-client.jar (and the other jars that are referenced
in its META-INF/MANIFEST.MF file) from the JUnit classpath. Those jars are available in
JBOSS_HOME/client folder. Add them to the client classpath of your JUnit test.
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/553808#553808]
Start a new discussion in EJB 3.0 at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]