1 Reply Latest reply on Mar 8, 2011 9:12 AM by Udo

    APEX Listener 1.1 Stand Alone : Start without reconfiguration?

    Roel Hartman
      I can start the AL in StandAlone mode using java [options] -jar apex.war, but then I have to reconfigure (define admin etc) it every time.

      Can I start the APEX Listener in Stand Alone mode without reconfiguring it every time? How?
        • 1. Re: APEX Listener 1.1 Stand Alone : Start without reconfiguration?
          Udo
          Hello Roel,

          what OS are you using and what kind of user is starting the APEX Listener?
          Per default, the configuration is stored in a apex -directory below the java.io.tmpdir. On Windows systems, this usually is the users TEMP, which is located in the users Local Settings, but a different location may be configured in the environment variables. On Linux/Unix systems, the default will depend on your distribution and the actual location again on set environment variables.
          I can run the APEX Listener standalone without the need to reconfigure it. I only have to do this when the TEMP is cleaned up. Possibly, this is done in your case or the Listener can't even read/write there.
          An option to ensure that the configuration persists would be to configure the config.dir parameter in the web.xml to point to a directory that is available permanently. To do that in standalone mode, you have to edit the web.xml inside the war file or unpack the war, edit the file and repack it afterwards.

          -Udo