Re: datasource creation problem?

2006-12-09 Thread Chris Pratt
I believe the proper classname is org.apache.commons.dbcp.BasicDataSource (*Chris*) On 12/4/06, Mallik <[EMAIL PROTECTED]> wrote: Hi Friend How to add jar files to path in Exadel stuio? Ur's Mallik Venkata Phani Kumar wrote: > > Hi mallik, > just try by adding commons-dbcp.jar to build pa

Re: datasource creation problem?

2006-12-04 Thread Mallik
Hi Friend How to add jar files to path in Exadel stuio? Ur's Mallik Venkata Phani Kumar wrote: > > Hi mallik, > just try by adding commons-dbcp.jar to build path. > > - Original Message - > From: "Mallik" <[EMAIL PROTECTED]> > To: > Sent: Monday, December 04, 2006 3:22 PM > Subject

Re: datasource creation problem?

2006-12-04 Thread Venkata Phani Kumar
Hi mallik, just try by adding commons-dbcp.jar to build path. - Original Message - From: "Mallik" <[EMAIL PROTECTED]> To: Sent: Monday, December 04, 2006 3:22 PM Subject: datasource creation problem? > > Hi friends > i started my application in Struts using IDE Eclipse. > when i create

Re: Datasource not found by Plugin on startup

2005-10-03 Thread Martin Gainty
Mahmoud- If your webapp is called foo, create a file $TOMCAT_HOME/conf/Catalina/localhost/foo.xml You will need to match the exact name of the identified resource contained within foo.xml later on you will reference Context initCtx = new InitialContext(); Context envCtx = (Context) initCtx.lo

Re: DataSource........

2005-03-11 Thread Vamsee Kanakala
K Rajesh wrote: i have one doubt. Connection Pooiling only possible thro' JSTL http://jakarta.apache.org/tomcat/tomcat-5.0-doc/jndi-datasource-examples-howto.html HTH, Vamsee. - To unsubscribe, e-mail: [EMAIL PROTECTED] For add

Re: DataSource in

2005-03-10 Thread brenmcguire
I don't know if it is correct or not, but it is the way the internal datasource manager in Struts behaves. Anyway I wrote a plugin that "should" behave better: http://sdsmanager.sourceforge.net/ I must say that using DataSource as part of a web application is not a good practice (though I don't thi

Re: DaTASOURCE CREATION AT USER LOGIN TIME...Newbie

2004-08-02 Thread Research labs
Craig, Thanks a lot. All points taken. In the light of what you and Jim have said, I will re examine my plan of action I found out about you in one of my books "Struts in Action" by Ted Husted et al. If I may, I would like to keep this first email from you as some sort of autograph. Ola. -

RE: DaTASOURCE CREATION AT USER LOGIN TIME...Newbie

