If you really insist on using an environment variable, then try this (you didn't say
which OS you are using, so I'll use Linux syntax). Set the env var:
export MYDS="java:MyEJB3DS"
then in the run.conf, add:
JAVA_OPTS=$JAVA_OPTS -Dmyds=$MYDS
and change the persistence.xml file as Jaikiran mentioned.
All this does is converts an env var into a system property.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4186748#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...