jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Phukan, Anit" <Anit_Phu...@intuit.com>
Subject RE: Clustering issue with Jackrabbit
Date Tue, 10 Nov 2009 20:35:52 GMT
Thanks Sebastien,

Yes, it was a typo on my part while copying over the JDBC url.

jdbc:sqlserver:xxxxxxx.xxx.local:1433;DatabaseName=xxxxxxx
to:
jdbc:sqlserver://xxxxxxx.xxx.local:1433;DatabaseName=xxxxxxx

worked for me. 

Thanks again
Anit


-----Original Message-----
From: Sébastien Launay [mailto:sebastienlaunay@gmail.com] 
Sent: Tuesday, November 10, 2009 12:24 PM
To: users@jackrabbit.apache.org
Subject: Re: Clustering issue with Jackrabbit

Hi Anit,

2009/11/10 Phukan, Anit <Anit_Phukan@intuit.com>:
> Caused by: java.sql.SQLException: No suitable driver found for jdbc:sqlserver:xxxxxxx.xxx.local:1433;DatabaseName=xxxxxxx
>        at java.sql.DriverManager.getConnection(DriverManager.java:602)
>        at java.sql.DriverManager.getConnection(DriverManager.java:185)
>        at org.apache.jackrabbit.core.fs.db.DbFileSystem.getConnection(DbFileSystem.java:187)
>        at org.apache.jackrabbit.core.fs.db.DatabaseFileSystem.initConnection(DatabaseFileSystem.java:988)
>        at org.apache.jackrabbit.core.fs.db.DatabaseFileSystem.init(DatabaseFileSystem.java:172)
>        ... 117 more

I think that you are missing the jar containing the JDBC driver for
SqlServer in the classpath.
>From what i found the jar file is named sqljdbc.jar.

If this is not the case, you can try to change the JDBC URL from:
jdbc:sqlserver:xxxxxxx.xxx.local:1433;DatabaseName=xxxxxxx
to:
jdbc:sqlserver://xxxxxxx.xxx.local:1433;DatabaseName=xxxxxxx

-- 
Sébastien Launay

Mime
View raw message