JSP's Fail to Compile With Command "ojspCompile.pl --compile" (Doc ID 888004.1)

Last updated on AUGUST 08, 2016

Applies to:

Oracle Applications Technology Stack - Version 11.5.10.2 to 11.5.10.2 [Release 11.5.10]
Information in this document applies to any platform.
***Checked for relevance on 03-April-2013***

Symptoms

When attempting to compile JSP's using the following command:

perl ojspCompile.pl --compile

Some of the jsp's error

 JDK was recently upgraded to JDK 1.5

Examples of errors:

_csfwOrderPart.java:1408: as of release 1.5, 'enum' is a keyword, and may not be used as an
identifier
(try -source 1.4 or lower to use 'enum' as an identifier)
while(enum.hasMoreElements())

[618542] !!COMPILATION ERROR(0) dddCallChMgmt.jsp:
_dddCallChMgmt.java:736: cannot find symbol
symbol : method appendMAC(java.lang.String,oracle.apps.fnd.security.HMAC)
location: class oracle.apps.fnd.common.URLTools
url = URLTools.appendMAC(url, URLTools.getHMAC(ctx));

 


Steps
The issue can be reproduced at will with the following steps:
1. Login to unix as applmgr
2. Run command:

perl ojspCompile.pl --compile

 

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