0 Replies Latest reply on Jun 8, 2005 2:52 PM by awesomejt

    HINT: Telling JavaService+JBoss about the config to use

    awesomejt

      Just wanted to pass on a trick I just figured out. I was using the -params to pass in the "-c configname" to specify which server config to use but ran into problems with spaces in the file paths of the files JBoss was attempting to load and read. The way I solved this problem was to use JBoss's Java property method of specifying the server config to use:

      -Djboss.server.name=serverconfigname

      Pass the above java property in your install service command to tell JBoss to use a non-default server config.

      The property method of specifying the server config has other applications, but I found it imparative for using JavaService.

      Enjoy.