details: https://code.openbravo.com/erp/devel/pi/rev/45d8b2b00bae changeset: 32316:45d8b2b00bae user: Martin Taal <martin.taal <at> openbravo.com> date: Fri Jun 16 20:51:32 2017 +0200 summary: Related to issue 36108: [STORE SERVER2899] An error is raised in central server when the store server is started Log more Request information
diffstat: src/org/openbravo/erpCommon/security/SessionListener.java | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diffs (17 lines): diff -r 339ac63a6dd5 -r 45d8b2b00bae src/org/openbravo/erpCommon/security/SessionListener.java --- a/src/org/openbravo/erpCommon/security/SessionListener.java Fri Jun 16 17:02:31 2017 +0000 +++ b/src/org/openbravo/erpCommon/security/SessionListener.java Fri Jun 16 20:51:32 2017 +0200 @@ -157,9 +157,12 @@ activeHttpSessions.add(event.getSession()); } + if (RequestContext.get().getRequest() != null && AuthenticationManager.isStatelessRequest(RequestContext.get().getRequest())) { - log.error("Request is stateless, still a session is created ", new Exception()); + final String errorLog = RequestContext.get().getRequest().getRequestURL() + " " + + RequestContext.get().getRequest().getQueryString(); + log.error("Request is stateless, still a session is created " + errorLog, new Exception()); } log.debug("Session created. Active sessions count: " + activeHttpSessions.size()); ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Openbravo-commits mailing list Openbravo-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openbravo-commits