在EBS 11.5.9 on HP-UX
我通过如下命令:
perl $JTF_TOP/admin/scripts/ojspCompile.pl --compile --fast --quiet
但是在compile过程产生大量错误日志,分析是部分JSP Compile Error:
错误的JSP列表如下:
cnRuleAttrExprDtlMain.jsp
CssDefASTest.jsp
CssDefMiscAdm.jsp
CssDefProfileHome.jsp
oklBpCntrLvlngLns.jsp
CssDefAdvSearch.jsp
CssDefProfileHomeDisp.jsp
CssDefCategoryAdm.jsp
CssDefProfileTest.jsp
CssDefConfirm.jsp
CssDefPhaseStatusAdm.jsp
oklBpLatePolicyExmpt.jsp
CssDefQuickCreate.jsp
cnSeasSchDtlMain.jsp
oklBpLatePolicySumry.jsp
oklBpCntrLvlngLnsUpd.jsp
cnSeasSchSumMain.jsp
amsAttachWebTextDtailMain.jsp
klBpCntrLvlngSumry.jsp
CssDefRatioLink.jsp
CssDefCountLink.jsp
oklBpInvcFormatSrcht.jsp
cnRuleTreeMain.jsp
oklBpCashRulesSetup.jsp
CssDefCountRun.jsp
cnRuleTreePop.jsp
oklBpInvcLnTypesCreat.jsp
CssDefPriorityAdm.jsp
CssDefCreateTask.jsp
oklBpCntrLvlngGrpBill.jsp
oklBpInvcLnTypesUpdt.jsp
CssDefDCFReport.jsp
CssDefMyWork.jsp
oklBpCntrLvlngGrpCreat.jsp
cnSignOffRptMain.jsp
oklBpLatePolicyCreat.jsp
CssDefDebug.jsp
CssDefReportSummary.jsp
CssDefNoteDetail.jsp
……………………
------------------------------------------------------------------------------
其中一个JSP:CssDefASTest.jsp compile error info:
[20163] !!COMPILATION ERROR(0) CssDefASTest.jsp:
_CssDefASTest.java:287: startBufferingLog(int) in oracle.apps.jtf.base.Logger cannot be applied to (java.lang.String,java.lang.String)
oracle.apps.jtf.base.Logger.startBufferingLog(jtfsSeverity,request.getParameter("jtfdebugfilter"));
^
_CssDefASTest.java:338: cannot resolve symbol
symbol: method isEnabled(int)
location: class oracle.apps.jtf.base.SystemLogger
if(SystemLogger.isEnabled(LogFormat.INFORMATION))SystemLogger.out("nextPageBuf: " + jttnextPageBuf.toString(), LogFormat.INFORMATION, "jtfsrnfp.jsp");
^
_CssDefASTest.java:345: cannot resolve symbol
symbol: method isEnabled(int)
location: class oracle.apps.jtf.base.SystemLogger
if(SystemLogger.isEnabled(LogFormat.INFORMATION))SystemLogger.out("forwardURL: " + jttforwardURL, LogFormat.INFORMATION, "jtfsrnfp.jsp");
^
_CssDefASTest.java:360: cannot resolve symbol
symbol: method isEnabled(int)
location: class oracle.apps.jtf.base.SystemLogger
if(SystemLogger.isEnabled(LogFormat.INFORMATION))SystemLogger.out("ServletSessionManagerException thrown while calling startRequest. **" + e.getAllInfo() + "**"+ " Error : " + e, LogFormat.INFORMATION, "jtfsrnfp.jsp");
^
_CssDefASTest.java:364: cannot resolve symbol
symbol: method isEnabled(int)
location: class oracle.apps.jtf.base.SystemLogger
if(SystemLogger.isEnabled(LogFormat.INFORMATION))SystemLogger.out("ServletSessionManagerException thrown while calling startRequest. **" + e.getAllInfo() + "**"+ " Error : " + e, LogFormat.INFORMATION, "jtfsrnfp.jsp");
^
_CssDefASTest.java:370: cannot resolve symbol
symbol: method isEnabled(int)
location: class oracle.apps.jtf.base.SystemLogger
if(SystemLogger.isEnabled(LogFormat.INFORMATION))SystemLogger.out("UnAuthenticatedUserException thrown while calling startRequest. **" + e.getAllInfo() + "**"+ " Error : " + e, LogFormat.INFORMATION, "jtfsrnfp.jsp");
^
_CssDefASTest.java:388: cannot resolve symbol
symbol: method isEnabled(int)
location: class oracle.apps.jtf.base.SystemLogger
if(SystemLogger.isEnabled(LogFormat.INFORMATION))SystemLogger.out("nextPageBuf: " + jttnextPageBuf.toString(), LogFormat.INFORMATION, "jtfsrnfp.jsp");
^
_CssDefASTest.java:395: cannot resolve symbol
symbol: method isEnabled(int)
location: class oracle.apps.jtf.base.SystemLogger
if(SystemLogger.isEnabled(LogFormat.INFORMATION))SystemLogger.out("forwardURL: " + jttforwardURL, LogFormat.INFORMATION, "jtfsrnfp.jsp");
^
_CssDefASTest.java:440: startBufferingLog(int) in oracle.apps.jtf.base.Logger cannot be applied to (java.lang.String,java.lang.String)
oracle.apps.jtf.base.Logger.startBufferingLog(jtfsSeverity,jtffilter);
^
_CssDefASTest.java:1215: cannot resolve symbol
symbol: method isBufferedLogEnabled(java.lang.Thread)
location: class oracle.apps.jtf.base.Logger
boolean jtflogbuff_isBufferingEnabled = Logger.isBufferedLogEnabled(Thread.currentThread());
^
_CssDefASTest.java:1265: cannot resolve symbol
symbol: method isEnabled(int)
location: class oracle.apps.jtf.base.SystemLogger
if(SystemLogger.isEnabled(LogFormat.INFORMATION))SystemLogger.out("ServletSessionManagerException thrown while calling endRequest with logout as false. **" + e.getAllInfo() + "**", LogFormat.INFORMATION, "jtfernlp.jsp");
^ |