WebSphere Application Server & Liberty

WebSphere Application Server & Liberty

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
  • 1.  Error 500: javax.servlet.ServletException: Filter [springSecurityFilterChain]: org.springframework.

    Posted Wed June 08, 2016 10:03 PM

    Error 500: javax.servlet.ServletException: Filter [springSecurityFilterChain]: org.springframework.web.filter.DelegatingFilterProxy was found, but is missing another required class.

    [6/8/16 16:29:20:860 EDT] 000000a6 webapp        E com.ibm.ws.webcontainer.webapp.WebApp logServletError SRVE0293E: [Servlet Error]-[tiptracker]: java.lang.NoClassDefFoundError: org.apache.log4j.Log4jLoggerFactory (initialization failure)  

    how to fix this error 

     



  • 2.  RE: Error 500: javax.servlet.ServletException: Filter [springSecurityFilterChain]: org.springframework.

    Posted Thu June 09, 2016 02:20 PM

    It is stating that a log4j class is missing.  Make sure you have the necessary log4j jar files in your WEB-INF/lib directory.

    Brian



  • 3.  RE: Error 500: javax.servlet.ServletException: Filter [springSecurityFilterChain]: org.springframework.

    Posted Tue June 21, 2016 12:14 PM

    Thanks Brian but the files are already exists. i have changed web modules(classes loaded with local class loaded first (parent last) as well.

    Caused by: java.lang.IllegalStateException: Detected both log4j-over-slf4j.jar AND slf4j-log4j12.jar on the class path, preempting StackOverflowError. See also http://www.slf4j.org/codes.html#log4jDelegationLoop for more details.

    FYI ..log4j-1.2.16.jar, log4j-over-slf4j-1.6.1.jar, slf4j-log4j12-1.6.4.jar