i have deployed my application on jboss 3.I have restored a database back up of sql server 2000 on sql server 2005.then i have downloaded the jr file jdbc connection to sql server 2005.My connection string setting is as below.
<datasources>
<local-tx-datasource>
<jndi-name>SLBDataSource</jndi-name>
<connection-url>jdbc:sqlserver:\\RAVIGARG\SQLSERVER2005;DatabaseName=Sahil_test_12_12_09;SelectMethod=cursor</connection-url>
<driver-class>com.microsoft.jdbc.sqlserver.SQLServerDriver</driver-class>
<min-pool-size>10</min-pool-size>
<max-pool-size>100</max-pool-size>
<user-name>sa</user-name>
<password>sa</password>
</local-tx-datasource>
But i am getting exception as below.
WARN [JBossManagedConnectionPool] Throwable while attempting to get a new connection:
org.jboss.resource.JBossResourceException: Could not create connection; - nested throwable: (java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC] Unable to connect. Invalid URL.)