This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
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!
 
GeeCON Prague 2014
 
subject: EJB3 beginner help ClassCastException error and I dont know why