title: sql server 2005:how to connect to sql server 2005 on platform jboss 3.0?
body: <p>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.</p>
  
  <pre><code>    &lt;datasources&gt;
  &lt;local-tx-datasource&gt;
      &lt;jndi-name&gt;SLBDataSource&lt;/jndi-name&gt;
      &lt;connection-url&gt;jdbc:sqlserver:\\RAVIGARG\SQLSERVER2005;DatabaseName=Sahil_test_12_12_09;SelectMethod=cursor&lt;/connection-url&gt;
      &lt;driver-class&gt;com.microsoft.jdbc.sqlserver.SQLServerDriver&lt;/driver-class&gt;
  
      &lt;min-pool-size&gt;10&lt;/min-pool-size&gt;
      &lt;max-pool-size&gt;100&lt;/max-pool-size&gt;
      &lt;user-name&gt;sa&lt;/user-name&gt;
      &lt;password&gt;sa&lt;/password&gt;
  &lt;/local-tx-datasource&gt;
  </code></pre>
  
  <p></p>
  
  <p>But i am getting exception as below.     </p>
  
  <pre><code>    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.)
  </code></pre>