...
Locate the configuration (search for the class name
org.opensaml.storage.impl.JPAStorageService
Remove the EntityManageFactory EntityManagerFactory bean, taking note of the
dataSource
property.Change the StorageService bean
Replace
class="org.opensaml.storage.impl.JPAStorageService"
withparent="shibboleth.JDBCStorageService"
Remove the constructor parameter and instead add a pointer to the dataSource you noted above
p:dataSource-ref="...."
...