-
1. Re: Connection pooling
adrian.brock Apr 29, 2003 7:18 AM (in response to catharine)The configuration has changed (simplified)
over time.
You will find example configurations relevent
for your release in
/docs/examples/jca
It will be something like
mssql-service.xml or mssql-ds.xml
If you have problems, try the "DataSource Configuration" forum.
Regards,
Adrian -
2. Re: Connection pooling
catharine Apr 29, 2003 12:30 PM (in response to catharine)Thanks for your help with this. I havn't managed to get it working yet but I am now a stage closer and I will do as you suggested and follow this up in the connection pooling forum.
Cheers,
Catharine -
3. Re: Connection pooling
kvikram Apr 30, 2003 2:35 AM (in response to catharine)1)Copy mssql-ds.xml from jboss\docs\examples\jca to jboss\server\default\deploy folder.
2)Do the foll changes to mssql-ds.xml.
a)Remember if the datasource in ejb's jaws.xml is "java:/taroPool" i.e java:/myPool Then use "myPool" as the jndiname <jndi-name>myPool</jndi-name>
b)Change the database name,server name,userid,password to the actual values u want to use in the <connection-url> tag.
3)Copy all the required jar files for the driver for MSSqlServer put msbase.jar,mssqlserver.jar,msutil.jar files in the default/deploy folder(or \default\lib folder .This may need a restart of Jboss)
4)As i had problems i changed the default values in the standardjbosscmp-jdbc.xml to
....
java:/myPool
<datasource-mapping>MS SQLSERVER2000</datasource-mapping>
..... -
4. Re: Connection pooling
kvikram Apr 30, 2003 2:39 AM (in response to catharine)1)Copy mssql-ds.xml from jboss\docs\examples\jca to jboss\server\default\deploy folder.
2)Do the foll changes to mssql-ds.xml.
a)Remember if the datasource in your ejb's jaws.xml is "java:/taroPool" i.e java:/myPool. Then use "myPool" as the jndiname <jndi-name>myPool</jndi-name>
b)Change the database name,server name,userid,password to the actual values in the <connection-url> tag.
3)Copy all the required jar files for the driver for MSSqlServer put msbase.jar,mssqlserver.jar,msutil.jar files in the default/deploy folder(or /default/lib folder .This may need a restart of Jboss)