Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Stack Overflow by Sthita
, 1 year ago
Cannot create PoolableConnectionFactory (Could not create connection to database server. Attempted reconnect 3 times. Giving up.)
via Stack Overflow by user3669071
, 2 years ago
Cannot create PoolableConnectionFactory (Communications link failure The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.)
via bonitasoft.com by Unknown author, 1 year ago
Cannot create PoolableConnectionFactory (Access denied for user 'bonita'@'localhost' (using password: YES))
via Stack Overflow by changed
, 2 years ago
Cannot create PoolableConnectionFactory (Login failed for user ''. The user is not associated with a trusted SQL Server connection.)
via hivmr.com by Unknown author, 2 years ago
Cannot create PoolableConnectionFactory (User not found: SA)
via Stack Overflow by Ivaro18
, 2 years ago
Cannot create PoolableConnectionFactory (Access denied for user '<<USERNAME>>'@'SERVERIP' (using password: YES))
com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Could not create connection to database server. Attempted reconnect 3 times. Giving up.	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)	at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)	at java.lang.reflect.Constructor.newInstance(Unknown Source)	at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)	at com.mysql.jdbc.Util.getInstance(Util.java:386)	at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1015)	at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:989)	at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:975)	at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:920)	at com.mysql.jdbc.ConnectionImpl.connectWithRetries(ConnectionImpl.java:2388)	at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2309)	at com.mysql.jdbc.ConnectionImpl.(ConnectionImpl.java:834)	at com.mysql.jdbc.JDBC4Connection.(JDBC4Connection.java:47)	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)	at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)	at java.lang.reflect.Constructor.newInstance(Unknown Source)	at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)	at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:416)	at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:346)	at org.apache.tomcat.dbcp.dbcp.DriverConnectionFactory.createConnection(DriverConnectionFactory.java:38)	at org.apache.tomcat.dbcp.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:582)	at org.apache.tomcat.dbcp.dbcp.BasicDataSource.validateConnectionFactory(BasicDataSource.java:1556)	at org.apache.tomcat.dbcp.dbcp.BasicDataSource.createPoolableConnectionFactory(BasicDataSource.java:1545)	at org.apache.tomcat.dbcp.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1388)	at org.apache.tomcat.dbcp.dbcp.BasicDataSource.getConnection(BasicDataSource.java:1044)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)	at java.lang.reflect.Method.invoke(Unknown Source)	at net.bull.javamelody.JdbcWrapper$3.invoke(JdbcWrapper.java:765)	at net.bull.javamelody.JdbcWrapper$DelegatingInvocationHandler.invoke(JdbcWrapper.java:285)	at com.sun.proxy.$Proxy2.getConnection(Unknown Source)	at net.xxx.fetch.jobboard.WebDBMaintainer.getMasterEnable(WebDBMaintainer.java:717)	at net.xxx.net.MasterEnableCache.refreshCache(MasterEnableCache.java:80)	at net.xxx.net.MasterEnableCache.setMachineID(MasterEnableCache.java:67)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)	at java.lang.reflect.Method.invoke(Unknown Source)	at org.springframework.beans.BeanWrapperImpl.setPropertyValue(BeanWrapperImpl.java:856)	at org.springframework.beans.BeanWrapperImpl.setPropertyValue(BeanWrapperImpl.java:734)	at org.springframework.beans.BeanWrapperImpl.setPropertyValue(BeanWrapperImpl.java:886)	at org.springframework.beans.BeanWrapperImpl.setPropertyValues(BeanWrapperImpl.java:913)	at org.springframework.beans.BeanWrapperImpl.setPropertyValues(BeanWrapperImpl.java:902)	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:967)	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:768)	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:330)	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:226)	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:147)	at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:275)	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:317)	at org.springframework.web.context.support.AbstractRefreshableWebApplicationContext.refresh(AbstractRefreshableWebApplicationContext.java:134)	at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:230)	at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:156)	at org.springframework.web.context.ContextLoaderServlet.init(ContextLoaderServlet.java:81)	at javax.servlet.GenericServlet.init(GenericServlet.java:160)	at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1266)	at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1185)	at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1080)	at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5027)	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5314)	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633)	at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:968)	at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1646)	at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)	at java.util.concurrent.FutureTask.run(Unknown Source)	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)	at java.lang.Thread.run(Unknown Source)