[jboss-user] [Installation, Configuration Deployment] - Re: Classcast exception when multiple deployments of same ap

2007-05-10 Thread mhassel
One additional piece of information (even though this should not be an issue?):


The remote interfaces all have the same JNDI name across applications (of 
course interface a and b have different JNDI names, but interface a in ear X 
has the same name as interface a in ear Y):

@Stateless
  | @RemoteBinding  jndiBinding=somename/ejb/RemoteDispatchDataManagerBean)
  | public class Somebean implements SomeRemoteInterface {

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4044855#4044855

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4044855
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration Deployment] - Re: classcast exception

2007-04-19 Thread Fushion
You don't need the narrowing anymore. use this code instead:


  |InitialContext ctx = new InitialContext();
  |MyTestSession testSession = 
(MyTestSession)ctx.lookup(ejb/test/MyTestSessionBean/remote);
  | 

That's all!!!


View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4038816#4038816

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038816
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user