Re: registering a DB2ConnectionPoolDataSource in tomcat 5.5

2007-07-27 Thread Mohammed Zabin
tory" > >> serverName="PROD9S03.bankofamerica.com" username="abc" password="abc"/> > >> > >> > >> > >> In my code I get the datasource as : > >> > >> connPoolDataSource=(DB2ConnectionPoolDataSource) > >&

Re: registering a DB2ConnectionPoolDataSource in tomcat 5.5

2007-07-27 Thread dileep_sivaraman
However when I print out the serverName parameter that has been set in >> the >> resource it prints null. >> >> System.out.println("connPoolDataSource.getServerName() >> :"+connPoolDataSource.getServerName()); >> >> OUTPUT: >> >> con

Re: registering a DB2ConnectionPoolDataSource in tomcat 5.5

2007-07-27 Thread Mohammed Zabin
ontext.lookup("jdbc/db2universal"); > > However when I print out the serverName parameter that has been set in the > resource it prints null. > > System.out.println("connPoolDataSource.getServerName() > :"+connPoolDataSource.getServerName()); > > OUTPUT: > > connPoo

registering a DB2ConnectionPoolDataSource in tomcat 5.5

2007-07-26 Thread dileep_sivaraman
lDataSource.getServerName() :"+connPoolDataSource.getServerName()); OUTPUT: connPoolDataSource.getServerName() :null Can somebody tell me what I am doing wrong? -- View this message in context: http://www.nabble.com/registering-a-DB2ConnectionPoolDataSource-in-tomcat--5.5-tf4155802.html#a11823991 Sent from the Tomc