1 Reply Latest reply on Oct 25, 2006 9:03 AM by Edith Hofer

    Classloader issue: deployment at runtime

    Edith Hofer Newbie

      with RMI and the MainDeplyoer I deploy a war file in jboss:

      RMIAdaptor server = (RMIAdaptor)jndiContext.lookup("jmx/rmi/RMIAdaptor");
      javax.management.ObjectName name = new javax.management.ObjectName("jboss.system:service=MainDeployer");
      server.invoke(name,"deploy",new Object[]{deployurl},new String[]{java.lang.String});

      However, I need to run this war fiel with my own custom deployer. Does anyone know how to do that?