Error

The requested operation could not be performed.

unable to open resource main-db after 20attempts: Communications link failure due to underlying exception: ** BEGIN NESTED EXCEPTION ** java.net.SocketException MESSAGE: java.net.ConnectException: Connection refused STACKTRACE: java.net.SocketException: java.net.ConnectException: Connection refused at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:156) at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:284) at com.mysql.jdbc.Connection.createNewIO(Connection.java:2555) at com.mysql.jdbc.Connection.<init>(Connection.java:1485) at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:266) at java.sql.DriverManager.getConnection(DriverManager.java:512) at java.sql.DriverManager.getConnection(DriverManager.java:171) at jeeves.resources.dbms.Dbms.connect(Dbms.java:78) at jeeves.resources.dbms.DbmsPool.open(DbmsPool.java:130) at jeeves.server.resources.ResourceManager.open(ResourceManager.java:68) at org.fao.geonet.kernel.search.LuceneSearcher.computeQuery(LuceneSearcher.java:157) at org.fao.geonet.kernel.search.LuceneSearcher.search(LuceneSearcher.java:74) at org.fao.geonet.services.main.Search.exec(Search.java:89) at jeeves.server.dispatchers.ServiceInfo.execService(ServiceInfo.java:238) at jeeves.server.dispatchers.ServiceInfo.execServices(ServiceInfo.java:141) at jeeves.server.dispatchers.ServiceManager.dispatch(ServiceManager.java:375) at jeeves.server.JeevesEngine.dispatch(JeevesEngine.java:614) at jeeves.server.sources.http.JeevesServlet.execute(JeevesServlet.java:170) at jeeves.server.sources.http.JeevesServlet.doGet(JeevesServlet.java:99) at javax.servlet.http.HttpServlet.service(HttpServlet.java:689) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) at java.lang.Thread.run(Thread.java:534) ** END NESTED EXCEPTION ** Last packet sent to the server was 0 ms ago.