Página Indisponível

Não foi possível actualizar a base de dados

Não foi possível actualizar a base de dados

Connections could not be acquired from the underlying database!

Não foi possivel actualizar a base de dados com o seu pedido.
Por favor repita a operação para confirmar que os dados desejados são gravados correctamente.
Pedimos desculpa pelo incómodo.

Caso o problema persista por favor contacte o administrador do sistema.

Obrigado.

[dif] - DIF
[system] - DIF Services
[errorhandlingservice] - DIF Internal Error Handling Service
[hibernateerrorstage] - Database Error Stage
org.hibernate.exception.GenericJDBCException: Cannot open connection

pt.digitalis.dif.exception.controller.ControllerException: org.hibernate.exception.GenericJDBCException: Cannot open connection

pt.digitalis.dif.controller.AbstractDIFDispatcher (execute:593)
pt.digitalis.dif.controller.AbstractDIFDispatcher (runDispatchingSteps:1221)
pt.digitalis.dif.controller.AbstractDIFDispatcher (dispatch:473)
pt.digitalis.dif.controller.AbstractChAL (serve:119)
pt.digitalis.dif.controller.http.DIF1IntegrationChALHTTPImpl (serve:66)
pt.digitalis.dif.controller.http.DIF1IntegrationChALHTTPImpl (serve:37)
pt.digitalis.dif.listeners.HttpListener (processRequest:72)
pt.digitalis.dif.listeners.AbstractRESTfullHttpListener (doGet:64)
javax.servlet.http.HttpServlet (service:690)
javax.servlet.http.HttpServlet (service:803)
org.apache.catalina.core.ApplicationFilterChain (internalDoFilter:290)
org.apache.catalina.core.ApplicationFilterChain (doFilter:206)
pt.digitalis.dif.listeners.RESTRequestsFilter (doFilter:97)
org.apache.catalina.core.ApplicationFilterChain (internalDoFilter:235)
org.apache.catalina.core.ApplicationFilterChain (doFilter:206)
org.jboss.web.tomcat.filters.ReplyHeaderFilter (doFilter:96)
org.apache.catalina.core.ApplicationFilterChain (internalDoFilter:235)
org.apache.catalina.core.ApplicationFilterChain (doFilter:206)
org.apache.catalina.core.StandardWrapperValve (invoke:230)
org.apache.catalina.core.StandardContextValve (invoke:175)
org.jboss.web.tomcat.security.SecurityAssociationValve (invoke:182)
org.jboss.web.tomcat.security.JaccContextValve (invoke:84)
org.apache.catalina.core.StandardHostValve (invoke:127)
org.apache.catalina.valves.ErrorReportValve (invoke:102)
org.jboss.web.tomcat.service.jca.CachedConnectionValve (invoke:157)
org.apache.catalina.core.StandardEngineValve (invoke:109)
org.apache.catalina.connector.CoyoteAdapter (service:262)
org.apache.coyote.http11.Http11Processor (process:844)
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler (process:583)
org.apache.tomcat.util.net.JIoEndpoint$Worker (run:446)
java.lang.Thread (run:748)

