0 Replies Latest reply on Jan 28, 2007 5:10 AM by lital hacham

    Problem deploy my application using JMX over RMI

    lital hacham Newbie

      Hi,

      I'm trying to deploy my application using JMX over RMI. This works great on jboss 4.0.2 but failes on jboss 4.0.3 and later versions.
      I'm performing the deploy operation calling:

      server.invoke(deployment.getMainDeployer(), "deploy", new Object[]{"http://localhost:8080/AppSight/download/installer?filename=/jboss/AppSightInstallerService.deployer"},
      new String[]{"java.lang.String"});

      As aresult I get the following error:
      Caused by: Incomplete Deployment listing:

      --- Packages waiting for a deployer ---
      org.jboss.deployment.DeploymentInfo@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: 1169745706645
      lastModified: 1169745706630
      mbeans:

      Was there any change in the way the JMX works in these versions.

      I will appreciate any help.
      Thanks,
      Lital