2004-08-02 Thread Research labs
I take your point. Thanks. --- Jim Barrows <[EMAIL PROTECTED]> wrote: > > -Original Message- > > From: Research labs > [mailto:[EMAIL PROTECTED] > > Sent: Monday, August 02, 2004 1:54 PM > > To: Struts Users Mailing List > > Subject: RE: D

RE: DaTASOURCE CREATION AT USER LOGIN TIME...Newbie

2004-08-02 Thread Jim Barrows
> -Original Message- > From: Research labs [mailto:[EMAIL PROTECTED] > Sent: Monday, August 02, 2004 1:54 PM > To: Struts Users Mailing List > Subject: RE: DaTASOURCE CREATION AT USER LOGIN TIME...Newbie > > > Jim, > > Thanks a lot. Quite exhaustive.

Re: DaTASOURCE CREATION AT USER LOGIN TIME...Newbie

2004-08-02 Thread Craig McClanahan
On Mon, 2 Aug 2004 21:23:05 +0100 (BST), Research labs <[EMAIL PROTECTED]> wrote: > Jim, > > Thanks for your response. > I want each user to login to the database(MySQL), via > a JSP. Once logged in, I want them to use their > database username (specified at log in time) for > communicating with

RE: DaTASOURCE CREATION AT USER LOGIN TIME...Newbie

2004-08-02 Thread Research labs
hard. Regards. Ola. --- Jim Barrows <[EMAIL PROTECTED]> wrote: > > > > -Original Message- > > From: Research labs > [mailto:[EMAIL PROTECTED] > > Sent: Monday, August 02, 2004 1:23 PM > > To: Struts Users Mailing List > > Subject: RE:

RE: DaTASOURCE CREATION AT USER LOGIN TIME...Newbie

2004-08-02 Thread Jim Barrows
> -Original Message- > From: Research labs [mailto:[EMAIL PROTECTED] > Sent: Monday, August 02, 2004 1:23 PM > To: Struts Users Mailing List > Subject: RE: DaTASOURCE CREATION AT USER LOGIN TIME...Newbie > > > Jim, > > Thanks for your response. >

RE: DaTASOURCE CREATION AT USER LOGIN TIME...Newbie

2004-08-02 Thread Research labs
Jim, Thanks for your response. I want each user to login to the database(MySQL), via a JSP. Once logged in, I want them to use their database username (specified at log in time) for communicating with the database throught their session. To put it another way, if 4 users are currently logged in

RE: DaTASOURCE CREATION AT USER LOGIN TIME...Newbie

2004-08-02 Thread Jim Barrows
> -Original Message- > From: Research labs [mailto:[EMAIL PROTECTED] > Sent: Monday, August 02, 2004 12:15 PM > To: Struts Users Mailing List > Subject: DaTASOURCE CREATION AT USER LOGIN TIME...Newbie > > > Hello, > > Can anyone please tell me how to specify the username > and password

Re: Datasource problem again..

2004-07-20 Thread Koon Yue Lam
yes, clearly a context file for each web app is a better / wiser choice, thanks for the advice ! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Datasource problem again..

2004-07-20 Thread jthompson
ROTECTED]> | | cc:

Re: Datasource problem again..

2004-07-20 Thread Peng Tuck Kwok
Great, that's always good to hear. Also consider providing your own context xml for each app with the war file, might save you some time in server restarts. Unless you changed server.xml through the administrative interface. On Wed, 21 Jul 2004 10:24:21 +0800, Koon Yue Lam <[EMAIL PROTECTED]> wrot

Re: Datasource problem again..

2004-07-20 Thread Koon Yue Lam
Tthanks for the help for all of u ! Finally I get it done, I create a element and nest a with details of MySql in server.xml and it just work smoothly~~~ Regards - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comman

RE: Datasource problem again..

2004-07-20 Thread Jim Barrows
> -Original Message- > From: Koon Yue Lam [mailto:[EMAIL PROTECTED] > Sent: Monday, July 19, 2004 7:46 PM > To: Struts Users Mailing List > Subject: Re: Datasource problem again.. > > > Thx ! > Since I am using Tomct 5 with auto-depoly, my Webapp DOESN'

RE: Datasource problem again..

2004-07-20 Thread Jim Barrows
> -Original Message- > From: Koon Yue Lam [mailto:[EMAIL PROTECTED] > Sent: Monday, July 19, 2004 6:54 PM > To: Struts Users Mailing List; Asif Rahman > Subject: Re: Datasource problem again.. > > > Yes, it helps and I know I can get it done if I set the context

Re: Datasource problem again..

2004-07-19 Thread Koon Yue Lam
thanks for the help ! I will give it a try - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Datasource problem again..

2004-07-19 Thread Peng Tuck Kwok
You can still have a context regardless of whether you auto deploy or not. See that snippet that jthopmson sent? You can deploy that with your war file, I think the name of the xml has to match the war file name if I'm not mistaken. Then you will have a context properly setup with the datasource.

Re: Datasource problem again..

2004-07-19 Thread Koon Yue Lam
Thx !! I will try it out tonight after work !! and let u know if I sucess or not, ^^ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Datasource problem again..

2004-07-19 Thread jthompson
| | To: Struts Users Mailing List <[EMAIL PROTECTED]> | | cc:

Re: Datasource problem again..

2004-07-19 Thread Koon Yue Lam
Thx ! Since I am using Tomct 5 with auto-depoly, my Webapp DOESN'T has a element in server.xml. I think I will has a try to setup in , or should I manually all a element of my Webapp in server.xml?? Regards - To unsubscribe, e-

Re: Datasource problem again..

2004-07-19 Thread jthompson
sif Rahman <[EMAIL PROTECTED]> | | cc:

Re: Datasource problem again..

2004-07-19 Thread Koon Yue Lam
Yes, it helps and I know I can get it done if I set the context element in server.xml, but if I set the datasource in server.xml, do I need to set the in struts-config.xml again?? If I am right, I think if datasource is setup in server.xml, it has the scope of entire Tomcat, that means all webapp

Re: Datasource problem again..

2004-07-19 Thread Asif Rahman
I tried using the tags in struts-config.xml, couldnt get it work so I modified the server.xml in tomcat/conf directly. Just add a context element as follows in your server.xml This is my configuration: factory org.apache.commons.dbcp.BasicDataSourceFactory

RE: Datasource problem again..

2004-07-19 Thread Geeta Ramani
P.S. here you go: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jndi-resources-howto.html Enjoy! :) Geeta > -Original Message- > From: Koon Yue Lam [mailto:[EMAIL PROTECTED] > Sent: Monday, July 19, 2004 12:46 PM > To: Struts Users Mailing List > Subject: Datasource problem again.. > >

RE: Datasource problem again..

2004-07-19 Thread Geeta Ramani
> -Original Message- > From: Koon Yue Lam [mailto:[EMAIL PROTECTED] > Sent: Monday, July 19, 2004 12:46 PM > To: Struts Users Mailing List > Subject: Datasource problem again.. > > > > Do I need to modify the web.xml under $Tomcat/conf ?? You have to add a "Resource" element in your co