urgent - data-source and container managed datasource

2004-03-16 Thread Janice
Hi There, I'm getting ready to ship off my application and I'm trying to use the application server (standalone oc4j) to hold the data source information instead of having it in struts-config.xml. Is this possible? When jDeveloper deploys to the server it builds me a data-sources.xml file which

Re: urgent - data-source and container managed datasource

2004-03-16 Thread Richard Yee
my application and I'm trying to use the application server (standalone oc4j) to hold the data source information instead of having it in struts-config.xml. Is this possible? When jDeveloper deploys to the server it builds me a data-sources.xml file which I presume is correct. When I test

Re: urgent - data-source and container managed datasource

2004-03-16 Thread Shyam A
Hello, I have configured my data source on OC4J standalone version. Given below are snippets from the relevant files: In my data-sources.xml , I have data-source class=com.evermind.sql.DriverManagerDataSource name=TestDS location=jdbc/OracleCoreDS

urgent - data-source and container managed datasource

2004-03-16 Thread Janice
A big thank you to Richard and Shyam! I have things working again and am back on track to get this app deployed!! Janice - Original Message - From: Janice To: [EMAIL PROTECTED] Sent: Tuesday, March 16, 2004 11:56 AM Subject: urgent - data-source and container managed datasource Hi

Best Practice for data source access

2004-01-12 Thread Gerald_Beattie
What is the best practice for establishing a data source connection using JNDI. I am using the DAO pattern for database access but where is the best location for placing the code that initializes the data source? I am using connection pooling. I am moving a Struts application into a Portlet

Re: Best Practice for data source access

2004-01-12 Thread Christian Bollmeyer
Am Montag, 12. Januar 2004 17:32 schrieb [EMAIL PROTECTED]: What is the best practice for establishing a data source connection using JNDI. I am using the DAO pattern for database access but where is the best location for placing the code that initializes the data source? I am using

Re: Best Practice for data source access

2004-01-12 Thread James Watkin
a Connection (with Connection and PreparedStatement pooling on Tomcat): connection = getDataSource().getConnection();. I'm not sure if this answers your question. - Jim At 11:32 AM 1/12/2004 -0500, you wrote: What is the best practice for establishing a data source connection using JNDI. I am

Initializing application data source org.apache.struts.action.DATA_SOURCE

2003-12-26 Thread Ricky Purnomo
[/necdcstruts1]: Servlet /necdcstruts1 threw load() exception javax.servlet.UnavailableException: Initializing application data source org.apache.struts.action.DATA_SOURCE at org.apache.struts.action.ActionServlet.initModuleDataSources(ActionServlet.j ava:1091) at org.apache.struts.action.ActionServlet.init

RE: Dealing with Initializaing data source exception

