0 Replies Latest reply on Jul 15, 2004 7:33 AM by sys user

    Start JBoss from JAVA-class

    sys user Master

      Hello,

      does anyone know how I can start the JBoss server within Java-code?
      I have written a Java-class which reads properties and should start JBoss after reading the properties.
      Jonas for example can be started in a Java-file with the command

      org.objectweb.jonas.server.Server.main(xxx);

      I thought JBoss could be started with

      org.jboss.Main

      but this does not work.

      thanks for answers