Was anyone able to find their connection  pool (datasource)?

any help will be appreciated.

OK.  i am using the following in java:
try{
            InitialContext jndiContext = new InitialContext();
            javax.sql.DataSource ds = (javax.sql.DataSource)
jndiContext.lookup("java:/mySQLDS");
        }catch(Exception ex){
            System.out.println("Looking for DataSource: " +
ex.getMessage());
        }

This is what i am getting with JBoss starts up:

[mySQLDS] Starting [mySQLDS]
org.opentools.minerva.jdbc.xa.wrapper.XADataSourceImpl created new
Connection (org.gjt.mm.mysql.jdbc2.Connection) with XAResource
org.opentools.minerva.jdbc.xa.wrapper.XAResourceImpl and XAConnection
org.opentools.minerva.jdbc.xa.wrapper.XAConnectionImpl. [mySQLDS] Pool
mySQLDS created a new object:
org.opentools.minerva.jdbc.xa.wrapper.XAConnectionImpl@11ae6da [mySQLDS] XA
Connection pool mySQLDS bound to java:/mySQLDS [mySQLDS] No transaction
right now. [mySQLDS] Pool mySQLDS [1/1/60] gave out pooled object:
org.opentools.minerva.jdbc.xa.wrapper.XAConnectionImpl@11ae6da [mySQLDS]
Pool mySQLDS [0/1/60] returned object
org.opentools.minerva.jdbc.xa.wrapper.XAConnectionImpl@11ae6da to the pool.
[mySQLDS] Started


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

Reply via email to