-
1. Re: Is it a bug? ClassCastException for org.jboss.remoting.I
asack Nov 16, 2006 8:25 PM (in response to uozturk)Where is your interface class for your EJB3 located?
-
2. Re: Is it a bug? ClassCastException for org.jboss.remoting.I
uozturk Nov 16, 2006 8:43 PM (in response to uozturk)It's located int the Jboss's deploy/EJB3App.jar directory. And the web-app is in deploy/WebApp.war directory.
I also copied the ejb classes into /WebApp.war/WEB-INF/Classes directory. Nothing changed. Got same exception again. -
3. Re: Is it a bug? ClassCastException for org.jboss.remoting.I
uozturk Nov 17, 2006 5:29 PM (in response to uozturk)Thanks for showing the way Asack. At last solved it. The problem is my EJB and WEB projects both involve a framework project which contains a BaseService class. I use this class for an abstract implementation to session beans. The class involves in both deployments and cause a conflict.
-
4. Re: Is it a bug? ClassCastException for org.jboss.remoting.I
dodo.phoenix Dec 26, 2006 9:23 AM (in response to uozturk)have the same problem, but can't solve it.
i deploy a
test.ear
....|- test.jar ->containing statless bean and interfaces
....|- test.war ->conataining webproject with a simple jsp page
....|-META-INF
..........|-application.xml
jsp page should execute a method from statless bean.
The Lookup and cast works fine, but exec methods throws same exception mentioned on top.
need help! -
5. Re: Is it a bug? ClassCastException for org.jboss.remoting.I
dodo.phoenix Dec 26, 2006 9:57 AM (in response to uozturk)Solution:
I had some ejb jars in the lib of webapp.
so they conflicted without warning and caused this err.