org.hibernate.exception.GenericJDBCException: Cannot open connection
org.hibernate.exception.SQLStateConverter (handledNonSpecificException:140)
org.hibernate.exception.SQLStateConverter (convert:128)
org.hibernate.exception.JDBCExceptionHelper (convert:66)
org.hibernate.exception.JDBCExceptionHelper (convert:52)
org.hibernate.jdbc.ConnectionManager (openConnection:449)
org.hibernate.jdbc.ConnectionManager (getConnection:167)
org.hibernate.jdbc.JDBCContext (connection:160)
org.hibernate.transaction.JDBCTransaction (begin:81)
org.hibernate.impl.SessionImpl (beginTransaction:1473)
sun.reflect.GeneratedMethodAccessor281 (invoke:-1)
sun.reflect.DelegatingMethodAccessorImpl (invoke:43)
java.lang.reflect.Method (invoke:498)
org.hibernate.context.ThreadLocalSessionContext$TransactionProtectionWrapper (invoke:345)
com.sun.proxy.$Proxy131 (beginTransaction:-1)
pt.digitalis.siges.entities.css.home.RegimeCandidaturaActivos (getInstance:116)
pt.digitalis.siges.entities.css.home.CSSnetHome (init:737)
pt.digitalis.siges.entities.css.home.CSSnetHomeCGStageInstance (callInitMethod:-1)
pt.digitalis.siges.entities.css.home.CSSnetHomeCGStageInstance (_CG_init:168)
pt.digitalis.dif.controller.AbstractDIFDispatcher (execute:568)
pt.digitalis.dif.controller.AbstractDIFDispatcher (runDispatchingSteps:1221)
pt.digitalis.dif.controller.AbstractDIFDispatcher (dispatch:473)
pt.digitalis.dif.controller.AbstractChAL (serve:119)
pt.digitalis.dif.controller.http.DIF1IntegrationChALHTTPImpl (serve:66)
pt.digitalis.dif.controller.http.DIF1IntegrationChALHTTPImpl (serve:37)
pt.digitalis.dif.listeners.HttpListener (processRequest:72)
pt.digitalis.dif.listeners.AbstractRESTfullHttpListener (doGet:64)
javax.servlet.http.HttpServlet (service:690)
javax.servlet.http.HttpServlet (service:803)
org.apache.catalina.core.ApplicationFilterChain (internalDoFilter:290)
org.apache.catalina.core.ApplicationFilterChain (doFilter:206)
pt.digitalis.dif.listeners.RESTRequestsFilter (doFilter:97)
org.apache.catalina.core.ApplicationFilterChain (internalDoFilter:235)
org.apache.catalina.core.ApplicationFilterChain (doFilter:206)
org.jboss.web.tomcat.filters.ReplyHeaderFilter (doFilter:96)
org.apache.catalina.core.ApplicationFilterChain (internalDoFilter:235)
org.apache.catalina.core.ApplicationFilterChain (doFilter:206)
org.apache.catalina.core.StandardWrapperValve (invoke:230)
org.apache.catalina.core.StandardContextValve (invoke:175)
org.jboss.web.tomcat.security.SecurityAssociationValve (invoke:182)
org.jboss.web.tomcat.security.JaccContextValve (invoke:84)
org.apache.catalina.core.StandardHostValve (invoke:127)
org.apache.catalina.valves.ErrorReportValve (invoke:102)
org.jboss.web.tomcat.service.jca.CachedConnectionValve (invoke:157)
org.apache.catalina.core.StandardEngineValve (invoke:109)
org.apache.catalina.connector.CoyoteAdapter (service:262)
org.apache.coyote.http11.Http11Processor (process:844)
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler (process:583)
org.apache.tomcat.util.net.JIoEndpoint$Worker (run:446)
java.lang.Thread (run:748)

java.sql.SQLException: Connections could not be acquired from the underlying database!
com.mchange.v2.sql.SqlUtils (toSQLException:106)
com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool (checkoutPooledConnection:529)
com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource (getConnection:128)
org.hibernate.connection.C3P0ConnectionProvider (getConnection:78)
pt.digitalis.dif.model.hibernate.DIFHibernateConnectionProvider (getConnection:306)
org.hibernate.jdbc.ConnectionManager (openConnection:446)
org.hibernate.jdbc.ConnectionManager (getConnection:167)
org.hibernate.jdbc.JDBCContext (connection:160)
org.hibernate.transaction.JDBCTransaction (begin:81)
org.hibernate.impl.SessionImpl (beginTransaction:1473)
sun.reflect.GeneratedMethodAccessor281 (invoke:-1)
sun.reflect.DelegatingMethodAccessorImpl (invoke:43)
java.lang.reflect.Method (invoke:498)
org.hibernate.context.ThreadLocalSessionContext$TransactionProtectionWrapper (invoke:345)
com.sun.proxy.$Proxy131 (beginTransaction:-1)
pt.digitalis.siges.entities.css.home.RegimeCandidaturaActivos (getInstance:116)
pt.digitalis.siges.entities.css.home.CSSnetHome (init:737)
pt.digitalis.siges.entities.css.home.CSSnetHomeCGStageInstance (callInitMethod:-1)
pt.digitalis.siges.entities.css.home.CSSnetHomeCGStageInstance (_CG_init:168)
pt.digitalis.dif.controller.AbstractDIFDispatcher (execute:568)
pt.digitalis.dif.controller.AbstractDIFDispatcher (runDispatchingSteps:1221)
pt.digitalis.dif.controller.AbstractDIFDispatcher (dispatch:473)
pt.digitalis.dif.controller.AbstractChAL (serve:119)
pt.digitalis.dif.controller.http.DIF1IntegrationChALHTTPImpl (serve:66)
pt.digitalis.dif.controller.http.DIF1IntegrationChALHTTPImpl (serve:37)
pt.digitalis.dif.listeners.HttpListener (processRequest:72)
pt.digitalis.dif.listeners.AbstractRESTfullHttpListener (doGet:64)
javax.servlet.http.HttpServlet (service:690)
javax.servlet.http.HttpServlet (service:803)
org.apache.catalina.core.ApplicationFilterChain (internalDoFilter:290)
org.apache.catalina.core.ApplicationFilterChain (doFilter:206)
pt.digitalis.dif.listeners.RESTRequestsFilter (doFilter:97)
org.apache.catalina.core.ApplicationFilterChain (internalDoFilter:235)
org.apache.catalina.core.ApplicationFilterChain (doFilter:206)
org.jboss.web.tomcat.filters.ReplyHeaderFilter (doFilter:96)
org.apache.catalina.core.ApplicationFilterChain (internalDoFilter:235)
org.apache.catalina.core.ApplicationFilterChain (doFilter:206)
org.apache.catalina.core.StandardWrapperValve (invoke:230)
org.apache.catalina.core.StandardContextValve (invoke:175)
org.jboss.web.tomcat.security.SecurityAssociationValve (invoke:182)
org.jboss.web.tomcat.security.JaccContextValve (invoke:84)
org.apache.catalina.core.StandardHostValve (invoke:127)
org.apache.catalina.valves.ErrorReportValve (invoke:102)
org.jboss.web.tomcat.service.jca.CachedConnectionValve (invoke:157)
org.apache.catalina.core.StandardEngineValve (invoke:109)
org.apache.catalina.connector.CoyoteAdapter (service:262)
org.apache.coyote.http11.Http11Processor (process:844)
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler (process:583)
org.apache.tomcat.util.net.JIoEndpoint$Worker (run:446)
java.lang.Thread (run:748)

