[jboss-user] [Management, JMX/JBoss] - Error while deploying application using JMX

litalh do-not-reply at jboss.com
Mon Jan 29 04:05:31 EST 2007


Hi,

When trying to deploy my application on jboss 4.0.5 using JMX this way: 

MBeanServerConnection server = (MBeanServerConnection) ctx.lookup("jmx/invoker/RMIAdaptor");
        server.invoke("jboss.system:service=MainDeployer", "deploy", new Object[]{"http://localhost:8080/AppSight/download/installer?filename=/jboss/AppSightInstallerService.deployer"},
                new String[]{"java.lang.String"});

I get the following error:
MBeanException: null Cause: Incomplete Deployment listing:

--- Packages waiting for a deployer ---
org.jboss.deployment.DeploymentInfo at e8499f27 { url=http://localhost:8080/AppSight/download/installer?filename=/jboss/AppSightInstallerService.deployer }
  deployer: null
  status: null
  state: INIT_WAITING_DEPLOYER
  watch: http://localhost:8080/AppSight/download/installer?filename=/jboss/AppSightInstallerService.deployer
  altDD: null
  lastDeployed: 1170061350616
  lastModified: 1170061350616
  mbeans:

--- Incompletely deployed packages ---
org.jboss.deployment.DeploymentInfo at e8499f27 { url=http://localhost:8080/AppSight/download/installer?filename=/jboss/AppSightInstallerService.deployer }
  deployer: null
  status: null
  state: INIT_WAITING_DEPLOYER
  watch: http://localhost:8080/AppSight/download/installer?filename=/jboss/AppSightInstallerService.deployer
  altDD: null
  lastDeployed: 1170061350616
  lastModified: 1170061350616
  mbeans:

This works great on versions prior to 4.0.3.

Any idea? Was there any a change in the way we should access JMX between the versions ?

Thanks,
Lital 

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4007689#4007689

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4007689



More information about the jboss-user mailing list