My Oracle Support Banner

R12: OWF: Errors "TRANSLATION ERROR(0) test.jsp" And "COMPILATION ERROR(0) AppsDown.jsp" While Applying Patch 29158441 (Doc ID 2771999.1)

Last updated on DECEMBER 05, 2024

Applies to:

Oracle Applications DBA - Version 12.1.3 and later
Information in this document applies to any platform.

Symptoms

The following Errors Raise while applying patch 29158441

The patch U-driver application log file shows:

************* Start of AutoPatch session *************
AutoPatch version: 12.0.0
AutoPatch started at: Mon Mar 29 2021 07:23:14

APPL_TOP is set to /obase/ebiz/apps/apps_st/appl

Options = "maintenancemode".

NLS_LANG value from the environment is    : American_America.UTF8
NLS_LANG value for this AD utility run is : AMERICAN_AMERICA.UTF8

You can be notified by email if a failure occurs.
Do you wish to activate this feature [No] ? No

Please enter the batchsize [1000] : 1000


Please enter the name of the Oracle Applications System that this
APPL_TOP belongs to.

The Applications System name must be unique across all Oracle
Applications Systems at your site, must be from 1 to 30 characters
long, may only contain alphanumeric and underscore characters,
and must start with a letter.

Sample Applications System names are: "prod", "test", "demo" and
"Development_2".

Applications System Name [ebsdev] : ebsdev *


NOTE: If you do not currently have certain types of files installed
in this APPL_TOP, you may not be able to perform certain tasks.

Example 1: If you don't have files used for installing or upgrading
the database installed in this area, you cannot install or upgrade
the database from this APPL_TOP.

Example 2: If you don't have forms files installed in this area, you cannot
generate them or run them from this APPL_TOP.

Example 3: If you don't have concurrent program files installed in this area,
you cannot relink concurrent programs or generate reports from this APPL_TOP.


Do you currently have files used for installing or upgrading the database
installed in this APPL_TOP [YES] ? YES *


Do you currently have Java and HTML files for HTML-based functionality
installed in this APPL_TOP [YES] ? YES *


Do you currently have Oracle Applications forms files installed
in this APPL_TOP [YES] ? YES *


Do you currently have concurrent program files installed
in this APPL_TOP [YES] ? YES *


Please enter the name Oracle Applications will use to identify this APPL_TOP.

The APPL_TOP name you select must be unique within an Oracle Applications
System, must be from 1 to 30 characters long, may only contain
alphanumeric and underscore characters, and must start with a letter.

Sample APPL_TOP Names are: "prod_all", "demo3_forms2", and "forms1".

APPL_TOP Name [ghdebs03lds] : ghdebs03lds *



You are about to apply a patch to the installation of Oracle Applications
in your ORACLE database 'ebsdev'
using ORACLE executables in '/obase/ebiz/apps/tech_st/10.1.2'.

Is this the correct database [Yes] ? Yes

AutoPatch needs the password for your 'SYSTEM' ORACLE schema
in order to determine your installation configuration.

Enter the password for your 'SYSTEM' ORACLE schema: *****


Connecting to SYSTEM......Connected successfully.

The ORACLE username specified below for Application Object Library
uniquely identifies your existing product group: APPLSYS

Enter the ORACLE password of Application Object Library [APPS] : *****

AutoPatch is verifying your username/password.
Connecting to APPLSYS......Connected successfully.

 ...
 ...


perl -x /obase/ebiz/apps/apps_st/appl/fnd/12.0.0/patch/115/bin/ojspCompile.pl --compile --quiet
logfile set: /obase/ebiz/inst/apps/ebsdev_ghdebs03lds/logs/appl/rgf/ojsp/ojspc_error.log
starting...(compiling delta)
using 10i internal ojsp ver: 10
synchronizing dependency file:
 enumerating jsps...8398
 parsing jsp...8397
 writing deplist...8397
initializing compilation:
 eliminating children...6406 (-1992)
 searching uncompiled...6393
translating and compiling:
 searching untranslated...6393
 translating jsps...6393/6393 [failed: 1] in 2m32s
 compiling jsps... 81% complete: 5200/6392 ETA: 1m9s
 compiling jsps...6392/6392 [failed: 1] in 6m3s
Finished!


Done compiling JSP files.

 ...
 ...

 

And the JSP compilation log file ojspc_error.log shows:

