0 Replies Latest reply: Feb 25, 2013 1:06 AM by Xianyi.Ye RSS

    weblogic.management.DistributedManagementException : Distributed Management

    Xianyi.Ye
      Hi All,

      When I was using ANT script to create some queues and Datasource on WLS 10.3.6.0, an exception will be thrown, which is showing as below:

      Exception:
      ===========================================================================================
      [wlconfig]

      [wlconfig] weblogic.management.DistributedManagementException : Distributed Management [1 exceptions]

      [wlconfig]
      Finding class weblogic.utils.NestedThrowable$Util
      Loaded from D:\Oracle\WLS\modules\com.bea.core.utils_1.9.0.1.jar weblogic/utils/NestedThrowable$Util.class
      Class weblogic.utils.NestedThrowable$Util loaded from ant loader (parentFirst)

      BUILD FAILED
      F:\ADF\LTFS_LE_BUI\LtfsleMDS\build.xml:36: Error invoking MBean command: javax.management.MBeanException
           at weblogic.ant.taskdefs.management.WLConfig.handleException(WLConfig.java:1150)
           at weblogic.ant.taskdefs.management.WLConfig.invokeCommand(WLConfig.java:902)
           at weblogic.ant.taskdefs.management.WLConfig.invokeSetCommand(WLConfig.java:472)
           at weblogic.ant.taskdefs.management.WLConfig.invokeCreateCommand(WLConfig.java:238)
           at weblogic.ant.taskdefs.management.WLConfig.executeCommands(WLConfig.java:176)
           at weblogic.ant.taskdefs.management.WLConfig.execute(WLConfig.java:159)
           at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
           at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
           at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
           at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
           at java.lang.reflect.Method.invoke(Method.java:597)
           at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
           at org.apache.tools.ant.Task.perform(Task.java:348)
           at org.apache.tools.ant.Target.execute(Target.java:357)
           at org.apache.tools.ant.Target.performTasks(Target.java:385)
           at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
           at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
           at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
           at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
           at org.apache.tools.ant.Main.runBuild(Main.java:758)
           at org.apache.tools.ant.Main.startAnt(Main.java:217)
           at org.apache.tools.ant.Main.start(Main.java:179)
           at org.apache.tools.ant.Main.main(Main.java:268)
      Caused by: javax.management.MBeanException
           at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:234)
           at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:223)
           at weblogic.management.mbeanservers.compatibility.internal.RemoteMBeanServerImpl_1036_WLStub.setAttribute(Unknown Source)
           at weblogic.management.mbeanservers.compatibility.internal.MBeanProxy.setOneAttribute(MBeanProxy.java:362)
           at weblogic.management.mbeanservers.compatibility.internal.MBeanProxy.invoke(MBeanProxy.java:118)
           at $Proxy9.setAttribute(Unknown Source)
           at weblogic.management.commandline.tools.MBeanCommandLineInvoker.doSet(MBeanCommandLineInvoker.java:800)
           at weblogic.management.commandline.tools.MBeanCommandLineInvoker.doOperation(MBeanCommandLineInvoker.java:367)
           at weblogic.management.commandline.tools.MBeanCommandLineInvoker.doCommandline(MBeanCommandLineInvoker.java:259)
           at weblogic.management.commandline.tools.MBeanCommandLineInvoker.<init>(MBeanCommandLineInvoker.java:119)
           at weblogic.management.commandline.tools.MBeanCommandLineInvoker.<init>(MBeanCommandLineInvoker.java:170)
           at weblogic.ant.taskdefs.management.WLConfig.invokeCommand(WLConfig.java:900)
           ... 21 more
      Caused by: weblogic.management.DistributedManagementException: Distributed Management [1 exceptions]

           at weblogic.management.mbeanservers.compatibility.internal.EditServiceInterceptor.rethrowException(EditServiceInterceptor.java:425)
           at weblogic.management.mbeanservers.compatibility.internal.EditServiceInterceptor.completeEdit(EditServiceInterceptor.java:442)
           at weblogic.management.mbeanservers.compatibility.internal.EditServiceInterceptor.setAttribute(EditServiceInterceptor.java:194)
           at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase$14.run(WLSMBeanServerInterceptorBase.java:378)
           at java.security.AccessController.doPrivileged(Native Method)
           at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase.setAttribute(WLSMBeanServerInterceptorBase.java:376)
           at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase$14.run(WLSMBeanServerInterceptorBase.java:378)
           at java.security.AccessController.doPrivileged(Native Method)
           at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase.setAttribute(WLSMBeanServerInterceptorBase.java:376)
           at weblogic.management.mbeanservers.internal.SecurityInterceptor.setAttribute(SecurityInterceptor.java:359)
           at weblogic.management.jmx.mbeanserver.WLSMBeanServer.setAttribute(WLSMBeanServer.java:303)
           at weblogic.management.mbeanservers.compatibility.internal.RemoteMBeanServerImpl.setAttribute(RemoteMBeanServerImpl.java:104)
           at weblogic.management.mbeanservers.compatibility.internal.RemoteMBeanServerImpl_WLSkel.invoke(Unknown Source)
           at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:667)
           at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:522)
           at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
           at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)
           at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:518)
           at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:118)
           at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
           at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
      --- Nested Exception ---
      javax.management.MBeanException
           at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:234)
           at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:223)
           at weblogic.management.mbeanservers.compatibility.internal.RemoteMBeanServerImpl_1036_WLStub.setAttribute(Unknown Source)
           at weblogic.management.mbeanservers.compatibility.internal.MBeanProxy.setOneAttribute(MBeanProxy.java:362)
           at weblogic.management.mbeanservers.compatibility.internal.MBeanProxy.invoke(MBeanProxy.java:118)
           at $Proxy9.setAttribute(Unknown Source)
           at weblogic.management.commandline.tools.MBeanCommandLineInvoker.doSet(MBeanCommandLineInvoker.java:800)
           at weblogic.management.commandline.tools.MBeanCommandLineInvoker.doOperation(MBeanCommandLineInvoker.java:367)
           at weblogic.management.commandline.tools.MBeanCommandLineInvoker.doCommandline(MBeanCommandLineInvoker.java:259)
           at weblogic.management.commandline.tools.MBeanCommandLineInvoker.<init>(MBeanCommandLineInvoker.java:119)
           at weblogic.management.commandline.tools.MBeanCommandLineInvoker.<init>(MBeanCommandLineInvoker.java:170)
           at weblogic.ant.taskdefs.management.WLConfig.invokeCommand(WLConfig.java:900)
           at weblogic.ant.taskdefs.management.WLConfig.invokeSetCommand(WLConfig.java:472)
           at weblogic.ant.taskdefs.management.WLConfig.invokeCreateCommand(WLConfig.java:238)
           at weblogic.ant.taskdefs.management.WLConfig.executeCommands(WLConfig.java:176)
           at weblogic.ant.taskdefs.management.WLConfig.execute(WLConfig.java:159)
           at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
           at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
           at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
           at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
           at java.lang.reflect.Method.invoke(Method.java:597)
           at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
           at org.apache.tools.ant.Task.perform(Task.java:348)
           at org.apache.tools.ant.Target.execute(Target.java:357)
           at org.apache.tools.ant.Target.performTasks(Target.java:385)
           at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
           at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
           at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
           at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
           at org.apache.tools.ant.Main.runBuild(Main.java:758)
           at org.apache.tools.ant.Main.startAnt(Main.java:217)
           at org.apache.tools.ant.Main.start(Main.java:179)
           at org.apache.tools.ant.Main.main(Main.java:268)
      Caused by: weblogic.management.DistributedManagementException: Distributed Management [1 exceptions]

           at weblogic.management.mbeanservers.compatibility.internal.EditServiceInterceptor.rethrowException(EditServiceInterceptor.java:425)
           at weblogic.management.mbeanservers.compatibility.internal.EditServiceInterceptor.completeEdit(EditServiceInterceptor.java:442)
           at weblogic.management.mbeanservers.compatibility.internal.EditServiceInterceptor.setAttribute(EditServiceInterceptor.java:194)
           at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase$14.run(WLSMBeanServerInterceptorBase.java:378)
           at java.security.AccessController.doPrivileged(Native Method)
           at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase.setAttribute(WLSMBeanServerInterceptorBase.java:376)
           at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase$14.run(WLSMBeanServerInterceptorBase.java:378)
           at java.security.AccessController.doPrivileged(Native Method)
           at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase.setAttribute(WLSMBeanServerInterceptorBase.java:376)
           at weblogic.management.mbeanservers.internal.SecurityInterceptor.setAttribute(SecurityInterceptor.java:359)
           at weblogic.management.jmx.mbeanserver.WLSMBeanServer.setAttribute(WLSMBeanServer.java:303)
           at weblogic.management.mbeanservers.compatibility.internal.RemoteMBeanServerImpl.setAttribute(RemoteMBeanServerImpl.java:104)
           at weblogic.management.mbeanservers.compatibility.internal.RemoteMBeanServerImpl_WLSkel.invoke(Unknown Source)
           at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:667)
           at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:522)
           at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
           at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)
           at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:518)
           at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:118)
           at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
           at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)

      ===========================================================================================

      Although the running is failed, but I didn't find any problem during running app on this config. I have no idea why WLS thrown this exception.
      Please guide me.

      Thanks very much.