com.mchange.v2.resourcepool.CannotAcquireResourceException: A ResourcePool could not acquire a resource from its primary factory or source.
com.mchange.v2.resourcepool.BasicResourcePool (awaitAvailable:1319)
com.mchange.v2.resourcepool.BasicResourcePool (prelimCheckoutResource:557)
com.mchange.v2.resourcepool.BasicResourcePool (checkoutResource:477)
com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool (checkoutPooledConnection:525)
com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource (getConnection:128)
org.hibernate.connection.C3P0ConnectionProvider (getConnection:78)
pt.digitalis.dif.model.hibernate.DIFHibernateConnectionProvider (getConnection:306)
org.hibernate.jdbc.ConnectionManager (openConnection:446)
org.hibernate.jdbc.ConnectionManager (getConnection:167)
org.hibernate.jdbc.JDBCContext (connection:160)
org.hibernate.transaction.JDBCTransaction (begin:81)
org.hibernate.impl.SessionImpl (beginTransaction:1473)
sun.reflect.GeneratedMethodAccessor281 (invoke:-1)
sun.reflect.DelegatingMethodAccessorImpl (invoke:43)
java.lang.reflect.Method (invoke:498)
org.hibernate.context.ThreadLocalSessionContext$TransactionProtectionWrapper (invoke:345)
com.sun.proxy.$Proxy131 (beginTransaction:-1)
pt.digitalis.siges.entities.css.home.RegimeCandidaturaActivos (getInstance:116)
pt.digitalis.siges.entities.css.home.CSSnetHome (init:737)
pt.digitalis.siges.entities.css.home.CSSnetHomeCGStageInstance (callInitMethod:-1)
pt.digitalis.siges.entities.css.home.CSSnetHomeCGStageInstance (_CG_init:168)
pt.digitalis.dif.controller.AbstractDIFDispatcher (execute:568)
pt.digitalis.dif.controller.AbstractDIFDispatcher (runDispatchingSteps:1221)
pt.digitalis.dif.controller.AbstractDIFDispatcher (dispatch:473)
pt.digitalis.dif.controller.AbstractChAL (serve:119)
pt.digitalis.dif.controller.http.DIF1IntegrationChALHTTPImpl (serve:66)
pt.digitalis.dif.controller.http.DIF1IntegrationChALHTTPImpl (serve:37)
pt.digitalis.dif.listeners.HttpListener (processRequest:72)
pt.digitalis.dif.listeners.AbstractRESTfullHttpListener (doGet:64)
javax.servlet.http.HttpServlet (service:690)
javax.servlet.http.HttpServlet (service:803)
org.apache.catalina.core.ApplicationFilterChain (internalDoFilter:290)
org.apache.catalina.core.ApplicationFilterChain (doFilter:206)
pt.digitalis.dif.listeners.RESTRequestsFilter (doFilter:97)
org.apache.catalina.core.ApplicationFilterChain (internalDoFilter:235)
org.apache.catalina.core.ApplicationFilterChain (doFilter:206)
org.jboss.web.tomcat.filters.ReplyHeaderFilter (doFilter:96)
org.apache.catalina.core.ApplicationFilterChain (internalDoFilter:235)
org.apache.catalina.core.ApplicationFilterChain (doFilter:206)
org.apache.catalina.core.StandardWrapperValve (invoke:230)
org.apache.catalina.core.StandardContextValve (invoke:175)
org.jboss.web.tomcat.security.SecurityAssociationValve (invoke:182)
org.jboss.web.tomcat.security.JaccContextValve (invoke:84)
org.apache.catalina.core.StandardHostValve (invoke:127)
org.apache.catalina.valves.ErrorReportValve (invoke:102)
org.jboss.web.tomcat.service.jca.CachedConnectionValve (invoke:157)
org.apache.catalina.core.StandardEngineValve (invoke:109)
org.apache.catalina.connector.CoyoteAdapter (service:262)
org.apache.coyote.http11.Http11Processor (process:844)
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler (process:583)
org.apache.tomcat.util.net.JIoEndpoint$Worker (run:446)
java.lang.Thread (run:748)

