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
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
);
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
:[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
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
- 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
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
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
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
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
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
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
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
]
ail.com cc:
Subject: Re: Multiple DataSource
Problem
:
Subject: Re: Multiple DataSource
Problem
12/06/2002 12:45
cc:
Subject: Re: Multiple DataSource
Problem
12/06/2002 01:39
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
]
ail.com cc:
Subject: Re: Multiple DataSource
Problem
: [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
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/
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
:
Subject: Re: Multiple DataSource
Problem
12/05/2002 01:41
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
:
Subject: Re: Multiple DataSource
Problem
12/05/2002 02:45
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
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
- 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
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
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
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
30 matches
Mail list logo