• FEATURES
  • PRICING
  • MARKETPLACE
  • CASE STUDIES
  • BLOG
  • Error creating bean with name 'deInitializer'

    I’m getting the following error starting OpenSpecimen.

    In my Tomcat localhost log I’m getting this error:

    SEVERE [localhost-startStop-1] org.apache.catalina.core.StandardContext.listenerStart Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘deInitializer’ defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Invocation of init method failed; nested exception is java.lang.RuntimeException: Error couldn’t create directory for storing de file data

    I also get these warnings in the Catalina logs:

    20-Jul-2017 11:29:28.957 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Deploying web application archive /var/lib/tomcat8/webapps/openspecimen.war
    20-Jul-2017 11:29:40.321 INFO [localhost-startStop-1] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
    20-Jul-2017 11:30:19.451 SEVERE [localhost-startStop-1] org.apache.catalina.core.StandardContext.startInternal One or more listeners failed to start. Full details will be found in the appropriate container log file
    20-Jul-2017 11:30:19.504 SEVERE [localhost-startStop-1] org.apache.catalina.core.StandardContext.startInternal Context [/openspecimen] startup failed due to previous errors
    20-Jul-2017 11:30:19.538 WARNING [localhost-startStop-1] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesThreads The web application [openspecimen] appears to have started a thread named [FileWatchdog] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread:
    java.lang.Thread.sleep(Native Method)
    org.apache.log4j.helpers.FileWatchdog.run(FileWatchdog.java:104)

    Can anyone help is trying to resolve these errors?

    Many thanks

    Len

    Len,

    This issue seems similar to this issue:

    Please check and see if it solves the issue.

    ~Sri