Mule
  1. Mule
  2. MULE-1351

Remove static dependency on sun classes in Jdmk Html Adaptor

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.3.3
    • Fix Version/s: 1.4.0
    • Labels:
      None
    • Environment:

      linux
      weblogic 9.2
      java version "1.5.0_04"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_04-b05)
      Java HotSpot(TM) Client VM (build 1.5.0_04-b05, mixed mode)

    • Configuration:
      Hide

      <agents>
      <agent name="JmxAgent"
      className="org.mule.management.agents.JmxAgent" />
      <agent name="JdmkAgent"
      className="org.mule.management.agents.JdmkAgent">
      <properties>
      <property name="jmxAdaptorUrl"
      value="http://localhost:9998" />
      </properties>
      </agent>
      </agents>

      Show
      <agents> <agent name="JmxAgent" className="org.mule.management.agents.JmxAgent" /> <agent name="JdmkAgent" className="org.mule.management.agents.JdmkAgent"> <properties> <property name="jmxAdaptorUrl" value="http://localhost:9998" /> </properties> </agent> </agents>
    • Log Output:
      Hide
      ####<Jan 30, 2007 10:09:43 AM EST> <Error> <ServletContext-/xxxx-server> <aaaa.bbbbb.com> <ZzzzzzzServer> <[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <weblogic> <> <> <1170169783040> <000000> <MuleManager Failed to initialise (org.mule.config.ConfigurationException)
      org.mule.config.ConfigurationException: MuleManager Failed to initialise (org.mule.config.ConfigurationException)
          at org.mule.config.builders.MuleXmlConfigurationBuilder.configure(MuleXmlConfigurationBuilder.java:213)
          at org.mule.config.builders.MuleXmlBuilderContextListener.createManager(MuleXmlBuilderContextListener.java:76)
          at org.mule.config.builders.MuleXmlBuilderContextListener.contextInitialized(MuleXmlBuilderContextListener.java:50)
          at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:375)
          at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
          at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
          at weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:83)
          at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1591)
          at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:2734)
          at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:892)
          at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:336)
          at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
          at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
          at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
          at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)
          at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:117)
          at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
          at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
          at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
          at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:26)
          at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:641)
          at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
          at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:229)
          at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:154)
          at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:80)
          at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:565)
          at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:136)
          at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:104)
          at weblogic.deploy.internal.targetserver.operations.StartOperation.doCommit(StartOperation.java:128)
          at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:320)
          at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:815)
          at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1222)
          at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:433)
          at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:161)
          at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.ja
      va:181)
          at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:12)
          at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:67)
          at weblogic.work.ServerWorkManagerImpl$WorkAdapterImpl.run(ServerWorkManagerImpl.java:518)
          at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
          at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
      org.mule.config.ConfigurationException: MuleManager Failed to initialise
          at org.mule.config.builders.MuleXmlConfigurationBuilder.configure(MuleXmlConfigurationBuilder.java:252)
          at org.mule.config.builders.MuleXmlConfigurationBuilder.configure(MuleXmlConfigurationBuilder.java:208)
          at org.mule.config.builders.MuleXmlBuilderContextListener.createManager(MuleXmlBuilderContextListener.java:76)
          at org.mule.config.builders.MuleXmlBuilderContextListener.contextInitialized(MuleXmlBuilderContextListener.java:50)
          at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:375)
          at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
          at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
          at weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:83)
          at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1591)
          at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:2734)
          at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:892)
          at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:336)
          at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
          at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
          at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
          at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)
          at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:117)
          at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
          at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
          at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
          at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:26)
          at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:641)
          at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
          at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:229)
          at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:154)
          at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:80)
          at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:565)
          at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:136)
          at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:104)
          at weblogic.deploy.internal.targetserver.operations.StartOperation.doCommit(StartOperation.java:128)
          at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:320)
          at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:815)
          at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1222)
          at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:433)
          at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:161)
          at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.ja
      va:181)
          at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:12)
          at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:67)
          at weblogic.work.ServerWorkManagerImpl$WorkAdapterImpl.run(ServerWorkManagerImpl.java:518)
          at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
          at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
      org.mule.umo.lifecycle.InitialisationException: Failed to start Jdmk Agent
          at org.mule.management.agents.JdmkAgent.initialise(JdmkAgent.java:191)
          at org.mule.MuleManager.initialiseAgents(MuleManager.java:1266)
          at org.mule.MuleManager.initialise(MuleManager.java:738)
          at org.mule.MuleManager.start(MuleManager.java:843)
          at org.mule.config.builders.MuleXmlConfigurationBuilder.configure(MuleXmlConfigurationBuilder.java:247)
          at org.mule.config.builders.MuleXmlConfigurationBuilder.configure(MuleXmlConfigurationBuilder.java:208)
          at org.mule.config.builders.MuleXmlBuilderContextListener.createManager(MuleXmlBuilderContextListener.java:76)
          at org.mule.config.builders.MuleXmlBuilderContextListener.contextInitialized(MuleXmlBuilderContextListener.java:50)
          at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:375)
          at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
          at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
          at weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:83)
          at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1591)
          at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:2734)
          at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:892)
          at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:336)
          at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
          at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
          at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
          at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)
          at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:117)
          at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
          at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
          at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
          at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:26)
          at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:641)
          at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
          at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:229)
          at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:154)
          at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:80)
          at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:565)
          at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:136)
          at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:104)
          at weblogic.deploy.internal.targetserver.operations.StartOperation.doCommit(StartOperation.java:128)
          at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:320)
          at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:815)
          at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1222)
          at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:433)
          at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:161)
          at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.ja
      va:181)
          at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:12)
          at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:67)
          at weblogic.work.ServerWorkManagerImpl$WorkAdapterImpl.run(ServerWorkManagerImpl.java:518)
          at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
          at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
      Show
      ####<Jan 30, 2007 10:09:43 AM EST> <Error> <ServletContext-/xxxx-server> <aaaa.bbbbb.com> <ZzzzzzzServer> <[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <weblogic> <> <> <1170169783040> <000000> <MuleManager Failed to initialise (org.mule.config.ConfigurationException) org.mule.config.ConfigurationException: MuleManager Failed to initialise (org.mule.config.ConfigurationException)     at org.mule.config.builders.MuleXmlConfigurationBuilder.configure(MuleXmlConfigurationBuilder.java:213)     at org.mule.config.builders.MuleXmlBuilderContextListener.createManager(MuleXmlBuilderContextListener.java:76)     at org.mule.config.builders.MuleXmlBuilderContextListener.contextInitialized(MuleXmlBuilderContextListener.java:50)     at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:375)     at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)     at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)     at weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:83)     at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1591)     at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:2734)     at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:892)     at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:336)     at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)     at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)     at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)     at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)     at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:117)     at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)     at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)     at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)     at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:26)     at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:641)     at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)     at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:229)     at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:154)     at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:80)     at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:565)     at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:136)     at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:104)     at weblogic.deploy.internal.targetserver.operations.StartOperation.doCommit(StartOperation.java:128)     at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:320)     at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:815)     at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1222)     at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:433)     at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:161)     at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.ja va:181)     at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:12)     at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:67)     at weblogic.work.ServerWorkManagerImpl$WorkAdapterImpl.run(ServerWorkManagerImpl.java:518)     at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)     at weblogic.work.ExecuteThread.run(ExecuteThread.java:181) org.mule.config.ConfigurationException: MuleManager Failed to initialise     at org.mule.config.builders.MuleXmlConfigurationBuilder.configure(MuleXmlConfigurationBuilder.java:252)     at org.mule.config.builders.MuleXmlConfigurationBuilder.configure(MuleXmlConfigurationBuilder.java:208)     at org.mule.config.builders.MuleXmlBuilderContextListener.createManager(MuleXmlBuilderContextListener.java:76)     at org.mule.config.builders.MuleXmlBuilderContextListener.contextInitialized(MuleXmlBuilderContextListener.java:50)     at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:375)     at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)     at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)     at weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:83)     at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1591)     at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:2734)     at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:892)     at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:336)     at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)     at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)     at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)     at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)     at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:117)     at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)     at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)     at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)     at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:26)     at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:641)     at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)     at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:229)     at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:154)     at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:80)     at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:565)     at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:136)     at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:104)     at weblogic.deploy.internal.targetserver.operations.StartOperation.doCommit(StartOperation.java:128)     at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:320)     at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:815)     at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1222)     at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:433)     at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:161)     at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.ja va:181)     at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:12)     at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:67)     at weblogic.work.ServerWorkManagerImpl$WorkAdapterImpl.run(ServerWorkManagerImpl.java:518)     at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)     at weblogic.work.ExecuteThread.run(ExecuteThread.java:181) org.mule.umo.lifecycle.InitialisationException: Failed to start Jdmk Agent     at org.mule.management.agents.JdmkAgent.initialise(JdmkAgent.java:191)     at org.mule.MuleManager.initialiseAgents(MuleManager.java:1266)     at org.mule.MuleManager.initialise(MuleManager.java:738)     at org.mule.MuleManager.start(MuleManager.java:843)     at org.mule.config.builders.MuleXmlConfigurationBuilder.configure(MuleXmlConfigurationBuilder.java:247)     at org.mule.config.builders.MuleXmlConfigurationBuilder.configure(MuleXmlConfigurationBuilder.java:208)     at org.mule.config.builders.MuleXmlBuilderContextListener.createManager(MuleXmlBuilderContextListener.java:76)     at org.mule.config.builders.MuleXmlBuilderContextListener.contextInitialized(MuleXmlBuilderContextListener.java:50)     at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:375)     at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)     at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)     at weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:83)     at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1591)     at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:2734)     at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:892)     at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:336)     at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)     at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)     at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)     at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)     at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:117)     at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)     at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)     at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)     at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:26)     at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:641)     at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)     at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:229)     at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:154)     at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:80)     at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:565)     at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:136)     at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:104)     at weblogic.deploy.internal.targetserver.operations.StartOperation.doCommit(StartOperation.java:128)     at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:320)     at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:815)     at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1222)     at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:433)     at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:161)     at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.ja va:181)     at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:12)     at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:67)     at weblogic.work.ServerWorkManagerImpl$WorkAdapterImpl.run(ServerWorkManagerImpl.java:518)     at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)     at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
    • Similar Issues:
      MULE-705Remove dependency of sun Jndi jars for integration tests
      MULE-2548Remove the static RequestContext class
      MULE-935Move EJB dependent classes from Core to the EJB-provider
      MULE-950Remove/exclude any duplicate Spec. / RI jars and move to all-free (i.e., non-Sun) versions
      MULE-3199Connectors should have default streaming message adaptor specified in service descriptor
      MULE-1951Use Sun's maven repository for javax.mail and javax.activation
      MULE-1112Paths relative to user.dir not working properly (workaround for a Sun JDK bug)
      MULE-1947Remove dependency on commons-cli from mule-core
      MULE-634Dependency on sun.misc.*coder classes
      MULE-1140JdbcUtils enforces dependency on Dom4j

      Description

      As per http://www.mail-archive.com/user@mule.codehaus.org/msg01134.html, org.mule.management.agents.JdmkAgent.createAdaptor() always returns null.

      This was apparently in response to a licensing issue involving bundling the jar for com.sun.jdmk.comm.HtmlAdaptorServer.

      Rather than not use JdmkAgent, leaving it broken or hagging the license, I'd recommend the lesser evil of reflection:

      private String adapterClassname = "com.sun.jdmk.comm.HtmlAdaptorServer";

      protected Object createAdaptor() throws Exception
      {
      return (
      adaptor = (
      java.lang.Class.forName(
      adapterClassname
      ).getDeclaredConstructor(
      new Class[]

      { java.lang.Integer.TYPE }


      )
      ).newInstance( new Object[]

      { new Integer( new URI( jmxAdaptorUrl ).getPort() ) }

      )
      );
      }

      This way installations which want to use JdmkAgent would be responsible for installing a copy of a something like jmxtools-1.2.1.jar.

        Activity

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open In Progress In Progress
        1h 6m 1 Andrew Perepelytsya 30/Jan/07 03:39 PM
        In Progress In Progress Closed Closed
        36m 1 Andrew Perepelytsya 30/Jan/07 04:15 PM

          People

          • Assignee:
            Andrew Perepelytsya
            Reporter:
            Brian Hammond
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development