Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Exception when running WebLogicMBeanMaker

37 views
Skip to first unread message

Torin

unread,
Feb 4, 2004, 7:47:06 PM2/4/04
to

Hi all,

I get a strange Exception when I try to run the WebLogicMBeanMaker, either to
produce my MBean source files or to create the MBean jar file. The error is as
follows:

Compiling these files /home1/bea/weblogic81/server/bin/applications/mbeans/DbAuthenticatorImpl.java
/home1/bea/weblogic81/server/bin/applications/mbeans/DbAuthenticatorMBI.java
/home1/bea/weblogic81/server/bin/applications/mbeans/DbAuthenticatorMBean.java
Exception in thread "main" java.lang.UnsupportedClassVersionError: com/sun/tools/javac/Main
(Unsupported major.minor version 48.0)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:486)
at java.security.SecurClassLoader.defineClass(SecureClassLoader.java:111)
...
...
...
at weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(CompilerInvoker.java:407)
at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:329)
at weblogic.management.commo.WebLogicMBeanMaker.compile(WebLogicMBeanMaker.java:987)
at weblogic.management.commo.WebLogicMBeanMaker.main(WebLogicMBeanMaker.java:796)


Anyone seen this error before? What does it mean and how do I fix it? Any help
is appreciated. Thanks!

- Torin

Torin

unread,
Feb 4, 2004, 7:47:15 PM2/4/04
to

seyvet

unread,
Feb 6, 2004, 10:31:40 AM2/6/04
to

This may be a failure again, but did your check the java version you are using
for compilation?

java -version

You should run JDK1.4.1_03 at least.

Personaly, I use 1.4.2_02-b03.

seyvet

unread,
Feb 6, 2004, 2:06:31 PM2/6/04
to

I remembered that I had to sett eh following in ant to build:
<pathelement path="${java.class.path}"/>
And I suggest you check that ${java.class.path} is set properly.

<java classname="weblogic.management.commo.WebLogicMBeanMaker" fork="true"
failonerror="true">
<jvmarg line="-Dfiles=${dir.mbean.temp} -DMDF=${dir.mbean.temp}/YourAuthenticator.xml
-DcreateStubs=true"/>
<classpath>
<pathelement path="${java.class.path}"/>
<pathelement location="${dir.mbean.temp}"/>
<pathelement location="${dir.lib.mbeantypes}/wlManagement.jar"/>
<pathelement location="${dir.oem}/weblogic/8.1/weblogic.jar"/>
</classpath>
</java>

Torin

unread,
Feb 6, 2004, 4:32:29 PM2/6/04
to

Thank you Seyvet. I appreciate your help. You were right, I had to change my
path to use java1.4.2. Now I run into another exception when I try to configure
my authenticator from the console. Were you able to do this successfully? Please
see my latest post if you think you can help. Thanks!! Sincerely,

- Torin

seyvet

unread,
Feb 6, 2004, 4:39:24 PM2/6/04
to

Yes. I usually can.

I can not find your "latest" post describing your exception.

0 new messages