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

Similar Messages

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

  • 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 images folder issue

    Hi expert,
    I'm newbies in oracle apex listener and would like to know more about oracle apex listener from all the expertise.
    My situation is like that i would like to install apex listener (standalone mode) in a server to browser apex application from another server with oracle database 11g and oracle apex development.
    My installation step as below;
    1. I copy images folder from database server apex\images folder to apex listener installation folder before i install apex listener (called "apexlistener").
    2. Run cmd "java -Dapex.home=c:\apexlistener -Dapex.images=c:\apexlistener\images -Dapex.port=8585 -Dapex.erase -jar c:\apexlistener\apex.war" to install apex listener.
    Just a question, if i amended oracle apex application in database server, should i need to copy the images folder again to apex listener server?
    What is the main source in images folder used in oracle apex listener server?
    My experience is i tried to copy images folder from database server A with apex application (in runtime mode) to apexlistener folder server B. And i configure the database connection to server c with same oracle apex application as well. I tried to browser oracle apex application in server c from server B. I found out my apex application is not running properly due to the javascript is not installed properly. I would like to ask, is the images files in apex listener server must same with apex application server?
    Anyone have idea on automatically start apex listener when the server reboots?
    How to run apex listener in backend?
    Hope can get some idea and solution from all the expertise!
    Thanks in advance!
    Best regards,
    Apex Junior

    Hi,
    Too many questions, and too little input, for one post.
    I'm newbies in oracle apex listener and would like to know more about oracle apex listener from all the expertise.My situation is like that i would like to install apex listener (standalone mode) in a server to browser apex application from another server with oracle database 11g and oracle apex development.
    My installation step as below;
    1. I copy images folder from database server apex\images folder to apex listener installation folder before i install apex listener (called "apexlistener").
    2. Run cmd "java -Dapex.home=c:\apexlistener -Dapex.images=c:\apexlistener\images -Dapex.port=8585 -Dapex.erase -jar c:\apexlistener\apex.war" to install apex listener.
    Just a question, if i amended oracle apex application in database server, should i need to copy the images folder again to apex listener server?
    >
    The images folder has a relation with the Apex Version installed on the database, not with the applications in the Apex.
    Depends on what you mean by amending applications. If you add custom CSS, JS ,etc to the application , and are not uploading the files to WORKSPACE_IMAGES, then you need to copy the external files to the images folder. But not copy it all over again.
    If no custom files then no need to copy the images folder.
    >
    What is the main source in images folder used in oracle apex listener server?
    >
    The images folder, what else?
    >
    My experience is i tried to copy images folder from database server A with apex application (in runtime mode) to apexlistener folder server B. And i configure the database connection to server c with same oracle apex application as well. I tried to browser oracle apex application in server c from server B. I found out my apex application is not running properly due to the javascript is not installed properly. I would like to ask, is the images files in apex listener server must same with apex application server?
    >
    As stated earlier, the contents of the images (/i/) folder are related to the Apex Version. If your two db servers have different versions of Apex then the same images folder will not work with both. It will work with only one, the one that has the Apex Version compatible with the images folder.
    >
    Anyone have idea on automatically start apex listener when the server reboots?
    >
    How to suggest without knowing OS?
    You can write a batch file that runs on bootup to achieve this.
    >
    How to run apex listener in backend?
    >
    What is backend? Do you means background or as a service?
    Cheers,

  • 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 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 2.0.1 does not restart on power-up

    APEX Listener 2.0.1
    APEX 4.2.2
    Oracle EE 11gR2
    Linux RHEL 6.3
    GlassFish 3.1.0
    After rebooting Linux server with the above configuration, the APEX Listener needs to be restart via Glassfish. What may be causing this?  How can I get Glassfish/APEX Listener to restart on system power-up?
    I did not have this issue with APEX Listener 1.4
    Thank you.

    Please use the APEX Listener forum for APEX Listener related questions.

  • APEX Listener 2.0.1 does not restart on power-up of system

    APEX Listener 2.0.1
    APEX 4.2.2
    Oracle EE 11gR2
    Linux RHEL 6.3
    GlassFish 3.1.0
    After rebooting my Linux server with the above configuration, the APEX Listener is down and needs to be restarted via GlassFish. What may be causing this?  How can I get the APEX Listener via GlassFish to restart on system power-up?
    NOTE:  I did not have this issue when using APEX Listener 1.4 with the same GlassFish server.
    Thank you.

    Found the issue.  chkconfig was starting GlassFish before the database was up and running.  Changed chkconfig parameters in startup scripts. Works fine.

  • Apex Listener started successfully however nothing show on the web browser

    Apex Listener started successfully, when try to visit APEX (http://localhost:8080), nothing showing on the local web browser. See following output message during the startup of APEX Listener. Thank for your help.
    Kevin
    D:\app\administrator\apex_listener.2.0.0.354.17.05>java -jar apex.war
    Feb 16, 2013 2:17:23 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 16, 2013 2:17:23 PM oracle.dbtools.standalone.Standalone execute
    INFO: Starting standalone Web Container in: D:\app\administrator\apex_listener.2.0.0.354.17.05\apex
    Feb 16, 2013 2:17:23 PM oracle.dbtools.standalone.Deployer deploy
    INFO: Will deploy application path = D:\app\administrator\apex_listener.2.0.0.354.17.05\apex\apex\WEB-INF\web.xml
    Feb 16, 2013 2:17:24 PM oracle.dbtools.standalone.Deployer deploy
    INFO: Deployed application path = D:\app\administrator\apex_listener.2.0.0.354.17.05\apex\apex\WEB-INF\web.xml
    Feb 16, 2013 2:17:24 PM oracle.dbtools.common.config.file.ConfigurationFolder logConfigFolder
    INFO: Using configuration folder: D:\app\administrator\apex_listener.2.0.0.354.17.05\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=dpuwomd-cluster
    db.password=******
    db.port=1521
    db.servicename=dpuwomor.clevelandwpc.com
    debug.debugger=true
    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
    Feb 16, 2013 2:17:26 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 16, 2013 2:17:26 PM com.sun.grizzly.Controller logVersion
    INFO: GRIZZLY0001: Starting Grizzly Framework 1.9.49 - 2/16/13 2:17 PM
    Feb 16, 2013 2:17:26 PM oracle.dbtools.standalone.Standalone execute
    INFO: http://localhost:8080/apex started.

    Hi Kevin,
    this looks like a common issue: You've probably not configured the static contents for APEX ("images") properly. Please make sure you've set the parameter to point to a path that contains the contents of the "images" directory of the APEX installation package that fits to the APEX version of the instance your APEX Listener is supposed to host.
    -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

  • Oracle epg configuration issue

    Hello,
    We have installed Oracle 4.0 on 11gR2 and we have configured it to run with APEX Listener (Listener is on separate machine) and everything is running fine.
    Now we want to configure EPG, so we are just following steps mentions in below documentation.
    http://docs.oracle.com/cd/E23903_01/doc/doc.41/e21673/otn_install.htm#CHDEIGGI
    When we run
    SQL> @apex_epg_config.sql /u05/apexwe are getting following error.
    PL/SQL procedure successfully completed.
    PL/SQL procedure successfully completed.
    old   1: create directory APEX_IMAGES as '&1/apex/images'
    new   1: create directory APEX_IMAGES as '/u05/apex/apex/images'
    Directory created.
    old  47:     if '&IMGUPG' != '' then
    new  47:     if '' != '' then
    old  48:         l_mv_folder := '&IMGUPG';
    new  48:         l_mv_folder := '';
    declare
    ERROR at line 1:
    ORA-22288: file or LOB operation FILEOPEN failed
    No such file or directory
    ORA-06512: at "SYS.XMLTYPE", line 296
    ORA-06512: at line 18Can someone guide what could be the issue.
    Regards,
    Bala

    Hi,
    if '&IMGUPG' != '' thenA comparison between 'SOMETHING' and NULL (the empty string in Oracle) using =, != or &lt;&gt; never yields TRUE but always NULL.
    See http://stackoverflow.com/questions/7286047/oracle-pl-sql-string-compare-issue
    It should read
    if '&IMGUPG' is not NULL then

Maybe you are looking for

  • Open error 1 - Operation not permitted' error when checking permissions

    Hi I just installed Snow Leopard on a clean HD, and when checking permissions I get these errors: Repairing permissions for “Internal HD” Open error 1: "Operation not permitted" on System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3

  • F4v in IE 7 fails - no metadata?

    Hey all - I'm having trouble with my new player in IE 7 (it works great in all other browsers, of course). It seems that in IE 7, it is waiting until the full file downloads in order to get metadata; what this means is that the player itself is not b

  • Error while Previewing Smart Form

    Hi all,     I have created a smartform but I am not able to preview. It gives error that "Error  generating the Test Frame".     Please provide help on this matter. Thank You

  • Pcd object "com.sap.pct.crm.core.valuehelp" cannot be accessed

    Hi dear gurus, We need your help. We are a company working with CRM 5.0 Sp 15 on EP 7.0. We have this problem: One of the BP's tabs shows the Marketing Attributes in the standard way: first of all you have to decide the attribute set ("Add"), then yo

  • CS5 Not Opening after OS X Reinstall

    I bought my copy of CS5 Design Standard way back in 2010. The apps have been working wonderfully until this summer when they no longer opened after I did a reinstall of OS X Mountain Lion (10.8.4). I have done reinstalls before Mountain Lion and have