This code worked without a hitch under JBoss 4.0.1. In 4.0.4 it works if the system is installed with Pass By Value semantics by default (PBV), but PortableRemoteObject's narrow method throws a ClassCastException if 4.0.4 is installed without the Pass By Value semantics by default (PBR). When the application is deployed into PBR, there is output in server.log to the effect that ShoppingClientController cannot be Bound because it has no local or local home interfaces. It then says it's (re-)Binding, and that seems to throw no exceptions, so, presumably, something has been bound. In the PBV version, no error messages having to do with missing interfaces are produced. I have added the allegedly missing interfaces in the PBR version and gotten rid of the complaints in the server.log, but the code still doesn't work, i.e., it still produces a ClassCastException. I'm trying to move my application to a hosted server with JBoss pre-installed in the PBV configuration and would like for this code to work there.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956034#3956034 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956034 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user