tomcat CATALINA_HOME environment variable issue on openshift

383 views Asked by At

I am having a weird problem on my server. I am tryng to build OpenGTS so I am using ant all now while building it gives an error.I am using a Tomcat7(jbossews2.0),Mysql5.5 and Ant Cartridge 0.1.when I open a SSH session and I try to run this command "ant all" it shows that

BUILD FAILED
/var/lib/openshift/568e35812d52717d1f000122/app-root/runtime/repo/build.xml:66:
/var/lib/openshift/568e35812d52717d1f000122/app-root/runtime/repo/${Env.CATALINA_HOME} does not exit
1

There are 1 answers

3
João Gonçalves On

You can manually set whatever environment variable on Openshift

$ rhc env set <Variable>=<Value> <Variable2>=<Value2> -a App_Name