-
1. Re: MySQL Connection Pool in Jboss 3.0.0
juha Sep 26, 2002 7:19 AM (in response to coughlam)There are examples under docs/examples/jca did you check those?
-
2. Re: MySQL Connection Pool in Jboss 3.0.0
coughlam Sep 26, 2002 11:54 AM (in response to coughlam)Hi juha,
Thanks for your help.
I tried this, but when I try to do an JNDI lookup for the Datasource I get a "NameNotFoundException".
In the Agent view, in the jboss.jca area, I can see that it has created the following:
service=LocalTxCM,name=MySqlDataSource
service=LocalTxDS,name=MySqlDataSource
service=LocalTxPool,name=MySqlDataSource
Despite this, I still get the JNDI lookup error. -
3. Re: MySQL Connection Pool in Jboss 3.0.0
coughlam Sep 26, 2002 11:54 AM (in response to coughlam)Hi juha,
Thanks for your help.
I tried this, but when I try to do an JNDI lookup for the Datasource I get a "NameNotFoundException".
In the Agent view, in the jboss.jca area, I can see that it has created the following:
service=LocalTxCM,name=MySqlDataSource
service=LocalTxDS,name=MySqlDataSource
service=LocalTxPool,name=MySqlDataSource
Despite this, I still get the JNDI lookup error. -
4. Re: MySQL Connection Pool in Jboss 3.0.0
coughlam Sep 26, 2002 11:56 AM (in response to coughlam)Hi juha,
Thanks for your help.
I tried this, but when I try to do an JNDI lookup for the Datasource I get a "NameNotFoundException".
In the Agent view, in the jboss.jca area, I can see that it has created the following:
service=LocalTxCM,name=MySqlDataSource
service=LocalTxDS,name=MySqlDataSource
service=LocalTxPool,name=MySqlDataSource
Despite this, I still get the JNDI lookup error. -
5. Re: MySQL Connection Pool in Jboss 3.0.0
coughlam Sep 26, 2002 11:56 AM (in response to coughlam)Hi juha,
Thanks for your help.
I tried this, but when I try to do an JNDI lookup for the Datasource I get a "NameNotFoundException".
In the Agent view, in the jboss.jca area, I can see that it has created the following:
service=LocalTxCM,name=MySqlDataSource
service=LocalTxDS,name=MySqlDataSource
service=LocalTxPool,name=MySqlDataSource
Despite this, I still get the JNDI lookup error. -
6. Re: MySQL Connection Pool in Jboss 3.0.0
coughlam Sep 26, 2002 11:59 AM (in response to coughlam)Hi juha,
Thanks for your help.
I tried this, but when I try to do an JNDI lookup for the Datasource I get a "NameNotFoundException".
In the Agent view, in the jboss.jca area, I can see that it has created the following:
service=LocalTxCM,name=MySqlDataSource
service=LocalTxDS,name=MySqlDataSource
service=LocalTxPool,name=MySqlDataSource
Despite this, I still get the JNDI lookup error. -
7. Re: MySQL Connection Pool in Jboss 3.0.0
ewen Sep 27, 2002 4:18 AM (in response to coughlam)lookup("java:/MySqlDS");
justlike this. try it. -
8. Re: MySQL Connection Pool in Jboss 3.0.0
coughlam Sep 27, 2002 10:25 AM (in response to coughlam)Hi,
I got it working, I was trying to do the lookup from a different VM, so as soon as I wrapped the functionality in an EJB, it worked fine.
Thanks guys for you help.
Mick