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

MbeanMaker exceptions with -DcreateStubs=true .... How to use it???

0 views
Skip to first unread message

Nick Evgeniev

unread,
May 27, 2002, 9:59:46 AM5/27/02
to
Hi,

I've got the following exception, when trying to execute MBeanMaker
with -DcreateStubs=true: (see the end of message).
What's wrong? mdf file is one found in weblogic documentation..

>---------------------------------------------
Parsing the MBean definition file: custom-lm.mdf
Document attribute: Description=Haba haba
Document attribute: DisplayName=MyCustomAuthenticator
Document attribute:
Extends=weblogic.management.security.authentication.Authenticator
Document attribute:
Implements=weblogic.management.security.authentication.UserEditor,
weblogic.management.security.authentication.GroupEditor,
weblogic.management.security.authentication.GroupMemberLister,
weblogic.management.security.authentication.MemberGroupLister
Document attribute: Name=MyCustomAuthenticator
Document attribute: Package=com.octet.jaas.wls7
Document attribute: PersistPolicy=OnUpdate
Attribute: ProviderClassName
Default=com.octet.jaas.wls7.AuthenticationProviderImpl
Description=The name of the Java class used to load the WebLogic
Authentication provider.
Type=java.lang.String
Writeable=false
Attribute: Description
Default=Provider that performs authentication from the embedded LDAP
server
Description=A short description of the WebLogic Authentication
provider.
Type=java.lang.String
Writeable=false
Attribute: Version
Default=1.0
Description=The version number of the WebLogic Authentication provider.
Type=java.lang.String
Writeable=false
Attribute: MinimumPasswordLength
Default=new Integer(1)
Description=The minimum number of characters required in a password.
InterfaceType=int
Min=0
Type=java.lang.Integer
Generating the source files...
Generating the MBean interface file...
Generating the MBean implementation file...
java.lang.Error: res == null with m = versionID
at weblogic.utils.compiler.CodeGenerator.processAt(CodeGenerator.java:636)
at weblogic.utils.compiler.CodeGenerator.parse(CodeGenerator.java:549)
at weblogic.utils.compiler.CodeGenerator.parse(CodeGenerator.java:506)
at
weblogic.utils.compiler.CodeGenerator.generateCode(CodeGenerator.java:332)
at weblogic.utils.compiler.CodeGenerator.generate(CodeGenerator.java:283)
at
weblogic.management.commo.WebLogicMBeanMaker.main(WebLogicMBeanMaker.java:77
2)
Exception in thread "main"

satya

unread,
May 27, 2002, 7:52:43 PM5/27/02
to Nick Evgeniev
Do you have commo.dtd in the directory where you ran your Maker from?
And also make sure that you have
<?xml version="1.0" ?>
<!DOCTYPE MBeanType SYSTEM "commo.dtd">

in your MDF file.

Hope it helps

0 new messages