Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Exception while Running EJBClient in JBoss  RSS feed

 
BalajiNityaa Varadharajan
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am getting the following exception while running the client, using JBoss server.

Exception in thread "main" java.lang.NoClassDefFoundError: java/net/SocketAddress

at org.jnp.interfaces.NamingContextFactory.getInitialContext(NamingContextFactory.java:41)

at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)

at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)

at javax.naming.InitialContext.init(Unknown Source)

at javax.naming.InitialContext.<init>(Unknown Source)

at examples.HelloClient.getInitialContext(HelloClient.java:97)

at examples.HelloClient.main(HelloClient.java:32)


If anyone what could be the issue please let me know.

Thanks and Regards,
Balaji
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!