Multiple "Server is maintaining its database at the moment" messages from Eclipse plugin

The Eclipse plugin logs Warning messages several (5-6) times a minute to the Eclipse log with the text "Server is maintaining its database at the moment. It may take from several minutes to several hours depending on the size of the database.". The server is not performing any maintenance, the web interface, builds and everything work fine. Is this a bug in the Eclipse plugin or some problem with the build server?

Stack trace from the Eclipse error log below:

jetbrains.buildServer.InvalidServerStateException: Server is maintaining its database at the moment. It may take from several minutes to several hours depending on the size of the database.
at jetbrains.buildServer.TeamCityProcessManager.processException(TeamCityProcessManager.java:183)
at jetbrains.buildServer.TeamCityProcessManager.performAction(TeamCityProcessManager.java:114)
at jetbrains.teamcity.core.TeamCitySnapshot4Eclipse$UpdateCurrentStatusAction.execute(TeamCitySnapshot4Eclipse.java:222)
at jetbrains.buildServer.TeamCityCommand.run(TeamCityCommand.java:42)
at jetbrains.buildServer.TeamCityProcessManager.performAction(TeamCityProcessManager.java:109)
at jetbrains.teamcity.core.TeamCityIDEAlarm$1.run(TeamCityIDEAlarm.java:74)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Caused by: jetbrains.buildServer.xmlrpc.RemoteCallException: Call http://removedservername:8111//RPC2 UserSummaryRemoteManager2.getRunningBuildsStatus: org.apache.xmlrpc.XmlRpcException: jetbrains.buildServer.ServerCleanupInProgressException: Server is maintaining its database at the moment. It may take from several minutes to several hours depending on the size of the database.
at jetbrains.buildServer.xmlrpc.AbstractXmlRpcTarget.call(AbstractXmlRpcTarget.java:72)
at jetbrains.buildServer.serverProxy.impl.SessionXmlRpcTargetImpl.access$001(SessionXmlRpcTargetImpl.java:26)
at jetbrains.buildServer.serverProxy.impl.SessionXmlRpcTargetImpl$1.invoke(SessionXmlRpcTargetImpl.java:71)
at jetbrains.buildServer.serverProxy.impl.SessionXmlRpcTargetImpl.doRemoteCall(SessionXmlRpcTargetImpl.java:188)
at jetbrains.buildServer.serverProxy.impl.SessionXmlRpcTargetImpl.call(SessionXmlRpcTargetImpl.java:69)
at jetbrains.buildServer.serverProxy.ClientXmlRpcExecutorFacade.callXmlRpc(ClientXmlRpcExecutorFacade.java:28)
at jetbrains.buildServer.serverProxy.RemoteBuildServerFacade.getRunningBuildInfoList(RemoteBuildServerFacade.java:1088)
at jetbrains.teamcity.core.TeamCitySnapshot4Eclipse$UpdateCurrentStatusAction$1.run(TeamCitySnapshot4Eclipse.java:224)
at jetbrains.buildServer.TeamCityProcessManager.performAction(TeamCityProcessManager.java:109)
... 5 more
Caused by: org.apache.xmlrpc.XmlRpcException: jetbrains.buildServer.ServerCleanupInProgressException: Server is maintaining its database at the moment. It may take from several minutes to several hours depending on the size of the database.
at org.apache.xmlrpc.XmlRpcClientResponseProcessor.decodeException(XmlRpcClientResponseProcessor.java:104)
at org.apache.xmlrpc.XmlRpcClientResponseProcessor.decodeResponse(XmlRpcClientResponseProcessor.java:71)
at org.apache.xmlrpc.XmlRpcClientWorker.execute(XmlRpcClientWorker.java:73)
at org.apache.xmlrpc.TCXmlRpcClient$1.execute(TCXmlRpcClient.java:89)
at org.apache.xmlrpc.XmlRpcClient.execute(XmlRpcClient.java:194)
at org.apache.xmlrpc.XmlRpcClient.execute(XmlRpcClient.java:185)
at org.apache.xmlrpc.XmlRpcClient.execute(XmlRpcClient.java:178)
at jetbrains.buildServer.xmlrpc.impl.CommonsXmlRpcTargetImpl$1.execute(CommonsXmlRpcTargetImpl.java:70)
at jetbrains.buildServer.serverProxy.impl.SessionXmlRpcTargetImpl$3.run(SessionXmlRpcTargetImpl.java:93)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

1 comment
Comment actions Permalink

Hi Artur

Is this issue reproduced continuously?
Could you please post teamcity-server.log and teamcity-xmlrpc.log from that point of time.

Thanks

0

Please sign in to leave a comment.