Ok, now I'm sure this is a fairly simple question but I am having the hardest time finding a simple answer; please help.
I am a relatively new
JBoss user, but have experience with
Tomcat(6.0.x) and WebSphere (6.1x) - within both of these I have had no problem setting JNDI environment variables but cannot figure out JBoss.
To better illustrate my issue - in Tomcat, I can set a context within the server.xml such as:
where the Resource is the
jdbc data source lookup and the Environment is a JNDI
string environment lookup.
Now..
Within JBoss I can create a JNDI data source by creating a myapp-ds.xml file within the %JBOSS_HOME%/server/default/deploy/ folder, but cannot figure out how to set the Environment variable (myapp.environment from the example) - any help would be greatly appreciated.
I have jfgi'ed the heck out of this one and unfortunately only come up with
ejb answers (I'm not using ejb) and other round about methods that don't seem to work - I'm sure there has to be a really simple answer to this one.
I am using JBoss AS 4.2.2.GA and also just got 6.0.0.M1 to try it out.
Thanks in advance,
Tom