2 Replies Latest reply on Oct 27, 2006 5:43 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 file with my own custom classloader. Does anyone know how to do that?