1) copy the jdbc drvier to your %JBOSS_HOME%/servlet/default/lib eg.
mssqlserver is msbase.jar, mssqlserver.jar, msutil.jar
2) copy file from %JBOSS_HOME%/docs/examples/jca
, end with -ds.xml , eg
mssqlservler is : mssql-ds.xml
to file folder JBOSS_HOME%/servlet/default/deploy
3) change the file content to fiexed you
Now you can use it in jdni.
if you want to use connection pool , and you can
open %JBOSS_HOME%/docs/examples/jca/generic-ds.xml, you will find it is so easy
Thanks for your reply, what I wanted to know is how can I assign multiple JNDI names to a single Connection Pool or a Single Datasource