This content has been marked as final. Show 6 replies
Hello,1 person found this helpful
if you are on a XE that didn't use any external web server before (e.g. after a fresh XE installation), you have to configure the APEX_PUBLIC_USER first, as documented here:
Unfortunately, this is just part of the APEX Installation Guide, but you have a preinstalled APEX, so you probably didn't perform the steps mentioned there.
If that's not the reason, could you post the log/console output of your OC4J? (As you posted you followed p. 20ff, I assume you deployed the Listener on a OC4J...) You should see more information (stack trace) which would give a hint on what's wrong.
Edited by: Udo on 26.01.2011 21:50
Thank you for the suggestions.
The APEX_PUBLIC_USER is unlocked.
Here's the relevant part of the OC4J log file:
11/01/27 07:07:37.672 apex: Servlet error
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor
I've also noticed the Database Express home page has been replaced with APEX homepage (with missing images even though
I followed instructions to copy them). Is is still possible to use Database Express? And what's the difference between the
Database Express application building function and APEX?
Hello,1 person found this helpful
the error message indicates that your OC4J isn't using the appropriate Java version. As denoted in the requirements list of the APEX Listener documentation, you need at least "Java 6 Update 20 JDK or higher".
If you are unsure which Java version you are currently using, you could enter "java -version" in the command line.
Concerning your other observation: The "Database Express home page" actually is the APEX start page of the APEX version that ships with your XE database. You probably see the APEX Listeners configuration page first when you haven't configured it before. Probably that is the page you saw at first. You will see the "well known" start page after your Listener is up and running.
Thanks again for your suggestions.
I think my problem is multiple Java versions.
Issuing "java -version" displays the following:
"java version 1.5.0_06"
Java<TM> 2 Runtime Environment, Standard Edition <build 1.5.0_06-b05>
Java HotSpot Client VM <build 1.5.0_06-b05, mixed mode>
I don't think it's the right version, is it?
I do have Java SE Development Kit 6 Update 23 installed on my PC.
How do I "force" the latest version?
I modified may PATH variable and now I'm using Java version 1.6.0_23, which I think is the right one.
Unfortunately I still get the same error as described previously.
The OC4J log entry is the same as it was under older version of Java.
Edited by: user8655013 on Jan 27, 2011 11:27 AM
as far as I know, OC4J evaluates the environment variable "JAVA_HOME" to determine the Java version it uses. So, if you have your recent Java version in your search path, this does not necessarily mean that OC4J is using it. If you haven't set a JAVA_HOME yet, you could try that. If that doesn't work either, possibly you use a start/stop for controlling your OC4J. Perhaps this (re)sets JAVA_HOME without regard for existing global values.