Forums

Home » Liferay Portal » English » Liferay Legacy

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
kermie5000 kermie5000
Render Called Repeatedly until StackOverflow
August 17, 2006 3:41 PM
Answer

kermie5000 kermie5000

Rank: New Member

Posts: 11

Join Date: June 6, 2005

Recent Posts

I am still struggling to upgrade my Spring Portlet MVC application to Liferay 4.1.0.

Specifically, my controller's handleRenderRequestInternal is called repeatedly until Servlet.service() for servlet ViewRendererServlet throws a StackOverflowError.

Could this mean my controller can't find the page (View) I'm trying to get to?

I'd appreciate any ideas! Thank you.
Mika Koivisto
RE: Render Called Repeatedly until StackOverflow
August 18, 2006 3:47 AM
Answer

Mika Koivisto

LIFERAY STAFF

Rank: Liferay Legend

Posts: 1513

Join Date: August 7, 2006

Recent Posts

You are not alone. I'm sticking with Spring 2.0 M2 atleast until final 2.0 comes out. That seems to be the latest Spring release where portlet mvc works in Liferay.

Which Spring version you use?
kermie5000 kermie5000
RE: Render Called Repeatedly until StackOverflow
August 18, 2006 6:25 AM
Answer

kermie5000 kermie5000

Rank: New Member

Posts: 11

Join Date: June 6, 2005

Recent Posts

Are you getting the Stack Overflow as well?

I am using a Spring Portlet .jar from 7/12/2005 and Spring 1.2.3.

When you use Spring 2.0M2, where do you put those .jars for Liferay to use? Do you upgrade Liferay's Spring as well?

Here's hoping that Spring 2.0 final comes out soon so Liferay can upgrade as well.

Steve
Mika Koivisto
RE: Render Called Repeatedly until StackOverflow
August 18, 2006 7:12 AM
Answer

Mika Koivisto

LIFERAY STAFF

Rank: Liferay Legend

Posts: 1513

Join Date: August 7, 2006

Recent Posts

I have my jars in portlets WEB-INF/lib and I run the portlets in isolated classloader. In resin when an exception occured the portlet went into indefinated include loop and that caused StackOverflow. I don't think I've seen that with JBoss-tomcat combo I'm currently using.
Jigna parag Joshi
RE: Render Called Repeatedly until StackOverflow
March 26, 2009 6:41 AM
Answer

Jigna parag Joshi

Rank: Junior Member

Posts: 41

Join Date: December 9, 2008

Recent Posts

HI,

I am also getting StackOverFlow error repeatedly when we give load..

Get lots of java.lang.StackOverflowError in Liferay logs during load test.

2009-03-25 13:32:53,110 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web]..[/].[Main Servlet]] Servlet.service() for servlet Main Servlet threw exception
java.lang.StackOverflowError
at org.apache.catalina.connector.Request.doGetSession(Request.java:2270)
at org.apache.catalina.connector.Request.getSession(Request.java:2075)
at org.apache.catalina.connector.RequestFacade.getSession(RequestFacade.java:833)
at javax.servlet.http.HttpServletRequestWrapper.getSession(HttpServletRequestWrapper.java:216)
at org.apache.catalina.core.ApplicationHttpRequest.getSession(ApplicationHttpRequest.java:545)
at javax.servlet.http.HttpServletRequestWrapper.getSession(HttpServletRequestWrapper.java:216)
at org.apache.catalina.core.ApplicationHttpRequest.getSession(ApplicationHttpRequest.java:545)
at javax.servlet.http.HttpServletRequestWrapper.getSession(HttpServletRequestWrapper.java:216)
at org.apache.catalina.core.ApplicationHttpRequest.getSession(ApplicationHttpRequest.java:545)
at javax.servlet.http.HttpServletRequestWrapper.getSession(HttpServletRequestWrapper.java:216)
at org.apache.catalina.core.ApplicationHttpRequest.getSession(ApplicationHttpRequest.java:545)
at javax.servlet.http.HttpServletRequestWrapper.getSession(HttpServletRequestWrapper.java:216)
at org.apache.catalina.core.ApplicationHttpRequest.getSession(ApplicationHttpRequest.java:545)
at javax.servlet.http.HttpServletRequestWrapper.getSession(HttpServletRequestWrapper.java:216)
at org.apache.catalina.core.ApplicationHttpRequest.getSession(ApplicationHttpRequest.java:545)

Please let me know if there is any configuration or other issue