Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Exception while Running EJBClient in JBoss

 
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
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!