<rdf:RDF
    xmlns:s='http://snipsnap.org/rdf/snip-schema#'
    xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns#'
    xml:base='http://snipsnap.org/rdf'>
    <s:Snip rdf:about='http://snipsnap.org/rdf#comment-SnipSnap+on+MS+SqlServer-1'
         s:cUser='janit0r'
         s:oUser=''
         s:mUser='janit0r'>
        <s:name>comment-SnipSnap on MS SqlServer-1</s:name>
        <s:content>Has anyone been successful in installing SnipSnap v0.5a-Farnham into MS Sql Server by specifing a Generic JDBC Source during installation?  I&apos;ve tried to do so with the ~~net.sourceforge.jtds.jdbc.Driver~~ and ~~com.microsoft.jdbc.sqlserver.SQLServerDriver~~ and had no success yet. &#xA;&#xA;&#xA;I had to copy both driver&apos;s jars to ~~src/apps/default/WEB-INF/lib~~ before it successfully located them(, and then I copied them to every other lib directory for good measure).&#xA;&#xA;The following was attempted during a new install using the admin setup web pages.  (I was not editing a working applications .conf)&#xA;&#xA;When providing the url, driver, and username and password, in both cases below the setup UI offers:\\&#xA;- The database password may be wrong.&#xA;- The database user may be wrong.&#xA;- Error: Please verify that your JDBC URL is completely specified and the database user and password are correct.&#xA;&#xA;...despite different errors in the log for the different drivers:&#xA;&#xA;1.1 com.microsoft.jdbc.sqlserver.SQLServerDriver&#xA;{quote}&#xA;__url__: ~~jdbc:com.microsoft.jdbc.sqlserver.SQLServerDriver://localhost:1433/snipsnap~~\\&#xA;__driver__: ~~com.microsoft.jdbc.sqlserver.SQLServerDriver~~\\&#xA;{quote}&#xA;{code}&#xA;ConnectionManager: Registering JDBC driver: com.microsoft.jdbc.sqlserver.SQLServerDriver&#xA;JDBCApplicationManager: dropping application SQL table&#xA;JDBCApplicationManager: creating application SQL table&#xA;java.lang.RuntimeException: JDBCTemplate: unable to execute query&#xA;&#9;at org.snipsnap.jdbc.JDBCTemplate.update(JDBCTemplate.java:71)&#xA;&#9;at org.snipsnap.app.JDBCApplicationStorage.createStorage(JDBCApplicationStorage.java:63)&#xA;...&#xA;Caused by: java.sql.SQLException: No suitable driver&#xA;&#9;at java.sql.DriverManager.getConnection(DriverManager.java:532)&#xA;&#9;at java.sql.DriverManager.getConnection(DriverManager.java:171)&#xA;&#9;at org.apache.commons.dbcp.DriverManagerConnectionFactory.createConnection(DriverManagerConnectionFactory.java:94)&#xA;&#9;at org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:300)&#xA;&#9;at org.apache.commons.pool.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:816)&#xA;&#9;at org.apache.commons.dbcp.PoolingDataSource.getConnection(PoolingDataSource.java:140)&#xA;&#9;at org.snipsnap.jdbc.JDBCTemplate.update(JDBCTemplate.java:63)&#xA;&#9;... 23 more&#xA;{code}&#xA;&#xA;&#xA;Acknowledging SQLServerDriver&apos;s failure in the original attempt this snip documented, I&apos;m content to believe it just won&apos;t work, and the error kinda supports that.  Moving on to the proven driver before I waste too much time...&#xA;&#xA;&#xA;&#xA;1.1 net.sourceforge.jtds.jdbc.Driver&#xA;{quote}&#xA;__url__: ~~jdbc:jtds:sqlserver://localhost:1433/snipsnap~~\\&#xA;__driver__: ~~net.sourceforge.jtds.jdbc.Driver~~\\&#xA;{quote}&#xA;{code}&#xA;ConnectionManager: Registering JDBC driver: net.sourceforge.jtds.jdbc.Driver&#xA;JDBCApplicationManager: dropping application SQL table&#xA;JDBCApplicationManager: creating application SQL table&#xA;java.lang.RuntimeException: JDBCTemplate: unable to execute query&#xA;&#9;at org.snipsnap.jdbc.JDBCTemplate.update(JDBCTemplate.java:71)&#xA;&#9;at org.snipsnap.app.JDBCApplicationStorage.createStorage(JDBCApplicationStorage.java:63)&#xA;...&#xA;Caused by: java.sql.SQLException: Logon failed.  Msg 18456, Severity 14, State 1, Login failed for user &apos;snipsnap_user&apos;., Server , Procedure , Line 0&#xA;&#9;at net.sourceforge.jtds.jdbc.Tds.&lt;init&gt;(Tds.java:235)&#xA;&#9;at net.sourceforge.jtds.jdbc.TdsConnection.allocateTds(TdsConnection.java:704)&#xA;&#9;at net.sourceforge.jtds.jdbc.TdsConnection.&lt;init&gt;(TdsConnection.java:165)&#xA;&#9;at net.sourceforge.jtds.jdbc.Driver.connect(Driver.java:85)&#xA;&#9;at java.sql.DriverManager.getConnection(DriverManager.java:512)&#xA;&#9;at java.sql.DriverManager.getConnection(DriverManager.java:171)&#xA;&#9;at org.apache.commons.dbcp.DriverManagerConnectionFactory.createConnection(DriverManagerConnectionFactory.java:94)&#xA;&#9;at org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:300)&#xA;&#9;at org.apache.commons.pool.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:816)&#xA;&#9;at org.apache.commons.dbcp.PoolingDataSource.getConnection(PoolingDataSource.java:140)&#xA;&#9;at org.snipsnap.jdbc.JDBCTemplate.update(JDBCTemplate.java:63)&#xA;&#9;... 23 more&#xA;{code}&#xA;&#xA;I&apos;m certain the &quot;snipsnap_user&quot; is valid for access to the snipsnap database I created, and I provided the correct password; I&apos;m not sure if I&apos;m doing something else wrong here.  Any ideas?</s:content>
        <s:mTime>2003-12-24 05:47:38.224</s:mTime>
        <s:cTime>2003-12-24 04:00:53.064</s:cTime>
        <s:comments
             rdf:type='http://www.w3.org/1999/02/22-rdf-syntax-ns#Bag'/>
        <s:snipLinks>
            <rdf:Bag>
                <rdf:li rdf:resource='#snipsnap-search'/>
                <rdf:li rdf:resource='#phobia'/>
                <rdf:li rdf:resource='#janit0r'/>
                <rdf:li rdf:resource='#bruno'/>
            </rdf:Bag>
        </s:snipLinks>
        <s:attachments
             rdf:type='http://www.w3.org/1999/02/22-rdf-syntax-ns#Bag'/>
    </s:Snip>
</rdf:RDF>
