This page last changed on Mar 24, 2013 by nipple.

hi guys,

i'm having problems just installing the openremote controller software via terminal.

i can get it to start to install then it comes back with an error of missing files, i have even downloaded the previous version 2.0.1 and receive the same error.

I have cut and pasted the last bit of the terminal error.

f [ -r "$CATALINA_HOME"/bin/tomcat/setclasspath.sh ]; then BASEDIR="$CATALINA_HOME"; . "$CATALINA_HOME"/bin/tomcat/setclasspath.sh; else echo "Cannot find $CATALINA_HOME/bin/tomcat/setclasspath.sh"; echo "This file is needed to run this program"; exit 1; fi
Cannot find /bin/tomcat/setclasspath.sh
This file is needed to run this program
logout

Process completed

Can anyone give me a pointer whats going wrong.

cheers Jason

Jason,

I had the same problem. I removed the environment variable definition for $JAVA_HOME in my .bash_profile and it was working again.
At startup in my case CATALINA reports usage of the following:

Using CATALINA_BASE: /Users/othmar/shProject/ORC
Using CATALINA_HOME: /Users/othmar/shProject/ORC
Using CATALINA_TMPDIR: /Users/othmar/shProject/ORC/temp
Using JRE_HOME: /System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Home

After successful startup I went back and added both JAVA environment variables (see below) back and it was working.
export JRE_HOME="/System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Home"
export JAVA_HOME="/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home"

So I could not really reproduce the problem. - However, try without JRE_HOME and JAVA_HOME set.

Cheers, Othmar

Posted by othmark at May 23, 2013 09:09
Document generated by Confluence on Jun 05, 2016 09:42