SnapCreator Framework backups fail and work temporarily after restarting the services
Applies to
SnapCreator Framework
Issue
SnapCreator Framework backups fail and work temporarily after restarting the SnapCreator services, then fails again.
From the logs we see the errors pointing to the repository database getting closed and not being up for SnapCreator to communicate to it.
[2020-11-17T10:39:48,415-0500] INFO [Timer-3] com.netapp.snapcreator.repository.provider.file.RepositoryFileImpl - REPO-04705: Failed to get config list from profile:[test]. Profile is empty.
[2020-11-17T10:39:48,597-0500] WARN [pool-2-thread-1] org.apache.cxf.phase.PhaseInterceptorChain - Interceptor for {http://endpoint.nextgen.agent.snapcr.../}RestfulAgent has thrown exception, unwinding now
Other errors that may be seen from the logs
[Thread-0] ERRORcom.netapp.rre.snapcreator.service.SnapCreatorLogger - Failed to start database 'snapcreator' with class loader sun.misc.Launcher$AppClassLoader@e24e2a, see the next exception for details.java.sql.SQLException: Failed to start database 'snapcreator' with class loadersun.misc.Launcher$AppClassLoader@e24e2a, see the next exception for details.
at org.apache.derby.impl.jdbc.SQLExceptionFactory40.getSQLException(Unknown Source)
at org.apache.derby.impl.jdbc.Util.newEmbedSQLException(Unknown Source)
at org.apache.derby.impl.jdbc.Util.seeNextException(Unknown Source)
at org.apache.derby.impl.jdbc.EmbedConnection.bootDatabase(Unknown Source)
at org.apache.derby.impl.jdbc.EmbedConnection.
(Unknown Source)
at org.apache.derby.impl.jdbc.EmbedConnection30.
(Unknown Source)
at org.apache.derby.impl.jdbc.EmbedConnection40.
(Unknown Source)
at org.apache.derby.jdbc.Driver40.getNewEmbedConnection(Unknown Source)
at org.apache.derby.jdbc.InternalDriver.connect(Unknown Source)Knowledgebase
at org.apache.derby.jdbc.AutoloadedDriver.connect(Unknown Source)
at java.sql.DriverManager.getConnection(Unknown Source)
at java.sql.DriverManager.getConnection(Unknown Source)
at com.netapp.rre.snapcreator.server.db.DerbyEngine.getConnection(DerbyEngine.java:169)
atcom.netapp.rre.snapcreator.server.db.JobWriter.updateJobStatusForIncompleteJobs(JobWriter.java:285) atcom.netapp.rre.snapcreator.server.util.JobUtil.updateJobStatusForIncompleteJobs(JobUtil.java:138)
atcom.netapp.rre.snapcreator.server.SnapCreatorDaemon$SCServiceThread.run(SnapCreatorDaemon.java:92)
Caused by: java.sql.SQLException: Failed to start database 'snapcreator' with class loadersun.misc.Launcher$AppClassLoader@e24e2a, see the next exception for details.
at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown Source)
atorg.apache.derby.impl.jdbc.SQLExceptionFactory40.wrapArgsForTransportAcrossDRDA(UnknownSource)... 16 moreCaused by: java.sql.SQLException: The conglomerate (16) requested does not exist. at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown Source)
atorg.apache.derby.impl.jdbc.SQLExceptionFactory40.wrapArgsForTransportAcrossDRDA(UnknownSource)
at org.apache.derby.impl.jdbc.SQLExceptionFactory40.getSQLException(Unknown Source)
at org.apache.derby.impl.jdbc.Util.generateCsSQLException(Unknown Source)