1 Reply Latest reply on Nov 17, 2003 7:23 AM by frans

    Choose configuration when run as service

    frans

      I have installed JBoss as a windows service using javaservice.exe (as in the 3.0.x quick start guide). No problems there. JBoss is running as a service on two separate machines that I would like to cluster. Clustering is enabled by starting JBoss with the 'all' configuration. From the command line: "run -c=all". But the windows service uses the default configuration! Is there any way I can set the server configuration name for a JBoss windows service?

        • 1. Re: Choose configuration when run as service
          frans

          To answer my own question: I have switched from JavaService.exe to the Java Service Wrapper. Because it uses a configuration file (wrapper.conf), it is possible to easily change the configuration. Stop the service, change the appropriate wrapper.app.parameter.* line in wrapper.conf and start the service again.