aspose file tools*
The moose likes BEA/Weblogic and the fly likes outofmemory error while compiling jsps using weblogic.jspc Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "outofmemory error while compiling jsps using weblogic.jspc" Watch "outofmemory error while compiling jsps using weblogic.jspc" New topic
Author

outofmemory error while compiling jsps using weblogic.jspc

Divine Light
Greenhorn

Joined: Jul 06, 2006
Posts: 1
Hi all,

I am trying to execute this target in my ant build:
<target name="jspc">
<java classname="weblogic.jspc" fork="yes">
<arg line="-verbose -verboseJavac -compileAll -webapp ${project.jsp.dir} -d ${project.jsp.class.dir}" />
<classpath>
<pathelement path="${classpath}" />
</classpath>
</java>
</target>


I am getting the following error:

[java] Error: [jspc]: 0 file(s) failed:
[java] [Compilation errors : ]
....
[java] The system is out of resources.
[java] Consult the following stack trace for details.
[java] java.lang.OutOfMemoryError
[java] at weblogic.jspc.doCompile(jspc.java:861)
[java] at weblogic.jspc.runJspc(jspc.java:654)
[java] at weblogic.jspc.runBodyInternal(jspc.java:412)
[java] at weblogic.jspc.runBody(jspc.java:319)
[java] at weblogic.utils.compiler.Tool.run(Tool.java:192)

I am using weblogic 8.1, eclipse3.1, java1.4.1.

Can some one please help me with this issue?

thanks in advance.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: outofmemory error while compiling jsps using weblogic.jspc