I need to pass an environment variable to my application, working under tomcat8. It's a custom variable, nothing to do with tomcat himself.
I tried to put it into /etc/login.conf, I tried to put it into /etc/rc.local, but it is still not visible by my app. The startup script of tomcat is the default one. I can see the variable under root.
Any advise?
I tried to put it into /etc/login.conf, I tried to put it into /etc/rc.local, but it is still not visible by my app. The startup script of tomcat is the default one. I can see the variable under root.
Any advise?