[jboss-user] [EJB/JBoss] - Re: javax.naming.NameNotFoundException while looking up the

uday.madigatla do-not-reply at jboss.com
Tue Apr 14 08:33:39 EDT 2009

Hey Thanks for the reply. i solved above thing . The bug is because of the JVM_bind exception at the starting of the jboss. i stopped other service which is also using same port(1099). I solved that but i found one more issue in this. Now i got this error...

javax.naming.InitialContext at e102dc
  | javax.naming.InitialContext
  | Exception in thread "main" java.lang.ClassCastException: javax.naming.Reference
  | 	at client.Client.main(Client.java:22)

Please help me in this... I'm able to print the intialContext object. The first two lines are the sys outs of intial context. Problem while casting it to the Session bean interface.

Thanks in advance...

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4225354#4225354

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4225354

More information about the jboss-user mailing list