Problem: Wenn Sie Ihr Programm, das EJBs (EnterpriseJavaBeans) beinhaltet, auf dem JBoss Application-Server nach dem Deployment ausführen wollen, kommt folgende Fehlermeldung: java.lang.ClassCastException at com.sun.corba.se.impl.javax.rmi. PortableRemoteObject.narrow(PortableRemoteObject.java:229) at javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:137) at org.apache.jsp.index_jsp._jspService(org.apache.jsp.index_jsp:57) Ein Beispielcode für den Aufruf der EJB sieht in etwa so aus: Context context = new InitialContext(); Object ref = context.lookup(“InfoSessionFacade”); InfoSessionFacadeHome home = (InfoSessionFacadeHome) PortableRemoteObject.narrow(ref, [...]