otmfaqForumsBlogsRegister
FAQMembers ListCalendarToday's PostsSearch


 Subscribe Blogs:RSS
 Subscribe Forums:RSS
OTMFAQ Home
OTMFAQ Blogs
OTMFAQ Forums
OTMFAQ Tutorials

OTM SIG
MavenWire


Installation and Upgrades Getting past the first step - installing and upgrading OTM / G-Log.

Tags: , ,

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old March 31st, 2008, 10:19
Junior Member
 
Join Date: Mar 2008
Location: Dortmund,Germany
Posts: 19
Thanks: 7
Thanked 4 Times in 4 Posts
Groans: 0
Groaned at 0 Times in 0 Posts
Rep Power: 0
svenhaul is on a distinguished road
JSP compilation error - with fix

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
The Following User Says Thank You to svenhaul For This Useful Post:
chrisplough (March 31st, 2008)
Reply



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 20:01.
Copyright © 2008, Open Book Solutions LLC. All rights reserved.

Sponsored by MavenWire - MavenWire.com


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37