[JBoss-user] [EJB/JBoss] - java.lang.NoClassDefFoundError: java.net.SocketAddress

2006-04-27 Thread praveen_imt
Hi All, I have created a Stateless Session Bean, which contains a function called info. Now when i am trying to call the same unction using my client, here is the code of the client class: package Samplemypackage1; import java.util.Hashtable; import javax.naming.Context; import javax.naming.Init

[JBoss-user] [EJB/JBoss] - Error javax.naming.NoInitialContextException

2006-04-27 Thread praveen_imt
Hi All, I am new to EJB and JBoss. I have created stateless Session EJB's (using Jdevloper) and the JBoss has deployed them successfully...but when i run my application from JBossI receive the following error... javax.naming.NoInitialContextException: Need to specify class name in environ