java.lang.ClassCastException: $Proxy99 cannot be cast
- by svaret
Hi,
I am using JBoss4.2.2 and java6.
The deployed ear's name is apa.ear
In a servlet I have the following code line:
placeBid = (PlaceBid) context.lookup("apa/"
+ PlaceBid.class.getSimpleName() + "/remote");
I have a generated jboss-app.xml like this:
<jboss-app>
<loader-repository>apa:app=ejb3</loader-repository>…