I have a jbpm based web-app inn jBOSS AS 5.1.0GA. When I start the jboss as, I get errors pertaining to unsuccessful retrieval of connection/java.net.ConnectException: Connection refused: connect in eror log[attached]. The web-app worked once, but after that whenever I restart the jboss and even restart the system, I get these errors. Please let me know what does this indicates. My observation is connection is not getting closed, so Connection Manger factory is not allocating a connection. If this is so, how do I implement it. Also let me know how to set min-pool-size and max-pool-size and what are the default values.