Http 500 Internal Server Error For Jdeveloper Tutorial Applications
(Doc ID 1102780.1)
Last updated on AUGUST 11, 2024
Applies to:
Oracle Applications Framework - Version 11.5.10.2 to 11.5.10.2.6 [Release 11.5.10]Information in this document applies to any platform.
Symptoms
When running the test_fwktutorial.jsp in Jdeveloper, one receives the following error:
[Starting OC4J using the following ports: HTTP=<port>, RMI=<port>, JMS=<port>.]
C:\Jdeveloper\jdevhome\jdev\system\oracle.j2ee.10.1.3.41.57\embedded-oc4j\config>
C:\Jdeveloper\jdevbin\jdk\bin\javaw.exe -hotspot -classpath C:\Jdeveloper\jdevbin\j2ee\home\oc4j.jar;C:\Jdeveloper\jdevbin\jdev\lib\jdev-oc4j-embedded.jar -DFND_JDBC_STMT_CACHE_SIZE=200 -DCACHENODBINIT=true -DRUN_FROM_JDEV=true -mx256m -XX:MaxPermSize=256M -Doracle.j2ee.dont.use.memory.archive=false -Xverify:none -DcheckForUpdates=adminClientOnly -Doracle.application.environment=development -Doracle.j2ee.dont.use.memory.archive=true -Doracle.j2ee.http.socket.timeout=500 -Doc4j.jms.usePersistenceLockFiles=false oracle.oc4j.loader.boot.BootStrap -config C:\Jdeveloper\jdevhome\jdev\system\oracle.j2ee.10.1.3.41.57\embedded-oc4j\config\server.xml
[waiting for the server to complete its initialization...]
Apr 23, 2010 2:24:01 PM com.evermind.server.jms.JMSMessages log
INFO: JMSServer[]: OC4J JMS server recovering transactions (commit 0) (rollback 0) (prepared 0).
Apr 23, 2010 2:24:01 PM com.evermind.server.jms.JMSMessages log
INFO: JMSServer[]: OC4J JMS server recovering local transactions Queue[jms/Oc4jJmsExceptionQueue].
WARNING: Code-source C:\Jdeveloper\jdevbin\jdev\appslibrt\xml.jar (from <library> in /C:/Jdeveloper/jdevhome/jdev/system/oracle.j2ee.10.1.3.41.57/embedded-oc4j/config/application.xml) has the same filename but is not identical to /C:/Jdeveloper/jdevbin/lib/xml.jar (from <code-source> (ignore manifest Class-Path) in META-INF/boot.xml in C:\Jdeveloper\jdevbin\j2ee\home\oc4j.jar). If it contains different versions of the same classes, it will be masked as the latter is already visible in the search path of loader default.root:0.0.0.
WARNING: Code-source C:\Jdeveloper\jdevbin\jdev\appslibrt\jazn.jar (from <library> in /C:/Jdeveloper/jdevhome/jdev/system/oracle.j2ee.10.1.3.41.57/embedded-oc4j/config/application.xml) has the same filename but is not identical to /C:/Jdeveloper/jdevbin/j2ee/home/jazn.jar (from <code-source> in META-INF/boot.xml in C:\Jdeveloper\jdevbin\j2ee\home\oc4j.jar). If it contains different versions of the same classes, it will be masked as the latter is already visible in the search path of loader default.root:0.0.0.
WARNING: Code-source C:\Jdeveloper\jdevbin\jdev\appslibrt\jazncore.jar (from manifest of /C:/Jdeveloper/jdevbin/jdev/appslibrt/jazn.jar) has the same filename but is not identical to /C:/Jdeveloper/jdevbin/j2ee/home/jazncore.jar (from <code-source> in META-INF/boot.xml in C:\Jdeveloper\jdevbin\j2ee\home\oc4j.jar). If it contains different versions of the same classes, it will be masked as the latter is already visible in the search path of loader default.root:0.0.0.
WARNING: Code-source C:\Oracle\lib\xmlparserv2.jar (from manifest of /C:/Jdeveloper/jdevbin/jdev/appslibrt/jazncore.jar) has the same filename but is not identical to /C:/Jdeveloper/jdevbin/lib/xmlparserv2.jar (from <code-source> (ignore manifest Class-Path) in META-INF/boot.xml in C:\Jdeveloper\jdevbin\j2ee\home\oc4j.jar). If it contains different versions of the same classes, it will be masked as the latter is already visible in the search path of loader default.root:0.0.0.
10/04/23 14:24:03 WARNING: Application.setConfig Application: datatags is in failed state as initialization failed.
java.lang.IllegalAccessError: tried to access method oracle.xml.jaxp.JXDocumentBuilder.<init>()V from class oracle.xml.jaxp.JXDocumentBuilderFactory
Apr 23, 2010 2:24:03 PM com.evermind.server.ServerMessages warningApplicationInitializationFailed
WARNING: Exception initializing deployed application: datatags. Application: datatags is in failed state as initialization failed
10/04/23 14:24:03 WARNING: Application.setConfig Application: APPS_OA is in failed state as initialization failed.
java.lang.IllegalAccessError: tried to access method oracle.xml.jaxp.JXDocumentBuilder.<init>()V from class oracle.xml.jaxp.JXDocumentBuilderFactory
Apr 23, 2010 2:24:03 PM com.evermind.server.ServerMessages warningApplicationInitializationFailed
WARNING: Exception initializing deployed application: APPS_OA. Application: APPS_OA is in failed state as initialization failed
10/04/23 14:24:03 WARNING: Application.setConfig Application: current-workspace-app is in failed state as initialization failed.
java.lang.IllegalAccessError: tried to access method oracle.xml.jaxp.JXDocumentBuilder.<init>()V from class oracle.xml.jaxp.JXDocumentBuilderFactory
Apr 23, 2010 2:24:03 PM com.evermind.server.ServerMessages warningApplicationInitializationFailed
WARNING: Exception initializing deployed application: current-workspace-app. Application: current-workspace-app is in failed state as initialization failed
Apr 23, 2010 2:24:03 PM com.evermind.server.http.HttpMessages internalErrorWhileTryingToInstantiate
SEVERE: Internal error raised tyring to instantiate web-application: webapp defined in web site OC4J 10g (10.1.3) Default Web Site. Application: webapp has been stopped
Ready message received from Oc4jNotifier.
Embedded OC4J startup time: 7704 ms.
Target URL -- http://test.com:<port>/OA_HTML/test_fwktutorial.jsp
10/04/23 14:24:03 Oracle Containers for J2EE 10g (10.1.3.3.0) initialized
C:\Jdeveloper\jdevhome\jdev\system\oracle.j2ee.10.1.3.41.57\embedded-oc4j\config>
C:\Jdeveloper\jdevbin\jdk\bin\javaw.exe -hotspot -classpath C:\Jdeveloper\jdevbin\j2ee\home\oc4j.jar;C:\Jdeveloper\jdevbin\jdev\lib\jdev-oc4j-embedded.jar -DFND_JDBC_STMT_CACHE_SIZE=200 -DCACHENODBINIT=true -DRUN_FROM_JDEV=true -mx256m -XX:MaxPermSize=256M -Doracle.j2ee.dont.use.memory.archive=false -Xverify:none -DcheckForUpdates=adminClientOnly -Doracle.application.environment=development -Doracle.j2ee.dont.use.memory.archive=true -Doracle.j2ee.http.socket.timeout=500 -Doc4j.jms.usePersistenceLockFiles=false oracle.oc4j.loader.boot.BootStrap -config C:\Jdeveloper\jdevhome\jdev\system\oracle.j2ee.10.1.3.41.57\embedded-oc4j\config\server.xml
[waiting for the server to complete its initialization...]
Apr 23, 2010 2:24:01 PM com.evermind.server.jms.JMSMessages log
INFO: JMSServer[]: OC4J JMS server recovering transactions (commit 0) (rollback 0) (prepared 0).
Apr 23, 2010 2:24:01 PM com.evermind.server.jms.JMSMessages log
INFO: JMSServer[]: OC4J JMS server recovering local transactions Queue[jms/Oc4jJmsExceptionQueue].
WARNING: Code-source C:\Jdeveloper\jdevbin\jdev\appslibrt\xml.jar (from <library> in /C:/Jdeveloper/jdevhome/jdev/system/oracle.j2ee.10.1.3.41.57/embedded-oc4j/config/application.xml) has the same filename but is not identical to /C:/Jdeveloper/jdevbin/lib/xml.jar (from <code-source> (ignore manifest Class-Path) in META-INF/boot.xml in C:\Jdeveloper\jdevbin\j2ee\home\oc4j.jar). If it contains different versions of the same classes, it will be masked as the latter is already visible in the search path of loader default.root:0.0.0.
WARNING: Code-source C:\Jdeveloper\jdevbin\jdev\appslibrt\jazn.jar (from <library> in /C:/Jdeveloper/jdevhome/jdev/system/oracle.j2ee.10.1.3.41.57/embedded-oc4j/config/application.xml) has the same filename but is not identical to /C:/Jdeveloper/jdevbin/j2ee/home/jazn.jar (from <code-source> in META-INF/boot.xml in C:\Jdeveloper\jdevbin\j2ee\home\oc4j.jar). If it contains different versions of the same classes, it will be masked as the latter is already visible in the search path of loader default.root:0.0.0.
WARNING: Code-source C:\Jdeveloper\jdevbin\jdev\appslibrt\jazncore.jar (from manifest of /C:/Jdeveloper/jdevbin/jdev/appslibrt/jazn.jar) has the same filename but is not identical to /C:/Jdeveloper/jdevbin/j2ee/home/jazncore.jar (from <code-source> in META-INF/boot.xml in C:\Jdeveloper\jdevbin\j2ee\home\oc4j.jar). If it contains different versions of the same classes, it will be masked as the latter is already visible in the search path of loader default.root:0.0.0.
WARNING: Code-source C:\Oracle\lib\xmlparserv2.jar (from manifest of /C:/Jdeveloper/jdevbin/jdev/appslibrt/jazncore.jar) has the same filename but is not identical to /C:/Jdeveloper/jdevbin/lib/xmlparserv2.jar (from <code-source> (ignore manifest Class-Path) in META-INF/boot.xml in C:\Jdeveloper\jdevbin\j2ee\home\oc4j.jar). If it contains different versions of the same classes, it will be masked as the latter is already visible in the search path of loader default.root:0.0.0.
10/04/23 14:24:03 WARNING: Application.setConfig Application: datatags is in failed state as initialization failed.
java.lang.IllegalAccessError: tried to access method oracle.xml.jaxp.JXDocumentBuilder.<init>()V from class oracle.xml.jaxp.JXDocumentBuilderFactory
Apr 23, 2010 2:24:03 PM com.evermind.server.ServerMessages warningApplicationInitializationFailed
WARNING: Exception initializing deployed application: datatags. Application: datatags is in failed state as initialization failed
10/04/23 14:24:03 WARNING: Application.setConfig Application: APPS_OA is in failed state as initialization failed.
java.lang.IllegalAccessError: tried to access method oracle.xml.jaxp.JXDocumentBuilder.<init>()V from class oracle.xml.jaxp.JXDocumentBuilderFactory
Apr 23, 2010 2:24:03 PM com.evermind.server.ServerMessages warningApplicationInitializationFailed
WARNING: Exception initializing deployed application: APPS_OA. Application: APPS_OA is in failed state as initialization failed
10/04/23 14:24:03 WARNING: Application.setConfig Application: current-workspace-app is in failed state as initialization failed.
java.lang.IllegalAccessError: tried to access method oracle.xml.jaxp.JXDocumentBuilder.<init>()V from class oracle.xml.jaxp.JXDocumentBuilderFactory
Apr 23, 2010 2:24:03 PM com.evermind.server.ServerMessages warningApplicationInitializationFailed
WARNING: Exception initializing deployed application: current-workspace-app. Application: current-workspace-app is in failed state as initialization failed
Apr 23, 2010 2:24:03 PM com.evermind.server.http.HttpMessages internalErrorWhileTryingToInstantiate
SEVERE: Internal error raised tyring to instantiate web-application: webapp defined in web site OC4J 10g (10.1.3) Default Web Site. Application: webapp has been stopped
Ready message received from Oc4jNotifier.
Embedded OC4J startup time: 7704 ms.
Target URL -- http://test.com:<port>/OA_HTML/test_fwktutorial.jsp
10/04/23 14:24:03 Oracle Containers for J2EE 10g (10.1.3.3.0) initialized
Changes
Other Oracle development tools such as Workflow Builder are installed on the pc.
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Changes |
Cause |
Solution |