I have experienced a very annoying error on a fresh install: Some, but not all pages of the UI would not display; instead, a "JSP compilation error" was shown. That happened mostly with complex pages, e.g. on the Location manager, the search screen and result list did function, but not the detail screen.
The Tomcat log file showed the following error entry:
INFO | jvm 1 | 2008/03/20 11:52:12 | java.util.EmptyStackException
INFO | jvm 1 | 2008/03/20 11:52:12 | at java.util.Stack.peek(Stack.java:79)
INFO | jvm 1 | 2008/03/20 11:52:12 | at java.util.Stack.pop(Stack.java:61)
INFO | jvm 1 | 2008/03/20 11:52:12 | at org.apache.taglibs.standard.tlv.JstlCoreTLV$Handle r.endElement(JstlCoreTLV.java:300)
[...]
INFO | jvm 1 | 2008/03/20 11:52:12 | Mar 20, 2008 11:52:12 AM org.apache.catalina.core.ApplicationDispatcher invoke
INFO | jvm 1 | 2008/03/20 11:52:12 | SEVERE: Servlet.service() for servlet jsp threw exception
INFO | jvm 1 | 2008/03/20 11:52:12 | java.util.EmptyStackException
INFO | jvm 1 | 2008/03/20 11:52:12 | at java.util.Stack.peek(Stack.java:79)
INFO | jvm 1 | 2008/03/20 11:52:12 | at java.util.Stack.pop(Stack.java:61)
[...]
The fix is to increase the stack size in Tomcat. This is done by modifying %GLOG_HOME%\tomcat\bin\tomcat.conf
# Java Additional Parameters
# Note: some of these are intentionally left blank. This is done to
# help rationalize the files between OS, JVM & APP servers.
wrapper.java.additional.1=-server
wrapper.java.additional.2=-Xms512m
wrapper.java.additional.3=-Xmx512m
wrapper.java.additional.4=
wrapper.java.additional.5=-verbose:gc
wrapper.java.additional.6=-Xnoclassgc
#increased stack size to help with JSP compilation error
wrapper.java.additional.7=-Xss1024k
Since that modification, no more JSP compilation errors occured.
If I have overlooked a thread already dealing with this topic, I apologize.
Best regards,
Sven
The Tomcat log file showed the following error entry:
INFO | jvm 1 | 2008/03/20 11:52:12 | java.util.EmptyStackException
INFO | jvm 1 | 2008/03/20 11:52:12 | at java.util.Stack.peek(Stack.java:79)
INFO | jvm 1 | 2008/03/20 11:52:12 | at java.util.Stack.pop(Stack.java:61)
INFO | jvm 1 | 2008/03/20 11:52:12 | at org.apache.taglibs.standard.tlv.JstlCoreTLV$Handle r.endElement(JstlCoreTLV.java:300)
[...]
INFO | jvm 1 | 2008/03/20 11:52:12 | Mar 20, 2008 11:52:12 AM org.apache.catalina.core.ApplicationDispatcher invoke
INFO | jvm 1 | 2008/03/20 11:52:12 | SEVERE: Servlet.service() for servlet jsp threw exception
INFO | jvm 1 | 2008/03/20 11:52:12 | java.util.EmptyStackException
INFO | jvm 1 | 2008/03/20 11:52:12 | at java.util.Stack.peek(Stack.java:79)
INFO | jvm 1 | 2008/03/20 11:52:12 | at java.util.Stack.pop(Stack.java:61)
[...]
The fix is to increase the stack size in Tomcat. This is done by modifying %GLOG_HOME%\tomcat\bin\tomcat.conf
# Java Additional Parameters
# Note: some of these are intentionally left blank. This is done to
# help rationalize the files between OS, JVM & APP servers.
wrapper.java.additional.1=-server
wrapper.java.additional.2=-Xms512m
wrapper.java.additional.3=-Xmx512m
wrapper.java.additional.4=
wrapper.java.additional.5=-verbose:gc
wrapper.java.additional.6=-Xnoclassgc
#increased stack size to help with JSP compilation error
wrapper.java.additional.7=-Xss1024k
Since that modification, no more JSP compilation errors occured.
If I have overlooked a thread already dealing with this topic, I apologize.
Best regards,
Sven