3 Replies Latest reply: May 3, 2013 8:32 AM by Udo RSS

    help,listener home page return blank.error:apex undefined

    user12099233
      I install apex listener on another machine,not the apex db host.
      and running in standalone mode:

      /usr/java/jdk1.6.0_45/bin/java -jar apex.war
      May 2, 2013 10:44:11 AM oracle.dbtools.standalone.Standalone execute
      INFO: NOTE:

      Standalone mode is designed for use in development and test environments. It is not supported for use in production environments.

      May 2, 2013 10:44:11 AM oracle.dbtools.standalone.Standalone execute
      INFO: Starting standalone Web Container in: /tmp/apex_listener/apex
      May 2, 2013 10:44:11 AM oracle.dbtools.standalone.Deployer deploy
      INFO: Will deploy application path = /tmp/apex_listener/apex/apex/WEB-INF/web.xml
      May 2, 2013 10:44:12 AM oracle.dbtools.standalone.Deployer deploy
      INFO: Deployed application path = /tmp/apex_listener/apex/apex/WEB-INF/web.xml
      May 2, 2013 10:44:12 AM oracle.dbtools.common.config.file.ConfigurationFolder logConfigFolder
      INFO: Using configuration folder: /tmp/apex_listener/apex
      Configuration properties for: apex
      cache.caching=false
      cache.directory=/tmp/apex/cache
      cache.duration=days
      cache.expiration=7
      cache.maxEntries=500
      cache.monitorInterval=60
      cache.procedureNameList=
      cache.type=lru
      db.hostname=132.*.*.*
      db.password=******
      db.port=1549
      db.sid=apexdb
      debug.debugger=false
      debug.printDebugToScreen=false
      error.keepErrorMessages=true
      error.maxEntries=50
      jdbc.DriverType=thin
      jdbc.InactivityTimeout=1800
      jdbc.InitialLimit=3
      jdbc.MaxConnectionReuseCount=1000
      jdbc.MaxLimit=10
      jdbc.MaxStatementsLimit=10
      jdbc.MinLimit=1
      jdbc.statementTimeout=900
      log.logging=false
      log.maxEntries=50
      misc.compress=
      misc.defaultPage=apex
      security.disableDefaultExclusionList=false
      security.maxEntries=2000
      db.username=APEX_PUBLIC_USER
      Using JDBC driver: Oracle JDBC driver version: 11.2.0.3.0
      May 2, 2013 10:44:14 AM oracle.dbtools.rt.web.SCListener contextInitialized
      INFO: Oracle Application Express Listener initialized
      Application Express Listener version : 2.0.1.64.14.26
      Application Express Listener server info: Grizzly/1.9.49

      May 2, 2013 10:44:14 AM com.sun.grizzly.Controller logVersion
      INFO: GRIZZLY0001: Starting Grizzly Framework 1.9.49 - 5/2/13 10:44 AM
      May 2, 2013 10:44:14 AM oracle.dbtools.standalone.Standalone execute
      INFO: http://localhost:8080/apex started.

      but when I open the homepage http://132.*.*.*:8080/apex,it return blank,and I check the error:the apex undefined line:110
      Is there any thing I didn't set correctly?
      help me please,thank you all!
        • 1. Re: help,listener home page return blank.error:apex undefined
          Udo
          Hello, and welcome to the OTN forums!

          I gathered some clues from your post:
          I install apex listener on another machine,not the apex db host.
          INFO: http://localhost:8080/apex started
          but when I open the homepage http://132...*:8080/apex,
          I guess your 132... is the database host. Why do you expect APEX Listener to listen on that host instead of the machine you've started it on?
          If it's just a misunderstanding because both your hosts use some 132.* address, but actually two different ones (which doesn't become clear in your post), possibly you have a firewall issue: Did you open TCP port 8080 on the host that runs APEX Listener? And does your database host allow connections on TCP port 1549 (which you have configured APEX Listener to use to connect to the APEX database)? I expect an error message for the latter case in APEX Listener's log, so I still think your browser's request doesn't hit APEX Listener...

          -Udo
          • 2. Re: help,listener home page return blank.error:apex undefined
            user12099233
            http://132...*:8080/apex,
            this is the host which I start the listener,
            and the db host is another 132.*.*.*. And I can query the database through the 1549 port from anyplace.
            But the host which I start the listener, is just a linux machine,and didn't make any config else.just unzip the file and run 'java -jar apex.war'.Is there anything I should do at the machine?


            now I copy the apex4.2 zip file to the host where I started the listener,and unzip the images folder,it working now!
            thankyou Udo!

            Edited by: user12099233 on 2013-5-3 上午2:42
            • 3. Re: help,listener home page return blank.error:apex undefined
              Udo
              Great to hear you've got your APEX Listener up and running now!
              If your issue is solved, please mark this thread as answered and any helpful or correct post accordingly, so other user searching for information on similar issues can spot relevant posts easily.

              Thanks, Udo