Re: ClassCastException on JNDI lookup

2008-07-16 Thread David Blevins
-typeContainer/transaction-type /session That should fix the issue. Alternatively, you can let the annotation do the work and leave EmployeeServiceLocal out of your ejb-jar.xml entirely. -- View this message in context: http://www.nabble.com/ClassCastException-on-JNDI-lookup-tp18342366p18357709.html

Re: ClassCastException on JNDI lookup

2008-07-09 Thread Jonathan Gallimore
Hi, I tried to replicate your class hierarchy with the simple-stateless example that comes with OpenEJB, and I wasn't able to reproduce your problem. I've popped my code up http://www.jrg.me.uk/examples.zip - perhaps you could have a look and let me know if my class hierarchy matches yours,

Re: ClassCastException on JNDI lookup

2008-07-09 Thread David Blevins
On Jul 8, 2008, at 8:47 AM, chawax wrote: And two interfaces, generated everytime too : - @javax.ejb.Local interface EmployeeServiceLocal extends EmployeeService - interface EmployeeService [...] I also have a ejb-jar.xml file with EJB defined as following : session

Re: ClassCastException on JNDI lookup

2008-07-09 Thread chawax
/ClassCastException-on-JNDI-lookup-tp18342366p18357709.html Sent from the OpenEJB User mailing list archive at Nabble.com.

ClassCastException on JNDI lookup

2008-07-08 Thread chawax
embedded, EJB3Unit, ...) and met so many bugs I could not make them work. I am not far to succeed with Open EJB ! -- View this message in context: http://www.nabble.com/ClassCastException-on-JNDI-lookup-tp18342366p18342366.html Sent from the OpenEJB User mailing list archive at Nabble.com.