When try to start Identity Portal it does not start and we can see the following in the server.log file
--------------------------------------
WARN [org.infinispan.partitionhandling.impl.PreferAvailabilityStrategy] (transport-thread--p2-t5) ISPN000313: Cache org.hibernate.cache.spi.UpdateTimestampsCache lost data because of abrupt leavers [LOCAL_HOSTNAME-15506]
ERROR [org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean] (ServerService Thread Pool -- 79) Failed to initialize JPA EntityManagerFactory: [PersistenceUnit: SIGMA] Unable to build Hibernate SessionFactory; nested exception is org.hibernate.service.spi.ServiceException: Unable to create requested service [org.hibernate.engine.spi.CacheImplementor]
WARN [org.springframework.web.context.support.XmlWebApplicationContext] (ServerService Thread Pool -- 79) Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'h8EntityManagerFactory' defined in class path resource [sigma-jpa-context.xml]: Invocation of init method failed; nested exception is javax.persistence.PersistenceException: [PersistenceUnit: SIGMA] Unable to build Hibernate SessionFactory; nested exception is org.hibernate.service.spi.ServiceException: Unable to create requested service [org.hibernate.engine.spi.CacheImplementor]
ERROR [org.springframework.web.context.ContextLoader] (ServerService Thread Pool -- 79) Context initialization failed: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'h8EntityManagerFactory' defined in class path resource [sigma-jpa-context.xml]: Invocation of init method failed; nested exception is javax.persistence.PersistenceException: [PersistenceUnit: SIGMA] Unable to build Hibernate SessionFactory; nested exception is org.hibernate.service.spi.ServiceException: Unable to create requested service [org.hibernate.engine.spi.CacheImplementor]
...
Caused by: javax.persistence.PersistenceException: [PersistenceUnit: SIGMA] Unable to build Hibernate SessionFactory; nested exception is org.hibernate.service.spi.ServiceException: Unable to create requested service [org.hibernate.engine.spi.CacheImplementor]
...
Caused by: org.hibernate.service.spi.ServiceException: Unable to create requested service [org.hibernate.engine.spi.CacheImplementor]
...
Caused by: org.infinispan.commons.CacheException: Unable to invoke method public void org.infinispan.statetransfer.StateTransferManagerImpl.waitForInitialStateTransferToComplete() throws java.lang.Exception on object of type StateTransferManagerImpl
--------------------------------------
Virtual Appliance - Identity Portal 14.5.1
There are some corruption data that avoid Identity Portal to start correctly.
- Reboot the Identity Portal machine to stop all services
- Run the commands below after the machine is up and running
stop_ip
deleteIDPJMSqueue
start_ip
If there is no deleteIDPJMSqueue command, check if you the 14.5 SP1 is applied in your environment.
For further information about the commands above, see the documentation Available Aliases