Support Topics Documentation Slack YouTube Blog

sendEmailFromTemplate BackendlessException error code code 24003

Application ID: 4F036E66-2926-B11C-FF1F-741011904C00
Error UID: 04C3387E-2F89-5D9D-FFCF-A3652902BB00

Backendless encountered an error while handling the request. An internal trouble ticket with ID 04C3387E-2F89-5D9D-FFCF-A3652902BB00 has been created and we will be investigating the issue.
java.sql.SQLException: Could not retrieve connection info from pool
java.lang.RuntimeException: java.sql.SQLException: Could not retrieve connection info from pool
	at com.backendless.db.connection.pool.ConnectionPool.getConnection(ConnectionPool.java:29)
	at com.backendless.db.connection.pool.DbCpConnectionPool.getConnection(DbCpConnectionPool.java:34)
	at com.backendless.db.connection.pool.ShardedConnectionPoolManager.buildConnection(ShardedConnectionPoolManager.java:99)
	at com.backendless.db.connection.pool.ShardedConnectionPoolManager.getConnection(ShardedConnectionPoolManager.java:59)
	at com.backendless.db.connection.pool.ShardedConnectionPoolManager.getConnection(ShardedConnectionPoolManager.java:53)
	at com.backendless.util.db.DbcpConnectionProviderImpl.getConnection(DbcpConnectionProviderImpl.java:60)
	at com.backendless.util.db.MultiTenantConnectionProviderImpl.getConnection(MultiTenantConnectionProviderImpl.java:41)
	at org.hibernate.internal.ContextualJdbcConnectionAccess.obtainConnection(ContextualJdbcConnectionAccess.java:43)
	at org.hibernate.resource.jdbc.internal.LogicalConnectionManagedImpl.acquireConnectionIfNeeded(LogicalConnectionManagedImpl.java:104)
	at org.hibernate.resource.jdbc.internal.LogicalConnectionManagedImpl.getPhysicalConnection(LogicalConnectionManagedImpl.java:134)
	at org.hibernate.internal.SessionImpl.connection(SessionImpl.java:478)
	at com.backendless.datamodel.dao.AbstractEntityManager.getDBName(AbstractEntityManager.java:70)
	at com.backendless.datamodel.dao.AbstractTransaction.rollback(AbstractTransaction.java:121)
	at com.backendless.datamodel.dao.JpaTransaction.executeSync(JpaTransaction.java:292)
	at com.backendless.datamodel.dao.JpaTransaction.executeAppSync(JpaTransaction.java:183)
	at com.backendless.datamodel.dao.JpaTransaction.executeApp(JpaTransaction.java:220)
	at com.backendless.datamodel.dao.JpaTransaction.execute(JpaTransaction.java:60)
	at com.backendless.datamodel.dao.JpaTransactionService.execute(JpaTransactionService.java:18)
	at com.backendless.datamodel.dao.AbstractEntityDAO.findAll(AbstractEntityDAO.java:125)
	at com.backendless.services.mail.MailServiceManagement.getEmailSettings(MailServiceManagement.java:65)
	at com.backendless.management.appsettings.ManageAppSettingsService.lambda$getEmailSettingsFromDB$7(ManageAppSettingsService.java:358)
	at com.backendless.datamodel.dao.JpaContext.executeAppSync(JpaContext.java:125)
	at com.backendless.datamodel.dao.JpaContext.lambda$executeApp$0(JpaContext.java:150)
	at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1700)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
	at java.base/java.lang.Thread.run(Thread.java:834)
	Suppressed: java.util.concurrent.ExecutionException: java.lang.RuntimeException: java.sql.SQLException: Could not retrieve connection info from pool
		at java.base/java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:395)
		at java.base/java.util.concurrent.CompletableFuture.get(CompletableFuture.java:1999)
		at com.backendless.async.UncheckedCompletableFutureImpl.getUnchecked(UncheckedCompletableFutureImpl.java:158)
		at com.backendless.management.appsettings.ManageAppSettingsService.getEmailSettingsFromDB(ManageAppSettingsService.java:376)
		at com.backendless.management.appsettings.ManageAppSettingsService.getAppSettings(ManageAppSettingsService.java:183)
		at controllers.console.ManageAppSettings.lambda$getAppSettings$0(ManageAppSettings.java:119)
		at com.backendless.async.ExecutorService.lambda$submit$0(ExecutorService.java:67)
		... 4 more
Caused by: java.sql.SQLException: Could not retrieve connection info from pool
	at org.apache.commons.dbcp2.datasources.SharedPoolDataSource.getPooledConnectionAndInfo(SharedPoolDataSource.java:147)
	at org.apache.commons.dbcp2.datasources.InstanceKeyDataSource.getConnection(InstanceKeyDataSource.java:915)
	at org.apache.commons.dbcp2.datasources.InstanceKeyDataSource.getConnection(InstanceKeyDataSource.java:892)
	at com.backendless.db.connection.pool.ConnectionPool.getConnection(ConnectionPool.java:25)
	... 26 more
Caused by: java.sql.SQLException: invalid database address: jdbc:mysql://bl-proxysql:6033?zeroDateTimeBehavior=convertToNull&&useSSL=false&&requireSSL=false&&dumpQueriesOnException=true&&exceptionInterceptors=com.backendless.util.jdbc.ExceptionLogInterceptor&&allowPublicKeyRetrieval=true
	at org.sqlite.JDBC.createConnection(JDBC.java:111)
	at org.sqlite.JDBC.connect(JDBC.java:88)
	at java.sql/java.sql.DriverManager.getConnection(DriverManager.java:677)
	at java.sql/java.sql.DriverManager.getConnection(DriverManager.java:189)
	at org.apache.commons.dbcp2.cpdsadapter.DriverAdapterCPDS.getPooledConnection(DriverAdapterCPDS.java:369)
	at org.apache.commons.dbcp2.cpdsadapter.DriverAdapterCPDS.getPooledConnection(DriverAdapterCPDS.java:347)
	at org.apache.commons.dbcp2.datasources.KeyedCPDSConnectionFactory.makeObject(KeyedCPDSConnectionFactory.java:122)
	at org.apache.commons.dbcp2.datasources.KeyedCPDSConnectionFactory.makeObject(KeyedCPDSConnectionFactory.java:46)
	at org.apache.commons.pool2.impl.GenericKeyedObjectPool.create(GenericKeyedObjectPool.java:1051)
	at org.apache.commons.pool2.impl.GenericKeyedObjectPool.borrowObject(GenericKeyedObjectPool.java:347)
	at org.apache.commons.pool2.impl.GenericKeyedObjectPool.borrowObject(GenericKeyedObjectPool.java:270)
	at org.apache.commons.dbcp2.datasources.SharedPoolDataSource.getPooledConnectionAndInfo(SharedPoolDataSource.java:145)
	... 29 more

Problem description

Describe what you did in console that led to the error. Please provide a description of what actually happens. Be descriptive: “it doesn’t work” does not describe what the behavior actually is. This will help us with reproducing the problem.

Steps to reproduce

Please describe steps to reproduce starting from the first action.

Could you please remove placeholders and add your steps to reproduce the problem.