Page 1 of 1

[2011] SEVERE: The scratchDir you specified: .. is unusable

Posted: Tue Jul 26, 2011 12:22 pm
by dtouzeau
Dear

I have installed the 2011 version with tomcat 6.0.32 and java jdk1.6.0_26
openemm started correctly

Code: Select all

Starting up Tomcat ......
Check Java installation          :OK
Check Tomcat installation        :OK
Using CATALINA_BASE:   /home/openemm
Using CATALINA_HOME:   /opt/openemm/tomcat6
Using CATALINA_TMPDIR: /home/openemm/temp
Using JRE_HOME:        /opt/openemm/jdk1.6.0_26
Using CLASSPATH:       /opt/openemm/tomcat6/bin/bootstrap.jar
but in the tomcat log i receive this error

Code: Select all

Jul 26, 2011 1:14:07 PM org.apache.jasper.EmbeddedServletOptions <init>
SEVERE: The scratchDir you specified: /home/openemm/work/Catalina/openemm/_ is unusable.
Jul 26, 2011 1:14:07 PM org.apache.catalina.startup.HostConfig deployDirectory
in /home/openemm/work/Catalina/openemm/_ there is no directory requested.

When trying to login the web page encounter 500 error

Code: Select all

exception
org.apache.jasper.JasperException: java.lang.IllegalStateException: No output folder
How can i resolve it ??

bets regards

Re: [2011] SEVERE: The scratchDir you specified: .. is unusa

Posted: Tue Jul 26, 2011 6:26 pm
by maschoff
Probably a permission problem. Please check if user openemm can write to the mentioned directory.

Re: [2011] SEVERE: The scratchDir you specified: .. is unusa

Posted: Tue Jul 26, 2011 6:46 pm
by dtouzeau
i mentionned that "/home/openemm/work/Catalina/openemm/_ " doesn't exists.
I have extracted the OpenEMM-2011.tar.gz file downloaded from sourceforge

i have only these files/directories in the install base

Code: Select all

bin  conf  logs  README.txt  temp  UPDATE.txt  USR_SHARE  var  webapps  webservices
and no "work/Catalina/openemm/_" directory

Re: [2011] SEVERE: The scratchDir you specified: .. is unusa

Posted: Tue Jul 26, 2011 6:54 pm
by maschoff
This directory is created by Tomcat not OpenEMM. Make sure that Tomcat can write into this directory.

Re: [2011] SEVERE: The scratchDir you specified: .. is unusa

Posted: Tue Jul 26, 2011 7:12 pm
by dtouzeau
Many thanks
creating the directory "/home/openemm/work/Catalina/openemm/_" and chown it to openemm fix the issue