Hi, I could solve this problem,but using the folowing code Context ctx=new InitialContext(env); System.out.println("Hello5"); //StatelessBeanHomeIntf objref1=; System.out.println("Hello6"); StatelessBeanHomeIntf home=(StatelessBeanHomeIntf)PortableRemoteObject.narrow(ctx.lookup("topic/testTopic"),StatelessBeanHomeIntf.class); System.out.println("Hello7");
StatelessBeanIntf beanRemoteRef=home.create(); I am running into ClassCastException,I am using predefined JNDI of Jboss(topic/testTopic).Any ideas/pointers what am I doing wrong??. Thanks Deep View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3877588#3877588 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3877588 ------------------------------------------------------- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click _______________________________________________ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user