On 20/12/2011 09:39, S B wrote:
> Hi,
>
> I created and deployed an MBean in my tomcat. It uses datasource to connect
> to DB.
>
> My questions is:
>
> When I create InitialContext() inside MBean's constructor and pass the
> envContext to DBManager class to lookup datasource it works fine. Howev
You should ask on the users@ list. It is offtopic on dev@.
2011/12/20 S B :
> Hi,
>
> I created and deployed an MBean in my tomcat. It uses datasource to connect
> to DB.
>
> My questions is:
>
> When I create InitialContext() inside MBean's constructor and pass the
> envContext to DBManager class
Hi,
I created and deployed an MBean in my tomcat. It uses datasource to connect
to DB.
My questions is:
When I create InitialContext() inside MBean's constructor and pass the
envContext to DBManager class to lookup datasource it works fine. However
when I create InitialContext() in DBManager cl