Operation failed with error: Error compiling :$ORACLE_HOME/j2ee/<oc4j instance>/applications/... in Oracle Application Server 10.1.3.5 (Doc ID 1277959.1)

Last updated on MARCH 24, 2017

Applies to:

Web Services - Version 10.1.3.5 to 10.1.3.5 [Release AS10gR3]
Information in this document applies to any platform.

Symptoms

A web application which was created in JDeveloper 10.1.3.3 using the "PL/SQL J2EE 1.4 Web Service" wizard used to work fine in Oracle Application Server 10.1.3.3.  After upgrading the Application Server to 10.1.3.5, the application failed to deploy generating an error similar to the following:

[Nov 25, 2010 2:58:11 AM] Application Deployer for appsbs STARTS.
[Nov 25, 2010 2:58:11 AM] Copy the archive to /oracle/oas1013/j2ee/OC4J_01/applications/appsbs.ear
[Nov 25, 2010 2:58:12 AM] Initialize /oracle/oas1013/j2ee/OC4J_01/applications/appsbs.ear begins...
[Nov 25, 2010 2:58:12 AM] Unpacking appsbs.ear
[Nov 25, 2010 2:58:12 AM] Done unpacking appsbs.ear
[Nov 25, 2010 2:58:12 AM] Unpacking appsbs.war
[Nov 25, 2010 2:58:12 AM] Done unpacking appsbs.war
[Nov 25, 2010 2:58:12 AM] Initialize /oracle/oas1013/j2ee/OC4J_01/applications/appsbs.ear ends...
[Nov 25, 2010 2:58:12 AM] Starting application : appsbs
[Nov 25, 2010 2:58:12 AM] Initializing ClassLoader(s)
[Nov 25, 2010 2:58:12 AM] Initializing EJB container
[Nov 25, 2010 2:58:12 AM] Loading connector(s)
[Nov 25, 2010 2:58:12 AM] Starting up resource adapters
[Nov 25, 2010 2:58:12 AM] Initializing EJB sessions
[Nov 25, 2010 2:58:12 AM] Committing ClassLoader(s)
[Nov 25, 2010 2:58:12 AM] Initialize appsbs begins...
[Nov 25, 2010 2:58:12 AM] Initialize appsbs ends...
[Nov 25, 2010 2:58:12 AM] Started application : appsbs
[Nov 25, 2010 2:58:12 AM] Binding web application(s) to site default-web-site begins...
[Nov 25, 2010 2:58:12 AM] Binding appsbs web-module for application appsbs to site default-web-site under context root /appsbs
[Nov 25, 2010 2:58:38 AM] Operation failed with error: Error compiling :/oracle/oas1013/j2ee/OC4J_01/applications/appsbs/appsbs:
Syntax error in source or compilation failed in: /oracle/oas1013/j2ee/OC4J_01/application-deployments/appsbs/appsbs/om/universal/productousuarioplan/ConsultarResponseElement

Changes

This can happen in the same scenario from an upgrade from 10.1.3.4 as well, so it can be said that an upgrade from 10.1.3.3 or 10.1.3.4 to 10.1.3.5 is the change in the system that caused the issue.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms