• Post Reply Bookmark Topic Watch Topic
  • New Topic

Jboss problem

 
sripad_devaraju
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
guys,
I am new to ejb and jboss.I am working with a session been.i Deployeed that been. but while compiling client I am facing follwing Exceptions.
Exception in thread "main" java.lang.NoClassDefFoundError:
javax/net/SocketFactory
at org.jnp.interfaces.NamingContextFactory.getInitialContext(NamingContextFactory.java:38)
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:665)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:246)
at javax.naming.InitialContext.init(InitialContext.java:222)
at javax.naming.InitialContext.<init>(InitialContext.java:178)
at org.jboss.docs.interest.InterestClient.main(InterestClient.java:27)
Exception in thread "main"
my working environ ment is as follows
os:win2k
ejb Container:jboss-3.0.0_tomcat-4.0.3
I would be thankfull to you if you could give me a solution.
Thanks
Sripad
 
Balaji Mathyam
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
you might have included the the jnet.jar in u'r build directory.
Include the above jar and try.....
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!