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

Similar Messages

  • 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 compatibility with VMware

    We have APEX listener configured on Tomcat server. There is a plan to move the tomcat server to virtual machines (VMware based). Migration will be made using Physical to Virtual (P2V) migration tools.
    Application Express 4.0.2.00.07 is installed on Database server.
    Software installed on Tomcat server:
    •     Windows 2008
    •     TomCat v 6.0
    •     Java version "1.6.0_25"
    •     Java(TM) SE Runtime Environment (build 1.6.0_25-b06)
    •     Java HotSpot(TM) 64-Bit Server VM (build 20.0-b11, mixed mode)java
    Is the virtual platform supported by Oracle?
    What could be problems if we move to virtual machines instead of current physical machine for Tomcat?
    Is there any Oracle documentation related to this?

    Assuming the VM environment is set up correctly, it should be totally transparent whether the underlying infrastructure is virtual or physical.
    However*, two observations...
    1. TomCat is not an option for the Oracle APEX listener. Valid options are GlassFish, Weblogic or Oracle OC4J (http://www.oracle.com/technetwork/developer-tools/apex-listener/documentation/index.html). So, I don't think that you really have the APEX Listener running under TomCat. Do you mean that you have the mod_plsql for Apache configured to connect to APEX (do you see a "pls" in the URL to your APEX Server)? If so, this isn't actually the APEX Listener. It's just a (supported) configuration of Apache.
    2. Whether it will work without an issue and whether it is actually supported are different questions. I don't think Oracle will officially support VM implemented products unless the underlying VM is Oracle's own (rather than, for example, VMWare). I think you would probably still get good, (unofficial!), answers in this forum but, Oracle might tell you to get bent if you opened a tar.
    -Joe

  • Apex Listener 2.0.3.221.10.13 File path syntax error: ILLEGAL_CHARACTER

    Hi all,
    I tryed to install Apex Listener 2.0.3.221.10.13 into Tomcat 7.0.42 and I got the error :
    INFO: Deploying web application archive C:\Program Files\Apache Software Foundation\Tomcat 7.0\webapps\apex.war
    ago 16, 2013 9:15:19 AM oracle.dbtools.common.util.Files checkLegal
    WARNING: File path syntax error: ILLEGAL_CHARACTER, path: C:/
    ago 16, 2013 9:15:19 AM org.apache.catalina.core.StandardContext startInternal
    SEVERE: Error listenerStart
    ago 16, 2013 9:15:19 AM org.apache.catalina.core.StandardContext startInternal
    SEVERE: Context [/apex] startup failed due to previous errors
    and also
    ago 16, 2013 9:15:19 AM org.apache.catalina.core.StandardContext listenerStart
    SEVERE: Exception sending context initialized event to listener instance of class oracle.dbtools.rt.web.SCListener
    java.lang.IllegalArgumentException: oracle.dbtools.common.util.FilePathSyntaxException: ILLEGAL_CHARACTER
      at oracle.dbtools.common.util.Files.checkLegal(Files.java:262)
      at oracle.dbtools.common.util.Files.file(Files.java:127)
      at oracle.dbtools.common.config.file.ConfigurationFolder.chooseExistingFile(ConfigurationFolder.java:172)
      at oracle.dbtools.common.config.file.ConfigurationFolder.choose(ConfigurationFolder.java:151)
      at oracle.dbtools.common.config.file.ConfigurationFolder.setup(ConfigurationFolder.java:64)
      at oracle.dbtools.rt.web.SCListener.contextInitialized(SCListener.java:72)
      at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4939)
      at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5434)
      at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
      at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
      at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
      at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633)
      at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:976)
      at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1653)
      at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
      at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
      at java.util.concurrent.FutureTask.run(Unknown Source)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      at java.lang.Thread.run(Unknown Source)
    Caused by: oracle.dbtools.common.util.FilePathSyntaxException: ILLEGAL_CHARACTER
      at oracle.dbtools.common.util.FilePathSyntax.check(FilePathSyntax.java:45)
      at oracle.dbtools.common.util.Files.checkLegal(Files.java:255)
      ... 19 more
    My platform is :
    OS : Windows 7 64 bit
    JRE : 1.7.0_25-b17 -
    %USERPROFILE% : C:\Users\SERGIO
    %TEMP% : C:\Users\SERGIO\AppData\Local\Temp
    Apex Listener Configuration Folder : C:\Users\SERGIO\AppData\Local\Temp\apex
    Can anyone help me, please?
    Sergio

    You need to configure your config directory before you deploy. If you never configured v2 listener before then create a new folder like "c:\apex\config". Then use
    java -jar apex.war configdir  c:\apex\config
    Then do your configuration as required and then deploy again.

  • 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.

  • 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 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

  • 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

  • APEX LISTENER Install troubleshooting

    Hi, I need help.. :-)
    Default Database connection not configured properly
    What I have done:
         ALTER USER APEX_LISTENER ACCOUNT UNLOCK;
         ALTER USER APEX_PUBLIC_USER ACCOUNT UNLOCK;
         ALTER USER APEX_REST_PUBLIC_USER ACCOUNT UNLOCK;
         connect APEX_LISTENER/mypasswd1
         connect APEX_PUBLIC_USER/mypasswd2
         connect APEX_REST_PUBLIC_USER/mypasswd1
    Check default.xml
    password: replaced encrypted one with clear text one for APEX_PUBLIC_USER to ensure it is correct
    even tried APEX_LISTENER password just incase
    Is there a simple JDBC test to see if it connects? it is APEX_PUBLIC_USER who is connecting isn't it?
    ======================================================================
    java -jar apex.war
    Feb 22, 2013 12:44:40 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.
    Feb 22, 2013 12:44:40 PM oracle.dbtools.standalone.Standalone execute
    INFO: Starting standalone Web Container in: /data/oracle/orawd/product/11.2.0/dbhome_1/apex_listener/apex
    Feb 22, 2013 12:44:41 PM oracle.dbtools.standalone.Deployer deploy
    INFO: Will deploy application path = /data/oracle/orawd/product/11.2.0/dbhome_1/apex_listener/apex/apex/WEB-INF/web.xml
    Feb 22, 2013 12:44:41 PM oracle.dbtools.standalone.Deployer deploy
    INFO: Deployed application path = /data/oracle/orawd/product/11.2.0/dbhome_1/apex_listener/apex/apex/WEB-INF/web.xml
    Feb 22, 2013 12:44:41 PM oracle.dbtools.common.config.file.ConfigurationFolder logConfigFolder
    INFO: Using configuration folder: /data/oracle/orawd/product/11.2.0/dbhome_1/apex_listener/apex
    Default Database connection not configured properly
    Feb 22, 2013 12:44:42 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
    Feb 22, 2013 12:44:42 PM com.sun.grizzly.Controller logVersion
    INFO: GRIZZLY0001: Starting Grizzly Framework 1.9.49 - 2/22/13 12:44 PM
    Feb 22, 2013 12:44:42 PM oracle.dbtools.standalone.Standalone execute
    INFO: http://localhost:8888/apex started.

    That could be a problem.
    I was answering the question:
    BillC wrote:
    Is there a simple JDBC test to see if it connects? it is APEX_PUBLIC_USER who is connecting isn't it?Yes - APEX_PUBLIC_USER is the connecting user.
    You can use SQLPLUS to make sure you have the correct password.
    After that, it is the SERVER, PORT, SID/SERVICE in the APEX listener you need to confirm.
    You can TNSPING to confirm you have the correct selections for those.
    You can always re-run the java -jar apex.war setup command to all of the basic settings.
    The reason I mention that is because if you modify the settings manually - we need to ask "which file?" because there is the default and the database specific one too.
    Try making a request to the service in standalone mode and you should get a terminal output (the window stays open) with a more detailed error. I would guess there will be an ORA-12514, TNS listener does not currently know of service requested in descriptor or something similar that will give you the "debug" information you are looking for.
    Regards,
    --Tim St.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • 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

  • 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 administration via SQLDeveloper 3.2.2 error

    Hi,
    I configured the APEX Listener 2 on my server and everything works fine.
    I also configured the Restful webservices that also works fine in APEX.
    Now , I would like to be able to configure the APEX Listener via SQLDeveloper 3.2.2
    I changed the defaults.xml file to allow a non HTTPS connection and configured the adminlistener password.
    When I try to connect to the APEX Listener via SQLDeveloper to retrieve the configuration, I get the following error :
    Error occured retrieving Administration Settings from Listener.
    Unexpected Content-Type:application/json; charset=UTF-8
    APEX Listener is installed on Windows (french version).
    Thanks
    Francis.

    Hi Francis, I'm getting the same error.
    (I do note however that SQLDev does make the connection - and even though I get the UTF8 error, I can upload/download config files. This would appear to be a warning/info message. But still annoying.)
    I am using CentOS 5.8 Linux, Glassfish 3.1.2, SQLDev 3.2.20.09, ApEx 4.2. DB is 11.2.0.3, AL32UTF8. So this problem is not unique to Windows or French.
    Wayne
    Edited by: cawli2 on Nov 6, 2012 10:54 AM
    Edited by: cawli2 on Nov 6, 2012 12:36 PM

  • 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 config recommendations

    Our DBA is installing Apex Listener 1.1.2.131.15.23 for the first time, and had a question regarding some setup. Right now it's just a stand alone copy. In the JDBC Settings, what are your recommendations for the following settings?
    Initial Pool Size: 3
    Maximum Statements: 10
    Minimum Connections: 1
    Inactivity Timeout: 1800 seconds
    Maximum Connections: 10
    Abandoned Connection Timeout: 900 seconds
    If there is some recommended reading on how to determine the best way to set this up, that would be great.

    Hello Rick,
    it's hard to give you actual values. These settings concern, more or less, your load expectations. The numbers you need are
    - average number of concurrent sessions (work load)
    - maximum number of concurrent sessions (peek load)
    Some settings might as well depend on your applications.
    Recommended reading would be the Table A-1 of the Installation and Developers Guide, where the parameters you picked are described among other configuration parameters.
    Just some thoughts on connection handling:
    The APEX Listener uses a pool of connections to the database that is shared among all users. Usually it would be a waste of resources to have a dedicated connection for each application session, as there are usually times when there's no user activity, e.g. when a user is reading a report. So you want to make the pool size as small as possible without negative impact on your user experience. To achieve this, you may initialize your pool to be able to serve your average work load and allow it to grow to the expected peek. You may want to set the minimum number of connections below that value, so resource consumption is reduced in times of low charge.
    The timeouts concern the reduction of the pool size due to reduced load (inactivity timeout - a connection isn't needed any more) or failures or unexpected long database reaction times (abandoned connection).
    Statements caching can reduce database load and response times, but increases resource consumption of the Listener and may result in inacurate results if cached values are outdated.
    If you have more practical questions on that topic, don't hesitate to ask.
    -Udo

Maybe you are looking for

  • Using 3rd party tags

    I have a 3rd party tag library, used previously in Struts apps, that I would like to use in a JSF application. The tag checks if a user has logged in to the app and redirects to a login site if not. It doesn't display anything to the screen. Should a

  • Mac Mini no longer detects widescreen VGA displays since last update, can I force 1440x900 somehow?

    I connect my intel mac mini to my widescreen monitor through a mini dvi to vga adapter, bought at an apple store. This use to show correct diplay settings and I used 1440x900. About a month ago there was an update and now I cant see the option for 14

  • Hard drive failed! Should I have to pay?

    I have a MacBook Pro (late 2011) it is now march 2013 and hard drive has failed, should I have to pay for this? Although warranty has ran out I payed a lot of money for a machine that breaks just over a year that's going to cost £180 for a new one. P

  • How do I install iMovie on my iMac?

    I recently bought a new iMac computer.  I own a MacBook Pro and purchased iMovie and about three other apps on this device.  When I tried to sync all of my apps to the new iMac I noticed that iMovie (and the three or so other apps I bought on my MacB

  • Condition Type Value

    Hi All, We have a manual condition type ZP00, the value(2500) for this condition type is populted through file. In the sales order it is taking as 25000. i.e multipl of 10 (2500*10=25000). What could be the problem? We are creating the sales order th