cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lars Huttar <>
Subject Re: SQL Server 2005?
Date Fri, 06 Oct 2006 15:32:17 GMT
Thanks for your suggestion.
So you're saying that you had to load the driver using Class.forName() 
before trying to open a connection.
Where did you put this Java code? in the SQLTransformer class?

One hates to tack on custom Java modifications, but if it's the only way 
to get SQL Server 2005 working...

Did you also have that class listed in the load-class parameter in 
web.xml like this?

If so, and Cocoon apparently didn't load it, I wonder if that represents 
a bug in Cocoon.


On 10/6/2006 6:48 AM, Richard de Oude wrote:
> Hi Lars,
> Not sure if you found a solution to the problem listed here ... 
> I had the same issue, and found the important piece was:
> /Class.forName("");
> /con = 
> java.sql.DriverManager.getConnection(getConnectionUrl(),sql_username,sql_password);
> Bye
> Richard

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message