Installing Apex Listener

Hi ppl,
I'm new to Oracle and i'm trying to install Oracle Apex Listener but when i try to open the apex.war file is giving me an error:
$ java -jar apex.war
Failed to load Main-class manifes attribute from apex
i see in another topic that if i create a txt file inserting the MainClass: Main-Class that my error will disappear.
i'm using VM with OEL 5

Hi, and welcome to the OTN forums,
does your OEL have a proper JDK available? Please note that APEX Listener requires at least a JDK 1.6 Update 20 (really JDK, not just JRE) to work properly.
To verify, you can run
java -versionIf you JDK is fine, could you please describe which version of APEX Listener you are trying to start that way?
-Udo

Similar Messages

  • Unable to install apex listener in oracle 10g xe

    Hi,
    i have oracle 10g xe in my window xp pro and upgraded it to application express 4 i.e apex...after that i downloaded apex lisntener1.10. and read the documentations and confused about installing and configuring it. Because i think it require jdk6 ...please help me..show me the step by step process do it...thanks

    It requires a separate application server that uses jdk16. Free servers/containers would include Tomcat 6 and Glassfish 3.
    You can continue to use the included EPG that runs your Apex currently also, without an additional server setup.
    -Richard

  • Apex listener installed no test and set bind variables buttons

    I have installed Apex listener and while creating restful service module i dont see test and set bind variables buttons in the source region.
    I went through the many posts. Installed apex listener successfully.
    getting http://localhost:8080/ords/ started message when i start the listener.
    and using Apex URL as http://localhost:7780/pls/htmldb.
    What are the possibilities for this issues?
    Please help me on this.
    Thanks
    Chandran

    Apex listener version is 2.0.9
    Apex version is 4.2

  • 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

  • Problem with apex listener install on Oracle Application Express 4.2.3

    I have installed Oracle Application Express 4.2.3
    Then i tried to install apex listener  Oracle APEX Listener 2.0.5
    but it dos not work.
    I ask
    It is possibile to install  WebLogic Server 12c or 11c
    and connect it to apex ??

    Hi;
    Please check Deploying Sun JRE (Native Plug-in) for Windows Clients in Oracle E-Business Suite Release 12 [ID 393931.1] and compare it wiht your steps
    Regard
    Helios

  • Apex Listener vs. Oracle Application Server... advantages?

    Are there advantages to installing Apex Listener over using an existing Oracle Application Server instance to serve Apex applications?
    We have an existing application server instance in production. Would introducing Apex Listener and the extra overhead be of any advantage?
    Thanks in advance for your thoughts.

    Hello "Portal Dude",
    Are there advantages to installing Apex Listener over using an existing Oracle Application Server instance to serve Apex applications?APEX Listener introduces some additional features, such as Resource Templates, but lacks some others. Some people might want to migrate from OAS to another JEE Container that doesn't come along with a OHS/mod_plsql. Depending on the JEE Container, you could use AJP for load balancing, avoiding plain HTTP through a firewall, etc.
    Would introducing Apex Listener and the extra overhead be of any advantage?The "extra overhead" may be smaller than you think. If you don't need the HTTP_Server component any longer, but can just deploy APEX Listener on the OC4J of your OAS, you might even save some bytes.
    For several other aspects, there have been a few posts on that topic in the past:
    {thread:id=1100122}
    {thread:id=1555908}
    {thread:id=1594158}
    If there's anything you don't find in either the posts or the documentation, don't hesitate to ask.
    -Udo

  • Apex Listener : Servlet error

    Hello,
    I have installed Apex Listener.1.0.2.238.15.24 on Oracle Containers for J2EE 10g standalone (10.1.3.1.1)
    I have got this error whn trying to cofgure listener and create connection to database
    12/12/31 14:39:27.625 apex: Servlet error
    ava.lang.IllegalAccessError: class oracle.jdbc.driver.$Proxy6 cannot access its superinterface oracle.jdbc.driver.ScrollRsetStatement
         at java.lang.reflect.Proxy.defineClass0(Native Method)
         at java.lang.reflect.Proxy.getProxyClass(Proxy.java:504)
         at java.lang.reflect.Proxy.newProxyInstance(Proxy.java:581)
         at oracle.ucp.jdbc.proxy.CallableStatementProxyFactory.createCallableStatementProxy(CallableStatementProxyFactory.java:64)
         at oracle.ucp.jdbc.proxy.ConnectionProxyFactory.proxyInvokeAfterTargetInvoke(ConnectionProxyFactory.java:154)
         at oracle.ucp.jdbc.proxy.JDBCConnectionProxyFactory.invoke(JDBCConnectionProxyFactory.java:266)
         at $Proxy0.prepareCall(Unknown Source)
         at oracle.dbtools.apex.OWA.getStatement(OWA.java:425)
         at oracle.dbtools.apex.OWA.resetSession(OWA.java:181)
         at oracle.dbtools.apex.ModApex.close(ModApex.java:143)
         at oracle.dbtools.apex.ModApex.doGet(ModApex.java:88)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:712)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:369)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:865)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:447)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:215)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
         at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
         at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)
         at java.lang.Thread.run(Thread.java:619)
    Any idea ???

    Hello,
    sorry for the late reply.
    I have installed Apex Listener.1.0.2.238.15.24 on Oracle Containers for J2EE 10g standalone (10.1.3.1.1) That's a pretty old version of OC4J, and a pretty old one of APEX Listener, too. Is there any reason for not choosing a more recent release?
    Despite that, your OC4J might also be using an unsupported (and outdated) Java version. APEX Listener needs at least a JDK 1.6 Update 20.
    Please check whether your OC4J is using an appropriate JDK.
    -Udo

  • 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

  • Apex listener 503 - Service Unavailable

    Hi,
    I installed APEX LIstener 2.0.5.
    This ist my file defaults.XML:
    <?xml version="1.0" encoding="UTF-8" ?>
    <!DOCTYPE properties SYSTEM "http://java.sun.com/dtd/properties.dtd">
    <properties>
    <comment>Saved on Thu Jan 02 13:26:45 CET 2014</comment>
    <entry key="db.password">!apex_public_user</entry>
    <entry key="debug.printDebugToScreen">false</entry>
    <entry key="security.disableDefaultExclusionList">false</entry>
    <entry key="cache.maxEntries">500</entry>
    <entry key="error.maxEntries">50</entry>
    <entry key="security.maxEntries">2000</entry>
    <entry key="cache.directory">/tmp/apex/cache</entry>
    <entry key="jdbc.DriverType">thin</entry>
    <entry key="log.maxEntries">50</entry>
    <entry key="db.hostname">localhost</entry>
    <entry key="jdbc.MaxConnectionReuseCount">1000</entry>
    <entry key="log.logging">false</entry>
    <entry key="jdbc.InitialLimit">3</entry>
    <entry key="jdbc.MaxLimit">10</entry>
    <entry key="cache.monitorInterval">60</entry>
    <entry key="cache.expiration">7</entry>
    <entry key="jdbc.statementTimeout">900</entry>
    <entry key="jdbc.MaxStatementsLimit">10</entry>
    <entry key="db.sid">ORPC3</entry>
    <entry key="misc.defaultPage">apex</entry>
    <entry key="misc.compress"/>
    <entry key="jdbc.MinLimit">1</entry>
    <entry key="cache.type">lru</entry>
    <entry key="cache.caching">false</entry>
    <entry key="db.port">1521</entry>
    <entry key="error.keepErrorMessages">true</entry>
    <entry key="cache.procedureNameList"/>
    <entry key="cache.duration">days</entry>
    <entry key="jdbc.InactivityTimeout">1800</entry>
    <entry key="debug.debugger">false</entry>
    </properties>
    I startet the listener with java -jar apex.war
    When I startet with http://localhost:8080/apex/f?p=4550:1:2983093393191825
    I got ORACLE APPLICATION EXPRESS LISTENER 503 - Service Unavailable
    Please help  me!
    Regards
    Siegwin

    Hi Jari,
    when I start  APEX Listener there are the answers:
    C:\>java -jar C:\app\Administrator\product\11.2.0\dbhome_2\apex_listener_2_0_5\a
    pex.war
    Jan 04, 2014 9:04:06 AM oracle.dbtools.standalone.Standalone execute
    INFO: HINWEIS:
    Der Standalone-Modus ist zur Verwendung in Entwicklungs- und Testumgebungen entw
    ickelt worden. Er wird bei Verwendung in Produktionsumgebungen nicht unterst³tzt
    Jan 04, 2014 9:04:06 AM oracle.dbtools.standalone.Standalone execute
    INFO: Standalone-Webcontainer in C:\app\Administrator\product\11.2.0\dbhome_2\ap
    ex_listener_2_0_5\config\apex wird gestartet
    Jan 04, 2014 9:04:06 AM oracle.dbtools.standalone.Deployer deploy
    INFO: Anwendung wird bereitgestellt, Pfad = C:\app\Administrator\product\11.2.0\
    dbhome_2\apex_listener_2_0_5\config\apex\apex\WEB-INF\web.xml
    Jan 04, 2014 9:04:07 AM oracle.dbtools.standalone.Deployer deploy
    INFO: Anwendung bereitgestellt, Pfad = C:\app\Administrator\product\11.2.0\dbhom
    e_2\apex_listener_2_0_5\config\apex\apex\WEB-INF\web.xml
    Jan 04, 2014 9:04:12 AM oracle.dbtools.common.config.file.ConfigurationFolder lo
    gConfigFolder
    INFO: Using configuration folder: C:\app\Administrator\product\11.2.0\dbhome_2\a
    pex_listener_2_0_5\config\apex
    Default Database connection not configured properly
    Jan 04, 2014 9:04:13 AM oracle.dbtools.rt.web.SCListener contextInitialized
    INFO: Oracle Application Express Listener initialized
    Application Express Listener version : 2.0.5.287.04.27
    Application Express Listener server info: Grizzly/1.9.49
    Jan 04, 2014 9:04:13 AM com.sun.grizzly.Controller logVersion
    INFO: GRIZZLY0001: Starting Grizzly Framework 1.9.49 - 04.01.14 09:04
    Jan 04, 2014 9:04:13 AM oracle.dbtools.standalone.Standalone execute
    INFO: http://localhost:8080/apex gestartet.
    Jan 04, 2014 9:05:05 AM oracle.dbtools.rt.web.HttpEndpointBase modApex
    SEVERE: The pool named: apex is not correctly configured, error: ORA-01017: inva
    lid username/password; logon denied
    oracle.dbtools.common.jdbc.ConnectionPoolException: The pool named: apex is not
    correctly configured, error: ORA-01017: invalid username/password; logon denied
            at oracle.dbtools.common.jdbc.ConnectionPoolException.badConfiguration(C
    onnectionPoolException.java:65)
            at oracle.dbtools.common.config.db.DatabaseConfig.badConfiguration(Datab
    aseConfig.java:207)
            at oracle.dbtools.common.config.db.DatabaseConfig.getPool(DatabaseConfig
    .java:346)
            at oracle.dbtools.common.config.db.DatabaseConfig.getPool(DatabaseConfig
    .java:326)
            at oracle.dbtools.common.config.db.DatabaseConfig.access$200(DatabaseCon
    fig.java:42)
            at oracle.dbtools.common.config.db.DatabaseConfig$DatabaseFactory.apply(
    DatabaseConfig.java:380)
            at oracle.dbtools.common.config.db.PerThreadConnectionCache$DisposableCo
    nnectionFactory.apply(PerThreadConnectionCache.java:233)
            at oracle.dbtools.common.config.db.PerThreadConnectionCache$DisposableCo
    nnectionFactory.apply(PerThreadConnectionCache.java:217)
            at oracle.dbtools.common.util.PerThreadCache.get(PerThreadCache.java:60)
            at oracle.dbtools.common.config.db.PerThreadConnectionCache.get(PerThrea
    dConnectionCache.java:49)
            at oracle.dbtools.common.config.db.DatabaseConfig.getConnection(Database
    Config.java:78)
            at oracle.dbtools.common.jdbc.ora.OraPrincipal.connection(OraPrincipal.j
    ava:69)
            at oracle.dbtools.apex.ModApexContext.getConnection(ModApexContext.java:
    372)
            at oracle.dbtools.apex.Procedure.getProcedure(Procedure.java:167)
            at oracle.dbtools.apex.OWA.validateProcedure(OWA.java:386)
            at oracle.dbtools.apex.security.Security.isValidRequest(Security.java:22
    0)
            at oracle.dbtools.apex.ModApex.validateRequest(ModApex.java:264)
            at oracle.dbtools.apex.ModApex.doGet(ModApex.java:93)
            at oracle.dbtools.apex.ModApex.service(ModApex.java:300)
            at oracle.dbtools.rt.web.HttpEndpointBase.modApex(HttpEndpointBase.java:
    350)
            at oracle.dbtools.rt.web.HttpEndpointBase.service(HttpEndpointBase.java:
    132)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
            at com.sun.grizzly.http.servlet.ServletAdapter$FilterChainImpl.doFilter(
    ServletAdapter.java:1059)
            at com.sun.grizzly.http.servlet.ServletAdapter$FilterChainImpl.invokeFil
    terChain(ServletAdapter.java:999)
            at com.sun.grizzly.http.servlet.ServletAdapter.doService(ServletAdapter.
    java:434)
            at oracle.dbtools.standalone.SecureServletAdapter.doService(SecureServle
    tAdapter.java:91)
            at com.sun.grizzly.http.servlet.ServletAdapter.service(ServletAdapter.ja
    va:379)
            at com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java
    :179)
            at com.sun.grizzly.tcp.http11.GrizzlyAdapterChain.service(GrizzlyAdapter
    Chain.java:196)
            at com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java
    :179)
            at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:8
    49)
            at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:746)
            at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1045)
            at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFil
    ter.java:228)
            at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultPro
    tocolChain.java:137)
            at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.jav
    a:104)
            at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.jav
    a:90)
            at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java
    :79)
            at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextT
    ask.java:54)
            at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.
    java:59)
            at com.sun.grizzly.ContextTask.run(ContextTask.java:71)
            at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadP
    ool.java:532)
            at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool
    .java:513)
            at java.lang.Thread.run(Unknown Source)
    Please help me

  • APEX Listener and RAC

    Is APEX Listener RAC-capable? Neither the Installation Guide nor the APEX RAC white paper provides information. Is there some experience installing APEX Listener within a Oracle 10.2 RAC environment?
    What would be the advantage / disadvantage?

    Hello,
    as far as I know, you can use the thin driver to connect to RAC. If I don't remember this wrong, you should be able to configure the URL like this:
    jdbc:oracle:thin:@(DESCRIPTION=(LOAD_BALANCE=on)
    (ADDRESS=(PROTOCOL=TCP)(HOST=host1) (PORT=1521))
    (ADDRESS=(PROTOCOL=TCP)(HOST=host2) (PORT=1521))
    (CONNECT_DATA=(SERVICE_NAME=service)))What would you like to compare the RAC-Connection used by the APEX Listener with to outline advantages/disadvantages?
    I think, the connection is not much different from the one you'd get when configuring a OHS that way. The EPG variant would be integrated in the RAC, but for fault tolerance you'd need some frontend server for node-failover anyway...
    -Udo

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

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

Maybe you are looking for

  • No data in tables after migration

    I am migrating SQL Server database to Oracle using using SQL Developer - and all when well until I checked the tables and there is no data. Login as the new schema and do "select count(*) from user_tables" Got 35 tables, but when I checked the indivi

  • How can I restore the GUI of previous versions?

    I want to restore the configuration of the GUI to that which I have become accustomed over many years and several browsers. It is as if FF developers somehow concluded the gas, brake, shifter and turn signal stalk have been in the wrong places for 20

  • Error in the output file

    Hi, I am pasting the code below. The main objective of this file is to accept three command line arguments 1st argument is data to be inserted into the file, 2nd argument is the position where the data has to be inserted and finally the file name to

  • Public method of javabean not executed when invoked with FBEAN.INVOKE_NUM

    Hi, i write a trivial javabean with public method named 'somme' that return int value and take no arguments. i my PL/SQL trigger code, i register an instance of the bean and take a call to the public method 'somme' that return a int value that i disp

  • OS Filesystem Copy of EM Job Output Log?

    Is there a predictable location & filename to view OEM (Database Control: dbconsole) output logs for jobs that run? I have a nightly backup that runs and I want to use a simple korn shell script to do some evaluation on the output log of the RMAN bac