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

Similar Messages

  • Apex Listener and EBS

    Has anyone deployed Apex listener to work with EBS-R12 ? Did you deploy the war on the Application Server of EBS or did you deploy a new application server ?

    I know exactly what you want, to embed the Apex listener servlet into the EBS OC4J, using autoconfig. I have done this before, but with my own servlet written from scratch, and it works very well. I had a go at integrating the the Apex listener servlet into an R12 instance a while back, and I actually got it to respond, but the URLs it was generating were not correct, so I gave up. I cannot remember the exact details, I got frustrated because I didn't have the time to wade through de-compiled source code to see what it was doing.
    Here is the rough guide to getting a custom servlet embedded into the EBS R12 OC4J engine. You or somebody else could pick this one up, I don't have the time sorry.
    Place your jar file in $JAVA_TOP (you may have to unzip it to get the class files usable by the JRE).
    Navigate to the template directory.
    cd $FND_TOP/admin/template
    Create the "custom" directory if it does not already exist.
    mkdir custom
    If the file orion_web_xml_1013.tmp does not already exist in the "custom" directory then copy it in. Be careful not to overwrite an existing copy of this file or you may lose pre-existing customizations.
    cp orion_web_xml_1013.tmp custom
    Move into the custom directory and edit the custom template file.
    cd custom
    vi orion_web_xml_1013.tmp
    Define your servlet: Paste the following lines just before the TCF alias (approximately line 162).
    <servlet>
    <servlet-name>myServlet</servlet-name>
    <servlet-class>com.anything.myServlet</servlet-class>
    </servlet>
    Paste the following lines just before the TCF aliases (approximately line 950).
    <servlet-mapping>
    <servlet-name>myServlet</servlet-name>
    <url-pattern>/myServlet/*</url-pattern>
    </servlet-mapping>
    4. Run Autoconfig
    cd $ADMIN_SCRIPTS_HOME
    adautocfg.sh
    5. Bounce Apache
    adapcctl.sh stop
    adoacorectl.sh stop
    adoacorectl.sh start
    adapcctl.sh start
    6. Test the Servlet
    To test whether the servlet has been installed correctly, first get the value of profile option "Apps Servlet Agent".
    Then enter the following URL in your browser:
    <<value of profile option>>/myServlet/hello
    Good luck,
    Steve

  • 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 EA2 Standalone CLOB error

    I'm testing the APEX Listener EA2 release in Standalone mode on CentOS against Oracle XE.
    My RESTful service calls use the Media Resource type to return a CLOB that I format myself inside a function:
    select 'application/json', my_function_that_returns_json_in_a_clob from dual
    In the EA2 release, this is generating an error if the function returns more than 4000 bytes (works with 4000, fails with 4001). It is as though the function is getting cast as a varchar2 somewhere. I verified that the function will correctly return a large result to other sources (dbms_output, for instance).
    The APEX Listener Log reports the error as:
    oracle.dbtools.rt.web.HttpEndpointBase restfulServices
    SEVERE: ORA-22922: nonexistent LOB value
    Here's a Test Case:
    create or replace function test_size(p_cnt in integer) return clob
    is
    l_clob clob;
    begin
    for i in 1..p_cnt loop
    l_clob:=l_clob||'a';
    end loop;
    return l_clob;
    end;
    Then create a RESTful service call:
    Method: "GET"
    Source Type: "Media Resource"
    Source: select 'application/json', test_size(4001) from dual
    Thanks,
    Tim

    Thanks for your thorough reply!
    Unfortunately, your workaround doesn't fix the problem with EA2. It encounters the 4000 character limit as well.
    I understand your advice regarding using the QUERY type. I chose the Media Resource strategy for two main reasons:
    1. These services calls are for our mobile developers. Because they use some predefined frameworks for managing data that comes to the mobile app, they wanted the json to distinguish between data sets (rather than every data set being called "items"). I am able to format the json in such a way that it doesn't confuse their code. Is there another way to customize the format of the default json created by the QUERY type?
    2. I need to conduct some other business as part of the call. For instance, the service passes in a user's credentials which I use to authenticate and then retrieve the appropriate results based on who they are. Currently, I have stored procedures that authenticate APEX users or LDAP users.
    Perhaps old habits die hard, but I find that if I just do all of this myself in a stored function, I have all of the control I need. If you have other recommended strategies, I'm all ears.
    Thanks!
    _Tim                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

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

  • Error when print report from apex using apex listener 2

    Hi
    Apex 4.2
    I want print report to pdf from apex using apex listener 2.
    The print server 'Oracle APEX listener' has been defined at the instance-level.
    ACL has been configured.
    I attempt to download a report in PDF mode, it appears that it downloads,
    but when I go to open it up I get an error that the file is of the wrong type or possibly corrupt.
    Upon opening the file in Text editor, there is an error as below
    %PDF-1.4
    1 瀛楄妭鐨?UTF-8 搴忓垪鐨勫瓧鑺?1 鏃犳晥銆?

    If you use Windows the user that runs the reports server is usually LocalSystem. Check this in the Windows Services panel.
    LocalSystem has no printer access. To be able to print, you have to use a real domain user that has access to the printer. So, change the Log on properties in the Services panel.

  • Report query XML schema error - Apex Listener 2

    I built a simple query: select * from emp in (Shared components > Report Query)
    When I try to download XML schema for this query (Source Query section) resulting xsd file contains this text: String index out of range: -1
    Shared Apex hosting: 4.2.2.0.0.11
    Print server: Apex Listener 2.0.1

    Hey Saymonc, we're you ever able to find the cause of this issue?  I'm having this happen to me as well.  When I begin using the Report Query functionality, the schema downloaded just fine.  I made an update to a query and began receiving this error.  Now I get the error for ALL of my report queries.  I tried removing them and recreating them, and I continue to receive this error in my schema file, no matter how simple the query.  The data will download just fine, and using the Test Report button works as well.
    Thanks,
    Chris

  • PDF Printing with Apex Listener: XSL over 32k gives error

    I'm using Ape Listener 2.0.2 deployed in GlassFish. We do have some custom designed XSL which are over 32k. We tried apex_util api but get the error
    Error processing branch. ORA-00942: table or view does not exist
    My XML is 5966 bytes and XSL is 36551 bytes.
    Please help.

    Apples and Oranges really.. Why do you want TWO App Servers running on your server?   The HTTP Server requires a 3rd party product to produce PDF files (FOP)... The Apex Listener is the PREFERRED App Server over the HTTP server.  I would suggest switching your access to the APEX Listener based port and try shutting down the HTTP server unless it offers you something the Listener is NOT providing..
    Thank you,
    Tony Miller
    LuvMuffin Software

  • 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 3.1.2 on Apex Listener 1.0.2:  Totally Non-functional

    I have ran into a huge speed bump that I have no idea how to correct. I have tried deleting my Weblogic server, deleting the apex containers, reinstalling the apex containers, upgrading the listener to the EA release and nothing works. When I try to login to my APEX instance, I am unable to even reach the developer tools. It accepts the login information, seems to validate it, then nicely drops you right back at the main APEX login screen with no errors at all. I know it is validating the login information because it will catch you on a bad password. I have tried going directly to applicaitons on the server and receive an error any time I try to login to any of my apps of "ERR-7621 Could not determine workspace for application (:) on application accept.". The funny thing was that my apex listener worked when it was first installed. I know the apex instance is not to blame as we have it running through OAS10g right now as well as through WLS11g running the apex listener. The errors are only present on the WLS server running the listener. I followed the install guide to the letter and have worked for almost 8 hours trying to resolve the problem with no luck. Anyone have any recommendations on places to look?

    I did go back today and pull an http headers off the browser using Live Http Headers. Here are those results:
    http://weblogic.somewhere.com/apex/wwv_flow.accept
    POST /apex/wwv_flow.accept HTTP/1.1
    Host: weblogic.somewhere.com
    User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.12) Gecko/20101026 Firefox/3.6.12 ( .NET CLR 3.5.30729; .NET4.0E)
    Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
    Accept-Language: en-us
    Accept-Encoding: gzip,deflate
    Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
    Keep-Alive: 115
    Connection: keep-alive
    Referer: http://weblogic.somewhere.com/apex/f?p=4550:1:442179476726990
    Cookie: __utmz=41442213.1291917490.286.30.utmcsr=www|utmccn=(referral)|utmcmd=referral|utmcct=/it/eis/systems/workgroups/WorkgroupServicesStaff.shtml; __utma=41442213.397456448.1279572798.1291932464.1291934557.288; oracle.uix=0^^GMT-5:00^p
    Content-Type: application/x-www-form-urlencoded
    Content-Length: 272
    p_flow_id=4550&p_flow_step_id=1&p_instance=442179476726990&p_page_submission_id=1477581136138901&p_request=LOGIN_BUTTON&p_arg_names=30250621039456935&p_t01=employment&p_arg_names=30251012844458645&p_t02=dapullia&p_arg_names=30251520608467092&p_t03=033083dp&p_md5_checksum=
    HTTP/1.1 302 Moved Temporarily
    Date: Mon, 13 Dec 2010 14:03:15 GMT
    Transfer-Encoding: chunked
    Location: http://weblogic.somewhere.com/apex/f?p=4500:1000:1060718122175350
    Server: WebLogic Server 10.3.3.0 Fri Apr 9 00:05:28 PDT 2010 1321401 Oracle WebLogic Server Module Dependencies 10.3 Tue Mar 2 15:22:37 PST 2010
    Content-Type: text/html; charset=UTF-8
    X-ORACLE-IGNORE: IGNORE, IGNORE, IGNORE, IGNORE
    Set-Cookie: ORA_WWV_REMEMBER_UN=DAPULLIA:employment; expires=Sat, 11-Jun-2011 17:03:17 GMT; path=/apex; secure
    Set-Cookie: ORA_WWV_USER=3E52D0B00BE9C870; path=/apex; secure
    X-Powered-By: Servlet/2.5 JSP/2.1
    http://weblogic.somewhere.com/apex/f?p=4500:1000:1060718122175350
    GET /apex/f?p=4500:1000:1060718122175350 HTTP/1.1
    Host: weblogic.somewhere.com
    User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.12) Gecko/20101026 Firefox/3.6.12 ( .NET CLR 3.5.30729; .NET4.0E)
    Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
    Accept-Language: en-us
    Accept-Encoding: gzip,deflate
    Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
    Keep-Alive: 115
    Connection: keep-alive
    Referer: http://weblogic.somewhere.com/apex/f?p=4550:1:442179476726990
    Cookie: __utmz=41442213.1291917490.286.30.utmcsr=www|utmccn=(referral)|utmcmd=referral|utmcct=/it/eis/systems/workgroups/WorkgroupServicesStaff.shtml; __utma=41442213.397456448.1279572798.1291932464.1291934557.288; oracle.uix=0^^GMT-5:00^p
    HTTP/1.1 302 Moved Temporarily
    Date: Mon, 13 Dec 2010 14:03:17 GMT
    Transfer-Encoding: chunked
    Location: http://weblogic.somewhere.com/apex/f?p=4500:1000:3276828940008452
    Server: WebLogic Server 10.3.3.0 Fri Apr 9 00:05:28 PDT 2010 1321401 Oracle WebLogic Server Module Dependencies 10.3 Tue Mar 2 15:22:37 PST 2010
    X-ORACLE-IGNORE: IGNORE, IGNORE, IGNORE, IGNORE
    X-Powered-By: Servlet/2.5 JSP/2.1
    http://weblogic.somewhere.com/apex/f?p=4500:1000:3276828940008452
    GET /apex/f?p=4500:1000:3276828940008452 HTTP/1.1
    Host: weblogic.somewhere.com
    User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.12) Gecko/20101026 Firefox/3.6.12 ( .NET CLR 3.5.30729; .NET4.0E)
    Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
    Accept-Language: en-us
    Accept-Encoding: gzip,deflate
    Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
    Keep-Alive: 115
    Connection: keep-alive
    Referer: http://weblogic.somewhere.com/apex/f?p=4550:1:442179476726990
    Cookie: __utmz=41442213.1291917490.286.30.utmcsr=www|utmccn=(referral)|utmcmd=referral|utmcct=/it/eis/systems/workgroups/WorkgroupServicesStaff.shtml; __utma=41442213.397456448.1279572798.1291932464.1291934557.288; oracle.uix=0^^GMT-5:00^p
    HTTP/1.1 302 Moved Temporarily
    Date: Mon, 13 Dec 2010 14:03:17 GMT
    Transfer-Encoding: chunked
    Location: http://weblogic.somewhere.com/apex/f?p=4550:1:3276828940008452::::FSP_AFTER_LOGIN_URL:\f?p=4500|1000|3276828940008452\
    Server: WebLogic Server 10.3.3.0 Fri Apr 9 00:05:28 PDT 2010 1321401 Oracle WebLogic Server Module Dependencies 10.3 Tue Mar 2 15:22:37 PST 2010
    X-ORACLE-IGNORE: IGNORE, IGNORE, IGNORE, IGNORE
    X-Powered-By: Servlet/2.5 JSP/2.1
    http://weblogic.somewhere.com/apex/f?p=4550:1:3276828940008452::::FSP_AFTER_LOGIN_URL:\f?p=4500|1000|3276828940008452\
    GET /apex/f?p=4550:1:3276828940008452::::FSP_AFTER_LOGIN_URL:\f?p=4500|1000|3276828940008452\ HTTP/1.1
    Host: weblogic.somewhere.com
    User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.12) Gecko/20101026 Firefox/3.6.12 ( .NET CLR 3.5.30729; .NET4.0E)
    Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
    Accept-Language: en-us
    Accept-Encoding: gzip,deflate
    Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
    Keep-Alive: 115
    Connection: keep-alive
    Referer: http://weblogic.somewhere.com/apex/f?p=4550:1:442179476726990
    Cookie: __utmz=41442213.1291917490.286.30.utmcsr=www|utmccn=(referral)|utmcmd=referral|utmcct=/it/eis/systems/workgroups/WorkgroupServicesStaff.shtml; __utma=41442213.397456448.1279572798.1291932464.1291934557.288; oracle.uix=0^^GMT-5:00^p
    HTTP/1.1 302 Moved Temporarily
    Date: Mon, 13 Dec 2010 14:03:17 GMT
    Transfer-Encoding: chunked
    Location: http://weblogic.somewhere.com/apex/f?p=4550:1:2060954701356902::::FSP_AFTER_LOGIN_URL:\f?p=4500|1000|3276828940008452\
    Server: WebLogic Server 10.3.3.0 Fri Apr 9 00:05:28 PDT 2010 1321401 Oracle WebLogic Server Module Dependencies 10.3 Tue Mar 2 15:22:37 PST 2010
    X-ORACLE-IGNORE: IGNORE, IGNORE, IGNORE, IGNORE
    X-Powered-By: Servlet/2.5 JSP/2.1
    http://weblogic.somewhere.com/apex/f?p=4550:1:2060954701356902::::FSP_AFTER_LOGIN_URL:\f?p=4500|1000|3276828940008452\
    GET /apex/f?p=4550:1:2060954701356902::::FSP_AFTER_LOGIN_URL:\f?p=4500|1000|3276828940008452\ HTTP/1.1
    Host: weblogic.somewhere.com
    User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.12) Gecko/20101026 Firefox/3.6.12 ( .NET CLR 3.5.30729; .NET4.0E)
    Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
    Accept-Language: en-us
    Accept-Encoding: gzip,deflate
    Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
    Keep-Alive: 115
    Connection: keep-alive
    Referer: http://weblogic.somewhere.com/apex/f?p=4550:1:442179476726990
    Cookie: __utmz=41442213.1291917490.286.30.utmcsr=www|utmccn=(referral)|utmcmd=referral|utmcct=/it/eis/systems/workgroups/WorkgroupServicesStaff.shtml; __utma=41442213.397456448.1279572798.1291932464.1291934557.288; oracle.uix=0^^GMT-5:00^p
    HTTP/1.1 200 OK
    Date: Mon, 13 Dec 2010 14:03:17 GMT
    Transfer-Encoding: chunked
    Server: WebLogic Server 10.3.3.0 Fri Apr 9 00:05:28 PDT 2010 1321401 Oracle WebLogic Server Module Dependencies 10.3 Tue Mar 2 15:22:37 PST 2010
    Content-Type: text/html; charset=UTF-8
    X-ORACLE-IGNORE: IGNORE, IGNORE, IGNORE, IGNORE
    X-DB-Content-length: 7152
    X-Powered-By: Servlet/2.5 JSP/2.1
    http://weblogic.somewhere.com/i/javascript/apex_ns_3_1.js
    GET /i/javascript/apex_ns_3_1.js HTTP/1.1
    Host: weblogic.somewhere.com
    User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.12) Gecko/20101026 Firefox/3.6.12 ( .NET CLR 3.5.30729; .NET4.0E)
    Accept: */*
    Accept-Language: en-us
    Accept-Encoding: gzip,deflate
    Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
    Keep-Alive: 115
    Connection: keep-alive
    Referer: http://weblogic.somewhere.com/apex/f?p=4550:1:2060954701356902::::FSP_AFTER_LOGIN_URL:\f?p=4500|1000|3276828940008452\
    Cookie: __utmz=41442213.1291917490.286.30.utmcsr=www|utmccn=(referral)|utmcmd=referral|utmcct=/it/eis/systems/workgroups/WorkgroupServicesStaff.shtml; __utma=41442213.397456448.1279572798.1291932464.1291934557.288; oracle.uix=0^^GMT-5:00^p
    HTTP/1.1 200 OK
    Date: Mon, 13 Dec 2010 14:03:17 GMT
    Accept-Ranges: bytes
    Server: WebLogic Server 10.3.3.0 Fri Apr 9 00:05:28 PDT 2010 1321401 Oracle WebLogic Server Module Dependencies 10.3 Tue Mar 2 15:22:37 PST 2010
    Content-Length: 34536
    Last-Modified: Mon, 01 Mar 2010 21:35:34 GMT
    X-Powered-By: Servlet/2.5 JSP/2.1
    http://weblogic.somewhere.com/i/javascript/apex_3_1.js
    GET /i/javascript/apex_3_1.js HTTP/1.1
    Host: weblogic.somewhere.com
    User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.12) Gecko/20101026 Firefox/3.6.12 ( .NET CLR 3.5.30729; .NET4.0E)
    Accept: */*
    Accept-Language: en-us
    Accept-Encoding: gzip,deflate
    Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
    Keep-Alive: 115
    Connection: keep-alive
    Referer: http://weblogic.somewhere.com/apex/f?p=4550:1:2060954701356902::::FSP_AFTER_LOGIN_URL:\f?p=4500|1000|3276828940008452\
    Cookie: __utmz=41442213.1291917490.286.30.utmcsr=www|utmccn=(referral)|utmcmd=referral|utmcct=/it/eis/systems/workgroups/WorkgroupServicesStaff.shtml; __utma=41442213.397456448.1279572798.1291932464.1291934557.288; oracle.uix=0^^GMT-5:00^p
    HTTP/1.1 200 OK
    Date: Mon, 13 Dec 2010 14:03:17 GMT
    Accept-Ranges: bytes
    Server: WebLogic Server 10.3.3.0 Fri Apr 9 00:05:28 PDT 2010 1321401 Oracle WebLogic Server Module Dependencies 10.3 Tue Mar 2 15:22:37 PST 2010
    Content-Length: 40051
    Last-Modified: Mon, 01 Mar 2010 21:35:36 GMT
    X-Powered-By: Servlet/2.5 JSP/2.1
    http://weblogic.somewhere.com/i/javascript/apex_builder.js
    GET /i/javascript/apex_builder.js HTTP/1.1
    Host: weblogic.somewhere.com
    User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.12) Gecko/20101026 Firefox/3.6.12 ( .NET CLR 3.5.30729; .NET4.0E)
    Accept: */*
    Accept-Language: en-us
    Accept-Encoding: gzip,deflate
    Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
    Keep-Alive: 115
    Connection: keep-alive
    Referer: http://weblogic.somewhere.com/apex/f?p=4550:1:2060954701356902::::FSP_AFTER_LOGIN_URL:\f?p=4500|1000|3276828940008452\
    Cookie: __utmz=41442213.1291917490.286.30.utmcsr=www|utmccn=(referral)|utmcmd=referral|utmcct=/it/eis/systems/workgroups/WorkgroupServicesStaff.shtml; __utma=41442213.397456448.1279572798.1291932464.1291934557.288; oracle.uix=0^^GMT-5:00^p
    HTTP/1.1 200 OK
    Date: Mon, 13 Dec 2010 14:03:17 GMT
    Accept-Ranges: bytes
    Server: WebLogic Server 10.3.3.0 Fri Apr 9 00:05:28 PDT 2010 1321401 Oracle WebLogic Server Module Dependencies 10.3 Tue Mar 2 15:22:37 PST 2010
    Content-Length: 5050
    Last-Modified: Mon, 01 Mar 2010 21:35:34 GMT
    X-Powered-By: Servlet/2.5 JSP/2.1
    http://weblogic.somewhere.com/i/javascript/apex_get_3_1.js
    GET /i/javascript/apex_get_3_1.js HTTP/1.1
    Host: weblogic.somewhere.com
    User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.12) Gecko/20101026 Firefox/3.6.12 ( .NET CLR 3.5.30729; .NET4.0E)
    Accept: */*
    Accept-Language: en-us
    Accept-Encoding: gzip,deflate
    Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
    Keep-Alive: 115
    Connection: keep-alive
    Referer: http://weblogic.somewhere.com/apex/f?p=4550:1:2060954701356902::::FSP_AFTER_LOGIN_URL:\f?p=4500|1000|3276828940008452\
    Cookie: __utmz=41442213.1291917490.286.30.utmcsr=www|utmccn=(referral)|utmcmd=referral|utmcct=/it/eis/systems/workgroups/WorkgroupServicesStaff.shtml; __utma=41442213.397456448.1279572798.1291932464.1291934557.288; oracle.uix=0^^GMT-5:00^p
    HTTP/1.1 200 OK
    Date: Mon, 13 Dec 2010 14:03:17 GMT
    Accept-Ranges: bytes
    Server: WebLogic Server 10.3.3.0 Fri Apr 9 00:05:28 PDT 2010 1321401 Oracle WebLogic Server Module Dependencies 10.3 Tue Mar 2 15:22:37 PST 2010
    Content-Length: 7591
    Last-Modified: Mon, 01 Mar 2010 21:35:34 GMT
    X-Powered-By: Servlet/2.5 JSP/2.1
    http://weblogic.somewhere.com/i/css/apex_3_1.css
    GET /i/css/apex_3_1.css HTTP/1.1
    Host: weblogic.somewhere.com
    User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.12) Gecko/20101026 Firefox/3.6.12 ( .NET CLR 3.5.30729; .NET4.0E)
    Accept: text/css,*/*;q=0.1
    Accept-Language: en-us
    Accept-Encoding: gzip,deflate
    Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
    Keep-Alive: 115
    Connection: keep-alive
    Referer: http://weblogic.somewhere.com/apex/f?p=4550:1:2060954701356902::::FSP_AFTER_LOGIN_URL:\f?p=4500|1000|3276828940008452\
    Cookie: __utmz=41442213.1291917490.286.30.utmcsr=www|utmccn=(referral)|utmcmd=referral|utmcct=/it/eis/systems/workgroups/WorkgroupServicesStaff.shtml; __utma=41442213.397456448.1279572798.1291932464.1291934557.288; oracle.uix=0^^GMT-5:00^p
    HTTP/1.1 200 OK
    Date: Mon, 13 Dec 2010 14:03:17 GMT
    Accept-Ranges: bytes
    Server: WebLogic Server 10.3.3.0 Fri Apr 9 00:05:28 PDT 2010 1321401 Oracle WebLogic Server Module Dependencies 10.3 Tue Mar 2 15:22:37 PST 2010
    Content-Length: 17774
    Content-Type: text/css
    Last-Modified: Mon, 01 Mar 2010 21:35:56 GMT
    X-Powered-By: Servlet/2.5 JSP/2.1
    http://weblogic.somewhere.com/i/css/apex_builder_3_1.css
    GET /i/css/apex_builder_3_1.css HTTP/1.1
    Host: weblogic.somewhere.com
    User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.12) Gecko/20101026 Firefox/3.6.12 ( .NET CLR 3.5.30729; .NET4.0E)
    Accept: text/css,*/*;q=0.1
    Accept-Language: en-us
    Accept-Encoding: gzip,deflate
    Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
    Keep-Alive: 115
    Connection: keep-alive
    Referer: http://weblogic.somewhere.com/apex/f?p=4550:1:2060954701356902::::FSP_AFTER_LOGIN_URL:\f?p=4500|1000|3276828940008452\
    Cookie: __utmz=41442213.1291917490.286.30.utmcsr=www|utmccn=(referral)|utmcmd=referral|utmcct=/it/eis/systems/workgroups/WorkgroupServicesStaff.shtml; __utma=41442213.397456448.1279572798.1291932464.1291934557.288; oracle.uix=0^^GMT-5:00^p
    HTTP/1.1 200 OK
    Date: Mon, 13 Dec 2010 14:03:17 GMT
    Accept-Ranges: bytes
    Server: WebLogic Server 10.3.3.0 Fri Apr 9 00:05:28 PDT 2010 1321401 Oracle WebLogic Server Module Dependencies 10.3 Tue Mar 2 15:22:37 PST 2010
    Content-Length: 43823
    Content-Type: text/css
    Last-Modified: Mon, 01 Mar 2010 21:35:56 GMT
    X-Powered-By: Servlet/2.5 JSP/2.1
    http://weblogic.somewhere.com/i/htmldb/apex_logo.gif
    GET /i/htmldb/apex_logo.gif HTTP/1.1
    Host: weblogic.somewhere.com
    User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.12) Gecko/20101026 Firefox/3.6.12 ( .NET CLR 3.5.30729; .NET4.0E)
    Accept: image/png,image/*;q=0.8,*/*;q=0.5
    Accept-Language: en-us
    Accept-Encoding: gzip,deflate
    Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
    Keep-Alive: 115
    Connection: keep-alive
    Referer: http://weblogic.somewhere.com/apex/f?p=4550:1:2060954701356902::::FSP_AFTER_LOGIN_URL:\f?p=4500|1000|3276828940008452\
    Cookie: __utmz=41442213.1291917490.286.30.utmcsr=www|utmccn=(referral)|utmcmd=referral|utmcct=/it/eis/systems/workgroups/WorkgroupServicesStaff.shtml; __utma=41442213.397456448.1279572798.1291932464.1291934557.288; oracle.uix=0^^GMT-5:00^p
    HTTP/1.1 200 OK
    Date: Mon, 13 Dec 2010 14:03:17 GMT
    Accept-Ranges: bytes
    Server: WebLogic Server 10.3.3.0 Fri Apr 9 00:05:28 PDT 2010 1321401 Oracle WebLogic Server Module Dependencies 10.3 Tue Mar 2 15:22:37 PST 2010
    Content-Length: 3263
    Content-Type: image/gif
    Last-Modified: Mon, 01 Mar 2010 21:35:56 GMT
    X-Powered-By: Servlet/2.5 JSP/2.1
    http://weblogic.somewhere.com/i/1px_trans.gif
    GET /i/1px_trans.gif HTTP/1.1
    Host: weblogic.somewhere.com
    User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.12) Gecko/20101026 Firefox/3.6.12 ( .NET CLR 3.5.30729; .NET4.0E)
    Accept: image/png,image/*;q=0.8,*/*;q=0.5
    Accept-Language: en-us
    Accept-Encoding: gzip,deflate
    Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
    Keep-Alive: 115
    Connection: keep-alive
    Referer: http://weblogic.somewhere.com/apex/f?p=4550:1:2060954701356902::::FSP_AFTER_LOGIN_URL:\f?p=4500|1000|3276828940008452\
    Cookie: __utmz=41442213.1291917490.286.30.utmcsr=www|utmccn=(referral)|utmcmd=referral|utmcct=/it/eis/systems/workgroups/WorkgroupServicesStaff.shtml; __utma=41442213.397456448.1279572798.1291932464.1291934557.288; oracle.uix=0^^GMT-5:00^p
    HTTP/1.1 200 OK
    Date: Mon, 13 Dec 2010 14:03:18 GMT
    Accept-Ranges: bytes
    Server: WebLogic Server 10.3.3.0 Fri Apr 9 00:05:28 PDT 2010 1321401 Oracle WebLogic Server Module Dependencies 10.3 Tue Mar 2 15:22:37 PST 2010
    Content-Length: 43
    Content-Type: image/gif
    Last-Modified: Mon, 01 Mar 2010 21:35:36 GMT
    X-Powered-By: Servlet/2.5 JSP/2.1
    http://weblogic.somewhere.com/i/htmldb/builder/topnav2.gif
    GET /i/htmldb/builder/topnav2.gif HTTP/1.1
    Host: weblogic.somewhere.com
    User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.12) Gecko/20101026 Firefox/3.6.12 ( .NET CLR 3.5.30729; .NET4.0E)
    Accept: image/png,image/*;q=0.8,*/*;q=0.5
    Accept-Language: en-us
    Accept-Encoding: gzip,deflate
    Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
    Keep-Alive: 115
    Connection: keep-alive
    Referer: http://weblogic.somewhere.com/i/css/apex_builder_3_1.css
    Cookie: __utmz=41442213.1291917490.286.30.utmcsr=www|utmccn=(referral)|utmcmd=referral|utmcct=/it/eis/systems/workgroups/WorkgroupServicesStaff.shtml; __utma=41442213.397456448.1279572798.1291932464.1291934557.288; oracle.uix=0^^GMT-5:00^p
    HTTP/1.1 200 OK
    Date: Mon, 13 Dec 2010 14:03:18 GMT
    Accept-Ranges: bytes
    Server: WebLogic Server 10.3.3.0 Fri Apr 9 00:05:28 PDT 2010 1321401 Oracle WebLogic Server Module Dependencies 10.3 Tue Mar 2 15:22:37 PST 2010
    Content-Length: 91
    Content-Type: image/gif
    Last-Modified: Mon, 01 Mar 2010 21:35:50 GMT
    X-Powered-By: Servlet/2.5 JSP/2.1
    http://weblogic.somewhere.com/i/htmldb/builder/left_curve.gif
    GET /i/htmldb/builder/left_curve.gif HTTP/1.1
    Host: weblogic.somewhere.com
    User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.12) Gecko/20101026 Firefox/3.6.12 ( .NET CLR 3.5.30729; .NET4.0E)
    Accept: image/png,image/*;q=0.8,*/*;q=0.5
    Accept-Language: en-us
    Accept-Encoding: gzip,deflate
    Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
    Keep-Alive: 115
    Connection: keep-alive
    Referer: http://weblogic.somewhere.com/apex/f?p=4550:1:2060954701356902::::FSP_AFTER_LOGIN_URL:\f?p=4500|1000|3276828940008452\
    Cookie: __utmz=41442213.1291917490.286.30.utmcsr=www|utmccn=(referral)|utmcmd=referral|utmcct=/it/eis/systems/workgroups/WorkgroupServicesStaff.shtml; __utma=41442213.397456448.1279572798.1291932464.1291934557.288; oracle.uix=0^^GMT-5:00^p
    HTTP/1.1 200 OK
    Date: Mon, 13 Dec 2010 14:03:18 GMT
    Accept-Ranges: bytes
    Server: WebLogic Server 10.3.3.0 Fri Apr 9 00:05:28 PDT 2010 1321401 Oracle WebLogic Server Module Dependencies 10.3 Tue Mar 2 15:22:37 PST 2010
    Content-Length: 188
    Content-Type: image/gif
    Last-Modified: Mon, 01 Mar 2010 21:35:54 GMT
    X-Powered-By: Servlet/2.5 JSP/2.1
    http://weblogic.somewhere.com/i/htmldb/builder/right_curve.gif
    GET /i/htmldb/builder/right_curve.gif HTTP/1.1
    Host: weblogic.somewhere.com
    User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.12) Gecko/20101026 Firefox/3.6.12 ( .NET CLR 3.5.30729; .NET4.0E)
    Accept: image/png,image/*;q=0.8,*/*;q=0.5
    Accept-Language: en-us
    Accept-Encoding: gzip,deflate
    Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
    Keep-Alive: 115
    Connection: keep-alive
    Referer: http://weblogic.somewhere.com/apex/f?p=4550:1:2060954701356902::::FSP_AFTER_LOGIN_URL:\f?p=4500|1000|3276828940008452\
    Cookie: __utmz=41442213.1291917490.286.30.utmcsr=www|utmccn=(referral)|utmcmd=referral|utmcct=/it/eis/systems/workgroups/WorkgroupServicesStaff.shtml; __utma=41442213.397456448.1279572798.1291932464.1291934557.288; oracle.uix=0^^GMT-5:00^p
    HTTP/1.1 200 OK
    Date: Mon, 13 Dec 2010 14:03:18 GMT
    Accept-Ranges: bytes
    Server: WebLogic Server 10.3.3.0 Fri Apr 9 00:05:28 PDT 2010 1321401 Oracle WebLogic Server Module Dependencies 10.3 Tue Mar 2 15:22:37 PST 2010
    Content-Length: 190
    Content-Type: image/gif
    Last-Modified: Mon, 01 Mar 2010 21:35:54 GMT
    X-Powered-By: Servlet/2.5 JSP/2.1
    ----------------------------------------------------------I also checked the Javascript side by running the webpage directly on the Solaris server. It is a development box so there is no security setup. I received the same results.
    Edited by: David Pulliam on Dec 13, 2010 9:48 AM

  • Unable to connect SQL Developer 4.0.2 to Oracle REST Data Services 2.0.7 (Apex Listener)

    Background
    1. Weblogic 10.3.6.0 running on Oracle Linux 6.5 with Oracle JRockit(R) (build R28.2.3-13-149708-1.6.0_31-20120327-1523-linux-x86_64, compiled mode)
    2. Oracle Apex 4.2.1
    3. Apex Listener 1.1.3
    4. Apex and Apex Listener running on the Weblogic box above
    5. SQL Developer 4.0.2 running on Windows 7 64 bit / Java 1.7.0_55
    Updated Apex to 4.2.5 via p17966818_425_Generic.zip patchset. Apex environment running fine as do all applications via Listener 1.1.3
    Updated Oracle Listener to the latest version of Oracle REST Data Services 2.0.7
    Current Status
    Apex Applications and RESTful services are running fine.
    Problem
    Unable to connect SQL Developer 4.0.2 to Oracle REST Data Services 2.0.7
    Error message in SQL Developer - Cannot connect to DEV. HTTP/1.1 403 Target service not allowed
    Additional Information
    Steps followed -
    1. The oracle users APEX_LISTENER and APEX_REST_PUBLIC_USER did not exist, so I ran apex_rest_config.sql from the APEX 2.4.1 patchset whilst connected sys as sysdba and provided the same password as APEX_PUBLIC_USER for both users.
    2. I also ran
    grant insert, delete on APEX_040200.wwv_flow_rt$privilege_groups to APEX_LISTENER;
    alter session set current_schema = APEX_LISTENER;
    create or replace synonym wwv_flow_rt$privilege_groups for APEX_040200.wwv_flow_rt$privilege_groups;
    as per Oracle SQL Developer User's Guide Release 4.0
    3. copied ords.war to apex.war
    4. java -jar apex.war configdir /u01/app/oracle/admin/apex/devdomain1/
    5. java -jar apex.war
    Jun 5, 2014 5:15:31 PM oracle.dbtools.common.config.file.ConfigurationFolder logConfigFolder
    INFO: Using configuration folder: /u01/app/oracle/admin/apex/devdomain1/apex
    Enter the name of the database server [localhost]:dbservername
    Enter the database listen port [1521]:
    Enter 1 to specify the database service name, or 2 to specify the database SID [1]:1
    Enter the database service name:dbservicename
    Enter the database user name [APEX_PUBLIC_USER]:
    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]:2
    Jun 5, 2014 5:16:52 PM oracle.dbtools.common.config.file.ConfigurationFiles update
    INFO: Updated configurations: defaults, apex, apex_al, apex_rt
    Enter 1 if you wish to start in standalone mode or 2 to exit [1]:2
    6. java -jar apex.war user adminlistener "Listener Administrator"
    Jun 5, 2014 5:18:52 PM oracle.dbtools.common.config.file.ConfigurationFolder logConfigFolder
    INFO: Using configuration folder: /u01/app/oracle/admin/apex/devdomain1/apex
    Enter a password for user adminlistener:
    Confirm password for user adminlistener:
    Jun 6, 2014 5:19:12 PM AM oracle.dbtools.standalone.ModifyUser execute
    INFO: Created user: adminlistener in file: /u01/app/oracle/admin/apex/devdomain1/apex/credentials
    7. Updated the defaults.xml file
    Added
    <entry key="apex.security.user.roles">RESTful Services</entry>
    <entry key="apex.security.developer.roles">OAuth2 Client Developer, SQL Developer</entry>
    as per Oracle SQL Developer User's Guide Release 4.0
    Changed
    <entry key="debug.printDebugToScreen">false</entry>
    to
    <entry key="debug.printDebugToScreen">true</entry>
    for RESTful debugging
    Added
    <entry key="security.verifySSL">false</entry>
    to use OAuth2 in Non HTTPS Environment as per Oracle® REST Data Services Installation and Configuration Guide, Release 2.0
    8. Deleted the Admin and Manager Roles within the apex application deployment which were part of the Apex Listener 1.1.3 install
    9. Deployed the apex.war in weblogic
    10. Stopped and started the weblogic server to which apex.war was deployed
    11. In SQL Developer, View, RESTful Services. In the RESTful services windows hit connect, Create a new connection,
    Connection Name DEV
    Username adminlistener
    selected http protocol
    Hostname weblogicservername
    Port 7250
    Server Path /apex
    Workspace (blank)
    On the Authentication dialog
    Username adminlistener
    Password passwordsuppliedabove in step 6
    Response is a dialog box titled Authentication Failed
    message - Cannot connect to DEV. HTTP/1.1 403 Target service not allowed
    NOTHING UNUSUAL IN ANY OF THE WEBLOGIC LOG FILES, EXCEPT THAT IT STATES
    'Oracle REST Data Services version : 2.0.6.27.18.06' when I've installed 2.0.7.
    Any help much appreciated

    Further to the above post, I thought I'd simplify my Apex Listener install just to see if I can connect to it via SQL Developer
    So downloaded the latest version 2.0.8 and decided to configure and run the Listener on my pc whilst still connecting to the same database.
    Operating system : Window 7 Pro 64 bit
    Oracle Apex Listener 2.0.8
    Java(TM) SE Runtime Environment (build 1.7.0_25-b17)
    Java HotSpot(TM) 64-Bit Server VM (build 23.25-b01, mixed mode)
    Went through the configuration as above, once started I tried again to access the listener via SQL Developer. This time I received this output from the listener:
    INFO: Error: ORA-02291: integrity constraint (APEX_040200.WWV_FLOW_RT$APPROVALS_SGID_FK) violated - parent key not found, occurred during execution of: [CALL, insert into wwv_flow_rt$approvals (user_name,status,client_id,security_group_id,created_by,created_on,updated_by,updated_on) values(/*in:user_id*/?,/*in:status*/?,/*in:client_id*/?,/*in:tenant_id*/?,upper(/*in:user_id*/?),/*in:created*/?,upper(/*in:user_id*/?),/*in:created*/?), [tenant_id, in, class java.math.BigInteger], [client_id, in, class java.math.BigInteger], [user_id, in, class java.lang.String], [status, in, class oracle.dbtools.rt.oauth.ApprovalRequest$Status], [created, in, class java.sql.Timestamp]]with values: [adminlistener, APPROVED, 3858401374580004, -1, adminlistener, 2014-06-23 12:19:18.785, adminlistener, 2014-06-23 12:19:18.785]
    SQL Developer responded with an Authentication Failed titled dialog with the following displayed in the body of the dialog
    Cannot connect to DEV.
    <!DOCTYPE html>
    <!--[if lt IE 7 ]> <html class="ie6"> <![endif]-->
    <!--[if IE 7 ]> <html class="ie7 no-css3"> <![endif]-->
    <!--[if IE 8 ]> <html class="ie8 no-css3"> <![endif]-->
    <!--[if IE 9 ]> <html class="ie9"> <![endif]-->
    <!--[if (gt IE 9)|!(IE)]><!-->
    <html>
    <!--<![endif]-->
    <html lang="en">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <style type="text/css" media="screen">html,body,div,span,h3,p,ol,ul,li,header,hgroup{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}header,hgroup{display:block}body{font:normal 12px/16px Arial,sans-serif;margin:0 auto;background:#6a9cda}header#xHeader{border-bottom:1px solid #8fa4c0;position:relative;z-index:10;background:none #000}header#xHeader hgroup{width:974px;margin:0 auto;position:relative;height:36px;background:none #000}header#xHeader a#uLogo{margin:8px 0;display:inline-block;font:bold 14px/20px Arial,sans-serif;color:#AAA;text-decoration:none}header#xHeader a#uLogo span.logo{color:#F00}.no-css3 div#xContentContainer div.xContent{padding-top:14px}.no-css3 div#xContentContainer div.xContent div.xMainLeft h2{margin-top:0}div#xWhiteContentContainer{margin-bottom:30px}div#xWhiteContentContainer.xContentWide{background:#FFF;margin-bottom:0}div#xWhiteContentContainer.xContentWide div.xWhiteContent{-moz-border-radius:0;-webkit-border-radius:0;border-radius:0;-moz-box-shadow:none;-webkit-box-shadow:none;box-shadow:none}div#xWhiteContentContainer div.xWhiteContent{width:974px;margin:0 auto;padding:0 0 20px 0;background:#FFF;min-height:500px;-moz-border-radius:0 4px 4px 4px;-webkit-border-radius:0 4px 4px 4px;border-radius:0 4px 4px 4px;-moz-box-shadow:0 1px 2px rgba(0,0,0,0.15);-webkit-box-shadow:0 1px 2px rgba(0,0,0,0.15);box-shadow:0 1px 2px rgba(0,0,0,0.15)}div#xContentHeaderContainer{background:#6a9cda;-moz-box-shadow:0 -1px 0 rgba(0,0,0,0.15) inset;-webkit-box-shadow:0 -1px 0 rgba(0,0,0,0.15) inset;box-shadow:0 -1px 0 rgba(0,0,0,0.15) inset}div#xContentHeaderContainer div.xContentHeader{width:974px;margin:0 auto;padding:30px 0 32px 0;position:relative;min-height:60px}div#xContentHeaderContainer div.xContentHeader h3{font:bold 24px/24px Arial,sans-serif;color:#fff;text-shadow:0 2px 1px rgba(0,0,0,0.25);margin:0 0 20px 0}div#xFooterContainer{min-height:200px;border-top:1px solid rgba(0,0,0,0.15);background:#6a9cda}body.errorPage div#xContentHeaderContainer div.xContentHeader{min-height:30px}body.errorPage div#xContentHeaderContainer div.xContentHeader h3{font:bold 30px/30px Arial,sans-serif;color:#FFF;text-shadow:0 1px 2px rgba(0,0,0,0.25);margin:0}div.errorPage p{font:normal 14px/20px Arial,sans-seri;color:#666;padding:0 0 10px 0}div.errorPage ul{list-style:disc outside;padding:0 10px 0;margin:0 0 20px 0}div.errorPage ul li{font:normal 12px/16px Arial,sans-serif;color:#666;margin:0 0 8px 10px}pre{font-family:Consolas,"Lucida Console","Courier New",Courier,monospace}
    </style>
    <script type="text/javascript" charset="utf-8">
      'header hgroup'.replace(/\w+/g,
      function(n) {
      document.createElement(n)
    </script>
    <title>Internal Server Error</title>
    </head>
    <body class="errorPage">
      <header id="xHeader">
      <hgroup>
      <a id="uLogo" href="./"><span class="logo">ORACLE</span>
      REST DATA SERVICES</a>
      </hgroup>
      </header>
      <div id="xContentHeaderContainer">
      <div class="xContentHeader">
      <h3>
      <span class="statusCode">500</span> - <span
      class="statusMessage">Internal Server Error</span>
      </h3>
      </div>
      </div>
      <div id="xWhiteContentContainer" class="xContentWide">
      <div class="xWhiteContent">
      <div class="errorPage">
      <p>
      <ul class="reasons">
      </ul>
      </p>
      <p>
      <pre>Request Path passes syntax validation
    Mapping request to database pool: PoolMap [_failed=false, _lastUpdate=-1, _pattern=null, _poolName=apex, _regex=null, _type=REGEX, _workspaceIdentifier=null, _serviceName=null]
    Applied database connection info
    Attempting to process with PL&#x2F;SQL Gateway
    Not processed as PL&#x2F;SQL Gateway request
    Attempting to process as a RESTful Service
    Choosing: oracle.dbtools.rt.oauth.TokenHandler as current candidate with score: Score [handle=null, score=0, scope=SecurityConfig [constraint=secure, realm=OAUTH_CLIENT, logonConfig=NONE], originsAllowed=[], corsEnabled=true]
    Determining if request can be dispatched as a Tenanted RESTful Service
    Request path has one path segment, continuing processing
    No Tenant Principal established yet, continuing processing
    APEX_LISTENER pool exists, continuing processing
    No matching tenant found for: oauth2, cannot dispatch
    Chose oracle.dbtools.rt.oauth.TokenHandler as the final candidate with score: Score [handle=null, score=0, scope=SecurityConfig [constraint=secure, realm=OAUTH_CLIENT, logonConfig=NONE], originsAllowed=[], corsEnabled=true] for: POST oauth2&#x2F;token
    oauth2&#x2F;token authorized as: p6xycV-2QceFnFHkWyJlnA..
    </pre>
      </p>
      <p>
      <pre>WebException [statusCode=500]
      at oracle.dbtools.rt.web.WebException.webException(WebException.java:343)
      at oracle.dbtools.rt.web.WebException.internalError(WebException.java:262)
      at oracle.dbtools.rt.oauth.jdbc.JDBCOAuthDataAccess.createApproval(JDBCOAuthDataAccess.java:514)
      at oracle.dbtools.rt.oauth.jdbc.JDBCOAuthDataAccess.createApprovedRequest(JDBCOAuthDataAccess.java:181)
      at oracle.dbtools.rt.oauth.OAuthAuthorization.resourceOwnerCredentials(OAuthAuthorization.java:654)
      at oracle.dbtools.rt.oauth.OAuthAuthorization.tokenRequest(OAuthAuthorization.java:273)
      at oracle.dbtools.rt.oauth.TokenHandler.post(TokenHandler.java:44)
      at oracle.dbtools.rt.web.RequestHandler.response(RequestHandler.java:268)
      at oracle.dbtools.rt.web.RequestHandler.dispatch(RequestHandler.java:361)
      at oracle.dbtools.rt.web.RequestHandler.dispatch(RequestHandler.java:85)
      at oracle.dbtools.rt.web.RequestDispatchers.dispatch(RequestDispatchers.java:93)
      at oracle.dbtools.rt.web.ETags.checkPrecondition(ETags.java:93)
      at oracle.dbtools.rt.web.HttpEndpointBase.restfulServices(HttpEndpointBase.java:426)
      at oracle.dbtools.rt.web.HttpEndpointBase.service(HttpEndpointBase.java:164)
      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.invokeFilterChain(ServletAdapter.java:999)
      at com.sun.grizzly.http.servlet.ServletAdapter.doService(ServletAdapter.java:434)
      at oracle.dbtools.standalone.SecureServletAdapter.doService(SecureServletAdapter.java:91)
      at com.sun.grizzly.http.servlet.ServletAdapter.service(ServletAdapter.java:379)
      at com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:179)
      at com.sun.grizzly.tcp.http11.GrizzlyAdapterChain.service(GrizzlyAdapterChain.java:196)
      at com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:179)
      at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:849)
      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(DefaultProtocolFilter.java:228)
      at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
      at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
      at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
      at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
      at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.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(AbstractThreadPool.java:532)
      at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
      at java.lang.Thread.run(Unknown Source)
    Caused by: java.sql.SQLIntegrityConstraintViolationException: ORA-02291: integrity constraint (APEX_040200.WWV_FLOW_RT$APPROVALS_SGID_FK) violated - parent key not found
      at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:447)
      at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:396)
      at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:879)
      at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:505)
      at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:223)
      at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:531)
      at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:208)
      at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:1046)
      at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1336)
      at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3612)
      at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:3713)
      at oracle.jdbc.driver.OraclePreparedStatementWrapper.execute(OraclePreparedStatementWrapper.java:1378)
      at sun.reflect.GeneratedMethodAccessor28.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      at java.lang.reflect.Method.invoke(Unknown Source)
      at oracle.ucp.jdbc.proxy.StatementProxyFactory.invoke(StatementProxyFactory.java:230)
      at oracle.ucp.jdbc.proxy.PreparedStatementProxyFactory.invoke(PreparedStatementProxyFactory.java:124)
      at com.sun.proxy.$Proxy44.execute(Unknown Source)
      at oracle.dbtools.common.jdbc.JDBCInsert.execute(JDBCInsert.java:58)
      at oracle.dbtools.rt.oauth.jdbc.JDBCOAuthDataAccess.createApproval(JDBCOAuthDataAccess.java:487)
      ... 34 more
    </pre>
      </p>
      </div>
      </div>
      </div>
      <div id="xFooterContainer">
      </div>
    </body>
    </html>
    I am assuming this must be part of the problem I am seeing this the Weblogic deployment in my original post.
    Does anyone have any suggestions on how best to tackle this?
    Regards,
    Derek

  • 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, POST, internal body-variable

    Hello,
    I am using Apex-Listener 1.1.2.131.15.23 on SUSE Linux 11.3./Oracle XE 10. I created a Resource Template with POST-methode and the following pl/sql-block:
    declare
    l_nuLen1 number;
    l_nuLen2 number;
    begin
    l_nuLen1 := length(:body);
    l_nuLen2 := dbms_lob.getLength(:body);
    :status := triple.coxSmsAt.fSetResponse(:contentType || '(' || to_char(length(:contentType)) || ')',to_char(l_nuLen1) || '/' || to_char(l_nuLen2),:body);
    end;
    In my STF on the database there is no problem to get the value of :contentType. But if I want to access to the :body-variable most of the tries ended in a server-error. With the PL/SQL-block above there is no server-error but the result is l_nuLen1 = 5, l_nuLen2 = 0 and no value apears in the fSetResponse-StoredFunction for :body.
    Can someone help me?
    Thanks
    Martin

    Well the idea behind APEX (Application Express ) is that you can develop mostly declarativly. This is what a RAD tool/framework should do. You seem to think that your requirements somehow force you to send your own constructed code to the listener. Why? Apex in general is very good at hiding this logic from you. Maybe instead of asking a deeply technical question, start by explaining what you want to achieve (business language not technical explaination!). Then lets talk how to use Apex in a normal way to achieve the same result. This might even help you to develop better stuff in faster time.
    Edited by: Sven W. on Sep 10, 2012 4:20 PM - typo corrections
    Your requirement would violate several standard design principles. One should not do so without good reasoning.
    Consider this link: http://effectivesoftwaredesign.com/2012/02/05/separation-of-concerns/
    Edited by: Sven W. on Sep 10, 2012 4:24 PM

  • Apex Listener/Apache Tomact and filenames with spaces

    I've installed the Apex Listener with Apache Tomcat, and all seems to work fine. Except when I try to do a CSV file data upload via the utilities screen in apex. If the filename/directory path contains spaces, then Apex reports "File Must Be Specified" error - yet if I do this same operation via EPG instead of Tomcat, it works. Are there any restrictions in Tomcat to using spaces??

    Look at this thread. Re: File upload problem
    regards.

Maybe you are looking for

  • SAP on MSCS and log shipping for DR

    Hi Experts, Can anyone please explain if below is possible : - We have installed Netweaver 7.01 Java application server on Microsoft clustering which is working perfectly ok. -Now we are looking at building a DR solution for the above installation us

  • What is the Diffrence between Oracle 11 and 11i

    What is the Diffrence between Oracle 11 and Oracle11i ?. With Rgds Arun J.Isaac

  • Mac osx startup disk has no more space available

    I get the error message "Mac OS Startup disk has no more space available."    I have run the resolution suggested on support helpsite.  Still running very slow.  Suggestions?

  • Microsoft teredo tunneling adapter code 10

    Device manager said I have a bad Teredo tunneling adapter.  Deleted adapter and then loaded new adapter. Message given was " this device cannot start ( code 10 ). Device manager says new adapter is bad ( shows yellow troubleshoot icon ) and after tro

  • How to install premiere pro cs3 on vista 32bits

    hello! i have downloaded a trail version of adobe premier. but during the installatoin i asked to insert the installatuion disk into the E-drive. i tried to do it in windows vista 32 bits. can samebady help me?