07-25-07 12:21 AM
Operating System: Windows.
Websphere Version: 6.1.0.7
JDK: IBM 1.5.0 (Bundled as part of Websphere 6.1.0.7)
Description:
While performing JSP Pre-compilation using the ws_ant.bat, we are getting ?l
ocationId cannot be resolved? error. This failure is not consistent, some ti
me the JSPC is working fine and some time we are getting the failure.
The same set of JSPC is Pre-compiled using other application servers (Jboss
& Weblogic) and we are not facing this issue with them.
Failure:
[exec] [wsJspC] JSPG0091E: An error occurred at line: 125 in the
file: /jsp/manage/common/DefaultLocation.jsp
[exec] [wsJspC] JSPG0093E: Generated servlet error from file: /js
p/manage/common/DefaultLocation.jsp
[exec] [wsJspC] D:\views\tw_enterprise\zeus_deployment\b
uildscrip
ts\Zeus\build\prod\WEB- INF\classes\jsp\manage\common\_DefaultLo
cation.java :
434 : locationInfo cannot be resolved
Targets Used for JSPC:
<target name="was_jspc_task">
<echo>"Compiling JSPs for websphere"</echo>
<taskdef name="wsjspc" classname="com.ibm.websphere.ant.tasks.JspC"/>
<wsjspc wasHome="${WEBSPHERE_6_HOME}" warPath="${viewLoc} " compil
eToDir="${viewLoc}\out" failonerror="true">
<classpath>
<fileset dir="${WEBSPHERE_6_HOME}/lib" includes="*.jar"/>
<fileset dir="${dist}/lib" includes="*.jar"/>
</classpath>
</wsjspc>
</target>
<target name="twe_jspc_websphere">
<exec executable="${WEBSPHERE_6_HOME}/bin/ws_ant.bat">
<arg value="-buildfile"/>
<arg value="build.xml"/>
<arg value="was_jspc_task"/>
<arg value="-DviewLoc"/>
<arg value="${viewLoc}"/>
<arg value="-DWEBSPHERE_6_HOME"/>
<arg value="${WEBSPHERE_6_HOME}"/>
</exec>
</target>
Thanks,
Muthu
[ Post a follow-up to this message ]
|