APEX listener - empty page ??

Hi,
I have installed tomcat / APEX listener on Oracle Enterprise Linux 5 (with 11gR2 database)
The configuration seems to be done ... but the page: http://oel52server:8080/apex/apex give me an empty page ?
do you know what's wrong ?
Cyryl

Thanks for the answers.
I have a similar problem-- but I believe it may not be because of JDK ver. (becaue I already use ver. 6.0).
Although I am able to see the Apex login page. http://localhost:8888/apex/, but no images are displayed. Moreover it asks for Workspace, Username, Password which I am unaware of (it did not ask for any such information while installing apex). It looks like none of the buttons/links are active. Did I do anything wrong while installing apex?
This is how I installed Apex.
1. Downloaded and installed tomcat application server and Apex Listener as per the instructions given in the link:
http://www.oracle.com/technology/products/database/application_express/html/apex_listener_install_web.html
(section B. Installing with Apache Tomcat in the installation )
2. The images are copied to the following location (as given in the instruction):
C:\apache-tomcat-6.0.24\webapps\ROOT\images
3. Started both oracle db server and tomcat app. server
4. Opened the page http://localhost:8888/apex/Config
at this point I get the login page with no images and inactive links/buttons.
Appreciate any help.
Thank you,
Pravy

Similar Messages

  • APEX listener returns blank login page

    APEX 4.2.2
    APEX listener 2.0.2
    Glassfish 3.1.2.2
    Platform is 32bit Linux, Amazon EC2
    I am reasonably certain that I have deployed apex.war and i.war correctly to Glassfish, and defined a virtual path and a database connection correctly.
    When running Firefox on the EC2 machine, browsing to
    http://localhost:8080/apex/dad1/
    returns a login page no problem. But browsing to the external, publicly visible, address (I have to obscure the actual address, I'll use a.b.c.d) either from the hosting machine or across the net returns an empty page:
    http://a.b.c.d:8080/apex/dad1/
    This succeeds:
    http://a.b.c.d:8080
    I get the standard Glassfish page so I know Glassfish is listening on that address.
    I have also tried starting the listener standalone, and I get the same effect: it returns a login screen when browsing to the localhost, but going to the external address I get a blank page.
    The pages really are blank, nothing shows in the page source and this is all Firebug returns:
    <html>
    <head> 
    <link title="Wrap Long Lines" href="resource://gre-resources/plaintext.css" type="text/css" rel="alternate stylesheet"> 
    </head>
    <body> 
    <pre></pre> 
    </body>
    </html>
    I have been trying to enable tracing of the request on the server side, but I haven't yet found a way to produce the equivalent of an access.log. Searching the forum did produce a couple of references to "routing rules" but I have been unable to find what and where these might be.
    As the listener works perfectly when going to localhost, I cannot believe that rthis is the common problem of not finding imges, or an issue with url mapping. But I am of course open to any suggestions!
    Any insight will be welcome.
    Thank you for your time.

    Fixed. Finally tracked it down, a redirection problem fixed with patch 16760897.
    Thank you to anyone who looked at this, sorry to have wasted your time, hope posting the solution will assist someone else.

  • Apex Listener return blank pages with no configuration errors!

    - I set up an Apex Listener "Version:1.1.3.243.11.40" at "10.0.114.11" in standalone mode.
    - I configured Apex Listener via http://10.0.114.11:8585/apex/listenerConfigure and return with no errors.
    - I get http://10.0.114.11:8585/apex/listenerStatus, it returned this:
    Current Time:     Tue Dec 13 17:06:32 ICT 2011
    Server Uptime:     0 Days 01:10:14.101
    Total Accesses:     38.0
    Total Traffic:     161.34K
    Total Errors:     0
    Total File Downloads:     0
    Total Processing Time:     0 Days 00:00:09.354
    Processing Time in milliseconds:     Minimum: 20 Average: 246 Median: 64 Maximum: 3062
    Database Time in milliseconds:     Minimum: 14 Average: 61 Median: 50 Maximum: 204
    Active Requests:     0
    Connections in the pool apex:
    Active: 0 Available: 1
    But when I go to "http://10.0.114.11:8585/apex" or "http://10.0.114.11:8585/apex/apex_admin", I got blank pages.
    The page displays "Application Express Login" or "Application Express Administration Services" in the tab at the top of IE, but nothing else. Anyone have any ideas what could be happening here ?
    thanks so much,

    Hi Udo!
    I run apex_listener with this below command and the output is that:
    java -Dapex.home=/tmp/apex -Dapex.images=/tmp/apex/apex/images -Dapex.port=8585 -Dapex.erase -jar /source_install/apex_listener.1.1.3.243.11.40/apex.war
    INFO: Starting: /source_install/apex_listener.1.1.3.243.11.40/apex.war
    See: 'java -jar apex.war --help' for full range of configuration options
    INFO: Extracting to: /tmp/apex
    INFO: Using classpath: file:/tmp/apex/apex/____embedded/start.jar:file:/tmp/apex/apex/WEB-INF/lib/poi-3.6-20091214.jar:file:/tmp/apex/apex/WEB-INF/lib/commons-fileupload-1.2.1.jar:file:/tmp/apex/apex/WEB-INF/lib/je-4.0.103.jar:file:/tmp/apex/apex/WEB-INF/lib/apex.jar:file:/tmp/apex/apex/WEB-INF/lib/ojmisc.jar:file:/tmp/apex/apex/WEB-INF/lib/ucp.jar:file:/tmp/apex/apex/WEB-INF/lib/xdb-11.2.0.jar:file:/tmp/apex/apex/WEB-INF/lib/xmlparserv2-11.2.0.jar:file:/tmp/apex/apex/WEB-INF/lib/ojdbc6.jar:
    INFO: Starting Embedded Web Container in: /tmp/apex
    Dec 13, 2011 6:40:22 PM ____bootstrap.Deployer deploy
    INFO: Will deploy application path=/tmp/apex/apex/WEB-INF/web.xml
    Dec 13, 2011 6:40:22 PM ____bootstrap.Deployer deploy
    INFO: deployed application path=/tmp/apex/apex/WEB-INF/web.xml
    Using config file: /tmp/apex/apex-config.xml
    -- listing properties --
    PropertyCheckInterval=60
    ValidateConnection=true
    MinLimit=1
    MaxLimit=10
    InitialLimit=3
    AbandonedConnectionTimeout=900
    MaxStatementsLimit=10
    InactivityTimeout=1800
    MaxConnectionReuseCount=1000
    APEX Listener version : 1.1.3.243.11.40
    APEX Listener server info: Grizzly/1.9.18-o
    Dec 13, 2011 6:40:23 PM com.sun.grizzly.Controller logVersion
    INFO: Starting Grizzly Framework 1.9.18-o - Tue Dec 13 18:40:23 ICT 2011
    INFO: http://localhost:8585/apex started.
    Using JDBC driver: Oracle JDBC driver version: 11.2.0.2.0
    I don't know how to "could you please check if you configured the directory for the static contents ("images") correctly"
    because the Installation Guide of Oracle about Install Apex in standalone mode do not tell me to configure images any more. I just run apex listener with above command "java -Dapex.home=/tmp/apex -Dapex.images=/tmp/apex/apex/images -Dapex.port=8585 -Dapex.erase -jar /source_install/apex_listener.1.1.3.243.11.40/apex.war".
    Thank you for your reply,Udo!

  • APEX Listener with APEX 3.0 on 11gR2

    Yes, I am crazy.
    We have many many APEX applications in APEX 3.0 running on a 10.2.0.4 database that needs desperately to be upgraded. As a test, I've set up a clean 11gR2 database and copied the production APEX database into it via datapump. I set up APEX Listener, as I don't have any OAS sitting around and the EPG doesn't seem to be supported for APEX 3.0... the Listener doesn't say one way or the other.
    When trying to log in, I get the login page, but it tries to reference files such as apex_get_3_1.js while I only have files such as htmldb_get.js in my images directory in production. I noticed it is looking for what appears to be 3.1 files instead of 3.0 files... which concerns me.
    The APEX listener appears to be more than just a Java PL/SQL gateway.
    Is there a minimum version of APEX the APEX Listener supports?
    Interested in pointers!
    Rob

    Hi Rob,
    Yes, I am crazy.Why would that be? ;)
    We have many many APEX applications in APEX 3.0 running on a 10.2.0.4 database that needs desperately to be upgraded. As a test, I've set up a clean 11gR2 database and copied the production APEX database into it via datapump. I set up APEX Listener, as I don't have any OAS sitting around and the EPG doesn't seem to be supported for APEX 3.0... the Listener doesn't say one way or the other.APEX 3.0 is supprted by EPG. See the [url http://docs.oracle.com/cd/B32472_01/doc/install.300/b32468/post_inst.htm#CHDBEJDA]APEX 3.0 Installation Guide for details.
    APEX Listener is capable of hosting APEX 3.0 as well, though APEX 3.0 wasn't supported anymore when APEX Listener was initially released. The current APEX release at that time was 4.0, so this would be the first version to be known as really stable, whereas you won't get any support for older releases anymore. From personal experience I know that there are now issues with APEX 3.1 and APEX Listener, so it'll probably also work with 3.0.
    Concerning your database release, the minimum for APEX Listener is 10.2.0.3, so you're definetly safe on that part, though I'd recommend to upgrade as regular support for 10.2 databases ended.
    When trying to log in, I get the login page, but it tries to reference files such as apex_get_3_1.js while I only have files such as htmldb_get.js in my images directory in production. I noticed it is looking for what appears to be 3.1 files instead of 3.0 files... which concerns me.This indicates that your APEX would actually be a 3.1 and you should update you images directory.
    The APEX listener appears to be more than just a Java PL/SQL gateway.It is, but this has nothing to do with your 3.1 JS files, if this is why you stated this.
    Is there a minimum version of APEX the APEX Listener supports?As mentioned above, 4.0 would be a safe approach, but 3.1 will definetly work, 3.0 probably will as well. I'd recommend you find out which APEX version is actually installed on your database before you consider any upgrade operations. Run the following query as privileged user:
    SELECT comp_name, version, status
      FROM dba_registry
    WHERE comp_id = 'APEX';-Udo

  • APEX Listener versus classic Application Server

    Currently we use the APEX Listener with the stand-alone configuration to access the URL af an APEX application.
    This might not be a suitable situation for a production environment.
    In a short, here are the (possible) requirements:
    - Sessions must be able to access at the same time the same APEX application and page.
    Let's say 500 users should be able to access it with no trouble.
    - If there are some pages accessed very frequently, they should be cached (how?) without having to request them all the time from the database.
    - If more than 500 users are accessing the application, to avoid latency, there should be a "mechanism" to make them "waiting" until the allowed amount of concurrent sessions is below 500, and without impacting (or with low impact) of other working sessions.
    I have little knowledge of middle ware environment, but this seems to me specifications for an application server and or a web server.
    Hera are my questions:
    1) Is it possible to implement such above mechanism with the APEX Listener?
    2) If not possible, what should I consider?
    Thanks by advance for sharing your experience.
    Kind Regards.

    user8058501 wrote:
    Currently we use the APEX Listener with the stand-alone configuration to access the URL af an APEX application.
    This might not be a suitable situation for a production environment.
    Standalone mode is not supported for production environments, see here for why:
    https://cdivilly.wordpress.com/2013/03/11/oracle-application-express-listener-standalone-mode/
    In a short, here are the (possible) requirements:
    - Sessions must be able to access at the same time the same APEX application and page.
    Let's say 500 users should be able to access it with no trouble.
    - If there are some pages accessed very frequently, they should be cached (how?) without having to request them all the time from the database.
    - If more than 500 users are accessing the application, to avoid latency, there should be a "mechanism" to make them "waiting" until the allowed amount of concurrent sessions is below 500, and without impacting (or with low impact) of other working sessions.
    I have little knowledge of middle ware environment, but this seems to me specifications for an application server and or a web server.
    Hera are my questions:
    1) Is it possible to implement such above mechanism with the APEX Listener?
    2) If not possible, what should I consider?
    Essentially you are asking how do I tune the number of database connections and also how do I tune the number of HTTP request handling threads.
    The former is controlled via the Listener configuration files, specifying the size of the connection pool etc, if you look at the configuration file or use the SQL Developer Listener admin tool the settings are pretty self explanatory, the latter is controlled by the application server, see below for WebLogic documentation on this:
    http://docs.oracle.com/cd/E24329_01/web.1211/e24390/wls_tuning.htm#i1142745
    Thanks by advance for sharing your experience.
    Kind Regards.

  • Apex Listener authentication.

    I want to use Apex Listener for my pl/sql web application (now I use mod_plsql).
    How can I implement authentication in order to protect pages from unauthorized use (like OWA_CUSTOM does in nod_plsql)?
    Tks
    Tullio

    Hi Udo and Tullio,
    I am testing the listener against APEX 4.1. I would like to integrate the APEX applications in our SSO system. We are using SAML2, so I have configured a Weblogic Server for working as a Service Provider. In this server I have deployed the apex.war and I have registered the /apex/* pattern in my Identity Provider (Active Directory Federation Services). In this way, when I make a request of any of my APEX applications (apex/f?p=123:...), if I have not a valid session I am redirected to the Identity Provider Login page. This is working fine, more or less, I have to do more testing...
    My question is, do you think that is this the best approach for securing the APEX applications? In order to everything works ok, I have to declare a security constraint in the web.xml...
    <security-constraint>
         <web-resource-collection>
              <web-resource-name>APEX Application Calls</web-resource-name>
              <url-pattern>/*</url-pattern>
              <http-method>GET</http-method>
              <http-method>POST</http-method>
         </web-resource-collection>
         <auth-constraint>
              <role-name>FederatedUsers</role-name>
         </auth-constraint>
    </security-constraint>
    ...and in the weblogic.xml I just map the FederatedUsers against a principal:
    <security-role-assignment>
         <role-name>FederatedUsers</role-name>
         <principal-name>users</principal-name>
    </security-role-assignment>
    Also I have declared a filter for injecting some info in the headers request (needed for the APEX applications), but this is another story...
    Thanks in advance,
    Luis

  • Apex Listener in standalone mode, how to set/reset db connection.

    Sometime ago I installed Apex Listener for testing, then I removed it.
    Now I downloaded last version, installed it in standalone mode and try to set the DB connection.
    However when I try to edit in listenerAdmin page the db connection parameters I can't : they are greyed and report the connection informations I gave in my first test installation.
    How can I change them ?
    How can I avoid all fields in listenerAdmin greyed ?
    Tks
    Tullio

    Hello Tullio,
    you can run /listenerConfigure/ only as long as there is no configuration available. The database parameters can only be setup when the APEX Listener is not connected due to the state of its connection pool. Once it is established, you can only configure it offline by editing the apex-config.xml . That's why the parameters are greyed out in /listenerAdmin/.
    You probably only removed the war file of your test installation, but not the apex.home including the apex-config.xml that is stored in there. So your new installation found the old home and reused the connection.
    You could either edit the apex-config.xml or delete the apex.home and rerun /listenerConfigure/
    If you run on a windows system, you'll find the apex.home in your users TEMP, usually located in the temp folder underneath the local settings of your user profile. The directory to locate is now called "apex".
    -Udo

  • Apex Listener Configuration

    Hello Experts,
    I install apex and configure the apex listener at port 80 by mistake couldn't pay attention to use port 8080. The installation is complete but the apext is running at lhttp://localhost/apex but the login window is invisible on the page. I can just see the name on the tab "Application Express Login" . When i click on the error message at the bottom of the browser, the message says "apex is undefied" line 35 can someone help?

    Hello,
    I believe your question is better suited to the APEX Listener discussion forum: ORDS, SODA & JSON in the Database
    Joel

  • APEX Listener 2.0 - RESTful Services Failure with  404 - Not Found

    Versions used:
    * APEX Listener 2.0.0.354.17.05
    * Application Express 4.2.1.00.08
    * Oracle Database 11.2.0.1
    When testing the sample RESTful Service Module oracle.example.hr I always get 404 - Not Found page.
    I followed the documentation to install and configure APEX 4.2 and the Listener 2.0. Everything in my APEX installation works fine except RESTful Services.
    For example, when calling this RESTful Service:
    http://company.com:45678/apex/DEV/xxuapex/hr/empinfo/
    I get a 404 page.
    The corresponding entry in url-mapping.xml is:
    <pool base-path="/DEV" name="od01" workspace-id="xxuapex"/>
    where xxuapex is the name of the schema as well as the workspace where the RESTful Service is installed.
    Moreover, the corresponding od01.xml, od01_rt.xml and od01_al.xml in the conf directory seem correct.
    Any help is greatly appreciated.
    Thanks.
    Eddie Awad.

    Hi Eddie,
    +> try the other option base-url of the url-mapping+
    I did. No change. Still getting 404.When active it should transform the 404 page into a detailed 404 with a description of what the error is. Just to be sure, this is activated in the defaults.xml file of the APEX Listener as: *<entry key="log.logging">true</entry>*.
    You should then see a detailed 404 output in your browser of what's going wrong first of all.
    +> Could you post your url-mapping.xml file?+
    <?xml version="1.0" encoding="UTF-8"?>
    <pool-config xmlns="http://xmlns.oracle.com/apex/pool-config">
    <pool base-path="/DEV" name="od01" workspace-id="xxuapex"/>
    <pool base-path="/TEST" name="ot01" workspace-id="xxuapex"/>
    </pool-config>
    Despite using the url mapping script, it didn't map mine correctly and had to edit it manually. It was the use of "apex" that got it to work for me:
    *<pool base-path="/" name="apex" workspace-id="workspace-name-here" updated="2013-01-09T20:48:59.75Z"/>*
    Nick.

  • APEX Listener and EPG - strange behaviour

    Hi
    For some years, I've used EPG for APEX but have struggled with performance particularly as I can have up to 150 student developers using at any one time.
    I do a fair amount of work using ORDImage and have successfully developed APEX applications to upload image files and display full-size and thumbnail images.
    After upgrading to APEX 4.1 (from 4.0), I decided to install APEX Listener standalone.
    Before I did so I checked that my applications still worked in 4.1 and they did.
    However, just installing APEX Listener but not configuring it (yet) has meant that my image display in a report using a procedure based on wpg_docload.download_file( l_ordimage_image.source.localData ) no longer works in EPG - the images are not displayed.
    Configuring APEX Listener and running the same application through that DOES display the images.
    So this part of the application works under APEX Listener but not under EPG.
    My application also allows users to upload images from APEX_APPLICATION_FILES using standard code. Under APEX Listener after uploading, I'm left with a blank page with a wwv_flow.accept URL although the image does indeed upload. Under EPG it works as expected and I get a success confirmation.
    So this part of the application works under EPG but not under APEX Listener.
    Has anyone else come across different behaviour depending on the mode of connection?
    Thanks
    Brian
    [Oracle EE 11gR2, Windows Server 2008R2, APEX 4.1, APEX Listener 1.1.3]

    Hi Brian,
    it sounds like you have both EPG and APEX Listener running on the same machine, so your problem might result from a port conflict. Note that both services use TCP port 8080 as default.
    At least a port conflict would explain the strange behaviour in your case, some things working on one web server and some on the other.
    Some parts of your initial post hint to that direction, e.g.
    However, just installing APEX Listener but not configuring it (yet) has meant that my image display in a report using a procedure based on >wpg_docload.download_file( l_ordimage_image.source.localData ) no longer works in EPG - the images are not displayed.... because the APEX Listener only interfere with the EPG if it is at least running on the same machine as your database and furthermore, if it is unconfigured in terms of ist database connection, a port conflict might be the only way it could cause anything like that.
    However, if you are sure that's not the issue, please check if you see any error in the APEX Listener's log for the following action you performed:
    My application also allows users to upload images from APEX_APPLICATION_FILES using standard code. Under APEX Listener after uploading, I'm left with a blank >page with a wwv_flow.accept URL although the image does indeed uploadIf you actually see just a blank screen, something very bad must have happened and you should see some kind of stack trace there.
    For further investigations, if necessary, it would be helpful to know how you deployed or started your APEX Listener and which JDK version you use.
    For the moment, I still think the port conflict is my best guess.
    You could avoid it by either changing the port for EPG (I'd not recommend that if you have other users still using it) or by changing the port for your APEX Listener.
    -Udo

  • Apex Listener Configuration Issue.

    Hi there,
    As I wanted to try the latest Restful services in apex 4.2, I decided to install Apex Listener 2.0. I downloaded the file and followed the steps as in the installation notes. As a pre-requisite, I configured the Restful services successfully in apex 4.2 along with Oracle 11g Express Edition. However, the installation of listener seems to be not compleated successfully with the following installation feed back.
    D:\software\apex_listener>java -jar apex.war
    This Listener instance has not yet been configured.
    Please complete the following prompts
    Enter the location to store configuration data:d:\apexlistnerconf
    Dec 27, 2012 3:34:47 PM oracle.dbtools.common.config.cmds.ConfigDir execute
    INFO: Set config.dir to d:\apexlistnerconf in: D:\software\apex_listener\apex.war
    Dec 27, 2012 3:34:49 PM oracle.dbtools.common.config.file.ConfigurationFolder logConfigFolder
    INFO: Using configuration folder: D:\apexlistnerconf\apex
    Enter the name of the database server [localhost]:
    Enter the database listen port [1521]:
    Enter 1 to specify the database service name, or 2 to specify the database SID [1]:2
    Enter the database SID [xe]:
    Enter the database user name [APEX_PUBLIC_USER]:
    Enter the database password for APEX_PUBLIC_USER:
    Password must not be empty
    Enter the database password for APEX_PUBLIC_USER:
    Confirm password:
    Enter 1 to enter passwords for the RESTful Services database users (APEX_LISTENER,APEX_REST_PUBLIC_USER), 2 to use the same password as used for APEX_PUBLIC_USER or, 3 to skip this step [1]:3
    Dec 27, 2012 3:37:03 PM oracle.dbtools.common.config.file.ConfigurationFiles update
    INFO: Updated configurations: defaults, apex
    Enter 1 if you wish to start in standalone mode or 2 to exit [1]:
    Enter the APEX static resources location or Enter to skip:D:\software\apex42en\apex\images
    Enter the HTTP port [8080]:
    Dec 27, 2012 3:41:17 PM oracle.dbtools.standalone.Standalone execute
    INFO: NOTE:
    Standalone mode is designed for use in development and test environments. It isnot supported for use in production environments.
    Dec 27, 2012 3:41:17 PM oracle.dbtools.standalone.Standalone execute
    INFO: Starting standalone Web Container in:  d:\apexlistnerconf\apex
    Dec 27, 2012 3:41:17 PM oracle.dbtools.standalone.Deployer deploy
    INFO: Will deploy application path = d:\apexlistnerconf\apex\apex\WEB-INF\web.xml
    Dec 27, 2012 3:41:17 PM oracle.dbtools.standalone.Deployer deploy
    INFO: Deployed application path = d:\apexlistnerconf\apex\apex\WEB-INF\web.xml
    Dec 27, 2012 3:41:18 PM oracle.dbtools.common.config.file.ConfigurationFolder logConfigFolder
    INFO: Using configuration folder: D:\apexlistnerconf\apex
    Default Database connection not configured properly
    Dec 27, 2012 3:41:20 PM oracle.dbtools.rt.web.SCListener contextInitialized
    INFO: Oracle Application Express Listener initialized
    Application Express Listener version : 2.0.0.354.17.06
    Application Express Listener server info: Grizzly/1.9.49
    Dec 27, 2012 3:41:20 PM com.sun.grizzly.Controller logVersion
    INFO: GRIZZLY0001: Starting Grizzly Framework 1.9.49 - 12/27/12 3:41 PM
    Dec 27, 2012 3:41:20 PM com.sun.grizzly.SelectorHandlerRunner handleSelectException
    SEVERE: doSelect IOException
    java.net.BindException: No free port within range: 8080=com.sun.grizzly.http.SelectorThreadHandler@480d41f3
            at com.sun.grizzly.TCPSelectorHandler.initSelector(TCPSelectorHandler.java:432)
            at com.sun.grizzly.TCPSelectorHandler.preSelect(TCPSelectorHandler.java:378)
            at com.sun.grizzly.SelectorHandlerRunner.doSelect(SelectorHandlerRunner.java:188)
            at com.sun.grizzly.SelectorHandlerRunner.run(SelectorHandlerRunner.java:132)
            at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
            at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
            at java.lang.Thread.run(Unknown Source)
    Dec 27, 2012 3:41:20 PM com.sun.grizzly.http.SelectorThread$3 onException
    SEVERE: Exception during starting the controller
    java.net.BindException: No free port within range: 8080=com.sun.grizzly.http.SelectorThreadHandler@480d41f3
            at com.sun.grizzly.TCPSelectorHandler.initSelector(TCPSelectorHandler.java:432)
            at com.sun.grizzly.TCPSelectorHandler.preSelect(TCPSelectorHandler.java:378)
            at com.sun.grizzly.SelectorHandlerRunner.doSelect(SelectorHandlerRunner.java:188)
            at com.sun.grizzly.SelectorHandlerRunner.run(SelectorHandlerRunner.java:132)
            at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
            at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
            at java.lang.Thread.run(Unknown Source)
    java.net.BindException: No free port within range: 8080=com.sun.grizzly.http.SelectorThreadHandler@480d41f3
            at com.sun.grizzly.TCPSelectorHandler.initSelector(TCPSelectorHandler.java:432)
            at com.sun.grizzly.TCPSelectorHandler.preSelect(TCPSelectorHandler.java:378)
            at com.sun.grizzly.SelectorHandlerRunner.doSelect(SelectorHandlerRunner.java:188)
            at com.sun.grizzly.SelectorHandlerRunner.run(SelectorHandlerRunner.java:132)
            at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
            at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
            at java.lang.Thread.run(Unknown Source)
    Dec 27, 2012 3:41:20 PM oracle.dbtools.standalone.Standalone execute
    INFO: http://localhost:8080/apex started.It simply hangs at the last line and I couldn't make any further progress.
    Can you please help to find out what went wrong?
    Thanks in advance.
    Regards,
    Natarajan

    Thank you Probodh for your quick help. I set the port 8080 to apex listener and it does not give that error now.
    However, it still says "Default Database Connection not configured properly"
    I gave the SID name as xe which is the default one, and that is the correct SID for my DB also.
    Any possible mistakes in there?
    D:\software\apex_listener>java -jar apex.war
    Dec 27, 2012 7:29:45 PM 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.
    Dec 27, 2012 7:29:45 PM oracle.dbtools.standalone.Standalone execute
    INFO: Starting standalone Web Container in:  d:\apexlistnerconf\apex
    Dec 27, 2012 7:29:45 PM oracle.dbtools.standalone.Deployer deploy
    INFO: Will deploy application path = d:\apexlistnerconf\apex\apex\WEB-INF\web.xm
    l
    Dec 27, 2012 7:29:46 PM oracle.dbtools.standalone.Deployer deploy
    INFO: Deployed application path = d:\apexlistnerconf\apex\apex\WEB-INF\web.xml
    Dec 27, 2012 7:29:46 PM oracle.dbtools.common.config.file.ConfigurationFolder lo
    gConfigFolder
    INFO: Using configuration folder: D:\apexlistnerconf\apex
    Default Database connection not configured properly
    Dec 27, 2012 7:29:48 PM oracle.dbtools.rt.web.SCListener contextInitialized
    INFO: Oracle Application Express Listener initialized
    Application Express Listener version : 2.0.0.354.17.06
    Application Express Listener server info: Grizzly/1.9.49
    Dec 27, 2012 7:29:48 PM com.sun.grizzly.Controller logVersion
    INFO: GRIZZLY0001: Starting Grizzly Framework 1.9.49 - 12/27/12 7:29 PM
    Dec 27, 2012 7:29:48 PM oracle.dbtools.standalone.Standalone execute
    INFO: http://localhost:8080/apex started.Regards,
    Natarajan

  • APEX Listener 1.1.4 install issue with listener configuration

    Oracle XE 11gR2
    APEX 4.1.1
    APEX Listener 1.1.4
    Glassfish 3.0.1
    =============
    Installing APEX Listener 1.1.4 to replace APEX Listener 1.0.2. Deployed apex.war file but now:
    (1) http://10.10.1.111:8080/apex/listenerConfigure web page comes up but with no frames/windows rendered, as if it can not find images. Still I can enter data into fields. Wonder why the graphics/images are missing when page is rendered.
    (2) after entering Listener connection information for user APEX_PUBLIC_USER, I get "Permission denied". I can connect via SQL Developer to APEX_PUBLIC_USER with same credentials. I was able to connect before with previous APEX Listener.
    Any ideas?

    Hi,
    (1) http://10.10.1.111:8080/apex/listenerConfigure web page comes up but with no frames/windows rendered, as if it can not find images.
    You either have to clean your browser cache or your browser is too old/not capable of rendering the css of APEX Listener correctly.
    (2) after entering Listener connection information for user APEX_PUBLIC_USER, I get "Permission denied". "Permission denied" doesn't sound an issue with your database configuration. Do you have anything in your APEX Listeners log (probably within your GFs server.log) for that issue?
    But perhaps the error disappears as soon as you also get a proper configuration page.
    -Udo

  • Report Printing: APEX 4.01 - APEX Listener - WebLogic 10.3.3

    We have some report printing issues...
    Our configuration is APEX 4.01 using the APEX Listener with WebLogic 10.3.3.
    The first issue is that under "Print Attributes" the following is listed in red under "Printing":
    "Report printing is currently not available, there is no print server configured."
    The second one is that we need to print pdf format and I have not found a solution for doing this with the APEX Listener and WebLogic. I saw that the FOP solution for the APEX Listener didn't make it into the current release... Is there any way to do pdf type reports with the current APEX listener technology?
    The third issue is that in the demo app when running a report there is a "Error loading file:" type error with "FLOW_FLASH_CHART" and apex_util.flash as part of the url.
    Any help would be appreciated...
    Thanks!
    - Scott

    I deployed in WebLogic the fop.war that came with APEX 4.0.1 and it got rid of the error message, but when I tried to download a report as pdf, I got an error saying it was corrupted or invalid. I downloaded the file it produced and opened it in a text editor. It was a small html type file with the following URL:
    ORA-20001: The printing engine could not be reached because either the URL specified is incorrect or a proxy URL needs to be specified.
    When I go to the URL that I think it should be going to based on what I put into Instance settings> Report Printing, I get:
    Compilation of JSP File '/apex_fop.jsp' failed:
    apex_fop.jsp:5:18: The import oracle.xml cannot be resolved
    <%@ page import='oracle.xml.parser.v2.XMLDocument'%>
    ^------------------------------^
    apex_fop.jsp:6:18: The import oracle.xml cannot be resolved
    <%@ page import='oracle.xml.parser.v2.XSLProcessor'%>
    ^-------------------------------^
    apex_fop.jsp:7:18: The import oracle.xml cannot be resolved
    <%@ page import='oracle.xml.parser.v2.XSLStylesheet'%>
    ^--------------------------------^
    apex_fop.jsp:8:18: The import oracle.xml cannot be resolved
    <%@ page import='oracle.xml.parser.v2.DOMParser'%>
    ^----------------------------^
    apex_fop.jsp:12:1: XMLDocument cannot be resolved to a type
    XMLDocument v_doc;
    ^--------^
    apex_fop.jsp:13:1: XSLStylesheet cannot be resolved to a type
    XSLStylesheet v_xsl = null;
    ^----------^
    apex_fop.jsp:15:1: DOMParser cannot be resolved to a type
    DOMParser parser = new DOMParser();
    ^------^
    apex_fop.jsp:15:28: DOMParser cannot be resolved to a type
    DOMParser parser = new DOMParser();
    ^------^
    apex_fop.jsp:16:1: XSLProcessor cannot be resolved to a type
    XSLProcessor processor = new XSLProcessor();
    ^---------^
    apex_fop.jsp:16:30: XSLProcessor cannot be resolved to a type
    XSLProcessor processor = new XSLProcessor();
    ^---------^
    apex_fop.jsp:21:13: XSLStylesheet cannot be resolved to a type
    v_xsl = new XSLStylesheet(new java.io.StringReader(request.getParamet

  • How to install and configure APEX listener on a 2 node cluster WLS

    So I've installed the apex listener on a 2 node cluster WLS and can get the Apex login screen to pop only when node 1 is up and node 2 is down.
    I'm going through a F5 - round robin and the login page does not pop when on node 2.
    I've followed the Oracle Apex Listener install doc: Oracle® Application Express Listener Installation and Configuration Guide
    Release 2.0 Part Number E25066-08
    Also followed the following blog exactly and compared it the install doc: http://www.snapdba.com/2013/05/configuring-the-apex-listener-2-0-1-on-weblogic-12c/
    Not much literature on what to do for a cluster multi node WLS configuration.
    What do I need to deploy onto node 2? I assume the images but what else?
    WLS: 10.3.6.0 - 2 linux servers (Linux 2.6.39-200.24.1.el6uek.x86_64 #1 SMP Sat Jun 23 02:39:07 EDT 2012 x86_64 x86_64 x86_64 GNU/Linux)
    APEX: 4.2.2
    APEX Listener: 2.0.3.221.10.13
    DATABASE: 11.2.0.3 RAC (only one database)

    Ok so I went and copied the image directory to both WLS servers in the correct directory that was dictated when creating the image war (i.war). Seems to work.
    Thx,
    Russ

  • Get CGI env variables in a database procedure using new APEX Listener

    I already posted this question in the Apex Listener forum and still no replies after one week. The original post is here:
    Get CGI environment from APEX Listener within database procedure
    So please forgive me for posting in this forum as well, but there is a lot more activity here.
    I'd like to know how I can get the CGI environment from the APEX Listener. For example, if I want to write a procedure that inserts into a table the originating IP Address of the client making the web request, how do I get it?
    I am familiar with the Oracle Http Server and mod_plsql, and I know how to call OWA_UTIL.GET_CGI_ENV to get this sort of information. How do I do it using the APEX Listener?
    In particular, how do I do this when calling a custom procedure (not in an Apex workspace)? When I try it now, I get an error from owa_util. The cgi env seems to be empty or not initiated (owa.num_cgi_vars is null or zero).
    Specific set-up:
    I have a web server running the latest JDK, Glassfish, and 1.1.4 Apex Listener. It connects to another server running the latest 11.2 database. Apex is installed and running, but I am not really developing a traditional Apex application in a workspace. I mainly use it like you would use mod_plsql. In other words, I have custom pl/sql packages that are called directly via URL. The requests are forwarded by the listener to the database, and the DB executes the procedure and returns output using htp.p to send text back to the browser. And it works just fine for this purpose. But if I want to call GET_CGI_ENV to get information like the IP Address, web browser making the request, etc. I can't seem to get it with the OWA packages.
    Can anyone shed some light on this? If Apex Listener is not designed to do this, is there some kind of workaround I can use to forward this sort of information to the database for each request?

    I have not tried owa_util.print_cgi_env from SQL Workshop yet, as I have not created an APEX workspace. I have had no need for a workspace because of the way I am using APEX as a method for calling custom packages and stored procedures. In other words, I am using APEX strictly for the mod_plsql functionality. I just use it to forward requests to the database to execute pl/sql code, but I don't develop anything in APEX. My application is a web service with no screens and no direct user interface, which is why I did not need to create APEX forms. The front end is a mobile app that makes calls to the web service.
    But I have tried calling owa_util.print_cgi_env in one of my stored procedures and it returns no data, even when calling it from the web front-end.
    So I am beginning to believe that if the OWA toolkit works with APEX, then it must only be enabled when invoked within a workspace. Stand-alone procedures can be called via APEX, but apparently doing so does not initiate the CGI env variables. This set-up used to work under the OHS with mod_plsql. The embedded pl/sql gateway also works this way.
    Is there a procedure call that APEX is making to set the environment before each SQL Workshop request?
    My security model currently blocks access to all packages and procedures except for my custom packages. I am using the APEX Listener configuration to allow only the packages listed by name in a white list. But I thought I allowed all access when I first tried calling the OWA packages. I'll have to try that again.

Maybe you are looking for

  • Pls suggest me some good and compatible external batteries for my hp

    pls suggest me some good and compatible external batteries for my hp pavillion g6 2103 model , i prefer good battery life. 

  • Failed to run net listener...

    i am using RedHat Linux 9 as operating system , i just install oracle database 10g Express Edition(XE) on my machine keeping HTTP port 8080, Listener port 1521, but when i access to the database home page i get message "the connection was refused whe

  • I can't upgrade BlackBery ID when i open BlackBerry App World

    when i just upgrade BB app world version 4.3.0.3.2, i'm asked to upgrade new BB ID. when i click update it says "The software upgrade was interrupted. Please try again" i click retry, but it always shows like that. and when i close, there's a notific

  • Any method to create a SUM Total for a column whose values based on LAG?

    I have a question here, and the challenge is to explain my situation well. I am trying to develop a workbook that shows by project and month, the cost this period and the change in cost from the prior period. I want a SUM total on the Cost This Perio

  • Im loosing audio when I enable Multi-Camera

    First, a rundown of my system and software: Vista Ultimate x64 Service Pack 2 Q6600 Quad Core 8 Gig (2) Western Digital 74GB 10,000 RPM SATA Raptor's Adobe Premiere Pro CS4 Im just now delving into multi-camming in Premiere, and, I can get it to work