1 Reply Latest reply on May 5, 2011 1:07 PM by Udo

    Need help for Configuring Oracle APEX Listener as Standalone using mod_jk

    Jaydip Bosamiya
      Hi All,

      I have download Oracle APEX listener and i want to i am now trying to configure the oracle apex listener using mod_jk.

      I have few questions.

      1. do i need any application server already before i start installing ? if yes than which one.
      2. i had fired following command after i download it

      java -Dapex.home=/tmp/apex -Dapex.images=/home/oracle/apex/images -Dapex.port=8000 -jar apex.war

      3. it starts the apex listener process, but now how could i configure it? i had tried following url but it wont workout for me.

      http://localhost:8000/apex/listenerConfigure -> shows "could not established connection"
      http://localhost:8009/apex/listenerConfigure -> shows "blank page" but in server console it writes following error

      SERVER: Error, processing connection
      java.lang.IndexOutOfBoundsException

      Actually I am new to Oracle APEX Listener and i have not configure it before

      Please guide me how can i go ahead from this.

      Thanks,
      Jaydip Bosamiya
      +91 - 76000 23053
        • 1. Re: Need help for Configuring Oracle APEX Listener as Standalone using mod_jk
          Udo
          Hi Jaydip,
          1. do i need any application server already before i start installing ? if yes than which one.
          No. You can just run the APEX Listener in standalone mode, as you have it there. The standalone is supposed to support AJP (i.e., communication with other mod_jk-instances).
          2. i had fired following command after i download it

          java -Dapex.home=/tmp/apex -Dapex.images=/home/oracle/apex/images -Dapex.port=8000 -jar apex.war
          No question here?
          If you have JDK (not JRE) 1.6.0_20 or higher and all paths are correct, this should actually start the APEX Listener in standalone mode.
          3. it starts the apex listener process, but now how could i configure it? i had tried following url but it wont workout for me.

          http://localhost:8000/apex/listenerConfigure -> shows "could not established connection"
          Appears to be correct if you have your client (browser) on the same machine you have started the Listener on and the Listener started up without issues.
          Note that you need to enter usernames and passwords for admin and management user at the first startup in standalone mode. Where you able to do that and did the Listener startup without any errors?
          Is there any other service using Port 8000 on your system?
          Do you see any errors in the Listeners console output in that case?
          http://localhost:8009/apex/listenerConfigure -> shows "blank page" but in server console it writes following error

          SERVER: Error, processing connection
          java.lang.IndexOutOfBoundsException
          This would be the AJP port, I guess, so you can't use it for HTTP requests. Anyway, the HTTP client port is 8000 in the scenario you started in 1.)
          Note that you have to provide the start option "-Dapex.ajp" with port number to enable AJP support. (See end of section 1-4 of the installation manual)

          -Udo

          Edited by: Udo on 05.05.2011 15:06