Fórum

server throwing java excetion error (SOLVED)

gordon daniels, modificado 11 Anos atrás.

server throwing java excetion error (SOLVED)

Liferay Master Postagens: 797 Data de Entrada: 24/08/08 Postagens Recentes
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
gordon daniels, modificado 11 Anos atrás.

RE: server throwing java excetion error

Liferay Master Postagens: 797 Data de Entrada: 24/08/08 Postagens Recentes
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 : ""
thumbnail
David H Nebinger, modificado 11 Anos atrás.

RE: server throwing java excetion error

Liferay Legend Postagens: 14916 Data de Entrada: 02/09/06 Postagens Recentes
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, modificado 11 Anos atrás.

RE: server throwing java excetion error

Liferay Master Postagens: 797 Data de Entrada: 24/08/08 Postagens Recentes
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, modificado 11 Anos atrás.

RE: server throwing java excetion error

Junior Member Postagens: 38 Data de Entrada: 14/11/11 Postagens Recentes
Hi, I am encountering the same issue. Could you tell me how you increase the memory settings? Thank you very much!
thumbnail
Hitoshi Ozawa, modificado 11 Anos atrás.

RE: server throwing java excetion error

Liferay Legend Postagens: 7942 Data de Entrada: 24/03/10 Postagens Recentes
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, modificado 11 Anos atrás.

RE: server throwing java excetion error

Junior Member Postagens: 38 Data de Entrada: 14/11/11 Postagens Recentes
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!