掲示板

server throwing java excetion error (SOLVED)

11年前 に gordon daniels によって更新されました。

server throwing java excetion error (SOLVED)

Liferay Master 投稿: 797 参加年月日: 08/08/24 最新の投稿
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

添付ファイル:

11年前 に gordon daniels によって更新されました。

RE: server throwing java excetion error

Liferay Master 投稿: 797 参加年月日: 08/08/24 最新の投稿
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
11年前 に David H Nebinger によって更新されました。

RE: server throwing java excetion error

Liferay Legend 投稿: 14916 参加年月日: 06/09/02 最新の投稿
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...
11年前 に gordon daniels によって更新されました。

RE: server throwing java excetion error

Liferay Master 投稿: 797 参加年月日: 08/08/24 最新の投稿
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
11年前 に bo li によって更新されました。

RE: server throwing java excetion error

Junior Member 投稿: 38 参加年月日: 11/11/14 最新の投稿
Hi, I am encountering the same issue. Could you tell me how you increase the memory settings? Thank you very much!
thumbnail
11年前 に Hitoshi Ozawa によって更新されました。

RE: server throwing java excetion error

Liferay Legend 投稿: 7942 参加年月日: 10/03/24 最新の投稿
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.
11年前 に bo li によって更新されました。

RE: server throwing java excetion error

Junior Member 投稿: 38 参加年月日: 11/11/14 最新の投稿
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!