Advertisement

05.30.2008 at 03:53AM PDT, ID: 23444140
[x]
Attachment Details

StackOverFlowError in jsp while running Struts2+Spring application in Tomcat6

Asked by pradeep_brat in Java Standard Tag Library (JSTL) & Server Tags, Java Server Pages (JSP), Jakarta Struts

Tags: java, jsp, struts2, springs, tomcat

Hi All,

I am having a application. It consists of two part
1)- UI Layer (Struts2)
and
2)- Service layer Springs.

Now i was running this application in Tomcat 5.0.3 without any problems. But same application gives me a stack overflow in Tomcat 6.0

I feel tht there should be some versioning issue. Here are the list of jars tht i had in tomcat 5.0

\Tomcat5.0\common\endorsed:
commons-logging-1.1.jar
ognl-2.6.9.jar
serializer.jar
xalan.jar
xercesImpl.jar
xml-apis.jar


JARS FOR UI
ADS.jar(Service Layer Application Jarred)
commons-lang.jar
commons-logging-1.0.4.jar
commons-validator-1.3.0.jar
freemarker-2.3.8.jar
log4j-1.2.14.jar
mail.jar
ognl-2.6.11.jar
servlet-api.jar
struts2-core-2.0.9.jar
xwork-2.0.4.jar



JARS FOR Service Layer
activation.jar
commons-collections.jar
commons-lang.jar
jaxrpc.jar
log4j-1.2.14.jar
mail.jar
servlet-api.jar
spring.jar
spring-beans.jar
spring-context.jar
spring-core.jar
spring-dao.jar
spring-web.jar

I OBSERVED THE FOLLOWING::
There is no error till the action class or in any service layer classes. But it occurs after forwarding to the result this error comes. Also It doesnt happen in simple jsp pages like login, profile etc. Error starts throwing from a bit complex jsp where in we use struts2 s:iterator and have iterators withing iterators. And no it cannotbe a infinite loop  issue because the same application is running fine in Tomcat 5.0.3 Start Free Trial
[+][-]06.03.2008 at 11:56AM PDT, ID: 21703347

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06.03.2008 at 11:37PM PDT, ID: 21707433

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Java Standard Tag Library (JSTL) & Server Tags, Java Server Pages (JSP), Jakarta Struts
Tags: java, jsp, struts2, springs, tomcat
Sign Up Now!
Solution Provided By: pradeep_brat
Participating Experts: 1
Solution Grade: A
 
 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628