22299 STARTING Wed Jan 20 01:28:51 2021
PROG: ojspCompile.pl rev 120.10 (2007/11/16 04:50:02)
PERL: /obase/ebiz/apps/tech_st/10.1.3/perl/bin/perl
ARGS: --compile --quiet
CONF: /obase/ebiz/inst/apps/ebsdev_ghdebs03lds/appl/admin/ojspCompile.conf
PERL5LIB:
        (dir) /obase/ebiz/apps/tech_st/10.1.3/perl/lib/5.8.3/i686-linux-thread-multi
        (dir) /obase/ebiz/apps/tech_st/10.1.3/perl/lib/5.8.3
        (dir) /obase/ebiz/apps/tech_st/10.1.3/perl/lib/site_perl/5.8.3/i686-linux-thread-multi
        (dir) /obase/ebiz/apps/tech_st/10.1.3/perl/lib/site_perl/5.8.3
        (dir) /obase/ebiz/apps/apps_st/appl/au/12.0.0/perl
        (dir) /obase/ebiz/apps/tech_st/10.1.3/Apache/Apache/mod_perl/lib/site_perl/5.8.3/i686-linux-thread-multi
    [invalid] /ade/smayer_perl58_main_linux/perl58/bin/Linux/Opt/lib/5.8.3/i686-linux-thread-multi
    [invalid] /ade/smayer_perl58_main_linux/perl58/bin/Linux/Opt/lib/5.8.3
    [invalid] /ade/smayer_perl58_main_linux/perl58/bin/Linux/Opt/lib/site_perl/5.8.3/i686-linux-thread-multi
    [invalid] /ade/smayer_perl58_main_linux/perl58/bin/Linux/Opt/lib/site_perl/5.8.3
    [invalid] /ade/smayer_perl58_main_linux/perl58/bin/Linux/Opt/lib/site_perl
PATH:
        (dir) /obase/ebiz/apps/tech_st/10.1.3/appsutil/jdk/bin
        (dir) /obase/ebiz/apps/tech_st/10.1.3/bin
        (dir) /obase/ebiz/apps/apps_st/comn/clone/bin
        (dir) /obase/ebiz/apps/tech_st/10.1.3/perl/bin
        (dir) /obase/ebiz/inst/apps/ebsdev_ghdebs03lds/admin/scripts
        (dir) /obase/ebiz/apps/tech_st/10.1.3/perl/bin
        (dir) /obase/ebiz/apps/tech_st/10.1.2/bin
        (dir) /obase/ebiz/apps/apps_st/appl/fnd/12.0.0/bin
        (dir) /obase/ebiz/apps/apps_st/appl/ad/12.0.0/bin
        (dir) /obase/ebiz/apps/tech_st/10.1.3/appsutil/jdk/jre/bin
        (dir) /obase/ebiz/apps/tech_st/10.1.2/bin
        (dir) /usr/bin
        (dir) /usr/sbin
        (dir) /obase/ebiz/apps/tech_st/10.1.3/appsutil/jdk/jre/bin
        (dir) /usr/lib64/qt-3.3/bin
        (dir) /usr/local/bin
        (dir) /bin
        (dir) /usr/bin
        (dir) /usr/local/sbin
        (dir) /usr/sbin
        (dir) /sbin
        (dir) /opt/puppetlabs/bin
    [invalid] /home/applebsdev/bin
        (dir) /obase/ebiz/apps/tech_st/10.1.2/OPatch
        (dir) /obase/ebiz/apps/tech_st/10.1.3/appsutil/jdk/bin
        (dir) /obase/ebiz/apps/tech_st/10.1.3/ant/bin
        (dir) /oscripts/ebusiness
OJSPC: (using built-in Jspc)
JAVA: /obase/ebiz/apps/tech_st/10.1.3/appsutil/jdk/bin/java
JAVA VERSION: java version "1.7.0_221"
Java(TM) SE Runtime Environment (build 1.7.0_221-b34)
Java HotSpot(TM) Server VM (build 24.221-b34, mixed mode)
CLASSPATH:
    [invalid]
       (file) /obase/ebiz/apps/tech_st/10.1.3/j2ee/home/oc4j-api.jar
       (file) /obase/ebiz/apps/tech_st/10.1.3/j2ee/home/lib/oc4j-unsupported-api.jar
       (file) /obase/ebiz/apps/tech_st/10.1.3/j2ee/home/lib/activation.jar
       (file) /obase/ebiz/apps/tech_st/10.1.3/j2ee/home/lib/mail.jar
       (file) /obase/ebiz/apps/tech_st/10.1.3/j2ee/home/lib/ejb.jar
 ...
 ...
       (file) /obase/ebiz/apps/apps_st/comn/java/classes/eis/oracle/apps/xxeis/dashboards/org/org.jar
       (file) /obase/ebiz/apps/tech_st/10.1.3/j2ee/home/oc4j.jar
