how to get the properties of a datasource in WAS 6.1
<p>I am migrating an app from WAS4 to WAS6.1</p>

<p>A piece of code is as follows:</p>

<pre><code>javax.naming.Context ctx = new javax.naming.InitialContext();
javax.sql.DataSource ds = (javax.sql.DataSource)ctx.lookup(JNDI_NAME);                       
dsvalue_data   = new Hashtable(); 
confvalue_data = new Hashtable();

// Parse the datasource string and get the properties
// writeInfo will return the name of the datasource and will populate the
// dsvalue_data and confvalue_data hashtables with datasource and 
// connection pool properties

String tableHeader = writeInfo(ds.toString());

aResultHandler.addObject(CV_ABOUT_DESC,tableHeader);
aResultHandler.addObject(CV_ABOUT_PAGE,dsvalue_data);
.....
.....
</code></pre>

<p>The problem is in WAS6.1, this <code>ds.toString()</code> does not give the human readable properties of the datasource</p>

<p>It just gives the object name (like <code>com.ibm.ws.rsadapter.jdbc.WSJdbcDataSource@a21fg7</code>) when i tried to print.</p>

<p>what should I do to get and print all the properties of the datasource?</p>
