Page tree
Skip to end of metadata
Go to start of metadata

Problem

When running init-customerid-data-storages.sh and it fails, Catalina log shows the following error:


Feb 13, 2015 8:53:01 AM org.apache.catalina.core.StandardWrapperValve invoke
SEVERE: Servlet.service() for servlet [InitServlet] in context with path [/eidm2] threw exception
java.lang.IllegalStateException: VirtualHostManager has no default host
at
com.ubisecure.saml2.sp.impl.VirtualHostManagerImpl.getUbiloginServiceProvider(VirtualHostManagerIm 
pl.
java:142)
    at
com.ubisecure.saml2.sp.impl.VirtualHostManagerImpl.getUbiloginServiceProvider(VirtualHostManagerIm 
pl.
java:35)
    at com.ubisecure.saml2.sp.UbiloginServiceProvider.getInstance(UbiloginServiceProvider.java:119)
    at
com.ubisecure.customerid.control.EIDM2Application.getSPConfigurations(EIDM2Application.java:75)
    at com.ubisecure.customerid.control.CIDApplication.getSpConfigurations(CIDApplication.java:247)
    at com.ubisecure.customerid.logic.services.CIDService.getSPConfiguration(CIDService.java:90)
    at
com.ubisecure.customerid.logic.services.GeneralServiceImpl.initializeDataStorages(GeneralServiceImpl. 
java:99)

Solution

Check the custom/saml2/workflowsp folder. If identity.properties is missing, run tools/init-eidm-sp.sh again.