permaculture playing cards*
The moose likes EJB and other Java EE Technologies and the fly likes EJB3 beginner help ClassCastException error and I dont know why Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "EJB3 beginner help ClassCastException error and I dont know why" Watch "EJB3 beginner help ClassCastException error and I dont know why" New topic
Author

EJB3 beginner help ClassCastException error and I dont know why

seath brua
Greenhorn

Joined: Oct 03, 2007
Posts: 2
First of all I would like to thank any of you in advance for help.

I have recently been trying to learn web services and EJB3 and so I installed JDeveloper and started with their wizards. After using their wizards to create the entites_from_tables I created a Session Bean based on EJB3 and finally a sample client (all from the wizards). When I run the session client and access it either from the web using Oc4J or from the test client I recieve the following error when invoking any simple query:
SEVERE: Caught exception while handling request: java.lang.ClassCastException: EmployeeSession_RemoteProxy_58b0fko java.lang.ClassCastException: EmployeeSession_RemoteProxy_58b0fko

I have looked everywhere for an answer to this so if anyone could help it would again be greatly appreciated.

Thank you!
 
Don't get me started about those stupid light bulbs.
 
subject: EJB3 beginner help ClassCastException error and I dont know why