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

Use this forum for questions regarding installation, upgrading and configuration of OpenEMM

Moderator: moderator

dtouzeau
Posts: 10
Joined: Tue Jul 26, 2011 12:15 pm
Contact:

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

Post 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
Funder of Artica Open source project
http://www.artica.fr
Open Linux for Newbee....
maschoff
Site Admin
Posts: 2597
Joined: Thu Aug 03, 2006 10:20 am
Location: Munich, Germany
Contact:

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

Post by maschoff »

Probably a permission problem. Please check if user openemm can write to the mentioned directory.
OpenEMM Maintainer
dtouzeau
Posts: 10
Joined: Tue Jul 26, 2011 12:15 pm
Contact:

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

Post 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
Funder of Artica Open source project
http://www.artica.fr
Open Linux for Newbee....
maschoff
Site Admin
Posts: 2597
Joined: Thu Aug 03, 2006 10:20 am
Location: Munich, Germany
Contact:

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

Post by maschoff »

This directory is created by Tomcat not OpenEMM. Make sure that Tomcat can write into this directory.
OpenEMM Maintainer
dtouzeau
Posts: 10
Joined: Tue Jul 26, 2011 12:15 pm
Contact:

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

Post by dtouzeau »

Many thanks
creating the directory "/home/openemm/work/Catalina/openemm/_" and chown it to openemm fix the issue
Funder of Artica Open source project
http://www.artica.fr
Open Linux for Newbee....
Post Reply