2003-11-22 Thread Eric SCHULTZ
[mailto:[EMAIL PROTECTED] Sent: November 21, 2003 12:25 To: Struts Users Mailing List Subject: Re: Dealing with Initializaing data source exception If you've been looking through the archives you'll know that datasource in struts config is considered the devil's spawn and its use isn't recommended

Re: Dealing with Initializaing data source exception

2003-11-22 Thread Mark Lowe
: Dealing with Initializaing data source exception If you've been looking through the archives you'll know that datasource in struts config is considered the devil's spawn and its use isn't recommended. Have a look at you TC docs as configuring a JNDI datasource is web xml. You could botch a try catch

Dealing with Initializaing data source exception

2003-11-21 Thread Eric SCHULTZ
/DB2StrutsDemo threw load() exception javax.servlet.UnavailableException: Initializing application data source org.apache.struts.action.DATA_SOURCE Googling reveals a lot of people have this problem, and there's a lot of help on solving it. But what if you can't solve it and you just want to deal

Re: Dealing with Initializaing data source exception

2003-11-21 Thread Mark Lowe
as unavailable 2003-11-21 10:28:11 StandardContext[/DB2StrutsDemo]: Servlet /DB2StrutsDemo threw load() exception javax.servlet.UnavailableException: Initializing application data source org.apache.struts.action.DATA_SOURCE Googling reveals a lot of people have this problem, and there's a lot of help

Re: New data-source element causes 503 error

2003-11-17 Thread Wolfgang Woger
-config.xml Wolfgang todd thorner wrote: Hi, I just tried to add a data-source element to my Struts-based webapp. I put the proper syntax into my struts-config.xml file, my web.xml file, my %TOMCAT_HOME%/conf/server.xml file and I put mysql-connector-java-3.0.9-stable-bin.jar into %TOMCAT_HOME%/common

New data-source element causes 503 error

2003-11-15 Thread todd thorner
Hi, I just tried to add a data-source element to my Struts-based webapp. I put the proper syntax into my struts-config.xml file, my web.xml file, my %TOMCAT_HOME%/conf/server.xml file and I put mysql-connector-java-3.0.9-stable-bin.jar into %TOMCAT_HOME%/common/lib (nowhere else). Now when I

data source in struts-config

2003-11-14 Thread David Liles
Please excuse my ignorance... but I haven't been able to find an example that show how the data-source tag is used in struts I've looked at several of the examples and I don't see where the properties that are set in the xml file get referenced. How are these pulled into a servlet

RE: data source in struts-config

2003-11-14 Thread David Liles
Thanks for the link Ted We use JRun and though it does provide an internal connection pooling data source feature, we have decided to implement other solutions. We have been using it in the past but want to create a more flexible environment that will minimize problems associated

RE: data source in struts-config

2003-11-14 Thread Yansheng Lin
Sorry it's Friday, so I have to ask. Why struts implemented its own data-source handling in the first place then, since containers like tomcat already has it? Just curious. Hope it's not one of those 'whole-package-for-dummy' ideas from MS. -Original Message

data-source connection keeps closing

2003-11-06 Thread David Parry
) at com.imc.semantic.Model.readAll(Model.java:389) struts-config.xml: data-sources data-source type=org.apache.commons.dbcp.BasicDataSource set-property property=driverClassName value=org.gjt.mm.mysql.Driver/ set-property property=url value=jdbc:mysql://localhost/semantic/ set

RE: data-source connection keeps closing

2003-11-06 Thread Geert Van Landeghem
David, hope this helps: data-sources data-source type=com.mysql.jdbc.jdbc2.optional.MysqlDataSource set-property property=autoCommit value=true/ set-property property=description value=MySql Data Source/ set-property property=driverClass value

Re: data-source connection keeps closing

2003-11-06 Thread Alvaro
Hi David, try to change the connection URL to: jdbc:mysql://localhost/semantic?autoReconnect=true Bye, Alvaro. David Parry wrote: Subject: data-source connection keeps closing From: David Parry [EMAIL

Oracle data-source problem with struts 1.1

2003-10-30 Thread Richard Wheeldon
Hi, I recently upgraded my struts setup to the 1.1 release version. Now I find that the data source used by my application to connect to the database no longer works: data-sources data-source key=db.user set-property property=url value

Re: Oracle data-source problem with struts 1.1

2003-10-30 Thread Yann Cébron
Hi, I stumbled upon the same thing.. The property url is URL (all uppercase) with the OracleDataSource ;-) HTH, Yann I recently upgraded my struts setup to the 1.1 release version. Now I find that the data source used by my application to connect to the database no longer works

struts-config.xml data-source

2003-10-17 Thread Fabio Oliveira
Hello all, I've just configured the sample data-source tag in the Blank application in order to point to an Oracle Database, using the thin driver; and I've noticed that it's opened two connections as specified in the minCount property. I wonder whether this two connections are pooled ? Can

Data Source issue in tiles controller execute()

