You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Sr...@i2.com on 2002/04/25 05:02:18 UTC

Need help with Weblogic compilation task.

Hi,

I am trying to compile the JSPs using Weblogic compiler using "java" task. 
 But, after compiling couple of JSPs, ant throws the following error and 
stops.  I would appreciate if some one can shed some light on how to fix 
this problem.

Ant target:

<!-- =================================================================== 
-->
<!-- Compile JSPs using Weblogic compiler -->
<!-- =================================================================== 
-->
<target name="wl_jspc" depends="init">
 
        <delete quiet="true" includeEmptyDirs="true" 
dir="${staging.dir.web.weblogic}/${product}/WEB-INF/classes/jsp_servlet"/>
        <java classname="weblogic.jspc">
                <arg line="-compileAll -webapp 
${staging.dir.web.weblogic}/${product} -d 
${staging.dir.web.weblogic}/${product}/WEB-INF/classes 
${staging.dir.web.weblogic}/${product}"/>
        </java>

</target>

Build log:
[jspc] generated java file 
C:\views\dom_main_view\6x\build_scripts\OMX\build\web\weblogic\omx\WEB-INF\classes\jsp_servlet\_omx\_returns\__receipt_worksheet_header.java, 
invoking java compiler:
java.io.IOException: Bad file descriptor
                 at java.io.FileInputStream.read(Native Method)
                 at 
java.io.DataInputStream.readLine(DataInputStream.java:449)
                 at 
weblogic.utils.Executable$Drainer.run(Executable.java:259)
[jspc] parsing /omx/returns/return_order.jsp:
Error: translation of /omx/returns/return_order.jsp failed: 
java.io.FileNotFoundException: 
C:\views\dom_main_view\6x\build_scripts\OMX\build\web\weblogic\omx\omx\returns\return_order.jsp 
(Too many open files)
Error: [jspc]: 1 file(s) failed:
 /omx/returns/return_order.jsp
Error: [1] peforming system [ant -emacs -buildfile build.xml  precompile_jsp]

Thanks,
Sri.