• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Stateful session bean not working in jboss

 
Praveen john
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am able to access a stateless ejb from a servlet 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.

Please help.

And with all the cases the Dependency injection works fine in glassfish but in jboss it is throwing nullpointer exception.
 
Nikhil Jain
Ranch Hand
Posts: 389
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
can you give some more info like code snippet.
 
nitin pokhriyal
Ranch Hand
Posts: 263
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

Thanks
Nitin
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic