Forums

Home » Liferay Portal » English » 2. Using Liferay » General

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
gordon daniels
server throwing java excetion error (SOLVED)
September 12, 2012 9:16 PM
Answer

gordon daniels

Rank: Liferay Master

Posts: 724

Join Date: August 23, 2008

Recent Posts

My portal appears to be working fine, but in checking logs I get the following msg:

Exception in thread "http-bio-8080-exec-7" java.lang.StackOverflowError

I have enclosde the log file in the hopes that someone can tell me what it means.

thanks
Attachments: catalina.out (6,162.5k)
gordon daniels
RE: server throwing java excetion error
September 12, 2012 6:07 PM
Answer

gordon daniels

Rank: Liferay Master

Posts: 724

Join Date: August 23, 2008

Recent Posts

Its also throwing out this msg:

Sep 13, 2012 12:51:11 AM org.apache.catalina.core.StandardWrapperValve invoke
SEVERE: Servlet.service() for servlet [Portlet Bridge Servlet] in context with path [] threw exception [Downstream error: Lexical error at line 1, column 13. Encountered: ":" (58), after : ""] with root cause
org.apache.tomcat.util.http.parser.TokenMgrError: Lexical error at line 1, column 13. Encountered: ":" (58), after : ""
David H Nebinger
RE: server throwing java excetion error
September 12, 2012 7:46 PM
Answer

David H Nebinger

Community Moderator

Rank: Liferay Legend

Posts: 11511

Join Date: September 1, 2006

Recent Posts

Snap, that's one ugly stack trace...

Don't know if this helps, but...

1. Are you using jdk6? jdk7 is not yet supported.
2. Have you enabled/disabled/added/removed any of the filters?

There's also mention of trying to load the 404 jsp page, so it looks like it's try to render a 404 but it looks like maybe the filter chain is giving it fits...
gordon daniels
RE: server throwing java excetion error
September 12, 2012 8:57 PM
Answer

gordon daniels

Rank: Liferay Master

Posts: 724

Join Date: August 23, 2008

Recent Posts

David: Hi - thanks for replying. It turned out it was memory. I needed to increase the memory setting. I did that and it went away. And I am using jdk1.6.

thanks for the help
bo li
RE: server throwing java excetion error
November 15, 2012 1:57 PM
Answer

bo li

Rank: Junior Member

Posts: 36

Join Date: November 14, 2011

Recent Posts

Hi, I am encountering the same issue. Could you tell me how you increase the memory settings? Thank you very much!
Hitoshi Ozawa
RE: server throwing java excetion error
November 15, 2012 4:03 PM
Answer

Hitoshi Ozawa

Rank: Liferay Legend

Posts: 7949

Join Date: March 23, 2010

Recent Posts

Using a text editor, open the following file:
apache-tomcat-7.0.32\bin\setenv.bat

The last line should start with "set "JAVA_OPTS=%JAVA_OPTS% "
There should be "-Xmx1024m -XX:MaxPermSize=256m" within this line. Try increasing these values. You can check what these values mean by googling them.
bo li
RE: server throwing java excetion error
November 16, 2012 6:28 AM
Answer

bo li

Rank: Junior Member

Posts: 36

Join Date: November 14, 2011

Recent Posts

set "JAVA_OPTS=%JAVA_OPTS% -Dfile.encoding=UTF8 -Djava.net.preferIPv4Stack=true -Dorg.apache.catalina.loader.WebappClassLoader.ENABLE_CLEAR_REFERENCES=false -Duser.timezone=CST -Xmx1024m -XX:MaxPermSize=1024m"


I have done this and restarted the server, it has no effect. Timezone also has no effect. Anyway, I will try more. Thanks for your help!