OJSPC VERSION: 10i 10
synchronizing dependency file:
 enumerating jsps...8393
cannot open /obase/ebiz/apps/apps_st/comn/webapps/oacore/html/test.jsp at /obase/ebiz/apps/apps_st/appl/fnd/12.0.0/patch/115/bin/ojspCompile.pl line 1822.
 parsing jsp...8392
 writing deplist...8392
initializing compilation:
 eliminating children...6363 (-2030)
 searching uncompiled...6350
translating and compiling:
 searching untranslated...6350
COMMAND: exec java oracle.jsp.tools.Jspc -forgiveDupDirAttr -extraImports java.util.*,java.io.*,java.lang.reflect.*,java.beans.* -noCompile -appRoot '/obase/ebiz/apps/apps_st/comn/webapps/oacore/html' -d '/obase/ebiz/apps/apps_st/comn/_pages' -srcdir '/obase/ebiz/apps/apps_st/comn/_pages' -packageName '' <file>
PARALLEL COMPILATION: 5
[24011] translating: 26s elapsed, 200 successful 0 failed
[24012] translating: 26s elapsed, 200 successful 0 failed
[24008] translating: 27s elapsed, 200 successful 0 failed
 ...
 ...

[24012] !!TRANSLATION ERROR(0) test.jsp:
File not found: test.jsp
Usage: ojspc <options> <file list>
where <options> includes:
 -addclasspath <classpath>    extra classpath for javac
 -appRoot <path>              path to prepend to application relative files in include directives
 -batchMask <file pattern>    Filename extensions in source container file which are to be treated as source code.
 -d <directory>               where to place generated binaries
 -debug <none class file>     generate JSR-45 debugging information in class or separate file
 -deleteSource                Omit source code files in generated container.
 -extend <class name>         class extended
 -extraImports <import list>  quoted space separated list of addition packages to import
 -extres                      generate external resource files for static texts
 -forgiveDupDirAttr           forgive duplicated directive attributes
 -ignoreErrors                Continue processing even if errors are encountered, except errors in XML descriptor files
 -implement <class name>      interface implemented
 -noCompile                   do not compile the generated Java source
 -noTldXmlValidate            not validate TLD xml files
 -oldIncludeFromTop           include directive relative to the top level JSP (old, pre-JSP 1.2)
 -output <filename>           name of generated container file, if different from input file.
 -packageName <package name>  package name for generated JSP page
 -reduceTagCode               reduce size of code generated for custom tags
 -reqTimeIntrospection        enable request time introspection on beans and objects
 -setpropertyOnErrContinue    continue iterating over request parameters in set property when error is encountered
 -srcdir <directory>          where to generate Java or SQLJ source files
 -tagReuse                    none | compiletime | compiletime_with_release
 -verbose                     print translation steps
 -version                     Oracle JSP Version number
 -xmlValidate                 validate other xml files such as web.xml files

[24012] translating: 1m26s elapsed, 199 successful 1 failed
[24010] translating: 31s elapsed, 150 successful 0 failed
[24009] translating: 33s elapsed, 200 successful 0 failed
TRANSLATED: 6350 [failed: 1] in 2m45s
COMMAND: exec javac -nowarn <file>
PARALLEL COMPILATION: 5
[26169] compiling: 16s elapsed, 50 successful 0 failed
[26171] compiling: 16s elapsed, 50 successful 0 failed
[26168] compiling: 16s elapsed, 50 successful 0 failed
 ...
 ...
[26170] compiling: 9s elapsed, 50 successful 0 failed
[26169] compiling: 9s elapsed, 50 successful 0 failed

[26167] !!COMPILATION ERROR(0) AppsDown.jsp:
_AppsDown.java:180: error: 'void' type not allowed here
     out.print(out.println("OK"));
                          ^
Note: _AppsDown.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 error

[26167] compiling: 27s elapsed, 49 successful 1 failed
[26171] compiling: 5s elapsed, 49 successful 0 failed
COMPILED: 6349 [failed: 1] in 6m3s
22299 FINISHING Wed Jan 20 01:42:48 2021
13480 STARTING Wed Jan 27 20:17:18 2021
PROG: ojspCompile.pl rev 120.10 (2007/11/16 04:50:02)
PERL: /obase/ebiz/apps/tech_st/10.1.3/perl/bin/perl
ARGS: --compile --quiet
CONF: /obase/ebiz/inst/apps/ebsdev_ghdebs03lds/appl/admin/ojspCompile.conf

 

Changes

Applying <patch 29158441>

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
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.