Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

outofmemory error while compiling jsps using weblogic.jspc

Divine Light
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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}" />
<pathelement path="${classpath}" />

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(
[java] at weblogic.jspc.runJspc(
[java] at weblogic.jspc.runBodyInternal(
[java] at weblogic.jspc.runBody(
[java] at

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

Can some one please help me with this issue?

thanks in advance.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic