This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes EJB and other Java EE Technologies and the fly likes Exception while running client of session bean Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Exception while running client of session bean" Watch "Exception while running client of session bean" New topic
Author

Exception while running client of session bean

Deepak Gandhe
Greenhorn

Joined: Apr 16, 2006
Posts: 2
Hi there

i'm using JBoss 4.0.4, getting an error while running client for session bean.
i've following jar files in classpath
>>java -classpath helloclient.jar;%LIBDIR%\jnp-client.jar;%LIBDIR%\jboss-common-client.jar;%LIBDIR%\jboss-j2ee.jar;%LIBDIR%\jboss-net-client.jar;
%LIBDIR%\jbossall-client.jar;;%LIBDIR%\jnet.jar com.examples.HelloClient


the error is

Exception in thread "main" java.lang.NoClassDefFoundError: javax/ejb/CreateExcep
tion


plz help me
Yuan Ye
Ranch Hand

Joined: Mar 05, 2003
Posts: 172
Try to add all jars in the client directory of your application server.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Exception while running client of session bean
 
Similar Threads
Exception while running client of session bean
Error while invoking ClientApplication of a EJB
javax. naming. NoInitialContextException
Migration of JBoss 4.0.2 to JBoss 6.0
Intial Context Problem on Jboss