1 Reply Latest reply on Mar 14, 2008 11:28 AM by peterj

    Environment Variable for embedded tomcat

    clintonbosch

      Hi

      How do I export an environment variable when using the embedded tomcat on jboss-4.2.2.GA. In my old setup I would simple set CATALINA_OPTS="-Djdo.host=10.20.128.70" in my catalina.sh. I do not want JBoss to pick up the variable so I can not export it in JAVA_OPTS in run.sh and I have tried exporting CATALINA_OPTS in the run.sh but it does not seem to work. Again in summary, I do not want JBoss to pick up the environment variable, only the embedded tomcat.

      Thanks in advance