tory"
> >> serverName="PROD9S03.bankofamerica.com" username="abc" password="abc"/>
> >>
> >>
> >>
> >> In my code I get the datasource as :
> >>
> >> connPoolDataSource=(DB2ConnectionPoolDataSource)
> >&
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
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
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