Solved

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

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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Multiple Images Upload [JSP Web-application] 3 38
designing in object programming 12 75
Unhandled exception type Exception 18 30
by zero exception 10 39
An article on effective troubleshooting
Knowing where your website is hosted is as important as the features you receive, the monthly fee, and the support you receive. Due diligence should be done when choosing your next hosting provider.
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …

776 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