1 Reply Latest reply on Jan 14, 2009 6:25 PM by peterj

    Starting specific configurations with jbosssvc.exe


      I notice that in JBossAS 5.0 GA, jbosssvc.exe and service.bat are included to install JBoss as a Windows service.

      Is it possible to customize the service configuration to start a specific JBoss configuration? This would be similar to passing the -c option on the command line.

      What I'd like to be able to do is to have 2 windows services (or more) that start up separate configurations, similar to:
      run.bat -c node1
      run.bat -c node2

      I guess any way to pass generic arguments to the run script from the service configuration would be good as I might need to pass other system properties that are different for each configuration (like ServiceBindingManager port sets).