1 Reply Latest reply on Apr 13, 2005 12:45 PM by jimm

    Pass parameters to jvm?

    Hariharan Mahadevan Newbie

      How to pass parameters to JVM of Jboss? And how to fetch the same in my application?

        • 1. Re: Pass parameters to jvm?
          jimm Newbie

          You can add a line like this to your run.conf

          JAVA_OPTS="$JAVA_OPTS -Dmyparam1=myvalue1 -Dmyparam2=myvalue2"


          you can add parameters to [server config]/deploy/properties-service.xml

          either way in your application code you would retrieve the value via: