View previous topic :: View next topic |
Author |
Message |
schwicky n00b
Joined: 13 Aug 2004 Posts: 27 Location: Langnau im Emmental
|
Posted: Wed Dec 13, 2006 8:33 am Post subject: java-config -g CATALINA_HOME is empty |
|
|
I have a strange situation on a freshly installed server where I want to install Open-Xchange. The ebuild uses java-config -g CATALINA_HOME to find out where tomcat is installed. This command always returns:
Undefined: CATALINA_HOME
On another server which I have set up some time ago this command indeed returns /usr/share/tomcat-5
The environment variable $CATALINA_HOME is set and contains /usr/share/tomcat-5
Does someone know how I can make the java-config command return the correct value? (I already did a complete emerge -e world)
In the meantime I edited the ebuild to be able to install the beast but it would be nice if the system was consistent with the ebuild requirements. _________________ Nothing's impossible... Everything's relative! |
|
Back to top |
|
|
rickvernam Guru
Joined: 09 Jul 2004 Posts: 313
|
Posted: Wed Feb 21, 2007 6:01 pm Post subject: |
|
|
so, did you ever get that figured out? having the same problem here... |
|
Back to top |
|
|
wltjr Retired Dev
Joined: 31 Jan 2006 Posts: 73
|
Posted: Mon Mar 26, 2007 5:54 pm Post subject: |
|
|
That package likely needs to be updated. That variable is only set for Tomcat via /etc/conf.d/tomcat-* invoked before init script is run. So it's never globally available as would need to be for java-config -g. I will see about getting in touch with dev working on ox and see if we can't come up with a better solution. Unless this has been resolved already. |
|
Back to top |
|
|
|