Application:CSSnet - Aplicacao Web Request:       | Client:   | Name: unknown       |           | software: unknown       |           | hardware: unknown       |           | Features: []       |           | Attributes: [       |           |               #1 Locale = en-us       |           |               #2 MainVersion = "unknown"       |           |               #3 ClientRemoteAddress = "192.168.0.36"       |           |               #4 Language = "en-US"       |           |               #5 MinorVersion = "unknown"       |           |             ]       | stage: browservalidator       | Template Mode: false       | Component Mode: false       | Embedded mode: false       | Popup Mode: false       | REST URL Mode: false       | Help Mode: false       | Session:   | Session ID: http317787F7BD271046B3864B70E1A0F4EB       |            | First Access Time: 1660965477631       |            | Last Access Time: 1660965509176       |            | language: pt       |            | User in session: null       |            | Attributes: [       |            |               #1 INVALID_BROWSER_ACCEPTED = true       |            |             ]       | Attributes: [       |               #1 originalRequest = pt.digitalis.dif.listeners.objects.RESTHttpServletRequestWrapper@685d6469       |               #2 RaisedExceptionCaghtInHandler = pt.digitalis.dif.exception.controller.ControllerException: org.hibernate.exception.GenericJDBCException: Cannot open connection       |             ]       | Parameters: [       |               #1 stage = "browservalidator"       |               #2 sessionpersistentstagestorageareauniqueid = "sessionpersistentstagestorageareauniqueid0.5228334784730458"       |               #3 acknoledge = "true"       |             ]Response:       | View:   | ID:        |         | Name:        |         | Type: NORMAL       |         | Default: true       |         | Engine: jsp       |         | Target: internal/databaseError.jsp       | Stage Results: [       |                  #1 Original Request =   | Client:   | Name: unknown       |                                          |           | software: unknown       |                                          |           | hardware: unknown       |                                          |           | Features: []       |                                          |           | Attributes: [       |                                          |           |               #1 Locale = en-us       |                                          |           |               #2 MainVersion = "unknown"       |                                          |           |               #3 ClientRemoteAddress = "192.168.0.36"       |                                          |           |               #4 Language = "en-US"       |                                          |           |               #5 MinorVersion = "unknown"       |                                          |           |             ]       |                                          | stage: browservalidator       |                                          | Template Mode: false       |                                          | Component Mode: false       |                                          | Embedded mode: false       |                                          | Popup Mode: false       |                                          | REST URL Mode: false       |                                          | Help Mode: false       |                                          | Session:   | Session ID: http317787F7BD271046B3864B70E1A0F4EB       |                                          |            | First Access Time: 1660965477631       |                                          |            | Last Access Time: 1660965509176       |                                          |            | language: pt       |                                          |            | User in session: null       |                                          |            | Attributes: [       |                                          |            |               #1 INVALID_BROWSER_ACCEPTED = true       |                                          |            |             ]       |                                          | Attributes: [       |                                          |               #1 originalRequest = pt.digitalis.dif.listeners.objects.RESTHttpServletRequestWrapper@685d6469       |                                          |               #2 RaisedExceptionCaghtInHandler = pt.digitalis.dif.exception.controller.ControllerException: org.hibernate.exception.GenericJDBCException: Cannot open connection       |                                          |             ]       |                                          | Parameters: [       |                                          |               #1 stage = "browservalidator"       |                                          |               #2 sessionpersistentstagestorageareauniqueid = "sessionpersistentstagestorageareauniqueid0.5228334784730458"       |                                          |               #3 acknoledge = "true"       |                                          |             ]       |                  #2 Exception = pt.digitalis.dif.exception.controller.ControllerException: org.hibernate.exception.GenericJDBCException: Cannot open connection       |                ]