NoClassDefFoundError: weblogic/management/configuration/KernelDebugMBean

NoClassDefFoundError: weblogic/management/configuration/KernelDebugMBean : weblogic/management/configuration/DebugMBean
I'm getting this error when trying to run a test of a web service developed with Axis outside of WLP.
weblogic.jar is in my classpath, and contains that class. So, I suspect there is some other class that might be missing. I've tried adding every .jar I can find from WLP to my classpath to no avail.
Here is the full trace:
Exception in thread "Main Thread" java.lang.NoClassDefFoundError: weblogic/management/configuration/KernelDebugMBean : weblogic/management/configuration/DebugMBean
     at java.lang.ClassLoader.findBootstrapClass(Native Method)
     at java.lang.ClassLoader.findBootstrapClass0(ClassLoader.java:891)
     at java.lang.ClassLoader.loadClass(ClassLoader.java:301)
     at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
     at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
     at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
     at weblogic.xml.jaxp.RegistryDocumentBuilderFactory.<clinit>(RegistryDocumentBuilderFactory.java:28)
     at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
     at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
     at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
     at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
     at java.lang.Class.newInstance0(Class.java:350)
     at java.lang.Class.newInstance(Class.java:303)
     at javax.xml.parsers.FactoryFinder.newInstance(FactoryFinder.java:100)
     at javax.xml.parsers.FactoryFinder.findJarServiceProvider(FactoryFinder.java:278)
     at javax.xml.parsers.FactoryFinder.find(FactoryFinder.java:185)
     at javax.xml.parsers.DocumentBuilderFactory.newInstance(DocumentBuilderFactory.java:98)
     at org.apache.axis.utils.XMLUtils.getDOMFactory(XMLUtils.java:221)
     at org.apache.axis.utils.XMLUtils.<clinit>(XMLUtils.java:83)
     at org.apache.axis.configuration.FileProvider.configureEngine(FileProvider.java:179)
     at org.apache.axis.AxisEngine.init(AxisEngine.java:172)
     at org.apache.axis.AxisEngine.<init>(AxisEngine.java:156)

Hi Tim,
Pls always mention WLP version for a question.
Looks like there has been a change in the class "KernelDebugMBean" between WLP 9.2 and WLP 10.0
9.2: public interface KernelDebugMBean extends weblogic.management.configuration.DebugMBean
"http://edocs.bea.com/wls/docs92/javadocs_mhome/index.html"
10.0
public interface KernelDebugMBean
"http://edocs.beasys.co.jp/e-docs/wls/docs100/javadocs_mhome/index.html?weblogic/management/configuration/KernelDebugMBean.html"
Not really sure. Something is messy about DebugMBean superclass.
Might a BEA support question
Thanks
Vishnu

