Products | Versions |
---|---|
Spotfire Server | ALL Versions |
Spotfire Server fails to start with the error - Failed to initialize Information Model - "Error creating bean with name 'informationModel' defined in ServletContext"
Caused by: com.spotfire.server.ServerInitializationException: Failed to initialized Information Model
at com.spotfire.ws.im.InformationModel.initImpl(InformationModel.java:101)
at com.spotfire.server.AbstractInitializable.init(AbstractInitializable.java:52)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1544)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1485)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1417)
... 26 more
Caused by: com.spotfire.ws.im.IMException: Failed to get elements of type spotfire.datasource
at com.spotfire.ws.im.element.LibraryStorage.getAllOfType(LibraryStorage.java:395)
at com.spotfire.ws.im.element.DataSourceCollection.retrieveAllDataSources(DataSourceCollection.java:256)
at com.spotfire.ws.im.element.DataSourceCollection.init(DataSourceCollection.java:96)
at com.spotfire.ws.im.element.ElementModel.init(ElementModel.java:112)
at com.spotfire.ws.im.InformationModel.initImpl(InformationModel.java:99)
... 34 more
Caused by: com.spotfire.ws.library.StorageException, CONTENT_MISSING, c4d779f6-5a31-4ac7-a44b-d19cd86e9222
at com.spotfire.ws.library.AbstractPersister.loadContent(AbstractPersister.java:890)
at com.spotfire.ws.library.LibraryManagerImpl.search(LibraryManagerImpl.java:1509)
at com.spotfire.ws.im.element.LibraryStorage.getAllOfType(LibraryStorage.java:393)
... 38 more
Cause:
Inconsistency in database or record missing in the LIB_DATA table but the child record is still present in the LIB_ITEMS table. Generally seen if the database backups did not restore properly or something has been manually deleted from the Spotfire Database.