SpacyNG / pwm

Automatically exported from code.google.com/p/pwm
0 stars 0 forks source link

PWM event log search returns broken page #55

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Enter username in search field
2. hit search
3. page returns broken

What is the expected output? What do you see instead?

Should see full search results.  Instead we get an incomplete html page.  (see 
attachment and print screen)

What version of the product are you using? On what operating system?

v1.5.3 devbuild b1022

Please provide any additional information below.

Original issue reported on code.google.com by james.sp...@gmail.com on 8 Apr 2011 at 2:56

Attachments:

GoogleCodeExporter commented 9 years ago
Sorry, I cannot reproduce with 1.5.3 or above. Moreover, according to SVN the 
file hasn't changed since SVN revision 121, which is long before your build 
version. Could you check the integrity of your file:

MD5 (trunk/pwm/servlet/web/admin/eventlog.jsp) = 
14eccfe622069d15423241044815feee
MD5 (tags/v1.5.3/pwm/servlet/web/admin/eventlog.jsp) = 
14eccfe622069d15423241044815feee

Best regards,

Menno Pieters

Original comment by menno.pi...@gmail.com on 8 Apr 2011 at 3:30

GoogleCodeExporter commented 9 years ago
I have upgraded to the final version 1.5.3 b1026 and problem did disappear.

Thanks.

Original comment by james.sp...@gmail.com on 9 Apr 2011 at 1:31

GoogleCodeExporter commented 9 years ago
Problem has reappeared in version 1.5.3 1026.  I was able to retrieve the 
following error from a search failure.

unexpected error executing filter chain: An exception occurred processing JSP 
page /admin/eventlog.jsp at line 211

208:     } catch (Exception e) {
209:     }
210: 
211:     final PwmDBLogger.SearchResults searchResults = 
pwmDBLogger.readStoredEvents(PwmSession.getPwmSession(session), logLevel, 
eventCount, username, text, maxTime, logType);
212: %>
213: <% if (searchResults.getEvents().isEmpty()) { %>
214: <p>No events matched your search. Please refine your search query and try 
again.</p>

Stacktrace:

Original comment by james.sp...@gmail.com on 13 Apr 2011 at 7:03

GoogleCodeExporter commented 9 years ago
Is this problem intermittent?  Perhaps your running out of java heap memory for 
larger queries.  Try setting -Xmx1024m (for a 1gb heap) in your tomcat startup. 
 Otherwise, please look through the tomcat log files to see if any errors are 
recorded when this happens.

Original comment by jrivard on 22 Apr 2011 at 8:06

GoogleCodeExporter commented 9 years ago
That did not change anything, and comment #3 has the error that is recorded 
when this happens.

2011-04-26 09:55:57, WARN , pwm.AuthenticationFilter, unexpected error 
executing filter chain: An exception occurred processing JSP page 
/admin/eventlog.jsp at line 211

208:     } catch (Exception e) {
209:     }
210:
211:     final PwmDBLogger.SearchResults searchResults = 
pwmDBLogger.readStoredEvents(PwmSession.getPwmSession(session), logLevel, 
eventCount, username, text, maxTime, logType);
212: %>
213: <% if (searchResults.getEvents().isEmpty()) { %>
214: <p>No events matched your search. Please refine your search query and try 
again.</p>

Stacktrace:

Original comment by james.sp...@gmail.com on 26 Apr 2011 at 6:15

GoogleCodeExporter commented 9 years ago
Closing as unable to reproduce.  Please re-open if it still occurs with the 
v1.5.4 RC or release.

Original comment by jrivard on 30 Jun 2011 at 1:34