Similar Messages

  • Weblogic.management.configuration.ConfigurationException

    Dear All,
    I am using Weblogic 6.1 with Service Pack 2 it was working fine.
    I tried to upgrade it by installing Service Pack 7, but it was giving some exception when I tried to deploy the ejbs on server.
    Now I revert back to service pack 2 by uninstalling the service pack 7, but when I tried to start the server it is giving following error.
    How to solve this problem? It's very urgent. Pls help me out.
    The WebLogic Server did not start up properly.
    Exception raised:
    weblogic.management.configuration.ConfigurationException: Unknown attribute StagedTargets for MyWebApp, type Application
    at weblogic.management.internal.xml.ConfigurationParser$ConfigurationHan
    dler.parseMBeanAttributes(ConfigurationParser.java:308)
    at weblogic.management.internal.xml.ConfigurationParser$ConfigurationHan
    dler.startElement(ConfigurationParser.java:188)
    at weblogic.apache.xerces.parsers.SAXParser.startElement(SAXParser.java:
    1340)
    at weblogic.apache.xerces.validators.common.XMLValidator.callStartElemen
    t(XMLValidator.java:1183)
    at weblogic.apache.xerces.framework.XMLDocumentScanner.scanElement(XMLDo
    cumentScanner.java:1876)
    at weblogic.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher
    .dispatch(XMLDocumentScanner.java:1252)
    at weblogic.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocu
    mentScanner.java:381)
    at weblogic.apache.xerces.framework.XMLParser.parse(XMLParser.java:967)
    at weblogic.management.internal.xml.ConfigurationParser.parse(Configurat
    ionParser.java:105)
    at weblogic.management.internal.xml.XmlFileRepository.loadDomain(XmlFile
    Repository.java:261)
    at weblogic.management.internal.xml.XmlFileRepository.loadDomain(XmlFile
    Repository.java:223)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMB
    eanImpl.java:636)
    at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl
    .java:621)
    at weblogic.management.internal.ConfigurationMBeanImpl.invoke(Configurat
    ionMBeanImpl.java:359)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
    55)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
    23)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
    at $Proxy1.loadDomain(Unknown Source)
    at weblogic.management.AdminServer.configureFromRepository(AdminServer.j
    ava:188)
    at weblogic.management.AdminServer.configure(AdminServer.java:173)
    at weblogic.management.Admin.initialize(Admin.java:239)
    at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:362)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:202)
    at weblogic.Server.main(Server.java:35)
    Reason: Fatal initialization exception
    Thanks in advance
    regards,
    ritu

    Dear All,
    I am using Weblogic 6.1 with Service Pack 2 it was
    working fine.
    I tried to upgrade it by installing Service Pack 7,
    but it was giving some exception when I tried to
    deploy the ejbs on server.
    Now I revert back to service pack 2 by uninstalling
    the service pack 7, but when I tried to start the
    server it is giving following error.
    How to solve this problem? It's very urgent. Pls help
    me out.
    The WebLogic Server did not start up properly.
    Exception raised:
    weblogic.management.configuration.ConfigurationExcepti
    on: Unknown attribute StagedTargets for MyWebApp,
    type Application
    at
    weblogic.management.internal.xml.ConfigurationParser$C
    onfigurationHan
    dler.parseMBeanAttributes(ConfigurationParser.java:308
    at
    weblogic.management.internal.xml.ConfigurationParser$C
    onfigurationHan
    dler.startElement(ConfigurationParser.java:188)
    at
    weblogic.apache.xerces.parsers.SAXParser.startElement(
    SAXParser.java:
    1340)
    at
    weblogic.apache.xerces.validators.common.XMLValidator.
    callStartElemen
    t(XMLValidator.java:1183)
    at
    weblogic.apache.xerces.framework.XMLDocumentScanner.sc
    anElement(XMLDo
    cumentScanner.java:1876)
    at
    weblogic.apache.xerces.framework.XMLDocumentScanner$Co
    ntentDispatcher
    .dispatch(XMLDocumentScanner.java:1252)
    at
    weblogic.apache.xerces.framework.XMLDocumentScanner.pa
    rseSome(XMLDocu
    mentScanner.java:381)
    at
    weblogic.apache.xerces.framework.XMLParser.parse(XMLPa
    rser.java:967)
    at
    weblogic.management.internal.xml.ConfigurationParser.p
    arse(Configurat
    ionParser.java:105)
    at
    weblogic.management.internal.xml.XmlFileRepository.loa
    dDomain(XmlFile
    Repository.java:261)
    at
    weblogic.management.internal.xml.XmlFileRepository.loa
    dDomain(XmlFile
    Repository.java:223)
    at java.lang.reflect.Method.invoke(Native Method)
    at
    weblogic.management.internal.DynamicMBeanImpl.invokeLo
    cally(DynamicMB
    eanImpl.java:636)
    at
    weblogic.management.internal.DynamicMBeanImpl.invoke(D
    ynamicMBeanImpl
    .java:621)
    at
    weblogic.management.internal.ConfigurationMBeanImpl.in
    voke(Configurat
    ionMBeanImpl.java:359)
    at
    com.sun.management.jmx.MBeanServerImpl.invoke(MBeanSer
    verImpl.java:15
    55)
    at
    com.sun.management.jmx.MBeanServerImpl.invoke(MBeanSer
    verImpl.java:15
    23)
    at
    weblogic.management.internal.MBeanProxy.invoke(MBeanPr
    oxy.java:468)
    at
    weblogic.management.internal.MBeanProxy.invoke(MBeanPr
    oxy.java:209)
    at $Proxy1.loadDomain(Unknown Source)
    at
    weblogic.management.AdminServer.configureFromRepositor
    y(AdminServer.j
    ava:188)
    at
    weblogic.management.AdminServer.configure(AdminServer.
    java:173)
    at
    weblogic.management.Admin.initialize(Admin.java:239)
    at
    weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:362)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:202)
    at weblogic.Server.main(Server.java:35)
    Reason: Fatal initialization exception
    Thanks in advance
    regards,
    rituHi,
    As mentioned in your error message ("Unknown attribute StagedTargets for MyWebApp"), the attribute StagedTargets is added to your config.xml file in domain MyWebApp when service pack 7 was installed. Un-installing service pack 7 does not remove this attribute nor restores your Weblogic6.1 service pack 2 config.xml file. Hence delete or backup the current config.xml file in domain MyWebApp, copy the config.xml file you have been using with service pack 2 and restart WebLogic. It should start successfully.
    Note: Upon un-installing service pack 7 restart your system.
    Regards,
    HP

  • Weblogic.management.configuration.ConfigurationException: Unknown attribute

    Dear All,
    I am using Weblogic 6.1 with Service Pack 2 it was working fine.
    I tried to upgrade it by installing Service Pack 7, but it was giving some exception when I tried to deploy the ejbs on server.
    Now I revert back to service pack 2 by uninstalling the service pack 7, but when I tried to start the server it is giving following error.
    How to solve this problem? It's very urgent. Pls help me out.
    The WebLogic Server did not start up properly.
    Exception raised:
    weblogic.management.configuration.ConfigurationException: Unknown attribute StagedTargets for MyWebApp, type Application
    at weblogic.management.internal.xml.ConfigurationParser$ConfigurationHan
    dler.parseMBeanAttributes(ConfigurationParser.java:308)
    at weblogic.management.internal.xml.ConfigurationParser$ConfigurationHan
    dler.startElement(ConfigurationParser.java:188)
    at weblogic.apache.xerces.parsers.SAXParser.startElement(SAXParser.java:
    1340)
    at weblogic.apache.xerces.validators.common.XMLValidator.callStartElemen
    t(XMLValidator.java:1183)
    at weblogic.apache.xerces.framework.XMLDocumentScanner.scanElement(XMLDo
    cumentScanner.java:1876)
    at weblogic.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher
    .dispatch(XMLDocumentScanner.java:1252)
    at weblogic.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocu
    mentScanner.java:381)
    at weblogic.apache.xerces.framework.XMLParser.parse(XMLParser.java:967)
    at weblogic.management.internal.xml.ConfigurationParser.parse(Configurat
    ionParser.java:105)
    at weblogic.management.internal.xml.XmlFileRepository.loadDomain(XmlFile
    Repository.java:261)
    at weblogic.management.internal.xml.XmlFileRepository.loadDomain(XmlFile
    Repository.java:223)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMB
    eanImpl.java:636)
    at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl
    .java:621)
    at weblogic.management.internal.ConfigurationMBeanImpl.invoke(Configurat
    ionMBeanImpl.java:359)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
    55)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
    23)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
    at $Proxy1.loadDomain(Unknown Source)
    at weblogic.management.AdminServer.configureFromRepository(AdminServer.j
    ava:188)
    at weblogic.management.AdminServer.configure(AdminServer.java:173)
    at weblogic.management.Admin.initialize(Admin.java:239)
    at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:362)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:202)
    at weblogic.Server.main(Server.java:35)
    Reason: Fatal initialization exception
    Thanks in advance
    regards,
    rspi:-(

    looking for StagedTargets into config.xml and delete this attribute.
    StagedTargets means that one application was deployed over one (or more) server in mode stage.
    I think that this attribute is not allow sp2 and is not very important.

  • Problem invoking WLST - java.lang.NoClassDefFoundError: weblogic.management

    Hi Guys!
    I want craete the new user 'jdoe' for domain 'tst2_domain' (WebLogic Server Version: 10.3.5.0)
    For it I have script 'create_user.sh':
    # Set the Environment Variables
    /home/testuser/Oracle/Middleware/user_projects/domains/tst2_domain/bin/setDomainEnv.sh
    export JAVA_HOME=/home/testuser/Oracle/Middleware/jdk160_24/
    export PATH=$PATH:$JAVA_HOME/bin/
    export CLASSPATH=/home/testuser/Oracle/Middleware/wlserver_10.3/server/lib/weblogic.jar:/home/testuser/Oracle/Middleware/Oracle_OSB1/modules/com.bea.common.configfwk_1.5.0.0.jar:/home/testuser/Oracle/Middleware/Oracle_OSB1/lib/sb-kernel-api.jar:/home/testuser/Oracle/Middleware/Oracle_OSB1/lib/sb-kernel-impl.jar:/home/testuser/Oracle/Middleware/Oracle_OSB1/lib/sb-kernel-common.jar:/home/testuser/Oracle/Middleware/Oracle_OSB1/lib/sb-kernel-resources.jar
    # Execute the WLST script..
    cd resources
    java weblogic.WLST createUsers.py.../resources/createUsers.py:
    url = 'localhost:7001'
    username = 'weblogic'
    password = 'welcome1'
    print 'Adding users to DefaultAuthenticator.'
    connect(username, password, url)
    # Check if user already exists
    cd('/')
    authProvider = cmo.getSecurityConfiguration().getDefaultRealm().lookupAuthenticationProvider("DefaultAuthenticator")
    if authProvider.userExists('jdoe'):
         print 'User jdoe already exists'
         exit()
    else:
         # Create users
         print 'Creating new user: jdoe'
         authProvider.createUser('jdoe','welcome2','a sample service bus administrator')
         authProvider.addMemberToGroup('Administrators','jdoe')
    print 'Users created successfully.'
    exit()Domain 'tst2_domain' is running...
    I started the create_user.sh and then i had the error:
    $ ./create_user.sh
    Initializing WebLogic Scripting Tool (WLST) ...
    Problem invoking WLST - java.lang.NoClassDefFoundError: weblogic.management.scripting.WLScriptContext
    Could you please help me? Which the problem in the script?
    $ ./setWLSEnv.sh
    CLASSPATH=/home/testuser/Oracle/Middleware/patch_wls1035/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/home/testuser/Oracle/Middleware/patch_oepe1050/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/home/testuser/Oracle/Middleware/patch_ocp360/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/home/testuser/Oracle/Middleware/jrockit_160_24_D1.1.2-4/lib/tools.jar:/home/testuser/Oracle/Middleware/wlserver_10.3/server/lib/weblogic_sp.jar:/home/testuser/Oracle/Middleware/wlserver_10.3/server/lib/weblogic.jar:/home/testuser/Oracle/Middleware/modules/features/weblogic.server.modules_10.3.5.0.jar:/home/testuser/Oracle/Middleware/wlserver_10.3/server/lib/webservices.jar:/home/testuser/Oracle/Middleware/modules/org.apache.ant_1.7.1/lib/ant-all.jar:/home/testuser/Oracle/Middleware/modules/net.sf.antcontrib_1.1.0.0_1-0b2/lib/ant-contrib.jar:
    PATH=/home/testuser/Oracle/Middleware/wlserver_10.3/server/bin:/home/testuser/Oracle/Middleware/modules/org.apache.ant_1.7.1/bin:/home/testuser/Oracle/Middleware/jrockit_160_24_D1.1.2-4/jre/bin:/home/testuser/Oracle/Middleware/jrockit_160_24_D1.1.2-4/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/home/testuser/bin
    Your environment has been set.
    $ java weblogic.WLST
    Exception in thread "main" java.lang.NoClassDefFoundError: weblogic.WLST
       at gnu.java.lang.MainThread.run(libgcj.so.7rh)
    Caused by: java.lang.ClassNotFoundException: weblogic.WLST not found in gnu.gcj.runtime.SystemClassLoader{urls=[file:./], parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}
       at java.net.URLClassLoader.findClass(libgcj.so.7rh)
       at gnu.gcj.runtime.SystemClassLoader.findClass(libgcj.so.7rh)
       at java.lang.ClassLoader.loadClass(libgcj.so.7rh)
       at java.lang.ClassLoader.loadClass(libgcj.so.7rh)
       at gnu.java.lang.MainThread.run(libgcj.so.7rh)

    But if run script as $ ./wlst.sh /home/testuser/create_user/resources/createUsers.py - its ok!
    $ ./wlst.sh /home/testuser/labs/Practice_05/create_user/resources/createUsers.py
    CLASSPATH=/home/testuser/Oracle/Middleware/patch_wls1035/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/home/testuser/Oracle/Middleware/patch_oepe1050/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/home/testuser/Oracle/Middleware/patch_ocp360/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/home/testuser/Oracle/Middleware/jrockit_160_24_D1.1.2-4/lib/tools.jar:/home/testuser/Oracle/Middleware/wlserver_10.3/server/lib/weblogic_sp.jar:/home/testuser/Oracle/Middleware/wlserver_10.3/server/lib/weblogic.jar:/home/testuser/Oracle/Middleware/modules/features/weblogic.server.modules_10.3.5.0.jar:/home/testuser/Oracle/Middleware/wlserver_10.3/server/lib/webservices.jar:/home/testuser/Oracle/Middleware/modules/org.apache.ant_1.7.1/lib/ant-all.jar:/home/testuser/Oracle/Middleware/modules/net.sf.antcontrib_1.1.0.0_1-0b2/lib/ant-contrib.jar:
    PATH=/home/testuser/Oracle/Middleware/wlserver_10.3/server/bin:/home/testuser/Oracle/Middleware/modules/org.apache.ant_1.7.1/bin:/home/testuser/Oracle/Middleware/jrockit_160_24_D1.1.2-4/jre/bin:/home/testuser/Oracle/Middleware/jrockit_160_24_D1.1.2-4/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/home/testuser/bin
    Your environment has been set.
    CLASSPATH=/home/testuser/Oracle/Middleware/patch_wls1035/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/home/testuser/Oracle/Middleware/patch_oepe1050/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/home/testuser/Oracle/Middleware/patch_ocp360/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/home/testuser/Oracle/Middleware/jrockit_160_24_D1.1.2-4/lib/tools.jar:/home/testuser/Oracle/Middleware/wlserver_10.3/server/lib/weblogic_sp.jar:/home/testuser/Oracle/Middleware/wlserver_10.3/server/lib/weblogic.jar:/home/testuser/Oracle/Middleware/modules/features/weblogic.server.modules_10.3.5.0.jar:/home/testuser/Oracle/Middleware/wlserver_10.3/server/lib/webservices.jar:/home/testuser/Oracle/Middleware/modules/org.apache.ant_1.7.1/lib/ant-all.jar:/home/testuser/Oracle/Middleware/modules/net.sf.antcontrib_1.1.0.0_1-0b2/lib/ant-contrib.jar::/home/testuser/Oracle/Middleware/utils/config/10.3/config-launch.jar::/home/testuser/Oracle/Middleware/wlserver_10.3/common/derby/lib/derbynet.jar:/home/testuser/Oracle/Middleware/wlserver_10.3/common/derby/lib/derbyclient.jar:/home/testuser/Oracle/Middleware/wlserver_10.3/common/derby/lib/derbytools.jar::
    Initializing WebLogic Scripting Tool (WLST) ...
    Welcome to WebLogic Server Administration Scripting Shell
    Type help() for help on available commands
    Adding users to DefaultAuthenticator.
    Connecting to t3://localhost:7001 with userid weblogic ...
    Successfully connected to Admin Server 'tst2_as_server' that belongs to domain 'tst2_domain'.
    Warning: An insecure protocol was used to connect to the
    server. To ensure on-the-wire security, the SSL port or
    Admin port should be used instead.
    Creating new user: jdoe
    Users created successfully.
    Exiting WebLogic Scripting Tool.

  • NoClassDefFoundError: weblogic/management/commo/WebLogicMBeanMaker

    Hi, I have a custom security provider. I can build the project in workshop using ant build. But when I try to use command line to build the whole application using wlwbuild, it failed with the error. what else I need to include for wlwbuild? Thanks

    Hi
    I built this project using ant command line with build.xml. Then I tried to build the whole application which including other projects using ant in my build script. Basically I just call wlwbuild (set the serverclasspath). But when it came to the task to create MDF
      <target name="createMDF">
        <java classname="weblogic.management.commo.WebLogicMBeanMaker" fork="true" failonerror="true">
          <jvmarg line="-Dfiles=${build.dir} -DMDF=${security.src.dir}/${mdf} -DcreateStubs=true"/>
          <classpath>
            <pathelement path="${tools.jar}"/>
            <pathelement path="${build.dir}"/>
            <pathelement location="${wl.lib.dir}/weblogic.jar"/>
            <pathelement location="${mbeantypes.dir}/wlManagement.jar"/>
            <pathelement location="${wl.lib.dir}/wli.jar"/>
          </classpath>
        </java>
      </target>It failed:
    [wlwBuild] [Build] java.lang.NoClassDefFoundError: weblogic/management/commo/WebLogicMBeanMaker
    [wlwBuild] [Build] BUILD FAILED
    [wlwBuild] [Build] Java returned: 1
    [wlwBuild] [Build]
    [wlwBuild] [Build] Application Build had errors.
    Can't figure out what I missed.

  • Weblogic.management.NoAccessRuntimeException: Cannot perform the requested

    Hi,
    I am using WLES 4.2 with WebLogic 8.1 SP4 Portal domain.
    Managed Servers are not running, Admin server starts normally, when i try to access WebLogic Admin Console i get below exception. Any idea what could be the root cause?????
    weblogic.management.NoAccessRuntimeException: Cannot perform the requested operation, the request was from an anonymous user (Principal)
    at weblogic.management.mbeans.custom.Cluster.getServers(Cluster.java:76)
    at sun.reflect.GeneratedMethodAccessor37.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at weblogic.management.internal.DynamicMBeanImpl.getAttribute(DynamicMBeanImpl.java:604)
    at weblogic.management.internal.ConfigurationMBeanImpl.getAttribute(ConfigurationMBeanImpl.java:179)
    at com.sun.management.jmx.MBeanServerImpl.getAttribute(MBeanServerImpl.java:1186)
    at com.sun.management.jmx.MBeanServerImpl.getAttribute(MBeanServerImpl.java:1156)
    at weblogic.management.internal.RemoteMBeanServerImpl.getAttribute(RemoteMBeanServerImpl.java:288)
    at weblogic.management.internal.MBeanProxy.getAttribute(MBeanProxy.java:610)
    at weblogic.management.internal.MBeanProxy.invokeForCachingStub(MBeanProxy.java:442)
    at weblogic.management.configuration.ClusterMBean_Stub.getServers(ClusterMBean_Stub.java:1168)
    at weblogic.management.console.utils.MBeans.getServersFor(MBeans.java:692)
    at weblogic.management.console.webapp._domain.__nav._jspService(__nav.java:1507)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:33)
    at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1006)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:315)
    at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:322)
    at weblogic.servlet.jsp.PageContextImpl.forward(PageContextImpl.java:150)
    at weblogic.management.console.actions.ForwardAction.perform(ForwardAction.java:35)
    at weblogic.management.console.actions.internal.ActionServlet.doAction(ActionServlet.java:173)
    at weblogic.management.console.actions.internal.ActionServlet.doGet(ActionServlet.java:91)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1006)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:315)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6718)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3764)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2644)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
    >

    Did you ever find resolution to this? We are encountering the listed exception every 10 minutes in the logs and have yet to identify the source.

  • Class weblogic.management.WeblogicMBean not found

    Hi all
    I meet this problem when I try to run Junit test case in fork mode (starting each test in a separate JVM) using Build ant file.
    [junit] Exception in thread "main" java.lang.NoClassDefFoundError: weblogic/management/WebLogicMBean
    [junit]      at java.lang.ClassLoader.defineClass1(Native Method)
    [junit]      at java.lang.ClassLoader.defineClass(ClassLoader.java:621)
    [junit]      at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
    [junit]      at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
    [junit]      at java.net.URLClassLoader.access$000(URLClassLoader.java:56)
    [junit]      at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
    [junit]      at java.security.AccessController.doPrivileged(Native Method)
    [junit]      at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    [junit]      at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
    [junit]      at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
    [junit]      at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
    [junit]      at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
    [junit]      at java.lang.ClassLoader.defineClass1(Native Method)
    [junit]      at java.lang.ClassLoader.defineClass(ClassLoader.java:621)
    [junit]      at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
    [junit]      at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
    [junit]      at java.net.URLClassLoader.access$000(URLClassLoader.java:56)
    [junit]      at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
    [junit]      at java.security.AccessController.doPrivileged(Native Method)
    [junit]      at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    [junit]      at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
    [junit]      at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
    [junit]      at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
    [junit]      at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
    [junit]      at java.lang.ClassLoader.defineClass1(Native Method)
    [junit]      at java.lang.ClassLoader.defineClass(ClassLoader.java:621)
    [junit]      at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
    [junit]      at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
    [junit]      at java.net.URLClassLoader.access$000(URLClassLoader.java:56)
    [junit]      at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
    I have the library weblogic.jar in my build library folders, which is set as classpath for the junit task. I look at this file and can't find the WeblogicMBean.class inside.
    However, in Jdev, I can import weblogic.management.WeblogicMBean into my class if I set library reference to this weblogic.jar file and compile my class without problem.
    Any suggestion of what really goes wrong?
    Thanks a lot.

    The Class is Physically present inside : <b> <BEA_HOME>\modules\com.bea.core.management.core_2.3.0.0.jar </b>.
    So you need to add this JAR separately in your Classpath.
    The Best and Recommended way to do this is Make *"wlfullclient.jar"* which contains almost all the required classes which is needed to interact with WebLogic. So By Adding this Single Jar you can easily do this. to make this Jar please refer to: http://jaysensharma.wordpress.com/2010/02/03/building-wlfullclient-jar/

  • Weblogic.management.NoAccessRuntimeException in wl 8.1 sp1

    I am trying to deploy my application ear file and I get the above exception. Here
    is the traceback:
    weblogic.management.NoAccessRuntimeException: Access not allowed for subject:
    pr
    incipals=[], on ResourceType: WebAppComponent Action: execute, Target: addActiva
    tedTarget
    at weblogic.rjvm.BasicOutboundRequest.sendReceive(BasicOutboundRequest.j
    ava:108)
    at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:138)
    at weblogic.management.internal.RemoteMBeanServerImpl_811_WLStub.invoke(
    Unknown Source)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:946)
    at weblogic.management.internal.MBeanProxy.invokeForCachingStub(MBeanPro
    xy.java:481)
    at weblogic.management.configuration.WebAppComponentMBean_Stub.addActiva
    tedTarget(WebAppComponentMBean_Stub.java:3348)
    at weblogic.management.deploy.slave.CallbackHandler.updateActivatedTarge
    t(CallbackHandler.java:282)
    at weblogic.management.deploy.slave.CallbackHandler.setStatus(CallbackHa
    ndler.java:255)
    at weblogic.management.deploy.slave.CallbackHandler.endTransition(Callba
    ckHandler.java:119)
    at weblogic.j2ee.J2EEApplicationContainer.invokeCallback(J2EEApplication
    Container.java:2809)
    at weblogic.j2ee.J2EEApplicationContainer.invokeCallbacks(J2EEApplicatio
    nContainer.java:2820)
    at weblogic.j2ee.J2EEApplicationContainer.endCallbacks(J2EEApplicationCo
    ntainer.java:2828)
    at weblogic.j2ee.J2EEApplicationContainer.activateModule(J2EEApplication
    Container.java:3025)
    at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContai
    ner.java:2076)
    at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContai
    ner.java:2057)
    at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContai
    ner.java:2005)
    Thanks in advance.
    Mahendra Gharpuray

    Hi,
    This exception indicates that a permission check is failing because
    someone is connecting anonymously to a resource that is protected.
    Are you running into this problem when someone tries to
    use your application or when you initially try to deploy your
    application?
    If it's a problem when some tries to use your application,
    you need to properly setup the permissions for your application.
    For example, if you want to allow anonymous access, you
    need to grant permission to "everyone".
    See http://e-docs.bea.com/wls/docs81/secwlres/index.html
    If it's a problem when you initally try to deploy your
    application (vs. use your application), what mechanism are
    you using to deploy your application? The console?
    Also, when you deploy your application, you do it as
    some user. What groups is that user in? Adminstator? Deployer?
    Thanks, -tm
    "Mahendra" <[email protected]> wrote in message
    news:[email protected]...
    >
    I am trying to deploy my application ear file and I get the aboveexception. Here
    is the traceback:
    weblogic.management.NoAccessRuntimeException: Access not allowed forsubject:
    pr
    incipals=[], on ResourceType: WebAppComponent Action: execute, Target:addActiva
    tedTarget
    atweblogic.rjvm.BasicOutboundRequest.sendReceive(BasicOutboundRequest.j
    ava:108)
    atweblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:138)
    at weblogic.management.internal.RemoteMBeanServerImpl_811_WLStub.invoke(
    Unknown Source)
    atweblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:946)
    atweblogic.management.internal.MBeanProxy.invokeForCachingStub(MBeanPro
    xy.java:481)
    atweblogic.management.configuration.WebAppComponentMBean_Stub.addActiva
    tedTarget(WebAppComponentMBean_Stub.java:3348)
    atweblogic.management.deploy.slave.CallbackHandler.updateActivatedTarge
    t(CallbackHandler.java:282)
    at weblogic.management.deploy.slave.CallbackHandler.setStatus(CallbackHa
    ndler.java:255)
    atweblogic.management.deploy.slave.CallbackHandler.endTransition(Callba
    ckHandler.java:119)
    atweblogic.j2ee.J2EEApplicationContainer.invokeCallback(J2EEApplication
    Container.java:2809)
    atweblogic.j2ee.J2EEApplicationContainer.invokeCallbacks(J2EEApplicatio
    nContainer.java:2820)
    atweblogic.j2ee.J2EEApplicationContainer.endCallbacks(J2EEApplicationCo
    ntainer.java:2828)
    atweblogic.j2ee.J2EEApplicationContainer.activateModule(J2EEApplication
    Container.java:3025)
    atweblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContai
    ner.java:2076)
    atweblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContai
    ner.java:2057)
    atweblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContai
    ner.java:2005)
    Thanks in advance.
    Mahendra Gharpuray

  • Getting weblogic management exception.

    Hi gurus...
    I'm trying to add a JMSTopic through Mbean.
    When i'm trying to add it i'm getting this exception
    weblogic.management.configuration.ConfigurationException
    <Sep 25, 2003 11:45:13 AM GMT+06:00> <Error> <Management> <BEA-141022>
    <Management exception: Saving domain zodiac, info:
    zodiac:JMSServer=ZIPServer,Name=ZODIACtoZIP,Type=JMSTopic.
    weblogic.management.configuration.ConfigurationException: Can't add MBean
    because parent node does not exist
    at
    weblogic.management.internal.xml.ConfigurationRepositoryImpl.getParentNode(C
    onfigurationRepositoryImpl.java:815)
    at
    weblogic.management.internal.xml.ConfigurationRepositoryImpl.add(Configurati
    onRepositoryImpl.java:562)
    at
    weblogic.management.internal.ConfigurationMBeanImpl.makeNewPersistObject(Con
    figurationMBeanImpl.java:807)
    at
    weblogic.management.internal.ConfigurationMBeanImpl.postRegister(Configurati
    onMBeanImpl.java:433)
    at
    weblogic.management.mbeans.custom.JMSTopic.postRegister(JMSTopic.java:67)
    at
    com.sun.management.jmx.MBeanServerImpl.postRegisterInvoker(MBeanServerImpl.j
    ava:2293)
    at
    com.sun.management.jmx.MBeanServerImpl.registerMBean(MBeanServerImpl.java:88
    4)
    at
    weblogic.management.internal.RemoteMBeanServerImpl.registerMBean(RemoteMBean
    ServerImpl.java:457)
    at
    weblogic.management.internal.DynamicMBeanImpl.setParent(DynamicMBeanImpl.jav
    a:264)
    at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
    at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
    .java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at
    weblogic.management.internal.DynamicMBeanImpl.invokeSetter(DynamicMBeanImpl.
    java:1651)
    at
    weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.
    java:1101)
    at
    weblogic.management.internal.ConfigurationMBeanImpl.setAttribute(Configurati
    onMBeanImpl.java:311)
    at
    com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:135
    8)
    at
    com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:133
    3)
    at
    weblogic.management.internal.RemoteMBeanServerImpl.setAttribute(RemoteMBeanS
    erverImpl.java:367)
    at
    weblogic.management.internal.RemoteMBeanServerImpl_WLSkel.invoke(Unknown
    Source)
    at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:466)
    at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:409)
    at
    weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubjec
    t.java:353)
    at
    weblogic.security.service.SecurityManager.runAs(SecurityManager.java:144)
    at
    weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:404)
    at
    weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:3
    0)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
    This is how i'm trying to add it.
    here i'm creating the JMS Topic
    java weblogic.Admin -url %ADMIN_URL% -username %WLS_USER% -password %WLS_PW%
    CREATE -mbean %WLS_DOMAIN%:Name=%JMSTopic%,Type=JMSTopic
    Exception is thrown while trying to execute this code
    @ECHO Setting Properties
    java weblogic.Admin -url %ADMIN_URL% -username %WLS_USER% -password %WLS_PW%
    SET -mbean
    %WLS_DOMAIN%:Location=%WLS_SERVER%,Name=%JMSTopic%,Type=JMSTopic -property
    Parent %WLS_DOMAIN%:Name=%JMSServer%,Type=JMSServer
    can anyboy point me where i'm missing some entries??
    Thanks and regards
    sasi

    Hello Sasi,
    parent name ( JMSServer in this case) has to be part of object name when u
    create JMSTopic mbean. Something like
    java weblogic.Admin -url %ADMIN_URL% -username %WLS_USER% -password
    %WLS_PW%
    CREATE -mbean
    %WLS_DOMAIN%:Name=%JMSTopic%,Type=JMSTopic,JMSServer=%JMSServer%
    Cheers
    Ali
    "T. Sasi Dharma" <[email protected]> wrote in message
    news:[email protected]...
    Hi gurus...
    I'm trying to add a JMSTopic through Mbean.
    When i'm trying to add it i'm getting this exception
    weblogic.management.configuration.ConfigurationException
    <Sep 25, 2003 11:45:13 AM GMT+06:00> <Error> <Management> <BEA-141022>
    <Management exception: Saving domain zodiac, info:
    zodiac:JMSServer=ZIPServer,Name=ZODIACtoZIP,Type=JMSTopic.
    weblogic.management.configuration.ConfigurationException: Can't add MBean
    because parent node does not exist
    at
    weblogic.management.internal.xml.ConfigurationRepositoryImpl.getParentNode(C
    onfigurationRepositoryImpl.java:815)
    at
    weblogic.management.internal.xml.ConfigurationRepositoryImpl.add(Configurati
    onRepositoryImpl.java:562)
    at
    weblogic.management.internal.ConfigurationMBeanImpl.makeNewPersistObject(Con
    figurationMBeanImpl.java:807)
    at
    weblogic.management.internal.ConfigurationMBeanImpl.postRegister(Configurati
    onMBeanImpl.java:433)
    at
    weblogic.management.mbeans.custom.JMSTopic.postRegister(JMSTopic.java:67)
    at
    com.sun.management.jmx.MBeanServerImpl.postRegisterInvoker(MBeanServerImpl.j
    ava:2293)
    at
    com.sun.management.jmx.MBeanServerImpl.registerMBean(MBeanServerImpl.java:88
    4)
    at
    weblogic.management.internal.RemoteMBeanServerImpl.registerMBean(RemoteMBean
    ServerImpl.java:457)
    at
    weblogic.management.internal.DynamicMBeanImpl.setParent(DynamicMBeanImpl.jav
    a:264)
    at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
    at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
    .java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at
    weblogic.management.internal.DynamicMBeanImpl.invokeSetter(DynamicMBeanImpl.
    java:1651)
    at
    weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.
    java:1101)
    at
    weblogic.management.internal.ConfigurationMBeanImpl.setAttribute(Configurati
    onMBeanImpl.java:311)
    at
    com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:135
    8)
    at
    com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:133
    3)
    at
    weblogic.management.internal.RemoteMBeanServerImpl.setAttribute(RemoteMBeanS
    erverImpl.java:367)
    at
    weblogic.management.internal.RemoteMBeanServerImpl_WLSkel.invoke(Unknown
    Source)
    atweblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:466)
    at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:409)
    at
    weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubjec
    t.java:353)
    at
    weblogic.security.service.SecurityManager.runAs(SecurityManager.java:144)
    at
    weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:404)
    at
    weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:3
    0)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
    This is how i'm trying to add it.
    here i'm creating the JMS Topic
    java weblogic.Admin -url %ADMIN_URL% -username %WLS_USER% -password%WLS_PW%
    CREATE -mbean %WLS_DOMAIN%:Name=%JMSTopic%,Type=JMSTopic
    Exception is thrown while trying to execute this code
    @ECHO Setting Properties
    java weblogic.Admin -url %ADMIN_URL% -username %WLS_USER% -password%WLS_PW%
    SET -mbean
    %WLS_DOMAIN%:Location=%WLS_SERVER%,Name=%JMSTopic%,Type=JMSTopic -property
    Parent %WLS_DOMAIN%:Name=%JMSServer%,Type=JMSServer
    can anyboy point me where i'm missing some entries??
    Thanks and regards
    sasi

  • Try to get JDNI tree (NoClassDefFoundError: weblogic/jndi/Environment)

    hiya,
    I try to get access to the jdni tree of a weblogic server (8.1). But I always get the exception:
    java.lang.NoClassDefFoundError: weblogic/jndi/Environment
    javax.faces.el.EvaluationException: java.lang.NoClassDefFoundError: weblogic/jndi/Environment
    at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:102)
    I added the weblogic.jar and the wlclient.jar. Is something still missing?
    Here's a part of the Code, where the exception occurres:
    private static InitialContext getContext(){
    bq. InitialContext ctx = null; \\ Environment environment = new Environment(); /*ERROR*/ \\     environment.setInitialContextFactory(Environment.DEFAULT_INITIAL_CONTEXT_FACTORY); \\     environment.setProviderUrl(url); \\     environment.setSecurityPrincipal(username); \\     environment.setSecurityCredentials(password); \\     try { ctx = (InitialContext) environment.getInitialContext(); \\     } catch (NamingException e) { System.out.println(e.getMessage()); } \\     return ctx;
    Hope that somebody can help me...
    thanks,
    traysa

    hm... I'm not authorised to change something in the script.
    is there no other way... ?
    Here's the code from the edocs of weblogic 8.1. The Code is trying to retrieve the MBeanHome from an external Client:
    public void action() {
              MBeanHome home = null;
              //domain variables
              String url = "t3://xxx";
              String username = "xxx";
              String password = "xxx";
              //Setting an initial context.
              try {
                   Environment env = new Environment();
                   env.setProviderUrl(url);
                   env.setSecurityPrincipal(username);
                   env.setSecurityCredentials(password);
                   Context ctx = env.getInitialContext();
                   //Retrieving the Administration MBeanHome interface
                   home = (MBeanHome) ctx.lookup(MBeanHome.ADMIN_JNDI_NAME);
                   result = "Got the Admin MBeanHome: " + home + " from the Admin server";
              } catch (Exception e) {
                   System.out.println("Exception caught: " + e);
    here's a short summary of problems I have:
    1. Environment
    Trying to get the initial context from the environment:
    Environment env = new Environment();
    env.setProviderUrl(url);
    env.setSecurityPrincipal(username);
    env.setSecurityCredentials(password);
    Context ctx = env.getInitialContext();
    exception:
    java.lang.NoClassDefFoundError: weblogic/jndi/Environment
    2. MBeanHome
    instead of Environment, I'm using a Hashstable.
    home = (MBeanHome) ctx.lookup(MBeanHome.ADMIN_JNDI_NAME);
    The attempt to get the MBeanHome throws following exception:
    java.lang.NoClassDefFoundError: weblogic/management/MBeanHome
    I just don't understand why it doesn't work. Have I missed some settings?
    I'm using JDK 1.5, Developing in Eclipse, added the libs weblogic.jar, wlclient.jar and rt.jar,...
    thx
    traysa

  • Exception in thread "main" java.lang.NoClassDefFoundError: weblogic/Server

    Dear Sir/Madam
    I downloaded the Weblogic610 server five times, and when I install it on my Linux
    box (RedHat 7.1), I always met the exception like:
    Exception in thread "main" java.lang.NoClassDefFoundError: weblogic/Server
    When I check with lib directory, there is weblogic.jar here, but the file looks
    was damaged, the file size is ok, but I can't open it by use jar tool or other
    tools.
    Some packeage is very strange, after my downloaded, and install, there are only
    a few files in lib directory and some subdirectory and weblogic.jar is missing,
    but the download is normal.
    So, I hope who guy have similar experience, please let me know.
    Thank you
    Cidy

    Hi Raj,
    Could you provide more information from the log; is there a full
    traceback. A first step may be to use the latest service pack [1].
    Also you might try your question in the management newsgroup [2] or
    contact our outsanding support group [3].
    Hope this is of some value,
    Bruce
    [1]
    http://commerce.bea.com/showproduct.jsp?family=WLS&major=8.1&minor=2
    [2]
    http://newsgroups.bea.com/cgi-bin/dnewsweb?cmd=xover&group=weblogic.developer.interest.management
    [3]
    http://[email protected]
    Raj wrote:
    >
    Hello All,
    I have installed wls 8.1 and created domain. I have manged server running at other location.I am getting the following Log,When i tried to start managed server from admin server
    java.lang.NoClassDefFoundError: weblogic/Server Exception in thread "main"
    and on admin side
    The request to start the server ecgNode01 of domain CQ6UIDomain failed because the node manager did not hear from the managed server in the configured timeout period. Despite this, if the managed server has not failed, it will come up and the node manager will start monitoring it. To adjust this timeout so that the task does not fail prematurely, please refer to the node manager property ScavangerDelaySeconds (Default value : 180 seconds. Current value : 180 seconds
    can anyone tell me where i went wrong

  • Unable to start MS NoClassDefFoundError: weblogic/sip/tools/SipToolsFactory

    Hi Folks,
    I really need ur assistance on this, I am failing to start my weblogic managed server which is on WL 10.3.4 and hosted on Windows 2008R2 server.
    I am getting the below exception:
    <<WLS Kernel>> <> <> <1365769487402> <BEA-000386> <Server subsystem failed. Reason: java.lang.NoClassDefFoundError: weblogic/sip/tools/SipToolsFactory
    java.lang.NoClassDefFoundError: weblogic/sip/tools/SipToolsFactory
         at weblogic.sip.plugin.SipPlugin.startService(SipPlugin.java:25)
         at weblogic.server.ServiceActivator.start(ServiceActivator.java:96)
         at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:176)
    Caused By: java.lang.ClassNotFoundException: weblogic.sip.tools.SipToolsFactory
         at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
         at weblogic.sip.plugin.SipPlugin.startService(SipPlugin.java:25)
         at weblogic.server.ServiceActivator.start(ServiceActivator.java:96)
         at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:176)
    Now the I dont want to use the SIP and have done the following:
    1. Disabled the SIP from my Weblogic Console and restarted the Admin Server
    2. Modified my init script from
    <setenv name="WLSS_HOME">
    <value>E:\Oracle\Middleware\wlserver_10.3/sip</value>
    </setenv>
         <setenv name="SIP_ENABLED">
              <value>true</value>
         </setenv>
    to
    <setenv name="WLSS_HOME">
    <value>E:\Oracle\Middleware\wlserver_10.3/sip</value>
         </setenv>
              <setenv name="SIP_ENABLED">
              <value>false</value>
                   </setenv>
    3. Modified my class paths so SIP wont be called.
    Now the interesting part, actually this setup is a running setup and I have installed it from scratch..The thing here is it might sound silly....But the weblogic still picks up the Classpath for SIP during startup, be it via node manger or even on the server.
    <WebLogicServer> <BEA-000395> <Following extensions directory contents added to the end of the classpath:
    E:\Oracle\Middleware\user_projects\domains\DOMAIN_XYZ\lib\sipactivator.jar>
    <BEA-002647> <The service plugin, com.oracle.core.sip.activator, was added from E:\Oracle\Middleware\user_projects\domains\DOMAIN_XYZ\lib\sipactivator.jar.>
    If you see its a extension lib file, now my query without deleting the file from the extension lib how can i get rid of it.
    Hope someone can help me out.
    Thanks

    Hi Kishore,
    Thanks for the update, but I had already done those changes, please find my current config.xml but I noticed one thing when I restart my weblogic instance it creates a new config.xml with a name like this config.xml and it doesnt reflect the original config.xml which I am trying to use. I some how feel that the config.xml is being picked up while stating the instance instead of the original config.xml.
    I am placing both of them below with the respective names.
    config.xml (the one i am trying to use)
    <?xml version='1.0' encoding='UTF-8'?>
    <domain xmlns="http://xmlns.oracle.com/weblogic/domain" xmlns:sec="http://xmlns.oracle.com/weblogic/security" xmlns:wls="http://xmlns.oracle.com/weblogic/security/wls" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xmlns.oracle.com/weblogic/security/xacml http://xmlns.oracle.com/weblogic/security/xacml/1.0/xacml.xsd http://xmlns.oracle.com/weblogic/security/providers/passwordvalidator http://xmlns.oracle.com/weblogic/security/providers/passwordvalidator/1.0/passwordvalidator.xsd http://xmlns.oracle.com/weblogic/domain http://xmlns.oracle.com/weblogic/1.0/domain.xsd http://xmlns.oracle.com/weblogic/security http://xmlns.oracle.com/weblogic/1.0/security.xsd http://xmlns.oracle.com/weblogic/security/wls http://xmlns.oracle.com/weblogic/security/wls/1.0/wls.xsd">
    <name>TEST</name>
    <domain-version>10.3.4.0</domain-version>
    <security-configuration>
    <name>TEST</name>
    <realm>
    <sec:authentication-provider xsi:type="wls:default-authenticatorType"></sec:authentication-provider>
    <sec:authentication-provider xsi:type="wls:default-identity-asserterType">
    <sec:active-type>AuthenticatedUser</sec:active-type>
    </sec:authentication-provider>
    <sec:role-mapper xmlns:xac="http://xmlns.oracle.com/weblogic/security/xacml" xsi:type="xac:xacml-role-mapperType"></sec:role-mapper>
    <sec:authorizer xmlns:xac="http://xmlns.oracle.com/weblogic/security/xacml" xsi:type="xac:xacml-authorizerType"></sec:authorizer>
    <sec:adjudicator xsi:type="wls:default-adjudicatorType"></sec:adjudicator>
    <sec:credential-mapper xsi:type="wls:default-credential-mapperType"></sec:credential-mapper>
    <sec:cert-path-provider xsi:type="wls:web-logic-cert-path-providerType"></sec:cert-path-provider>
    <sec:cert-path-builder>WebLogicCertPathProvider</sec:cert-path-builder>
    <sec:name>myrealm</sec:name>
    <sec:password-validator xmlns:pas="http://xmlns.oracle.com/weblogic/security/providers/passwordvalidator" xsi:type="pas:system-password-validatorType">
    <sec:name>SystemPasswordValidator</sec:name>
    <pas:min-password-length>8</pas:min-password-length>
    <pas:min-numeric-or-special-characters>1</pas:min-numeric-or-special-characters>
    </sec:password-validator>
    </realm>
    <default-realm>myrealm</default-realm>
    <credential-encrypted>{AES}xxxxx</credential-encrypted>
    <node-manager-username>wlxxxx</node-manager-username>
    <node-manager-password-encrypted>{AES}xxxxx</node-manager-password-encrypted>
    </security-configuration>
    <server>
    <name>AdminServer</name>
    <machine>localhost</machine>
    <listen-address></listen-address>
    </server>
    <server>
    <name>Test01</name>
    <machine>localhost</machine>
    <listen-port>9001</listen-port>
    <listen-address></listen-address>
    <server-start>
    <java-vendor>Sun</java-vendor>
    </server-start>
    </server>
    <server>
    <name>Test02</name>
    <machine>Machine2</machine>
    <listen-port>9001</listen-port>
    <listen-address></listen-address>
    <server-start></server-start>
    </server>
    <server>
    <name>Test03</name>
    <machine>localhost</machine>
    <listen-port>9002</listen-port>
    <listen-address></listen-address>
    <server-start></server-start>
    </server>
    <server>
    <name>Test04</name>
    <machine>Machine2</machine>
    <listen-port>9002</listen-port>
    <listen-address></listen-address>
    <server-start>
    <java-vendor>Sun</java-vendor>
    <class-path>E:\Oracle\Middleware\user_projects\domains\TEST\properties\Test</class-path>
    <arguments>-Xms128m -Xmx512m -XX:MaxPermSize=256m</arguments>
    </server-start>
    </server>
    <server>
    <name>Test_ES01</name>
    <machine>localhost</machine>
    <listen-port>9003</listen-port>
    <listen-address></listen-address>
    <server-start></server-start>
    </server>
    <server>
    <name>Test_ES02</name>
    <machine>Machine2</machine>
    <listen-port>9003</listen-port>
    <listen-address></listen-address>
    <server-start></server-start>
    </server>
    <server>
    <name>Test_ES03</name>
    <machine>localhost</machine>
    <listen-port>9004</listen-port>
    <listen-address></listen-address>
    <server-start></server-start>
    </server>
    <server>
    <name>Test_ES04</name>
    <machine>Machine2</machine>
    <listen-port>9004</listen-port>
    <listen-address></listen-address>
    <server-start></server-start>
    </server>
    <server>
    <name>Test_HK01</name>
    <machine>localhost</machine>
    <listen-port>9005</listen-port>
    <web-server>
    <web-server-log>
    <number-of-files-limited>false</number-of-files-limited>
    </web-server-log>
    </web-server>
    <listen-address></listen-address>
    <server-start></server-start>
    </server>
    <server>
    <name>Test_HK02</name>
    <machine>Machine2</machine>
    <listen-port>9005</listen-port>
    <web-server>
    <web-server-log>
    <number-of-files-limited>false</number-of-files-limited>
    </web-server-log>
    </web-server>
    <listen-address></listen-address>
    <server-start></server-start>
    </server>
    <server>
    <name>Test_HK03</name>
    <machine>localhost</machine>
    <listen-port>9006</listen-port>
    <web-server>
    <web-server-log>
    <number-of-files-limited>false</number-of-files-limited>
    </web-server-log>
    </web-server>
    <listen-address></listen-address>
    <server-start></server-start>
    </server>
    <server>
    <name>Test_HK04</name>
    <machine>Machine2</machine>
    <listen-port>9006</listen-port>
    <web-server>
    <web-server-log>
    <number-of-files-limited>false</number-of-files-limited>
    </web-server-log>
    </web-server>
    <listen-address></listen-address>
    <server-start></server-start>
    </server>
    <server>
    <name>Test05</name>
    <machine>localhost</machine>
    <listen-port>9007</listen-port>
    <cluster xsi:nil="true"></cluster>
    <web-server>
    <web-server-log>
    <number-of-files-limited>false</number-of-files-limited>
    </web-server-log>
    </web-server>
    <listen-address></listen-address>
    </server>
    <server>
    <name>Test07</name>
    <machine>localhost</machine>
    <listen-port>9008</listen-port>
    <cluster xsi:nil="true"></cluster>
    <web-server>
    <web-server-log>
    <number-of-files-limited>false</number-of-files-limited>
    </web-server-log>
    </web-server>
    <listen-address></listen-address>
    </server>
    <server>
    <name>Test06</name>
    <machine>Machine2</machine>
    <listen-port>9007</listen-port>
    <cluster xsi:nil="true"></cluster>
    <web-server>
    <web-server-log>
    <number-of-files-limited>false</number-of-files-limited>
    </web-server-log>
    </web-server>
    <listen-address></listen-address>
    <server-start>
    <java-vendor>Sun</java-vendor>
    <class-path>E:\Oracle\Middleware\user_projects\domains\TEST\properties\Test</class-path>
    <arguments>-Xms128m -Xmx512m -XX:MaxPermSize=256m</arguments>
    </server-start>
    </server>
    <server>
    <name>Test08</name>
    <machine>Machine2</machine>
    <listen-port>9008</listen-port>
    <cluster xsi:nil="true"></cluster>
    <web-server>
    <web-server-log>
    <number-of-files-limited>false</number-of-files-limited>
    </web-server-log>
    </web-server>
    <listen-address></listen-address>
    <server-start>
    <java-vendor>Sun</java-vendor>
    <class-path>E:\Oracle\Middleware\user_projects\domains\TEST\properties\Test</class-path>
    <arguments>-Xms128m -Xmx512m -XX:MaxPermSize=256m</arguments>
    </server-start>
    </server>
    <server>
    <name>Test_IN01</name>
    <jms-thread-pool-size>0</jms-thread-pool-size>
    <machine>localhost</machine>
    <listen-port>9003</listen-port>
    <cluster xsi:nil="true"></cluster>
    <web-server>
    <web-server-log>
    <number-of-files-limited>false</number-of-files-limited>
    </web-server-log>
    </web-server>
    <server-debug>
    <debug-scope>
    <name>default</name>
    <enabled>false</enabled>
    </debug-scope>
    <debug-scope>
    <name>weblogic</name>
    <enabled>false</enabled>
    </debug-scope>
    <debug-scope>
    <name>weblogic.application</name>
    <enabled>false</enabled>
    </debug-scope>
    <debug-scope>
    <name>weblogic.classloader</name>
    <enabled>false</enabled>
    </debug-scope>
    <debug-scope>
    <name>weblogic.cluster</name>
    <enabled>false</enabled>
    </debug-scope>
    <debug-scope>
    <name>weblogic.connector</name>
    <enabled>false</enabled>
    </debug-scope>
    <debug-scope>
    <name>weblogic.core</name>
    <enabled>false</enabled>
    </debug-scope>
    <debug-scope>
    <name>weblogic.debug</name>
    <enabled>false</enabled>
    </debug-scope>
    <debug-scope>
    <name>weblogic.default</name>
    <enabled>false</enabled>
    </debug-scope>
    <debug-scope>
    <name>weblogic.deploy</name>
    <enabled>false</enabled>
    </debug-scope>
    <debug-scope>
    <name>weblogic.descriptor</name>
    <enabled>false</enabled>
    </debug-scope>
    <debug-scope>
    <name>weblogic.diagnostics</name>
    <enabled>false</enabled>
    </debug-scope>
    <debug-scope>
    <name>weblogic.ejb</name>
    <enabled>false</enabled>
    </debug-scope>
    <debug-scope>
    <name>weblogic.iiop</name>
    <enabled>false</enabled>
    </debug-scope>
    <debug-scope>
    <name>weblogic.jdbc</name>
    <enabled>false</enabled>
    </debug-scope>
    <debug-scope>
    <name>weblogic.jms</name>
    <enabled>false</enabled>
    </debug-scope>
    <debug-scope>
    <name>weblogic.jpa</name>
    <enabled>false</enabled>
    </debug-scope>
    <debug-scope>
    <name>weblogic.management</name>
    <enabled>false</enabled>
    </debug-scope>
    <debug-scope>
    <name>weblogic.messaging</name>
    <enabled>false</enabled>
    </debug-scope>
    <debug-scope>
    <name>weblogic.messagingbridge</name>
    <enabled>false</enabled>
    </debug-scope>
    <debug-scope>
    <name>weblogic.protocol</name>
    <enabled>false</enabled>
    </debug-scope>
    <debug-scope>
    <name>weblogic.sca</name>
    <enabled>false</enabled>
    </debug-scope>
    <debug-scope>
    <name>weblogic.security</name>
    <enabled>false</enabled>
    </debug-scope>
    <debug-scope>
    <name>weblogic.servlet</name>
    <enabled>false</enabled>
    </debug-scope>
    <debug-scope>
    <name>weblogic.store</name>
    <enabled>false</enabled>
    </debug-scope>
    <debug-scope>
    <name>weblogic.t3</name>
    <enabled>false</enabled>
    </debug-scope>
    <debug-scope>
    <name>weblogic.transaction</name>
    <enabled>false</enabled>
    </debug-scope>
    <debug-scope>
    <name>weblogic.work</name>
    <enabled>false</enabled>
    </debug-scope>
    <debug-scope>
    <name>weblogic.workarea</name>
    <enabled>false</enabled>
    </debug-scope>
    <debug-scope>
    <name>weblogic.wtc</name>
    <enabled>false</enabled>
    </debug-scope>
    </server-debug>
    <listen-address></listen-address>
    <xml-registry xsi:nil="true"></xml-registry>
    <xml-entity-cache xsi:nil="true"></xml-entity-cache>
    <default-file-store>
    <synchronous-write-policy>Direct-Write</synchronous-write-policy>
    </default-file-store>
    </server>
    <server>
    <name>Test_IN02</name>
    <jms-thread-pool-size>0</jms-thread-pool-size>
    <machine>Machine2</machine>
    <listen-port>9003</listen-port>
    <cluster xsi:nil="true"></cluster>
    <web-server>
    <web-server-log>
    <number-of-files-limited>false</number-of-files-limited>
    </web-server-log>
    </web-server>
    <server-debug>
    <debug-scope>
    <name>default</name>
    <enabled>false</enabled>
    </debug-scope>
    <debug-scope>
    <name>weblogic</name>
    <enabled>false</enabled>
    </debug-scope>
    <debug-libraries>true</debug-libraries>
    <class-finder>true</class-finder>
    <classpath-servlet>true</classpath-servlet>
    <class-loader>true</class-loader>
    <debug-server-life-cycle>true</debug-server-life-cycle>
    </server-debug>
    <listen-address></listen-address>
    <xml-registry xsi:nil="true"></xml-registry>
    <xml-entity-cache xsi:nil="true"></xml-entity-cache>
    <default-file-store>
    <synchronous-write-policy>Cache-Flush</synchronous-write-policy>
    </default-file-store>
    </server>
    <server>
    <name>Test_IN03</name>
    <jms-thread-pool-size>0</jms-thread-pool-size>
    <machine>localhost</machine>
    <listen-port>9004</listen-port>
    <cluster xsi:nil="true"></cluster>
    <web-server>
    <web-server-log>
    <number-of-files-limited>false</number-of-files-limited>
    </web-server-log>
    </web-server>
    <listen-address></listen-address>
    <xml-registry xsi:nil="true"></xml-registry>
    <xml-entity-cache xsi:nil="true"></xml-entity-cache>
    <default-file-store>
    <synchronous-write-policy>Cache-Flush</synchronous-write-policy>
    </default-file-store>
    </server>
    <server>
    <name>Test_IN04</name>
    <ssl>
    <enabled>false</enabled>
    </ssl>
    <machine>Machine2</machine>
    <listen-port>9004</listen-port>
    <listen-port-enabled>true</listen-port-enabled>
    <cluster xsi:nil="true"></cluster>
    <web-server>
    <web-server-log>
    <number-of-files-limited>false</number-of-files-limited>
    </web-server-log>
    </web-server>
    <java-compiler>javac</java-compiler>
    <client-cert-proxy-enabled>false</client-cert-proxy-enabled>
    <server-diagnostic-config>
    <wldf-diagnostic-volume>Low</wldf-diagnostic-volume>
    </server-diagnostic-config>
    </server>
    <embedded-ldap>
    <name>TEST</name>
    <credential-encrypted>{AES}xxxxx</credential-encrypted>
    </embedded-ldap>
    <configuration-version>10.3.4.0</configuration-version>
    <app-deployment>
    <name>Test_hkapp01</name>
    <target>Test_HK01</target>
    <module-type>war</module-type>
    <source-path>applications\TestApp\Test_hkapp01</source-path>
    <security-dd-model>DDOnly</security-dd-model>
    <staging-mode>nostage</staging-mode>
    </app-deployment>
    <app-deployment>
    <name>Test_hkrp01</name>
    <target>Test_HK03</target>
    <module-type>war</module-type>
    <source-path>applications\TestApp\Test_hkrp01</source-path>
    <security-dd-model>DDOnly</security-dd-model>
    <staging-mode>nostage</staging-mode>
    </app-deployment>
    <app-deployment>
    <name>Testapp05</name>
    <target>Test05</target>
    <module-type>war</module-type>
    <source-path>applications\TestApp\Testapp05\test.war</source-path>
    <security-dd-model>DDOnly</security-dd-model>
    <staging-mode>nostage</staging-mode>
    </app-deployment>
    <app-deployment>
    <name>testrp07</name>
    <target>Test07/target>
    <module-type>war</module-type>
    <source-path>applications\TestApp\Testrp07\Testrp.war</source-path>
    <deployment-order>100</deployment-order>
    <security-dd-model>DDOnly</security-dd-model>
    <staging-mode>nostage</staging-mode>
    </app-deployment>
    <app-deployment>
    <name>Testrp08</name>
    <target>Test08</target>
    <module-type>war</module-type>
    <source-path>applications\TestApp\Testrp08\Testrp.war</source-path>
    <deployment-order>100</deployment-order>
    <security-dd-model>DDOnly</security-dd-model>
    <staging-mode>stage</staging-mode>
    </app-deployment>
    <app-deployment>
    <name>Testapp06</name>
    <target>Test06</target>
    <module-type>war</module-type>
    <source-path>applications\TestApp\Testapp06\Test.war</source-path>
    <deployment-order>100</deployment-order>
    <security-dd-model>DDOnly</security-dd-model>
    <staging-mode>stage</staging-mode>
    </app-deployment>
    <app-deployment>
    <name>Test_hkrp04</name>
    <target>Test_HK04</target>
    <module-type>war</module-type>
    <source-path>applications\TestApp\Test_hkrp04</source-path>
    <deployment-order>100</deployment-order>
    <security-dd-model>DDOnly</security-dd-model>
    <staging-mode>stage</staging-mode>
    </app-deployment>
    <app-deployment>
    <name>Test_hkapp02</name>
    <target>Test_HK02</target>
    <module-type>war</module-type>
    <source-path>applications\TestApp\Test_hkapp02</source-path>
    <deployment-order>100</deployment-order>
    <security-dd-model>DDOnly</security-dd-model>
    <staging-mode>stage</staging-mode>
    </app-deployment>
    <machine>
    <name>localhost</name>
    <node-manager>
    <name>localhost</name>
    <nm-type>SSL</nm-type>
    <listen-address>xxx-xxx-xxx-xxx</listen-address>
    <listen-port>5556</listen-port>
    <debug-enabled>false</debug-enabled>
    </node-manager>
    </machine>
    <machine>
    <name>Machine2</name>
    <node-manager>
    <nm-type>SSL</nm-type>
    <listen-address>xxx-xxx-xxx-xxx</listen-address>
    <listen-port>5556</listen-port>
    <debug-enabled>false</debug-enabled>
    </node-manager>
    </machine>
    <admin-server-name>AdminServer</admin-server-name>
    <jdbc-system-resource>
    <name>Test01app_DS</name>
    <target>Test01</target>
    <descriptor-file-name>jdbc/Test01app_DS-4659-jdbc.xml</descriptor-file-name>
    </jdbc-system-resource>
    <jdbc-system-resource>
    <name>Test03rp_DS</name>
    <target>Test03</target>
    <descriptor-file-name>jdbc/Test03rp_DS-3850-jdbc.xml</descriptor-file-name>
    </jdbc-system-resource>
    <jdbc-system-resource>
    <name>Test02app_DS</name>
    <target>Test02</target>
    <descriptor-file-name>jdbc/Test02app_DS-7531-jdbc.xml</descriptor-file-name>
    </jdbc-system-resource>
    <jdbc-system-resource>
    <name>Test04rp_DS</name>
    <target>Test04</target>
    <descriptor-file-name>jdbc/Test04rp_DS-5676-jdbc.xml</descriptor-file-name>
    </jdbc-system-resource>
    </domain>
    -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

  • EJB 3.0, BC4J and weblogic managed server

    Hi, I've got a problem using EJB 3.0 with a BC4J Application module in a weblogic managed server.
    My bean is a stateless session bean that use BC4J for database transaction.
    When I call the bean the first time, It returns de values I need, without problem. If I do the same call again, I always get "null". I deployed the same bean on the AdminServer, linking to the same DataSource, It works fine and I never got a null result.
    My application module is created insid my EJB abstract class by :
    _am = (BaseServiceImpl)Configuration.createRootApplicationModule(adfModel, adfConfiguration);*
    Where adfModel and adfConfiguration are configured through annotations in my EJB Implementation.
    In my abstract EJB, I have a methode with a +@PreDestroy+ method like that :
    +@PreDestroy+
    *protected void releaseModele() {*
    *if (_am != null) {*
    Configuration.releaseRootApplicationModule(_am, false);
    _am = null;*
    My Data Source on the server is defined as Supporting Global Transaction, one-phase commit. I activated the BC4J Logs on the server to see what was going on and I see that the JDBC seems to close after the first call :
    *** closing jdbc connection now **** (weblogic.jdbc.wrapper.JTSConnection_oracle_jdbc_driver_T4CConnection@0)
    And that is when I've got the error on the server :
    oracle.jbo.InvalidObjAccessException: JBO-25036: An invalid object operation was invoked on type View Object with name AppModAD
    So, my JDBC connection seems to close somewhere beetween the first and the second call, but only on a managed server... Someone has ever encountered a problem like that?
    Maybe there is something with the configuration of a datasource on a managed server? Or with the lifecycle of an

    The solution was to NOT have glabal transaction checked in the configuration of the data-source and "Failover Transaction State Upon Managed Release" uncked in the configuration of the Business component configuration.

  • Exception in thread "Main Thread" java.lang.NoClassDefFoundError: weblogic/diagnostics/instrumentation/JoinPoint

    Hi,
    I have an application jar file which is run from a .sh file.
    The application uses ridc api to checkin a document on UCM.
    I have placed jars for supporting the application on the folder where we have kept the application jar
    also we have mentioned the supporting jar file names in the Manifest.mf file of the application jar.
    The necessary jar files which we have placed are:
    com.lnt.ucm.integrationutility.ucm.Client
    log4j-1.2.16.jar
    oracle.ucm.ridc-11.1.1.jar
    poi-2.5.1.jar
    commons-codec-1.2.jar
    commons-httpclient-3.1.jar
    commons-logging-1.0.4.jar
    mail.jar
    jxl-2.6.10.jar
    com.bea.core.antlr.runtime_2.7.7.jar
    com.oracle.toplink_1.0.0.0_11-1-1-5-0.jar
    jrf.jar
    org.eclipse.persistence_1.1.0.0_2-1.jar
    weblogic.jar
    wlfullclient.jar
    wseeclient.jar
    jaxws-rt-2.1.4.jar
    we are getting below exception when we run the jar from the .sh file.
    Exception in thread "Main Thread" java.lang.NoClassDefFoundError: weblogic/diagnostics/instrumentation/JoinPoint
    at weblogic.wsee.jaxws.spi.WLSProvider.<clinit>(WLSProvider.java:90)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    at java.lang.Class.newInstance0(Class.java:355)
    at java.lang.Class.newInstance(Class.java:308)
    at javax.xml.ws.spi.FactoryFinder.newInstance(FactoryFinder.java:31)
    at javax.xml.ws.spi.FactoryFinder.find(FactoryFinder.java:90)
    at javax.xml.ws.spi.Provider.provider(Provider.java:83)
    at javax.xml.ws.Service.<init>(Service.java:56)
    at com.abc.ucm.proxy.JDEUCMManagerService.<init>(JDEUCMManagerService.java:66)
    at com.abc.ucm.integrationutility.ucm.Client.executeUtilty(Client.java:50)
    at com.abc.ucm.integrationutility.ucm.Client.main(Client.java:540)
    I'm not able to find any jar for weblogic/diagnostics/instrumentation/JoinPoint can you please tell me which jar needs to be added.
    Regards,
    Tejaswini L

    914897 wrote:
    I encounter the similar error. Anyone knows how to fix it?By providing a configuration file which validates with the corresponding XSDs found in coherence.jar. Sorry, but can't point you to the specific issue without seeing the erroneous configuration file.
    Best regards,
    Robert

  • Oracle Identity Manager Configuration Error

    Versions I have used for the Installation:
    Software Version
    Oracle Database 11.2.0
    Repository Creation Utility 11.1.1.5.0
    Web logic 10.3.6
    SOA Suite 11.1.1.6.0
    Fusion Middle ware Installer 11.1.1.5.0
    JDK Oracle Web-logic JRockit JDK or Sun JDK 1.6.0_29
    Error : Config Action Oracle Identity Manager Configuration failed
    Exception waring occurs in web logic Server :
    <Aug 14, 2012 11:57:53 AM GMT+05:30> <Notice> <WebLogicServer> <BEA-000360> <Ser
    ver started in RUNNING mode>
    <Aug 14, 2012 12:03:49 PM GMT+05:30> <Warning> <Management> <BEA-141239> <The no
    n-dynamic attribute AuthenticationProviders on weblogic.management.security.Real
    mMBeanImpl@581c390c([OIDM]/SecurityConfiguration[OIDM]/Realms[myrealm]) has been
    changed. This may require redeploying or rebooting configured entities>
    <Aug 14, 2012 12:03:49 PM GMT+05:30> <Warning> <Management> <BEA-141238> <A non-
    dynamic change has been made which affects the server AdminServer. This server m
    ust be rebooted in order to consume this change.>
    <Aug 14, 2012 12:03:49 PM GMT+05:30> <Warning> <Management> <BEA-141239> <The no
    n-dynamic attribute ControlFlag on weblogic.security.providers.authentication.De
    faultAuthenticatorMBeanImpl@80d076be([OIDM]/SecurityConfiguration[OIDM]/Realms[m
    yrealm]/AuthenticationProviders[DefaultAuthenticator]) has been changed. This ma
    y require redeploying or rebooting configured entities>
    <Aug 14, 2012 12:03:49 PM GMT+05:30> <Warning> <Management> <BEA-141238> <A non-
    dynamic change has been made which affects the server AdminServer. This server m
    ust be rebooted in order to consume this change.>
    Please give me a solution to resolve the issue

    Each version has its won libraries and certain bug fixes. It's always good to see certification matrix first for any software and proceed with installation as per certified components. Also, vendor support your project only if you are using their certified versions. :)
    regards,
    GP

Maybe you are looking for