com.mysql.cj.core.exceptions.InvalidConnectionAttributeException: The server time zone value 'Hora de verano del Centro' is unrecognized or represents more than one time zone. You must configure either the server or JDBC driver (via the serverTimezone configuration property) to use a more specifc time zone value if you want to utilize time zone support.

  1. 0

    java and mysql connection exception

    Stack Overflow | 2 months ago | Reyes Briceño
    com.mysql.cj.core.exceptions.InvalidConnectionAttributeException: The server time zone value 'Hora de verano del Centro' is unrecognized or represents more than one time zone. You must configure either the server or JDBC driver (via the serverTimezone configuration property) to use a more specifc time zone value if you want to utilize time zone support.
  2. 0

    nested exception is org.hibernate.exception.GenericJDBCException: Could not open connection

    Stack Overflow | 7 months ago | Kunal Godiyal
    com.mysql.cj.core.exceptions.InvalidConnectionAttributeException: The server time zone value 'India Standard Time' is unrecognized or represents more than one time zone. You must configure either the server or JDBC driver (via the serverTimezone configuration property) to use a more specifc time zone value if you want to utilize time zone support.
  3. 0

    Compatibility with MySQL JDBC driver v6.0.2

    GitHub | 4 months ago | fromgate
    org.sql2o.Sql2oException: Could not acquire a connection from DataSource - The server time zone value 'MSK' is unrecognized or represents more than one time zone. You must configure either the server or JDBC driver (via the serverTimezone configuration property) to use a more specifc time zone value if you want to utilize time zone support.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Caused by: org.hibernate.tool.schema.spi.SchemaManagementException: Unable to obtain JDBC Connection

    Stack Overflow | 2 months ago | MyungHee
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in ServletContext resource [/WEB- INF/spring/mvc-dispatcher.xml]: Invocation of init method failed; nested exception is org.hibernate.tool.schema.spi.SchemaManagementException: Unable to obtain JDBC Connection
  6. 0

    ExceptionIninitializerError hibernate

    Stack Overflow | 8 months ago | Glenn
    java.lang.ExceptionInInitializerError

  1. jstrayer 4 times, last 2 months ago
