I too have suffered from the Oracle Connection Pool hanging JBoss 2.1 on
startup.

By adding the following line to the Datasource mbean (in jboss.jcml), the
exact error is displayed in the JBoss output.

    <attribute name="LoggingEnabled">true</attribute>

In my case it was an incorrect database instance that caused the connection
pool to hand

[OraclePool] Starting
[OraclePool] XA Connection pool OraclePool bound to java:/OraclePool
[OraclePool] java.sql.SQLException: Io exception: Connection
refused(DESCRIPTION
=(TMP=)(VSNNUM=135294976)(ERR=12505)(ERROR_STACK=(ERROR=(CODE=12505)(EMFI=4)
)))
[OraclePool] Pool OraclePool factory
org.opentools.minerva.jdbc.xa.XAConnectionF
actory@6ac461 unable to create new object!
[OraclePool] Pool OraclePool [0/0/10] waiting for a free object  <<<<<
Surely this is a problem in JBoss!!!!! >>>>>

So the connection pool couldn't connect to Oracle - causing JBoss to hang
while it was waiting for a free connection, which could never be returned
cos the connection failed!

Tim

_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to