These problems are usually to do with the CLASSPATH.
This is what you should do.
1. Remove the CLASSPATH environment variable. DO not declare one.
2. Modify the setenv.cmd to reflect your setup. (JAVA_HOME?)
3. Modify the startWeblogic.cmd as well.

This should solve the problems.

Edward.

> -----Original Message-----
> From: A mailing list for Enterprise JavaBeans development
> [mailto:[EMAIL PROTECTED]]On Behalf Of Farooq Hameed
> Sent: 01 July 2000 13:57
> 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