This content has been marked as final.
Show 3 replies
-
1. Re: $Proxy146 cannot be cast to servlet... Access ejb bean f
fhh May 4, 2007 4:30 AM (in response to int2)Is the interface in the classpath of the servlet?
Regards
Felix -
2. Re: $Proxy146 cannot be cast to servlet... Access ejb bean f
int2 May 4, 2007 7:57 AM (in response to int2)Yes, it is in included in the classpath of the servlet.
I have searched around, the problem may come from the conflict of class-loader. I have installed Jboss 4.0.5 GA with isolation turn on, but still, without any luck.
Regards -
3. Re: $Proxy146 cannot be cast to servlet... Access ejb bean f
int2 May 4, 2007 8:09 AM (in response to int2)Hi everyone,
I'm trying to isolate the War file (for servlet), and the Jar file (for Ejb). With the configuration in jboss.xml, and jboss-web.xml
<loader-repository>some2.dot.com:loader=Lab2.war</loader-repository>
<loader-repository>some1.dot.com:loader=Lab1.jar</loader-repository>
Now I get the error:javax.naming.CommunicationException [Root exception is java.lang.ClassNotFoundException: ejb.CalculatorLocal (no security manager: RMI class loader disabled)]
Any hint out there ?