java - Read environment variables on Oracle 10gas -
when using oem 10gas, can set environment variables. how can read these application? i've tried using jndi, system.getenv() (throws exception on java 1.4), system.getproperty() .. no luck.
you can set system properties vm arguments ("-dfoo=bar") , read them system.getproperty("foo"). put these in opmn.xml, or in environment variable oc4j_jvm_args if using oc4j standalone.
Comments
Post a Comment