Solved

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

Posted on 2004-09-29
5
379 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
J2SE 5.0 metadata 1 67
stateless EJB with glassfish 2 73
I get error: useBean: Duplicate bean name: {0} 1 163
JavaScript parse form with colon separated values 2 78
Today it’s fairly well known that high-performing websites and applications bring in more visitors, higher SEO, and ultimately more sales. By the same token, downtime is disastrous for companies and can lead to major hits on a brand, reputation, an…
Recently, Microsoft released a best-practice guide for securing Active Directory. It's a whopping 300+ pages long. Those of us tasked with securing our company’s databases and systems would, ideally, have time to devote to learning the ins and outs…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

730 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