aspose file tools
The moose likes Web Services and the fly likes Classcastexception when getting remoteobject of ejb. Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Web Services
Reply Bookmark "Classcastexception when getting remoteobject of ejb." Watch "Classcastexception when getting remoteobject of ejb." New topic
Author

Classcastexception when getting remoteobject of ejb.

paddy Mahadeva Iyer
Ranch Hand

Joined: Feb 10, 2007
Posts: 63
Hi,
I have a WebService Implementation class that has a method that acquires a remote object of an Ejb3 stateless session bean.

Say my my session bean is x and i have the xRemote and xLocal interface.

In my webservice implementation class I have a line


I wrote a client test program and when i executed the program . i get a classcastexception in this line. Saying
paddy Mahadeva Iyer
Ranch Hand

Joined: Feb 10, 2007
Posts: 63
Hi,

I just forgot to say that i am using Java5 jboss 4.0.5
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Classcastexception when getting remoteobject of ejb.
 
Similar Threads
jfcunit: Good or bad? Classloader issues...
EJB Testing using JUnit
WSDL access error
ClassCastException while using Collections. sort(Vector,Comparator)
Wrapper class on the top of stateless session bean