# java.sql.SQLException: Cannot get working DB connection!

**URL:** https://forum.cloverdx.com/t/java-sql-sqlexception-cannot-get-working-db-connection/1355
**Category:** CloverDX Platform
**Created:** [February 25, 2014, 12:00am UTC](https://forum.cloverdx.com/t/java-sql-sqlexception-cannot-get-working-db-connection/1355 "2014-02-25T00:00:00Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![scatto86](https://avatars.discourse-cdn.com/v4/letter/s/0ea827/32.png) [@scatto86](https://forum.cloverdx.com/u/scatto86)
#### Post date: [February 25, 2014, 12:00am UTC](https://forum.cloverdx.com/t/java-sql-sqlexception-cannot-get-working-db-connection/1355/1 "2014-02-25T00:00:00Z")

</div>

Hello,  
I installed cloverETL Server in a WebLogic domain called endeca\_integrator\_domain.  
I followed this steps:  
- create the domain;  
- copy the clover.war application and the license file in the domain directory;  
- create the file cloverServer.properties, with the property

```auto
license.file=/u01/app/endeca_3_1/user_projects/domains/endeca_integrator_domain/license.dat

```

- modify ./startWebLogic.sh adding:

```auto
export JAVA_OPTIONS=${JAVA_OPTIONS} -Dclover_config_file=/u01/app/endeca_3_1/user_projects/domains/endeca_integrator_domain/cloverServer.properties

```

- modify the ./bin/setDomainEnv.sh file setting the USER\_MEM\_ARGS variabile to -Xms128m -Xmx2048m -XX:MaxPermSize=512m  
- execute the .startWebLogic.sh script and wait until the domain is in RUNNING mode  
- installed the application from the console page

Yesterday the application was ok. Today I’ve stop the domain and then restarted it, and I get this error:

```auto
java.sql.SQLException: Cannot get working DB connection!

```

The application clover.war failed to start.  
Any idea on how could I resolve this error?

Thank you.

---

<div class="post-metadata">

### Author: ![David\_Hlidek](https://avatars.discourse-cdn.com/v4/letter/d/58f4c7/32.png) [@David\_Hlidek](https://forum.cloverdx.com/u/David_Hlidek)
#### Post date: [February 26, 2014, 8:46am UTC](https://forum.cloverdx.com/t/java-sql-sqlexception-cannot-get-working-db-connection/1355/2 "2014-02-26T08:46:01Z")

</div>

Hi scatto86,

Please take a look into log - there should be more regarding this error - typically in complete stack trace there is information about cause of non-working db connection. Errors like unknown host, wrong account, missing JDBC driver comes to my mind.

Also you can check your db connection configuration via native DB client (MysqlWorkbench, SQL developer, …) to ensure problem is not caused by it.
