Upgrade to 5.3 java.lang.ClassNotFoundException: org.springframework.jdbc.datasource.DriverManagerDataSource

Ulf Seltmann ulf.seltmann at hmt-leipzig.de
Tue Sep 24 07:07:07 UTC 2024


Thanks Scott, that set me on the right track.

Could anybody provide a sample on how to set up a datasource with postgresql as database?

Until now i had the following configuration in global.xml working:

<snip>
...
<bean 
        id="shibboleth.DbDataSource" 
        class="org.springframework.jdbc.datasource.DriverManagerDataSource" 
        p:driverClassName="org.postgresql.Driver"
        p:url="%{db.url}" 
        p:username="%{db.username}" 
        p:password="%{db.password}" />

<bean 
        id="JDBCStorageService" 
        parent="shibboleth.JDBCStorageService" 
        p:dataSource-ref="shibboleth.DbDataSource"
        p:cleanupInterval="%{idp.storage.cleanupInterval:PT10M}" 
				/>
...
</snip>

Cheers
-- 
Ulf Seltmann
System-Administrator

Hochschule für Musik und Theater Leipzig
IT-Dienste
Grassistraße 8 | 04107 Leipzig
Tel.: +49 341 2144 681
ulf.seltmann at hmt-leipzig.de | www.hmt-leipzig.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 6575 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/users/attachments/20240924/5f42ffb3/attachment.p7s>


More information about the users mailing list