2003-09-23 Thread Barry Volpe
, HttpServletResponse response) throws Exception { //Data source works here but require results to be in Controller execute myString = newstring; } public void execute(ComponentContext tilesContext, HttpServletRequest request

Re: Data Source issue in tiles controller execute()

2003-09-23 Thread Barry Volpe
Found a solution! Here is a simple example of HOW TO EXTEND THE TILESACTION which not only allows tile definitions but just as important allows using the DataSource functionalilty of the Struts action(the implement Controller would not allow the Data Source functionalilty): public final class

Re: Data Source issue in tiles controller execute()

2003-09-23 Thread Barry Volpe
23, 2003 3:31 PM Subject: Re: Data Source issue in tiles controller execute() Found a solution! Here is a simple example of HOW TO EXTEND THE TILESACTION which not only allows tile definitions but just as important allows using the DataSource functionalilty of the Struts action(the implement

Re: Data Source in struts-config.xml

2003-09-19 Thread Andrew Kuzmin
snip from=http://jakarta.apache.org/struts/faqs/database.html; If you need more than one data source in a module, you can include a key attribute in the data-source element: data-sources data-source key=A type=org.apache.commons.dbcp.BasicDataSource ... properties as before ... /data

Data Source in struts-config.xml

2003-09-18 Thread virupaksha
Dear All, I need to connect to two different databases,MS Access MYSQL. I am connecting databases using JNDI lookup,so to connect using JNDI lookup i need to give database name in my code. Can any one help me how i can configure two datasource name in struts-config.xml. Waiting for ur help...

two different data source in struts-config.xml

2003-09-18 Thread virupaksha
Dear All, I need to connect to two different databases,MS Access MYSQL. I am connecting databases using JNDI lookup,so to connect using JNDI lookup i need to give database name in my code. Can any one help me how i can configure two datasource name in struts-config.xml. Waiting for ur help...

Two Data Source

2003-09-18 Thread virupaksha
Dear All, I need to connect to two different databases,MS Access MYSQL. I am connecting databases using JNDI lookup,so to connect using JNDI lookup i need to give database name in my code. Can any one help me how i can configure two datasource name in struts-config.xml. Waiting for ur help...

data source problems

2003-08-22 Thread Fumo, Vince
(based on the one from the struts faq) : data-sources data-source type=org.apache.commons.dbcp.BasicDataSource set-property property=autoCommit value=true / set-property property=description value=MySQL datasource / set-property property=driverClass value=com.mysql.jdbc.Driver / set

Re: data source problems

2003-08-22 Thread David Graham
(org.apache.commons.dbcp.BasicDataSource). Here is the struts-config I'm using (based on the one from the struts faq) : data-sources data-source type=org.apache.commons.dbcp.BasicDataSource set-property property=autoCommit value=true / set-property property=description value=MySQL datasource / set-property property

RE: data source problems

2003-08-22 Thread Fumo, Vince
this problem. -Original Message- From: David Graham [mailto:[EMAIL PROTECTED] Sent: Friday, August 22, 2003 1:08 PM To: Struts Users Mailing List Subject: Re: data source problems --- Fumo, Vince [EMAIL PROTECTED] wrote: Hi all. I'm sure this has been asked before but I can't seem to find

RE: data source problems

2003-08-22 Thread David Graham
-Original Message- From: David Graham [mailto:[EMAIL PROTECTED] Sent: Friday, August 22, 2003 1:08 PM To: Struts Users Mailing List Subject: Re: data source problems --- Fumo, Vince [EMAIL PROTECTED] wrote: Hi all. I'm sure this has been asked before but I can't seem to find

RE: data source problems

2003-08-22 Thread Fumo, Vince
in the WEB-INF/lib directory and also the tomcat common/lib directory. Any ideas on where I'm messed up this time? relevant struts-config !-- Data Source Configuration -- data-sources data-source type=org.apache.commons.dbcp.BasicDataSource set

RE: data source problems

2003-08-22 Thread Jimmy Emmanual
Try driverClassName as the property. -Original Message- From: Fumo, Vince [mailto:[EMAIL PROTECTED] Sent: Friday, August 22, 2003 3:32 PM To: 'Struts Users Mailing List' Subject: RE: data source problems Thank you David, I gave that a shot and I made some headway, however, now at Tomcat

RE: data source problems

2003-08-22 Thread David Graham
in Tomcat's server.xml file. A good tutorial can be found here: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jndi-datasource-examples-howto.html David relevant struts-config !-- Data Source Configuration -- data-sources data-source type

RE: data source problems

2003-08-22 Thread Fumo, Vince
Message- From: Jimmy Emmanual [mailto:[EMAIL PROTECTED] Sent: Friday, August 22, 2003 4:19 PM To: 'Struts Users Mailing List' Subject: RE: data source problems Try driverClassName as the property. -Original Message- From: Fumo, Vince [mailto:[EMAIL PROTECTED] Sent: Friday, August 22, 2003

RE: get data source in servlet

2003-08-19 Thread Navjot Singh
Source from struts-config.xml to web.xml hth navjot singh |-Original Message- |From: Ashish Kulkarni [mailto:[EMAIL PROTECTED] |Sent: Monday, August 18, 2003 8:38 PM |To: [EMAIL PROTECTED] |Subject: get data source in servlet | | |Hi, |I have defined a data source in my struts-config file

get data source in servlet

2003-08-18 Thread Ashish Kulkarni
Hi, I have defined a data source in my struts-config file, which is working fine as i get the connection in my Action class, but i need to get the data source in a Servlet, can any one provide with the code to get the data source in servlet Ashish __ Do you Yahoo

RE: get data source in servlet

2003-08-18 Thread Edgar Dollin
11:08 AM To: '[EMAIL PROTECTED]' Subject: get data source in servlet Hi, I have defined a data source in my struts-config file, which is working fine as i get the connection in my Action class, but i need to get the data source in a Servlet, can any one provide with the code to get the data

Re: get data source in servlet

2003-08-16 Thread Paul Thomas
On 15/08/2003 15:59 Ashish Kulkarni wrote: Hi, I am using struts 1.1 and have defined a data source for connection pooling, in my Action class i get the data source by using simple DataSource dataSourceA = getDataSource(request, A); Connection myConnection = dataSourceA.getConnection(); But now

get data source in servlet

2003-08-15 Thread Ashish Kulkarni
Hi, I am using struts 1.1 and have defined a data source for connection pooling, in my Action class i get the data source by using simple DataSource dataSourceA = getDataSource(request, A); Connection myConnection = dataSourceA.getConnection(); But now i need to get the data source

re: artimus data source issue - poolman.xml

2003-07-29 Thread aies22
are. Noam From: Ted Husted * Subject: re: artimus data source issue * Date: Sun, 16 Feb 2003 10:55:10 -0800 Something like the configuration file for poolman has to be on the Java classpath where the classloader can find it. The simplest location is directly under the WEB

data-source problem

2003-03-21 Thread Eugene Volynskiy
Hi, I have a problem with data-source usage in Struts 1.1 When we had data-source defined in struts-config.xml without key attribute is working just fine: data-sources data-source set-property property=driverClass value=com.sybase.jdbc2.jdbc.SybDriver

Re: data-source problem

2003-03-21 Thread Stephen Smithstone
Are u using an Action if so try getDatasource( httpServletRequest , ds1 ); as the Action has a method for getting a datasource On Friday 21 March 2003 2:32 pm, Eugene Volynskiy wrote: Hi, I have a problem with data-source usage in Struts 1.1 When we had data-source defined in struts

RE: data-source problem

2003-03-21 Thread Eugene Volynskiy
Unfortunately still does not work. Same error.Any other ideas? -Original Message- From: Stephen Smithstone [mailto:[EMAIL PROTECTED] Sent: Friday, March 21, 2003 11:24 AM To: Struts Users Mailing List Subject: Re: data-source problem Are u using an Action if so try getDatasource

Re: Oracle Data Source Config

2003-03-11 Thread Austin Lowry
- From: Austin Lowry [mailto:[EMAIL PROTECTED] Sent: Monday, March 10, 2003 4:09 PM To: [EMAIL PROTECTED] Subject: Oracle Data Source Config I've hit a bump in the road with my development because I have to be able to use an Oracle connection in order to use a class vital to my application

Re: Oracle Data Source Config

2003-03-11 Thread Robert McIntosh
get a connection from the pool. I've done it with Jboss. -Original Message- From: Austin Lowry [mailto:[EMAIL PROTECTED] Sent: Monday, March 10, 2003 4:09 PM To: [EMAIL PROTECTED] Subject: Oracle Data Source Config I've hit a bump in the road with my development because I have

Re: Oracle Data Source Config

2003-03-11 Thread Austin Lowry
. Marco Tedone wrote: If Weblogic release a connection pool under a jndi name, you can get a connection from the pool. I've done it with Jboss. -Original Message- From: Austin Lowry [mailto:[EMAIL PROTECTED] Sent: Monday, March 10, 2003 4:09 PM To: [EMAIL PROTECTED] Subject: Oracle Data

Re: Oracle Data Source Config

2003-03-11 Thread Robert McIntosh
a connection from the pool. I've done it with Jboss. -Original Message- From: Austin Lowry [mailto:[EMAIL PROTECTED] Sent: Monday, March 10, 2003 4:09 PM To: [EMAIL PROTECTED] Subject: Oracle Data Source Config I've hit a bump in the road with my development because I have to be able to use

Re: Oracle Data Source Config

2003-03-11 Thread David Graham
This introduces another problem in that I will have to pass the connection to my business objects from my action classes, but I think it will work. Any ideas are welcome. Thanks. You can either put the DataSource in JNDI for your business objects to look up or pass the DataSource into the

Re: Oracle Data Source Config

2003-03-11 Thread Austin Lowry
I've tried something simillar to this too. JNDI seemed like the best place to reference it to me, since I already had a class to retrieve connections from the Weblogic pool in place. It turned out that while I could place the OracleConnectionPoolDataSource in JNDI, what I need to do is put the

RE: Oracle Data Source Config

2003-03-11 Thread Marco Tedone
configuration on the struts-config.xml file, leaving clean and tidy the web.xml file. My 2 cents. Marco -Original Message- From: Austin Lowry [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 11, 2003 5:06 PM To: Struts Users Mailing List Subject: Re: Oracle Data Source Config Apparently

Re: Oracle Data Source Config

2003-03-11 Thread Austin Lowry
: Oracle Data Source Config Apparently there is some portion of the Oracle connection that the OracleXMLQuery class needs. To quote Oracle support: Must use an Oracle connection pool and not the web logic pool. Because the XML API requires an Oracle conn object. My current approach is going

Oracle Data Source Config

2003-03-10 Thread Austin Lowry
I've hit a bump in the road with my development because I have to be able to use an Oracle connection in order to use a class vital to my application. This made my Weblogic connection pool unusable because it uses it's own connection objects that use the Oracle driver. I think my best option

RE: Oracle Data Source Config

2003-03-10 Thread Marco Tedone
If Weblogic release a connection pool under a jndi name, you can get a connection from the pool. I've done it with Jboss. -Original Message- From: Austin Lowry [mailto:[EMAIL PROTECTED] Sent: Monday, March 10, 2003 4:09 PM To: [EMAIL PROTECTED] Subject: Oracle Data Source Config

artimus data source issue

2003-02-16 Thread Alex McLintock
in artimus_1_1/WEB-INF/src/conf, one in artimus_1_1/WEB-INF/src/java and one in artimus_1_1/WEB-INF Why so many? I had to create the directory for the log file which eventually told me that even though I changed *all* these it still wasn't picking up my new data source Is it because

re: artimus data source issue

2003-02-16 Thread Ted Husted
Something like the configuration file for poolman has to be on the Java classpath where the classloader can find it. The simplest location is directly under the WEB-INF/classes folder. The glitch there is that, to do a clean build, it's very convenient to just delete that folder and rebuild

struts-config.xml : data-source : Setup Question /Problem - Need help!

2003-02-13 Thread Arun Prakash
Hi I am trying to set the data source. Using DataDirect Connect JDBC Driver. Using Tommcat 4.1.18 SQLServer Database installed on my local box. data-sources data-source set-property property=driverClass value=com.ddtek.jdbc.sqlserver.SQLServerDriver / set-property property=url value

Re: struts-config.xml : data-source : Setup Question /Problem - Need help!

2003-02-13 Thread David Graham
You're missing the type attribute on the datasource element. See the struts-config dtd for details. David From: Arun Prakash [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: struts-config.xml : data-source : Setup Question /Problem - Need

Data source and dying connections - No more data to read from socket

2003-02-06 Thread Mehdi . Nejad
Greets all, We have developed a struts application which makes use of the struts data-source. This is working fine, but when it is left overnight, the connections are dying. When I re-start the Tomcat, connections are re-opened and everything is fine, until the next period of idleness. Note

Struts data-source vs. Tomcat JNDI registered DataSource

2003-01-03 Thread Charlie Toohey
For those using Struts with Tomcat, Any advantage or difference in using a Struts data source based on the Jakarta Commons DataBase Connection Pool BasicDataSource class, vs. using the Tomcat data source using the Jakarta Commons DBCP and Pool (configuring factory

RE: Struts data-source vs. Tomcat JNDI registered DataSource

2003-01-03 Thread pqin
JNDI is way too easy. Regards, PQ This Guy Thinks He Knows Everything This Guy Thinks He Knows What He Is Doing -Original Message- From: Charlie Toohey [mailto:[EMAIL PROTECTED]] Sent: January 3, 2003 3:09 PM To: [EMAIL PROTECTED] Subject: Struts data-source vs. Tomcat JNDI

Re: Struts data-source vs. Tomcat JNDI registered DataSource

2003-01-03 Thread Craig R. McClanahan
On Fri, 3 Jan 2003, Charlie Toohey wrote: Date: Fri, 3 Jan 2003 12:09:29 -0800 From: Charlie Toohey [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Struts data-source vs. Tomcat JNDI registered DataSource For those using Struts

Multiple Data-Source Problem

2002-12-05 Thread tbachta
How do access multiple data-sources' in an application. Here are may data-source's data-sources data-source set-property property=key value=MRA/ set-property property=driverClass value =oracle.jdbc.driver.OracleDriver/ set

how to access property of the Data Source Configuration

2002-12-04 Thread vaibhavi
Hi, I have congifured my struts-config.xml for databse as follows !-- == Data Source Configuration === -- !-- data-sources data-source set-property property=autoCommit value=false/ set-property property=description

RE: BasicDataSource data source usage.

2002-11-25 Thread Anthony Mutiso 2
again Anthony -Original Message- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] Sent: November 22, 2002 2:56 PM To: Struts Users Mailing List Subject: Re: BasicDataSource data source usage. On Fri, 22 Nov 2002, Anthony Mutiso 2 wrote: Date: Fri, 22 Nov 2002 13:47:04 -0700 From

BasicDataSource data source usage.

2002-11-22 Thread Anthony Mutiso 2
The struts javadoc page for GenericDataSource says to use BasicDataSource. When I configure a struts data-source with BasicDataSource, my struts 1.1 b2 application fails work with a java.sql.SQLException: Cannot load JDBC driver class 'null' On the appplication startup While if I remove

Re: BasicDataSource data source usage.

2002-11-22 Thread David Graham
See section 4.6.5 here http://jakarta.apache.org/struts/userGuide/building_controller.html David From: Anthony Mutiso 2 [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Mail List (E-mail) [EMAIL PROTECTED] Subject: BasicDataSource data source usage. Date

Re: BasicDataSource data source usage.

2002-11-22 Thread Craig R. McClanahan
On Fri, 22 Nov 2002, Anthony Mutiso 2 wrote: Date: Fri, 22 Nov 2002 13:47:04 -0700 From: Anthony Mutiso 2 [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Mail List (E-mail) [EMAIL PROTECTED] Subject: BasicDataSource data source usage. The struts javadoc

Generic Data Source

2002-10-16 Thread Kevin Viet
GenericDataSource Question I need to set the driver of a generic datasource the only method to configure the driver is setDriverClass(String driverCLass) I want a method like setDriver(java.sql.Driver driver) The only way to handle this is to extend the GenericDataSource class and add this

Using data-source with ActionForm

2002-09-28 Thread V. Cekvenich
handles the connection, etc. A good practices is: a property has a getter/setter in a bean, and a bean has a DAO it delegates to. You could have a DAO with a class/static initialize that gets the data source. I do not link philosophical answers so here is a code sample, note use of static: http

Re: Using data-source with ActionForm - MVC2

2002-09-24 Thread Vincent Berruchon
- From: Vincent Berruchon [mailto:[EMAIL PROTECTED]] Sent: Friday, September 20, 2002 11:12 AM To: Struts Users Mailing List Subject: Re: Using data-source with ActionForm SHould I avoid to access database in the getXXX methods of an ActionForm to respect MVC2 model? Vincent Berruchon

RE: Using data-source with ActionForm - MVC2

2002-09-24 Thread Galbreath, Mark
No problem, but there is still no widely recognized term, MVC2. -Original Message- From: Vincent Berruchon [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 24, 2002 12:07 PM To: Struts Users Mailing List Subject: Re: Using data-source with ActionForm - MVC2 Just a word about MVC2

Using data-source with ActionForm

2002-09-20 Thread Vincent Berruchon
Hello, I'm a newbie with Struts, I'd like to know how I could smartly use data-source to fill things like select drop down combo in my forms. here what I'm trying to do, can you tell me if I'm wrong: I'v defined a data-source in struts-config.xml to use a mySql DB. I'd like to get data

Re: Using data-source with ActionForm

2002-09-20 Thread Vincent Berruchon
SHould I avoid to access database in the getXXX methods of an ActionForm to respect MVC2 model? Vincent Berruchon wrote: Hello, I'm a newbie with Struts, I'd like to know how I could smartly use data-source to fill things like select drop down combo in my forms. here what I'm trying

RE: Using data-source with ActionForm

2002-09-20 Thread Galbreath, Mark
/PrenticeHall 2001). Mark -Original Message- From: Vincent Berruchon [mailto:[EMAIL PROTECTED]] Sent: Friday, September 20, 2002 11:12 AM To: Struts Users Mailing List Subject: Re: Using data-source with ActionForm SHould I avoid to access database in the getXXX methods of an ActionForm

jndi as a data source

2002-09-10 Thread Vincent Stoessel
Hello All, I'm cuurently searching but can't seem to find a page with an example jndi example for struts. I have to build a quick demo app for the suits. :) Any pointers or clue bricks will be appreciated. Thanks in advance. -- Vincent Stoessel Linux Systems Developer vincent xaymaca.com

RE: jndi as a data source

2002-09-10 Thread Galbreath, Mark
: Tuesday, September 10, 2002 10:26 AM To: Struts Users Subject: jndi as a data source Hello All, I'm cuurently searching but can't seem to find a page with an example jndi example for struts. I have to build a quick demo app for the suits. :) Any pointers or clue bricks will be appreciated

Re: jndi as a data source

2002-09-10 Thread Vincent Stoessel
- From: Vincent Stoessel [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 10, 2002 10:26 AM To: Struts Users Subject: jndi as a data source Hello All, I'm cuurently searching but can't seem to find a page with an example jndi example for struts. I have to build a quick demo app for the suits

RE: jndi as a data source

2002-09-10 Thread Hajratwala, Nayan (N.)
To: Struts Users Mailing List Subject: Re: jndi as a data source I thought it might be cool to use ldap as an authetication mechanism. Yeah, I saw the tomcat jndi how-to. I could have sworn that I saw jndi used as a datasource but I could haave been tired on that day. I'm still a struts newbie, so I

data-source and struts-config.xml

2002-08-27 Thread Jim Conrad
I am new to struts, but I have RTFM and STFW in search of a solution. So now I reach out to the gurus among you. I need to reach my database. When I include a data source definition in my struts-config.xml file as follows (slightly changed to protect the innocent): data-sources data

Re: data-source problem

2002-06-21 Thread Phil Steitz
Look at your servlet engine log (servlet.log if you are using Tomcat with the default setup). Most likely the ActionServlet associated with your web app is not loading because the data source initialization is failing. The mappings aren't there because the initialization failed. The error

data-source exception

2002-06-20 Thread slick dev mail
I have a problem with the data-source properties in struts-config.xml This is for the sample email portal application. I configured the properties to use my oracle installation, thus: data-sources data-source set-property property=autoCommit value=false/ set-property property

data-source problem

2002-06-20 Thread slickdev
I have a problem with the data-source properties in struts-config.xml This is for the sample email portal application. I configured the properties to use my localhost oracle installation, which does work with jdbc from command-line java apps as well as with sql*plus. Here is the suspect layout

RE: data-source problem

2002-06-20 Thread Chakradhar Tallam
have u got this declaration just before the form-beans ... /form-beans declaration! -Original Message- From: slickdev [mailto:[EMAIL PROTECTED]] Sent: Friday, 21 June 2002 12:12 PM To: Struts Users Mailing List Subject: data-source problem I have a problem

data-source key question

2002-06-15 Thread Jing Zhang
Hi All, I'm trying to specify data-source key in struts-config.xml following struts-config_1_0.dtd and discussions in struts mail archive, but couldn't get it work. Please see details below. What did I do wrong? Please reply to me directly as I'm not on this alias yet. Thanks, Jing Here

RE: 1.1B and data-source problems...

2002-06-05 Thread wbchmura
To: struts-user Subject: Re: 1.1B and data-source problems... That's exactly what happened to me as well. I think I got the xml out of the struts-blank app. Maybe somebody change it.. Adam James Holmes wrote: That's because you are using attributes of the data-source tag to define the values

RE: 1.1B and data-source problems...

2002-06-05 Thread wbchmura
Thanks... Struts Console is very nice, worked fine except I could not find documentation on what everything does. nice app though -Original Message- From: jholmes612 [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 04, 2002 7:30 PM To: struts-user Subject: Re: 1.1B and data-source

RE: 1.1B and data-source problems...

2002-06-05 Thread James Holmes
fine except I could not find documentation on what everything does. nice app though -Original Message- From: jholmes612 [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 04, 2002 7:30 PM To: struts-user Subject: Re: 1.1B and data-source problems... That's because you are using

1.1B and data-source problems...

2002-06-04 Thread wbchmura
I cannot seem to get a data-source configured under 1.1b.. I have this entered into my struts-config data-sources data-source autoCommit=false description=Oracle driverClass=oracle.jdbc.driver.OracleDriver maxActive=4 password=xx url

Re: 1.1B and data-source problems...

2002-06-04 Thread James Holmes
That's because you are using attributes of the data-source tag to define the values for those parameters. That method has been deprecated for some time now. You need to use the new set-property method for this. Take a look at the DTD for more info: http://jakarta.apache.org/struts/dtds/struts

Re: 1.1B and data-source problems...

2002-06-04 Thread Adam Hardy
That's exactly what happened to me as well. I think I got the xml out of the struts-blank app. Maybe somebody change it.. Adam James Holmes wrote: That's because you are using attributes of the data-source tag to define the values for those parameters. That method has been deprecated

javax.servlet.UnavailableException: Initializing application data source org.apache.struts.action.DATA_SOURCE

2002-05-13 Thread Anthony Martin
/setup_fb_java.htm I was hoping for a drop-in replacement for InterClient, but no such luck. Here is my struts-config.xml DataSource node: data-source key=DataSource.TEST0 set-property property=autoCommit value=false / set-property property=description value=Demo DataBase / set-property

Re: Data source

2002-04-17 Thread Vic Cekvenich
:35:12 - Ctx( /hermes ): Exception in: R( /hermes + /login.do + null) - javax.servlet.ServletException: Exception initializing application data source org.apache.struts.action.DATA_SOURCE at org.apache.struts.action.ActionServlet.initDataSources(ActionServlet.java:1080

Re: Data source

2002-04-17 Thread @Basebeans.com
Subject: Re: Data source From: Vic Cekvenich [EMAIL PROTECTED] === Unit test the beans outside of Struts. Just write a System main console app that calls your bean. hth, Vic Daniel WAMARA wrote: Could someone tell me what that is, I got this message when trying to work with my application

Data source

2002-04-17 Thread Daniel WAMARA
someone tell me what that is, I got this message when trying to work with my application (The datasource data are in the Struts-config file) 2002-04-17 03:35:12 - Ctx( /hermes ): Exception in: R( /hermes + /login.do + null) - javax.servlet.ServletException: Exception initializing application data

Re: Data source

2002-04-17 Thread @Basebeans.com
Subject: Re: Data source From: Vic Cekvenich [EMAIL PROTECTED] === OK, then unit test the bean on Linux. Something like a missing oracle jar in libs, classpath. Struts or App. Server will not make a non-tested (non-working) bean work. Fastest way to develop is to unit test the modules. Call

RE: Pb when using data-source

2001-12-05 Thread VIAUD Cédric
:@thoth:1521:tolosa/ Regards, Cédric -Message d'origine- De : Tom Lister [mailto:[EMAIL PROTECTED]] Envoyé : mardi 4 décembre 2001 18:12 À : 'Struts Users Mailing List' Objet : RE: Pb when using data-source Is it within data-sources /data-sources :-) Regards [EMAIL PROTECTED

  1   2   >