Websphere JSP Pre-compilation fails once-in-a while
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > WebSphere > WebSphere Application Server > Websphere JSP Pre-compilation fails once-in-a while




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Websphere JSP Pre-compilation fails once-in-a while  


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
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 ]



    Re: Websphere JSP Pre-compilation fails once-in-a while  
Ben_


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
07-25-07 12:21 AM

Wild guess: could it be that the compilation task starts too rapidly and a
dependency file/library is missing ? Typically, because some tasks would be
running in parallel instead of sequentially and did not finish before the
compilation takes places.






[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 10:02 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register