Re: Datasources Tomcat/Struts

2003-10-28 Thread virupaksha
Hi Mathieu Grimault, can you send me ur tomcat's server.xml file, the problem is in tomcat configuration, Regards, viru - Original Message - From: Mathieu Grimault [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Tuesday, October 28, 2003 5:01 PM Subject:

Re: dataSources outside of actionservlet

2002-12-17 Thread Mark
Woohoo!!! But you'll have to forgive my ignorance, but any chance of a more ostensive answer, like an example for example.. So something like DataSource ds = getDatasource(mykey); (MyBEan).doSomething(ds, and other args); Is this along the right lines? Many thanks mark On 17-12-2002

Re: dataSources outside of actionservlet

2002-12-17 Thread Mark
Thanks keith that looks like a really good elegant way of doing this, but as i conceded before I particularly stupid, and i don't get it. To be honest I've always had the db pooling stuff taken care for me before which was only of the attractions of using struts.. Is there no means to referencing

Re: dataSources outside of actionservlet

2002-12-17 Thread Mark
I know that , i've read that .. But I what i really want to know is this Without importing any servlet stuff Some_means_of_getting_to_details_in_config_xml.getDatasource(mykey); Many thanks mark On 17-12-2002 15:17, Edgar P. Dollin [EMAIL PROTECTED] wrote: Another option is to aquire the

RE: dataSources outside of actionservlet

2002-12-17 Thread Edgar P. Dollin
:13 AM To: Struts Users Mailing List Subject: Re: dataSources outside of actionservlet I know that , i've read that .. But I what i really want to know is this Without importing any servlet stuff Some_means_of_getting_to_details_in_config_xml.getDatasource(mykey); Many thanks mark On 17-12-2002

Re: dataSources outside of actionservlet

2002-12-17 Thread Mark
(); Edgar -Original Message- From: Mark [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 17, 2002 10:13 AM To: Struts Users Mailing List Subject: Re: dataSources outside of actionservlet I know that , i've read that .. But I what i really want to know is this Without importing any

Re: dataSources outside of actionservlet

2002-12-17 Thread Mark
:[EMAIL PROTECTED]] Sent: Tuesday, December 17, 2002 10:13 AM To: Struts Users Mailing List Subject: Re: dataSources outside of actionservlet I know that , i've read that .. But I what i really want to know is this Without importing any servlet stuff

Re: dataSources outside of actionservlet

2002-12-17 Thread J Aaron Farr
On Tue, 17 Dec 2002 17:45, Mark [EMAIL PROTECTED] wrote: Thanks edgar.. For those folks who are starting out or don't read binary Context and InitialContext are part of the javax.naming package So you'll need to import javax.naming.Context; import javax.naming.InitialContext; The

Re: dataSources outside of actionservlet

2002-12-17 Thread Mark
Thanks the last answer does the job, thanks jaaron.. The JNDI solution seemed a bit crack induced and a bit too cyptic for my low iq.. :) Cheers again mark On 17-12-2002 19:52, J Aaron Farr [EMAIL PROTECTED] wrote: On Tue, 17 Dec 2002 17:45, Mark [EMAIL PROTECTED] wrote: Thanks edgar..

Re: Datasources and Connection

2002-12-05 Thread David Graham
See the user guide for config info http://jakarta.apache.org/struts/userGuide/building_controller.html#other_config Also, look at the struts-config.dtd for available elements and attributes. David From: Dinesh [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To:

Re: datasources

2002-04-30 Thread Eddie Bush
more attention then. HTH! Eddie - Original Message - From: Ramin, Arash [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Monday, April 29, 2002 11:39 AM Subject: RE: datasources The problem with this is that the next time we run a build the latest struts-config.xml

Re: datasources

2002-04-30 Thread Craig R. McClanahan
On Tue, 30 Apr 2002, Eddie Bush wrote: Date: Tue, 30 Apr 2002 12:08:24 -0500 From: Eddie Bush [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: Re: datasources Ok, checkout, modify, and check back

Re: datasources

2002-04-30 Thread Eddie Bush
Tomcat does adopt that datasource - then that would be the most ideal solution yet. Thanks so much! Eddie - Original Message - From: Craig R. McClanahan [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Tuesday, April 30, 2002 12:17 PM Subject: Re: datasources

Re: datasources

2002-04-30 Thread Craig R. McClanahan
On Tue, 30 Apr 2002, Eddie Bush wrote: Date: Tue, 30 Apr 2002 12:39:41 -0500 From: Eddie Bush [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: Re: datasources Thanks Craig!! I had previously shied away

Re: datasources

2002-04-30 Thread Eddie Bush
] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Tuesday, April 30, 2002 1:22 PM Subject: Re: datasources On Tue, 30 Apr 2002, Eddie Bush wrote: Date: Tue, 30 Apr 2002 12:39:41 -0500 From: Eddie Bush [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users

RE: datasources

2002-01-11 Thread Taylor Cowan
When you configured the datasource you gave it a name. Use that as a key to lookup the datasoruce using findDataSource( String name ) Taylor -Original Message- From: Rubens Gama [mailto:[EMAIL PROTECTED]] Sent: Friday, January 11, 2002 2:38 PM To: Struts-User Subject: datasources i

RE: datasources

2002-01-11 Thread Zeltser, Mark
: Taylor Cowan [mailto:[EMAIL PROTECTED]] Enviada em: sexta-feira, 11 de janeiro de 2002 16:48 Para: Struts Users Mailing List Assunto: RE: datasources When you configured the datasource you gave it a name. Use that as a key to lookup the datasoruce using findDataSource( String name ) Taylor

RE: datasources

2002-01-11 Thread Taylor Cowan
value=bar/ /data-source /data-sources where is the tag name ?? Thank you -Mensagem original- De: Taylor Cowan [mailto:[EMAIL PROTECTED]] Enviada em: sexta-feira, 11 de janeiro de 2002 16:48 Para: Struts Users Mailing List Assunto: RE: datasources When you configured

RE: datasources

2002-01-11 Thread Zeltser, Mark
]] Enviada em: sexta-feira, 11 de janeiro de 2002 18:04 Para: 'Struts Users Mailing List' Assunto: RE: datasources Rubens, You can use key=dataSourceName attribute in data-source tag. To retrieve: ActionServlet.findDataSource( dataSourceName) Mark. -Original Message- From: Rubens Gama

RE: DataSources Problem: 2 DataSources won't work!

2001-12-12 Thread Rob Parker
I usually get that problem when there is a problem with the actual xml in struts-config (eg, I left out a closing tag, etc). Is this exactly like your struts-config xml looks? If so, you have a problem at the end - there are 2 closing /data-sources tags - one is actually data-sources-- If that

RE: datasources action servlet

2001-03-09 Thread Gogineni, Pratima
It looks like one option is to modify the dtd and declare a different entity that holds all the datasources - is there a less intrusive way/ is this recommended/strongly discouraged? thanks pratima -Original Message- From: Gogineni, Pratima Sent: Friday, March 09, 2001