you have to run the setEnv.bat file from your dos prompt before you run the
client. This batch file sets up all the classpaths needed. you can find the
file in the same directory in as the startWeblogic.bat .

This will solve it. But all you had to do is read the documentation it is
clearly stated :)

-----Original Message-----
From: Farooq Hameed [mailto:[EMAIL PROTECTED]]
Sent: Saturday, July 01, 2000 1:57 PM
To: [EMAIL PROTECTED]
Subject: Weblogic examples not running


Hi Folks,

I have just started with BEA Weblogic 5.1. I am trying to run it;'s
statlessSession ( examples/ejb/basic/statelessSession) bean example. I am
facing
following problems:-

1.   while running ejbc, class not found exception came, Then I was able to
compile the EJB files using J2EE1.2.1.
Question? Can any body tell me why I am facing this error, (Classpath are
set
for ejbc directory)


I faced the Class not found exception with this command that came with
example's
docs.


javac -d %MYSERVER%\clientclasses -classpath %MYCLASSPATH% Trader.java
TraderHome.java TradeResult.java Client.java



Then I used following command to compile EJB files.

javac -d %MYSERVER%\clientclasses -classpath %MYCLASSPATH% Trader.java
TraderHome.java TradeResult.java Client.java


Then I sucssessfully deployed the sample EJB on Weblogic5.1. But when I run
it's
client  (examples.ejb.basic.statelessSession.Client)  , again class not
found
exception is coming, even if I use J2EE's classpaths, I face the very same
problem.

Can anybody help me getting out of this problem.


Waiting for the answers..

Regards,
Farooq Hameed

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to