Solved

**URGENT** Please help!! StackOverFlowError - Weblogic.jspc compiler

Posted on 2004-09-29
5
386 Views
Last Modified: 2012-06-27
Hi,

I am using ant build to pre compile jsps using weblogic.jspc. They used to compile just fine but I got a new laptop and set up all the env and I am getting StackOverFlowError error during Compilation time. Not sure why this error should occur during Compilation time. Following is my ant target. I have a dead line tomorrow
//-----------------------------------------------------------------------------------
<target name="app_jspc" if="jsp.precompile" depends="compile_classes ">
    <java classname="weblogic.jspc" fork="true" failonerror="true" >
    <jvmarg value="${jsp.case_sensitive}"/>
    <sysproperty key="weblogic.home" value="${weblogic.home}"/>
    <arg line="-webapp ${project.builddir} -compileAll -d ${project.builddir}/WEB-INF/classes ."/>
   <!-- <arg line="-verbose -verboseJavac -webapp ${project.builddir} -compileAll -d ${project.builddir}/WEB-INF/classes ."/> -->
    <classpath>
    <pathelement path="${project.jsp.build.classpath}"/>
    </classpath>
    </java>
</target>
//--------------------

build.properties
//----------------
weblogic.lib=${weblogic.home}/server/lib/weblogic.jar
weblogic.webservicelib=${weblogic.home}/server/lib/webservices.jar
tools.jar=/bea/jdk141_03/lib/tools.jar
project.build.classpath=${weblogic.lib}:${ojdbc14.jar}:${struts.jar}:${standard.jar}:${displaytag.jar}:${commons-validator.jar}:${commons-beanutils.jar}:${tools.jar}
project.jsp.build.classpath=${weblogic.lib}:${struts.jar}:${jstl.jar}:${standard.jar}:${commons-validator.jar}:${commons-beanutils.jar}:${tools.jar}


jsp.case_sensitive=-Dweblogic.jsp.windows.caseSensitive=false

project.home=.
project.builddir=${project.home}/build
project.distdir=${project.home}/dist/arc
project.libdir=${project.home}/lib
project.webdir=${project.home}/webapp
project.configdir=${project.home}/conf
project.webinfdir=${project.builddir}/WEB-INF
project.src=${project.home}/src
project.warname=${project.distdir}/${project.name}.war
project.classbindir=${project.webinfdir}/classes
project.docs.dir=${project.home}/docs/api

0
Comment
Question by:DASARI_R
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 7

Accepted Solution

by:
lhankins earned 500 total points
ID: 12182095
suggestions :

1) post your stack trace...
2) by process of elimination, start removing half of your JSP's (and see when the stack overflow exception stops).   (Of course, make a backup of all your jsp's before doing this).

0
 

Author Comment

by:DASARI_R
ID: 12182328
Hi

Thanks for the suggestions.  
I removed all the jsps and started compiling one by one and found a problem. I just didn't realise that it won't give me any details about the problem. All the stack trace said was the following.

Now that I know where the problem is I can fix it :) Thank you very much for your help.


//--------- stack trace
app_jspc:
[java] java.lang.StackOverflowError
[java] Exception in thread "main"

//----------


0
 
LVL 7

Expert Comment

by:lhankins
ID: 12182722
can u post the JSP in question
0
 
LVL 7

Expert Comment

by:lhankins
ID: 12199911
I assume you found the problem, can we close this now...?
0
 

Author Comment

by:DASARI_R
ID: 12208697
Yes, Thank you very much
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
Learn why we support net neutrality and why the topic is important to all internet users.
In this video, viewers will be given step by step instructions on adjusting mouse, pointer and cursor visibility in Microsoft Windows 10. The video seeks to educate those who are struggling with the new Windows 10 Graphical User Interface. Change Cu…
There's a multitude of different network monitoring solutions out there, and you're probably wondering what makes NetCrunch so special. It's completely agentless, but does let you create an agent, if you desire. It offers powerful scalability …

695 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question