Project

General

Profile

« Previous | Next » 

Revision 6699fb5d

Added by Andreas Kohlbecker about 8 years ago

avoiding deletion of temp folder which caused problems during parallel start up

View differences:

src/main/java/eu/etaxonomy/cdm/server/Bootloader.java
674 674

  
675 675
        cdmWebappContext.setContextPath(constructContextPath(conf));
676 676
        logger.info("contextPath: " + cdmWebappContext.getContextPath());
677
        cdmWebappContext.setTempDirectory(CDM_WEBAPP_TEMP_FOLDER);
677
        // set persistTempDirectory to prevent jetty from creating and deleting this directory for each instance,
678
        // since this behaviour can cause conflicts during parallel start up  of instances.
679
        cdmWebappContext.setPersistTempDirectory(true);
680

  
678 681

  
679 682
//        if(!instance.bindJndiDataSource()){
680 683
//            // a problem with the datasource occurred skip this webapp

Also available in: Unified diff