JPAStorageService Configuration Failure (Windows Jetty)

McLennan, Neil R n.mclennan at imperial.ac.uk
Mon Mar 4 12:53:27 EST 2019


On adding JPAStorageService config to global.xml the Shibboleth service starts but is unavailable and nothing is written to the log files.
How can I debug what is wrong?




    <bean id="shibboleth.JPAStorageService"
        class="org.opensaml.storage.impl.JPAStorageService"
        p:cleanupInterval="%{idp.storage.cleanupInterval:PT10M}"
        c:factory-ref="shibboleth.JPAStorageService.EntityManagerFactory" />

   <bean id="shibboleth.JPAStorageService.EntityManagerFactory"
        class="org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean">
        <property name="persistenceUnitName" value="storageservice" />
        <property name="packagesToScan" value="org.opensaml.storage.impl" />
        <property name="dataSource" ref="shibboleth.JPAStorageService.DataSource" />
        <property name="jpaVendorAdapter" ref="shibboleth.JPAStorageService.JPAVendorAdapter" />
        <property name="jpaDialect">
            <bean class="org.springframework.orm.jpa.vendor.HibernateJpaDialect" />
        </property>
    </bean>

<bean id="shibboleth.JPAStorageService.JPAVendorAdapter"
   class="org.springframework.orm.jpa.vendor.HibernateJpaVendorAdapter">
    <property name="database" value="POSTGRESQL" />
</bean>

<bean id="shibboleth.JPAStorageService.DataSource"
    class="com.zaxxer.hikari.HikariDataSource" destroy-method="close" lazy-init="true"
    p:driverClassName="org.postgresql.Driver"
    p:jdbcUrl="jdbc:postgresql://localhost:5432/storageservice"
    p:username="shib"
    p:password="p at ssw0rd" />


Neil McLennan
Identity and Access Management Analyst
Information & Communication Technologies
Imperial College London
Level 4, Sherfield Building
Tel: +44 (0) 20 7594 6904
Email: n.mclennan at imperial.ac.uk<mailto:n.mclennan at imperial.ac.uk>
www.imperial.ac.uk/ict<http://www.imperial.ac.uk/ict>
[cid:image001.png at 01D4452B.2528FB20]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/users/attachments/20190304/97a1259b/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 14809 bytes
Desc: image001.png
URL: <http://shibboleth.net/pipermail/users/attachments/20190304/97a1259b/attachment.png>


More information about the users mailing list