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
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
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
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
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
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
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.
-
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
> -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.
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
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:
> -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.
>
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
> -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
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]
ROTECTED]>
|
| cc:
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
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
> -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'
> -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
thanks for the help ! I will give it a try
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
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.
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]
|
| To: Struts Users Mailing List <[EMAIL PROTECTED]>
|
| cc:
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-
sif Rahman <[EMAIL
PROTECTED]> |
| cc:
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
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
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..
>
>
> -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
30 matches
Mail list logo