Uploaded image for project: 'CloverDX'
  1. CloverDX
  2. CLO-19145

Server on tcServer doesn't start because of scanning of spring-web*.jar

    XMLWordPrintable

    Details

    • QA Testing:
      UNDECIDED

      Description

      Server doesn't start on tcServer with the folowing message in catalina.log:

       

      26-May-2020 16:25:15.077 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Pivotal tc Runtime 3.2.14.RELEASE/8.5.38.B.RELEASE
      26-May-2020 16:25:16.018 SEVERE [localhost-startStop-1] org.apache.catalina.startup.ContextConfig.configureStart Marking this application unavailable due to previous error(s)
      26-May-2020 16:25:16.412 SEVERE [localhost-startStop-1] org.apache.catalina.core.StandardContext.startInternal One or more components marked the context as not correctly configured
      26-May-2020 16:25:16.418 SEVERE [localhost-startStop-1] org.apache.catalina.core.StandardContext.startInternal Context [/clover] startup failed due to previous errors 

       

      It is necessary to add two new spring libraries to the tomcat.util.scan.StandardJarScanFilter.jarsToSkip list in the catalina.properties. It seems that Tomcat cannot start when it scans these libraries. Fortunately, there is no reason to scan the libraries.

      tomcat.util.scan.StandardJarScanFilter.jarsToSkip = \
      ...
      spring-web-*.jar,\
      spring-webmvc-*.jar,\
      ...
      

        Attachments

          Activity

            People

            Assignee:
            slamam Martin Slama
            Reporter:
            urbanj Jaroslav Urban
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: