A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
EJB Certification (SCBCD/OCPJBCD)
Stateful session bean not working in jboss
Joined: Sep 02, 2007
Mar 30, 2008 04:19:00
I am able to access a stateless
through jndi look up but the same ejb changed into a stateful ejb and accessed by the same servlet throws a ClassCastException.
The same works fine in glassfish.
And with all the cases the Dependency injection works fine in glassfish but in
it is throwing nullpointer exception.
Joined: May 15, 2005
Mar 30, 2008 09:12:00
can you give some more info like code snippet.
SCJP 1.4, SCWCD 1.4, SCBCD 1.5
Joined: May 19, 2005
Apr 08, 2008 06:16:00
How can a stateless EJB changed into StateFul? This sounds weired... are you sure it is changed into stateful? how did you found out just brief it so that people can help you in better way.
I agree. Here's the link:
subject: Stateful session bean not working in jboss
Problem with EJB lookup on JBoss 7.1
EJB client with DI - @EJB injection doesn't work
Doubt about Local and Remote
Profiling application deployed on Glassfish
Java Persistence API
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014