Are the 2 beans in the different applications (ear files)? If so you may want to specify one application as the parent of the other. Cheers, Ashok [EMAIL PROTECTED] wrote: > Hello All, > hope you can help me with this as I'm unsure exactly what it means, > I use a session bean to invoke methods on an entity bean, the error seems to be in >the Entity Bean but it has been tested from a client and it works, I think it may be >due to the classpath, as I've had to put the classes into the server.xml as <Library >path="...">file before I could see them from ejbs. > any ideas are very welcome, > Thanks, > Albert. > Here is the exception I get from the terminal I start Orion server from: > > java.lang.ClassCastException: __Proxy0 > at SimpleEntityBean.Submit(SimpleEntityBean.java:230) > at >SimpleEntity_EntityBeanWrapper0.Submit(SimpleEntity_EntityBeanWrapper0.java:268) > at java.lang.reflect.Method.invoke(Native Method) > at com.evermind._dh._gc(Unknown Source) > at com.evermind._if.run(Unknown Source) > > Email just got more fun @ another.com > http://another.com