Datasource problem

2004-01-07 Thread cnd
Hi, I must be missing something here but for the life of me I cannot see what it is. I've search the mail archives and can't find anything the same, also I checked 3 different books and it looks like I have everything configured correctly, I also tried two diffent MySQL drivers. I have added a

RE: Datasource problem

2004-01-07 Thread Matthias Wessendorf
hi chris, have you tried: getDataSource(req,dataSource); greetings -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 07, 2004 10:25 AM To: [EMAIL PROTECTED] Subject: Datasource problem Hi, I must be missing something here

RE: Datasource problem

2004-01-07 Thread cnd
); greetings -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 07, 2004 10:25 AM To: [EMAIL PROTECTED] Subject: Datasource problem Hi, I must be missing something here but for the life of me I cannot see what it is. I've search

RE: Datasource problem

2004-01-07 Thread Matthias Wessendorf
:[EMAIL PROTECTED] Sent: Wednesday, January 07, 2004 10:44 AM To: Struts Users Mailing List Subject: RE: Datasource problem Thanks Mathias, just after I sent the email I got it working using the key as you suggested. I tried using the key earlier today and it didn't work, probably I had some

RE: Datasource problem

2004-01-07 Thread cnd
Mailing List Subject: RE: Datasource problem Thanks Mathias, just after I sent the email I got it working using the key as you suggested. I tried using the key earlier today and it didn't work, probably I had some other problem which I accidentally fixed and now I've confused myself

Re: DataSource problem

2003-06-15 Thread Joe @ Team345
- Original Message - From: Maarten Roosendaal [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, June 14, 2002 3:42 PM Subject: DataSource problem Hi, I'm trying to create a simple DataBase app. using Struts. Right now i have a problem with getting the DataSource out of the InitialContext

Re: DataSource problem

2003-06-15 Thread Adam Hardy
Good luck to all of us ;) Rainer - Original Message - From: Maarten Roosendaal [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, June 14, 2002 3:42 PM Subject: DataSource problem Hi, I'm trying to create a simple DataBase app. using Struts. Right now i have a problem with getting

Re: datasource problem

2003-01-02 Thread David M. Karr
Steven == Steven Dahlin [EMAIL PROTECTED] writes: Steven I am a little unclear what you mean by using modules? If you don't know what they are, then you probably aren't using them :) . It's a mechanism that allows you to subdivide your Struts application into pieces, each with their own

datasource problem

2003-01-01 Thread Steven Dahlin
When I try to get a datasource which has been defined in the struts-config.xml no matter what I do the datasource returns back null. My struts-config.xml for data-sources is: data-sources data-source key= conPool set-property property = autoCommit

conPool -- ConPool / Re: datasource problem

