I'm using SQL Server 2005 data base and I configured the data source in sql-ds.xml for jboss , the config contents are as follows
<!-- sql to call when connection is created -->
<!-- sql to call on an existing pooled connection when it is obtained from pool
This will be run before a managed connection is removed from the pool
for use by a client-->
<check-valid-connection-sql>select 1</check-valid-connection-sql> -->
<!-- corresponding type-mapping in the standardjbosscmp-jdbc.xml (optional) -->
I started the server , when I'm trying to get a connection from jboss connection pool, I'm getting followin error
org.jboss.util.NestedSQLException: Could not create connection; - nested throwable: (com.microsoft.sqlserver.jdbc.SQLServerException: Login failed for user 'ced'.); - nested throwable: (org.jboss.resource.JBossResourceException: Could not create connection; - nested throwable: (com.microsoft.sqlserver.jdbc.SQLServerException: Login failed for user 'ced'.))
but I'm able to get a connection with a simple java class using same user id & password .. but I'm unable to get a connection from jboss connection pooling.
Can any one help me out to fix the same?
Thanks in Advance
I have the same issue, did you resolve this..... i have been trying to find the soultion for past 2 weeks and i am not getting any reply, Please do let me know if you resolved the issue ...