0 Replies Latest reply: Oct 7, 2013 3:56 AM by 911237 RSS

    Exception when trying to do jmx call on weblogic server

    911237

      Hi All

       

      I am trying to do a JMX call using ALSBConfiguration .  I think its something to do with security.Can i get some pointers/help regarding this?

       

      java.lang.IllegalArgumentException: Cannot import to deployed configuration

      java.lang.IllegalArgumentException: Cannot import to deployed configuration

              at com.bea.wli.config.task.impl.UploadJarTask._execute(UploadJarTask.java:43)

              at com.bea.wli.config.task.impl.SessionedTask$1.execute(SessionedTask.java:235)

              at com.bea.wli.config.transaction.TransactionalTask._doExecute(TransactionalTask.java:225)

              at com.bea.wli.config.transaction.TransactionalTask._doExecuteWithRetry(TransactionalTask.java:170)

              at com.bea.wli.config.transaction.TransactionalTask.doExecute(TransactionalTask.java:150)

              at com.bea.wli.config.task.impl.SessionedTask.doExecute(SessionedTask.java:238)

              at com.bea.wli.config.task.impl.SessionedTask.doExecute(SessionedTask.java:185)

              at com.bea.wli.config.task.impl.UploadJarTask.uploadJar(UploadJarTask.java:35)

              at com.bea.wli.config.mbeans.Config.uploadJarFile(Config.java:405)

              at com.bea.wli.sb.management.configuration.ALSBConfiguration.uploadJarFile(ALSBConfiguration.java:144)

              at com.bea.wli.sb.management.configuration.DelegatedALSBConfigurationMBeanImpl.uploadJarFile(DelegatedALSBConfigurationMBeanImpl.java:91)

              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

        at java.lang.reflect.Method.invoke(Method.java:601)

              at weblogic.management.jmx.modelmbean.WLSModelMBean.invoke(WLSModelMBean.java:437)

              at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)

              at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:792)

              at weblogic.management.mbeanservers.domainruntime.internal.FederatedMBeanServerInterceptor.invoke(FederatedMBeanServerInterceptor.java:375)

              at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase$16.run(WLSMBeanServerInterceptorBase.java:449)

              at java.security.AccessController.doPrivileged(Native Method)

              at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase.invoke(WLSMBeanServerInterceptorBase.java:447)

              at weblogic.management.mbeanservers.internal.JMXContextInterceptor.invoke(JMXContextInterceptor.java:263)

              at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase$16.run(WLSMBeanServerInterceptorBase.java:449)

              at java.security.AccessController.doPrivileged(Native Method)

              at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase.invoke(WLSMBeanServerInterceptorBase.java:447)

              at weblogic.management.mbeanservers.internal.SecurityMBeanMgmtOpsInterceptor.invoke(SecurityMBeanMgmtOpsInterceptor.java:65)

              at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase$16.run(WLSMBeanServerInterceptorBase.java:449)

              at java.security.AccessController.doPrivileged(Native Method)

              at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase.invoke(WLSMBeanServerInterceptorBase.java:447)

              at weblogic.management.mbeanservers.internal.SecurityInterceptor.invoke(SecurityInterceptor.java:444)

              at weblogic.management.jmx.mbeanserver.WLSMBeanServer.invoke(WLSMBeanServer.java:323)

              at weblogic.management.mbeanservers.internal.JMXConnectorSubjectForwarder$11$1.run(JMXConnectorSubjectForwarder.java:664)

              at java.security.AccessController.doPrivileged(Native Method)

              at weblogic.management.mbeanservers.internal.JMXConnectorSubjectForwarder$11.run(JMXConnectorSubjectForwarder.java:662)

              at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)

              at weblogic.management.mbeanservers.internal.JMXConnectorSubjectForwarder.invoke(JMXConnectorSubjectForwarder.java:655)

              at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1486)

              at javax.management.remote.rmi.RMIConnectionImpl.access$300(RMIConnectionImpl.java:96)

              at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1327)

              at java.security.AccessController.doPrivileged(Native Method)

              at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1426)

              at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:847)

        at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:847)

              at javax.management.remote.rmi.RMIConnectionImpl_WLSkel.invoke(Unknown Source)

              at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:693)

              at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:519)

              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:515)

              at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:118)

              at weblogic.work.ExecuteThread.execute(ExecuteThread.java:295)

              at weblogic.work.ExecuteThread.run(ExecuteThread.java:254)