2003-01-01 Thread Liu Jian
Will the data-source key case-sensitive? conPool -- ConPool Try dsSrc= ( DataSource ) context.getAttribute( conPool ); Good luck ! - Original Message - From: Steven Dahlin [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, January 01, 2003 3:42 PM Subject: datasource

Re: conPool -- ConPool / Re: datasource problem

2003-01-01 Thread Steven Dahlin
That was a misttype on my part. In the code both have conPool. - Original Message - From: Liu Jian [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Wednesday, January 01, 2003 2:25 PM Subject: conPool -- ConPool / Re: datasource problem Will the data-source key

Re: datasource problem

2003-01-01 Thread David M. Karr
Steven == Steven Dahlin [EMAIL PROTECTED] writes: Steven When I try to get a datasource which has been defined in the struts-config.xml no matter what I do the datasource returns back null. My struts-config.xml for data-sources is: Steven data-sources Steven

Re: datasource problem

2003-01-01 Thread Steven Dahlin
I am a little unclear what you mean by using modules? Steve - Original Message - From: David M. Karr [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, January 01, 2003 3:45 PM Subject: Re: datasource problem Steven == Steven Dahlin [EMAIL PROTECTED] writes: Steven When I

Re: Multiple DataSource Problem

2002-12-06 Thread tbachta
] ail.com cc: Subject: Re: Multiple DataSource Problem

Re: Multiple DataSource Problem

2002-12-06 Thread tbachta
: Subject: Re: Multiple DataSource Problem 12/06/2002 12:45

Re: Multiple DataSource Problem

2002-12-06 Thread tbachta
cc: Subject: Re: Multiple DataSource Problem 12/06/2002 01:39

Re: Multiple DataSource Problem

2002-12-06 Thread David Graham
Ok, post your entire data-sources section. David From: [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: Re: Multiple DataSource Problem Date: Fri, 6 Dec 2002 13:57:36 -0600 That gives me a xml parse error

Re: Multiple DataSource Problem

2002-12-06 Thread tbachta
] ail.com cc: Subject: Re: Multiple DataSource Problem

Re: Multiple DataSource Problem

2002-12-06 Thread David Graham
: [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: Re: Multiple DataSource Problem Date: Fri, 6 Dec 2002 14:23:55 -0600 data-sources data-source key=MRA set-property property=driverClass value

Multiple DataSource Problem

2002-12-05 Thread tbachta
I am having trouble getting multiple datasources to work in my application. I have searched the archives and found inofrmation on how to do it but the solutions given are depricated. Can anyone help me? data-sources data-source set-property property=key value=MRA/

Re: Multiple DataSource Problem

2002-12-05 Thread David Graham
You need to give each data-source element its own key. Struts stores the DataSource under that key in the ServletContext. David From: [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Multiple DataSource Problem Date: Thu, 5 Dec 2002 13

Re: Multiple DataSource Problem

2002-12-05 Thread tbachta
: Subject: Re: Multiple DataSource Problem 12/05/2002 01:41

Re: Multiple DataSource Problem

2002-12-05 Thread David Graham
Use the key attribute of the data-source element. David From: [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: Re: Multiple DataSource Problem Date: Thu, 5 Dec 2002 14:02:31 -0600 Did I not give each data

Re: Multiple DataSource Problem

2002-12-05 Thread tbachta
: Subject: Re: Multiple DataSource Problem 12/05/2002 02:45

Re: Multiple DataSource Problem

2002-12-05 Thread David Graham
Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: Re: Multiple DataSource Problem Date: Thu, 5 Dec 2002 15:01:21 -0600 Can you show me a code snip of how to use this? Tim Bachta Information Technology MC 48 David Graham

DataSource problem

2002-06-14 Thread Maarten Roosendaal
Hi, I'm trying to create a simple DataBase app. using Struts. Right now i have a problem with getting the DataSource out of the InitialContext and i'm not sure what i'm doing wrong or maybe it has something to do with the Struts Servlet. In configured the server.xml as follows: Resource

Re: DataSource problem

2002-06-14 Thread rainer juenger
- Original Message - From: Maarten Roosendaal [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, June 14, 2002 3:42 PM Subject: DataSource problem Hi, I'm trying to create a simple DataBase app. using Struts. Right now i have a problem with getting the DataSource out

DataSource problem with NIGHTLY-BUILD version- 20010911 of STRUTS

2001-09-26 Thread BinhMinh Nguyen
I have no problem using Datasource in STRUT version 1.0, but when I upgrade STRUTS to nightly version, I have a problem using datasource. Here how it happens I first replace the XML parser and JAXP so that it can support Namespace. Then I follow the instruction in the Nighlt Release and I

Struts Datasource problem

2001-06-13 Thread Bill Clinton
Hello, I am having a recurring problem with struts and jdbc. The demo driver I am using, inet's Sprinta200, only allows 2 connections. I have my data source max set to 1, but I still get errors from the driver: java.sql.SQLException: [TDS Driver]Too many connections :3 at

Re: Struts Datasource problem

2001-06-13 Thread Martin Cooper
this error when you try to open your connection. Hope this helps. -- Martin Cooper - Original Message - From: Bill Clinton [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, June 13, 2001 1:47 PM Subject: Struts Datasource problem Hello, I am having a recurring problem