|
| Re: WLST Invoke error |
 |
Sat, 4 Aug 2007 03:56:49 -0700 |
Praneeth Vuppala <> wrote:
> I am pretty new to weblogic 9.1 , infact I am using wlst for the first
> time. I was trying to invoke it from the command line. So, I've set the
> environment and invoked the following command java $classpath
> weblogic.WLST. It throws the following error. Can you guys please let me
> know where I am making the mistake
>
> Problem invoking WLST - Traceback (innermost last):
> File "<iostream>", line 14, in ?
> java.lang.NoClassDefFoundError: javax/management/MBeanServerConnection
In windows do:
set CLASSPATH="c:\bea\weblogic91\server\lib\weblogic.jar"
java -cp %CLASSPATH% weblogic.WLST
In *Nix do:
export CLASSPATH=/opt/BEA/weblogic91/server/lib/weblogic.jar
java -cp $CLASSPATH weblogic.WLST
And that should work.
ps: of course change the path to your weblogic installation.
Bart
--
Schelstraete Bart
bart@schelstraete.org
|
| Post Reply
|
|
|
|
|
|
|
|
|
|