hi
i am new to
ejb. i am using weblogic 6.1. i am having problems while running client on coomand prompt for sample examples provided with weblogic 6.1.
this example is already deployed on examplesserver.
things happen as follows ..................
C:\BEA\WLSERV~1.1\CONFIG\EXAMPLES\CLIENT~1>set CLASSPATH=c:\bea\wlserver6.1\config\examples\clientclasses\examples\ejb\basic\statelessSession;c:\bea\wlserver6.1\config\examples\applications\ejb_basic_statelessSession.jar;c:\bea\wlserver6.1\lib\weblogic_sp.jar;c:\bea;c:\bea\wlserver6.1\lib\j2ee12.jar
C:\BEA\WLSERV~1.1\CONFIG\EXAMPLES\CLIENT~1>
java examples.ejb.basic.statelessSession.Client
Exception in
thread "main" java.lang.NoClassDefFoundError: javax/ejb/EJBObject
C:\BEA\WLSERV~1.1\CONFIG\EXAMPLES\CLIENT~1>java -classpath %ClASSPATH% examples.ejb.basic.statelessSession.Client
Exception in thread "main" java.lang.NoClassDefFoundError: examples/ejb/basic/statelessSession/Client
Is clientclasses right directory to run the Client. because nothing is written about where to run the client ?
or i should run client from c:\bea\wlserver6.1\samples\examples\ejb\basic\statelessSession here i am having all the .java files for this example.
can anybody help me out please its very urgent.