The question is not JBoss related.
You post a stacktrace that shows a database error
Ask your db provider or dba.
You post a stacktrace that shows an error in your application
This is your problem.
You post a stacktrace that shows a network error or I/O problem
This is more than likely a problem for your network/system adminstrator.
You want help configuring some non-JBoss software
Unless somebody who writes this software happens to be in the JBoss forums, you
are unlikely to get an answer.