I am trying to setup a Policy Xpress policy to run a SQL query to insert information into a Users table.
I have having issues with the DataSource. I am running JBOSS and put in my SQL information in the userstore-ds.xml in the /deploy directory.
I get bind error and failed to get connection in the logs when the policy fires.
Here's the first part of the datsource config in the file for this DB
<no-tx-datasource>
<jndi-name>DrewTest</jndi-name>
<connection-url>jdbc:sqlserver://***.***.***.***:1433;selectMethod=cursor;DatabaseName=DrewTest</connection-url>
<driver-class>
....
In the DataSource name in the policy I have put just DrewTest and java:DrewTest but get the name bind error.
Any ideas what I got wrong?