4 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. com.mysql.cj.core.exceptions.InvalidConnectionAttributeException

    The server time zone value 'Hora de verano del Centro' is unrecognized or represents more than one time zone. You must configure either the server or JDBC driver (via the serverTimezone configuration property) to use a more specifc time zone value if you want to utilize time zone support.

    at sun.reflect.NativeConstructorAccessorImpl.newInstance0()
  2. Java RT
    Constructor.newInstance
    1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    2. sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
    3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
    4. java.lang.reflect.Constructor.newInstance(Unknown Source)
    4 frames
  3. com.mysql.cj
    NonRegisteringDriver.connect
    1. com.mysql.cj.core.exceptions.ExceptionFactory.createException(ExceptionFactory.java:54)
    2. com.mysql.cj.core.exceptions.ExceptionFactory.createException(ExceptionFactory.java:73)
    3. com.mysql.cj.jdbc.util.TimeUtil.getCanonicalTimezone(TimeUtil.java:118)
    4. com.mysql.cj.mysqla.MysqlaSession.configureTimezone(MysqlaSession.java:293)
    5. com.mysql.cj.jdbc.ConnectionImpl.initializePropsFromServer(ConnectionImpl.java:2424)
    6. com.mysql.cj.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:1767)
    7. com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:1624)
    8. com.mysql.cj.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:637)
    9. com.mysql.cj.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:351)
    10. com.mysql.cj.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:224)
    10 frames
  4. Apache Commons DBCP
    BasicDataSource.getConnection
    1. org.apache.commons.dbcp2.DriverConnectionFactory.createConnection(DriverConnectionFactory.java:39)
    2. org.apache.commons.dbcp2.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:256)
    3. org.apache.commons.dbcp2.BasicDataSource.validateConnectionFactory(BasicDataSource.java:2304)
    4. org.apache.commons.dbcp2.BasicDataSource.createPoolableConnectionFactory(BasicDataSource.java:2290)
    5. org.apache.commons.dbcp2.BasicDataSource.createDataSource(BasicDataSource.java:2039)
    6. org.apache.commons.dbcp2.BasicDataSource.getConnection(BasicDataSource.java:1533)
    6 frames
  5. org.hibernate.engine
    DatasourceConnectionProviderImpl.getConnection
    1. org.hibernate.engine.jdbc.connections.internal.DatasourceConnectionProviderImpl.getConnection(DatasourceConnectionProviderImpl.java:122)
    1 frame
  6. Hibernate
    NonContextualJdbcConnectionAccess.obtainConnection
    1. org.hibernate.internal.NonContextualJdbcConnectionAccess.obtainConnection(NonContextualJdbcConnectionAccess.java:35)
    1 frame
  7. org.hibernate.resource
    LogicalConnectionManagedImpl.getPhysicalConnection
    1. org.hibernate.resource.jdbc.internal.LogicalConnectionManagedImpl.acquireConnectionIfNeeded(LogicalConnectionManagedImpl.java:99)
    2. org.hibernate.resource.jdbc.internal.LogicalConnectionManagedImpl.getPhysicalConnection(LogicalConnectionManagedImpl.java:129)
    2 frames
  8. Hibernate
    SessionImpl.connection
    1. org.hibernate.internal.SessionImpl.connection(SessionImpl.java:505)
    1 frame
  9. org.springframework.orm
    HibernateTransactionManager.doBegin
    1. org.springframework.orm.hibernate5.HibernateTransactionManager.doBegin(HibernateTransactionManager.java:448)
    1 frame
  10. Spring Tx
    TransactionInterceptor.invoke
    1. org.springframework.transaction.support.AbstractPlatformTransactionManager.getTransaction(AbstractPlatformTransactionManager.java:373)
    2. org.springframework.transaction.interceptor.TransactionAspectSupport.createTransactionIfNecessary(TransactionAspectSupport.java:430)
    3. org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:276)
    4. org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
    4 frames
  11. Spring AOP
    JdkDynamicAopProxy.invoke
    1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
    2. org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213)
    2 frames
  12. com.sun.proxy
    $Proxy43.listAgency
    1. com.sun.proxy.$Proxy43.listAgency(Unknown Source)
    1 frame
  13. com.latinon.reportator
    UserController.lsitAgencies
    1. com.latinon.reportator.spring.UserController.lsitAgencies(UserController.java:54)
    1 frame
  14. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    4. java.lang.reflect.Method.invoke(Unknown Source)
    4 frames
  15. Spring
    InvocableHandlerMethod.invokeForRequest
    1. org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:221)
    2. org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:136)
    2 frames
  16. Spring MVC
    FrameworkServlet.doGet
    1. org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:114)
    2. org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:827)
    3. org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:738)
    4. org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:85)
    5. org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:963)
    6. org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:897)
    7. org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:970)
    8. org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:861)
    8 frames
  17. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:622)
    1 frame
  18. Spring MVC
    FrameworkServlet.service
    1. org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:846)
    1 frame
  19. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
    1 frame
  20. Glassfish Core
    ApplicationFilterChain.doFilter
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:230)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
    2 frames
  21. Tomcat WS
    WsFilter.doFilter
    1. org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
    1 frame
  22. Glassfish Core
    CoyoteAdapter.service
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
    3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199)
    4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:108)
    5. org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
    6. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140)
    7. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
    8. org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:620)
    9. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
    10. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:349)
    10 frames
  23. Grizzly HTTP
    SocketProcessorBase.run
    1. org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:784)
    2. org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
    3. org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:802)
    4. org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1452)
    5. org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
    5 frames
  24. Java RT
    ThreadPoolExecutor$Worker.run
    1. java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    2 frames
  25. Tomcat Util
    TaskThread$WrappingRunnable.run
    1. org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
    1 frame
  26. Java RT
    Thread.run
    1. java.lang.Thread.run(Unknown Source)
    1 frame