struts2+spring+hibernate multiple datasources

2007-03-23 Thread Philippe Le Gal
Hi, I'm looking for an example for the access of multiple datasources (mysql) on different mysql servers. Is the solution to put many declarations of in applicationcontext.xml? Thx in advance Philippe - To unsubscri

Re: DataSources

2007-03-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Daniel, Daniel Blumenthal wrote: > I'm using Tomcat 5.5.x. The documentation for this looks pretty good, now > that I know where to look for it. Thanks! Feel free to cruise on over to the Tomcat list if you have any questions about configuration. T

Re: DataSources

2007-03-14 Thread Martin Gainty
uts Users Mailing List'" Sent: Wednesday, March 14, 2007 1:37 PM Subject: RE: DataSources > Chris, > > Thanks for the reply - this sounds like just what I need. > >> For instance, Apache Tomcat makes this pretty darned easy. >> You can define a JNDI datasource at t

Re: DataSources

2007-03-14 Thread Martin Gainty
ocument, nous vous signalons qu'il est strictement interdit de le diffuser, de le distribuer ou de le reproduire. - Original Message - From: "Daniel Blumenthal" <[EMAIL PROTECTED]> To: "'Struts Users Mailing List'" Sent: Wednesday, March 14, 20

RE: DataSources

2007-03-14 Thread Daniel Blumenthal
Chris, Thanks for the reply - this sounds like just what I need. > For instance, Apache Tomcat makes this pretty darned easy. > You can define a JNDI datasource at the server level, or per > webapp. The configuration is (roughly) the same; it just goes > in a different place in your config fil

Re: DataSources

2007-03-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Daniel, Daniel Blumenthal wrote: > I'm looking into upgrading from 1.2.9 to 1.3.8, and I'm having a hard time > figuring out how to get DataSources for my application. > > I understand that this was removed in 1.3, but it

DataSources

2007-03-14 Thread Daniel Blumenthal
I'm looking into upgrading from 1.2.9 to 1.3.8, and I'm having a hard time figuring out how to get DataSources for my application. In the old version, I did the configuration in the struts-config.xml file, and could say the following in the action: DataSource ds = getDataSour

Re: Problems declaring DataSources

2005-08-18 Thread C.F. Scheidecker Antunes
Hi all, Problem solved. So I will share the solution in case someone has the same problem. Just use the following class: com.mysql.jdbc.jdbc2.optional.MysqlDataSource as the DataSource class. so, the correct code is: type="com.mysql.jdbc.jdbc2.optional.MysqlDataSource"> value

Problems declaring DataSources

2005-08-18 Thread C.F. Scheidecker Antunes
Hello All, I have the following datasource declared. The password, URL and user name as well as Database name (on the URL) are corrected and I have them tested. Here it is: However, when I put it in my

Re: Datasources for Struts 1.2.x

2005-08-17 Thread C.F. Scheidecker Antunes
Hi all, Forget this last posting. I've found the class! :) There was a problem on my archive. C.F. Scheidecker Antunes wrote: Hello all, On the Struts: How to Access a Database document the way to set up a Datasource is shown in the MySQL example. However the DataSource class type that i

Datasources for Struts 1.2.x

2005-08-17 Thread C.F. Scheidecker Antunes
Hello all, On the Struts: How to Access a Database document the way to set up a Datasource is shown in the MySQL example. However the DataSource class type that is used is the org.apache.commons.dbcp.BasicDataSource. I've downloaded commons dbcp version 1.2.1 and there is no BasicDataSourc