RE: Database connection pooling

2004-10-27 Thread Allistair Crossley
looks like you are using the 5.0 docs rather than 5.5 http://jakarta.apache.org/tomcat/tomcat-5.5-doc/jndi-resources-howto.html Context ... ... Resource name=jdbc/EmployeeDB auth=Container type=javax.sql.DataSource username=dbusername password=dbpassword

RE: Database connection pooling

2004-10-27 Thread Steve Kirk
see my post from yesterday RE: JNDI DataSource GlobalResources problem :) This exception means that TC cannot find your Resource. Your only guess is correct! Put your Context in either webapps/yourwebapp/META_INF/context.xml (if you are deploying in a war) or

RE: Database connection pooling

2004-10-27 Thread Steve Kirk
small correction: putting Context inside server.xml is not recommended since v5.0, not 5.5 -Original Message- From: Steve Kirk [mailto:[EMAIL PROTECTED] Sent: Wednesday 27 October 2004 13:14 To: 'Tomcat Users List' Subject: RE: Database connection pooling see my post from

Re: Database connection

2004-08-06 Thread Bhaskar Jyoti Phukan
HI Thanks a lot. I am sending the server.xml and web.xml files below. Server.xml ?xml version=1.0 encoding=utf-8 ? - Server Listener className=org.apache.catalina.mbeans.ServerLifecycleListener / Listener className=org.apache.catalina.mbeans.GlobalResourcesLifecycleListener / -

RE: [SPAM_EMAIL] - Re: Database connection - Found word(s) list error in the Text body.

2004-08-06 Thread Pradeep Chauhan
have declare application is using which resource. I need that also to tell you the excat issue. Regards, Pradeep -Original Message- From: Bhaskar Jyoti Phukan [mailto:[EMAIL PROTECTED] Sent: 06.08.2004 16:49 To: Tomcat Users List Subject: [SPAM_EMAIL] - Re: Database connection - Found

RE: Database connection problems after redeploying war

2004-06-14 Thread Arikawe, Akindele (DeleArikawe)
Please can you help me. I do I stop receiving emails from this community? It's filling up my mail box rapidly Thanks -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, June 11, 2004 9:28 PM To: [EMAIL PROTECTED] Subject: Re: Database connection problems

RE: Database connection problems after redeploying war

2004-06-14 Thread Tom . Williams
] cc 06/14/2004 01:06 AMSubject RE: Database connection problems

RE: Database connection problems after redeploying war

2004-06-12 Thread Chad Boyd
to restart Tomcat. -Original Message- From: Chad Boyd Sent: Friday, June 11, 2004 10:01 PM To: Tomcat Users List Subject: RE: Database connection problems after redeploying war How about the original question. It seems we got off subject here. Can someone please read the original post

RE: Database connection problems after redeploying war

2004-06-12 Thread Tom . Williams
Subject Please respond to RE: Database connection problems Tomcat Users after redeploying war List

RE: Database connection problems after redeploying war

2004-06-12 Thread Chad Boyd
Just a side note. I couldn't get this to work in Tomcat 5.0.19. I had to upgrade to 5.0.25. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Saturday, June 12, 2004 2:27 PM To: [EMAIL PROTECTED] Subject: RE: Database connection problems after redeploying war

Re: Database connection problems after redeploying war

2004-06-11 Thread Tom . Williams
We've got the exact same issue in our environment at all. Every time we define a datasource, we have to restart Tomcat so that datasource can be accessed. Additionally, when using a traditional web server frontend, like Apache or IIS, with mod_jk or mod_jk2, we have to restart the web

RE: Database connection problems after redeploying war

2004-06-11 Thread Joyce Li
: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, June 11, 2004 1:28 PM To: [EMAIL PROTECTED] Subject: Re: Database connection problems after redeploying war We've got the exact same issue in our environment at all. Every time we define a datasource, we have to restart Tomcat so

RE: Database connection problems after redeploying war

2004-06-11 Thread Hans
To: [EMAIL PROTECTED] Subject: Re: Database connection problems after redeploying war We've got the exact same issue in our environment at all. Every time we define a datasource, we have to restart Tomcat so that datasource can be accessed. Additionally, when using a traditional web server

RE: Database connection problems after redeploying war

2004-06-11 Thread Hans
: Database connection problems after redeploying war We've got the exact same issue in our environment at all. Every time we define a datasource, we have to restart Tomcat so that datasource can be accessed. Additionally, when using a traditional web server frontend, like Apache or IIS, with mod_jk

RE: Database connection problems after redeploying war

2004-06-11 Thread Joyce Li
! -Original Message- From: Hans [mailto:[EMAIL PROTECTED] Sent: Friday, June 11, 2004 2:29 PM To: Tomcat Users List; 'Tomcat Users List' Subject: RE: Database connection problems after redeploying war Oops! Misread the stacktrace I am afraid my previous mail does not apply to your problem

RE: Database connection problems after redeploying war

2004-06-11 Thread Chad Boyd
on the similar problem. Thanks again! -Original Message- From: Hans [mailto:[EMAIL PROTECTED] Sent: Friday, June 11, 2004 2:29 PM To: Tomcat Users List; 'Tomcat Users List' Subject: RE: Database connection problems after redeploying war Oops! Misread the stacktrace I am afraid my

RE: Database connection going from servlet to a bean

2004-03-22 Thread Mike Curwen
There is a jspInit() method in a JSP that you can 'override' by doing: %! public void jspInit() { } % So the answer for 'how' is; the same way -Original Message- From: Tom K [mailto:[EMAIL PROTECTED] Sent: Monday, March 22, 2004 12:58 PM To: [EMAIL PROTECTED] Subject:

RE: Database connection going from servlet to a bean

2004-03-22 Thread Tom K
where do I release my connection back into the pool? TIA Tom K. -Original Message- From: Mike Curwen [mailto:[EMAIL PROTECTED] Sent: Monday, March 22, 2004 1:31 PM To: 'Tomcat Users List' Subject: RE: Database connection going from servlet to a bean There is a jspInit() method in a JSP

RE: Database connection going from servlet to a bean

2004-03-22 Thread Shapira, Yoav
Hi, Mike thanks for the feedback, but is this the practical solution? For example, I am using a connection pool, the init is only done once, the bean does the processing, after the processing it done (that is the beans set their properties) the results are forwarded to another jsp for viewing,

RE: Database connection going from servlet to a bean

2004-03-22 Thread Mike Curwen
*) ;) -Original Message- From: Tom K [mailto:[EMAIL PROTECTED] Sent: Monday, March 22, 2004 1:40 PM To: 'Tomcat Users List' Subject: RE: Database connection going from servlet to a bean Mike thanks for the feedback, but is this the practical solution? For example, I am using a connection pool

RE: Database connection going from servlet to a bean

2004-03-22 Thread Tom K
:42 PM To: Tomcat Users List Subject: RE: Database connection going from servlet to a bean Hi, Mike thanks for the feedback, but is this the practical solution? For example, I am using a connection pool, the init is only done once, the bean does the processing, after the processing it done

Re: database connection in web.xml

2003-10-16 Thread Tim Funk
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jndi-datasource-examples-howto.html -Tim Luke Vanderfluit wrote: Hi, I want to specify a database connection in the web.xml file for an application. How do I do this? Where can I find docs to describe it, Thanks, kind regards, Luke

Re: database connection

2003-08-14 Thread Kristian A. Leth
There is an discussion about the same at Sun. http://forum.java.sun.com/thread.jsp?thread=386190forum=48message=1660462 I would use a datasource or pool to ensure a flow in the application unless you're very sure, that your connection implementation allows concurrent statements to be executed

RE: database connection pooling

2003-07-29 Thread Shapira, Yoav
Howdy, Why did you upgrade to 4.1.23? Or was that just a typo and you're really using 4.1.24 (as you should be)? ;) Yoav Shapira Millennium ChemInformatics -Original Message- From: Hans Wichman [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 29, 2003 3:38 AM To: [EMAIL PROTECTED]

RE: database connection pooling

2003-07-29 Thread Hans Wichman
Oops, yes that was a typo (phpdev423 is in the same directory with installers ;-))). greetz Hans At 08:51 AM 7/29/2003 -0400, Shapira, Yoav wrote: Howdy, Why did you upgrade to 4.1.23? Or was that just a typo and you're really using 4.1.24 (as you should be)? ;) Yoav Shapira Millennium

Re: Database connection No suitable driver?

2003-06-04 Thread Nikola Milutinovic
Yes. Then there is something wrong with JDBC URL you're using to connect. That message is actually from DriverManager/DataSource code. Nix.

RE: Database connection No suitable driver?

2003-06-04 Thread Terje Hopsø
:[EMAIL PROTECTED] Sent: 3. juni 2003 14:51 To: Tomcat Users List Subject: Re: Database connection No suitable driver? Yes. Then there is something wrong with JDBC URL you're using to connect. That message is actually from DriverManager/DataSource code. Nix

RE: Database connection No suitable driver? SOLVED

2003-06-04 Thread Terje Hopsø
: Nikola Milutinovic [mailto:[EMAIL PROTECTED] Sent: 3. juni 2003 14:51 To: Tomcat Users List Subject: Re: Database connection No suitable driver? Yes. Then there is something wrong with JDBC URL you're using to connect. That message is actually from DriverManager/DataSource code. Nix

RE: Database connection No suitable driver? SOLVED

2003-06-04 Thread Terje Hopsø
And crossContext=true that I also had set to false. - Terje -Original Message- From: Terje Hopsø [mailto:[EMAIL PROTECTED] Sent: 3. juni 2003 22:22 To: 'Tomcat Users List' Subject: RE: Database connection No suitable driver? SOLVED It seems that the problem was in context

RE: Database connection No suitable driver?

2003-06-03 Thread John Moore
We also put jdbc2_0-stdext.jar in the common/lib directy. -Original Message- From: Terje Hopsø [mailto:[EMAIL PROTECTED] Sent: Monday, June 02, 2003 2:54 PM To: 'Tomcat Users List' Subject: Database connection No suitable driver? Hello, I have to ask you once again. I have tried

RE: Database connection No suitable driver?

2003-06-03 Thread Terje Hopsø
It is there. Tomcat version is 4.1.24. - Terje -Original Message- From: John Moore [mailto:[EMAIL PROTECTED] Sent: 3. juni 2003 00:05 To: 'Tomcat Users List' Subject: RE: Database connection No suitable driver? We also put jdbc2_0-stdext.jar in the common/lib directy

RE: Database connection No suitable driver?

2003-06-03 Thread John Moore
Hopsø [mailto:[EMAIL PROTECTED] Sent: Monday, June 02, 2003 3:12 PM To: 'Tomcat Users List' Subject: RE: Database connection No suitable driver? It is there. Tomcat version is 4.1.24. - Terje -Original Message- From: John Moore [mailto:[EMAIL PROTECTED] Sent: 3. juni 2003 00:05

Re: Database connection No suitable driver?

2003-06-03 Thread Nikola Milutinovic
Your config looks fine. Have you placed Sybase's JDBC driver into ${CATALINA_HOME}/common/lib/? Nix.

RE: Database connection No suitable driver?

2003-06-03 Thread Terje Hopsø
Yes. - Terje -Original Message- From: Nikola Milutinovic [mailto:[EMAIL PROTECTED] Sent: 3. juni 2003 07:24 To: Tomcat Users List Subject: Re: Database connection No suitable driver? Your config looks fine. Have you placed Sybase's JDBC driver into ${CATALINA_HOME}/common/lib/? Nix

RE: Database connection No suitable driver?

2003-06-03 Thread Terje Hopsø
I tried this now but I still get the same error. - Terje -Original Message- From: John Moore [mailto:[EMAIL PROTECTED] Sent: 3. juni 2003 00:41 To: 'Tomcat Users List' Subject: RE: Database connection No suitable driver? One other idea, we have the Resource and ResourceParams

Re: DataBase connection pooling.

2002-12-16 Thread echambe1
Andoni: Tomcat 4.1.x uses the Database Connection Pool from the Apache Commons Project. by default, meaning it is also shipped with it. This is what I have been using and have not come across any problems that effect the web applications I develop. Thanks, Ej Andoni [EMAIL PROTECTED] on

Re: DataBase connection pooling.

2002-12-16 Thread Mauro Brändle
I use the connection pool that comes with Tomcat 4.1.12 to connect my servlets to an IBM DB2 7.1 database and apart an initial problem in configuring Tomcat all works fine. Greetings Mauro Brändle Andoni wrote: Hello, Do you all write your own connection pooling code or is there some open

RE: Database connection - Catalina

2002-06-19 Thread Skorupski Pawel ,(PZUZ)
I put jdbc driver in all directories, in regular directory and in jar file. In Tomcat 3.2 it worked, not in 4.0. Pawel -Original Message- From: John Gregg [mailto:[EMAIL PROTECTED]] Sent: Monday, June 17, 2002 7:12 PM To: 'Tomcat Users List' Subject: RE: Database connection - Catalina

RE: Database connection - Catalina

2002-06-19 Thread Vikramjit Singh
connection - Catalina I put jdbc driver in all directories, in regular directory and in jar file. In Tomcat 3.2 it worked, not in 4.0. Pawel -Original Message- From: John Gregg [mailto:[EMAIL PROTECTED]] Sent: Monday, June 17, 2002 7:12 PM To: 'Tomcat Users List' Subject: RE: Database

RE: Database connection - Catalina

2002-06-19 Thread Skorupski Pawel ,(PZUZ)
: RE: Database connection - Catalina you have to put all your jar files in common/lib. Regards, Vikramjit Singh, Systems Engineer, GTL Ltd. Ph. 7612929-1031 -Original Message- From: Skorupski Pawel ,(PZUZ) [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 19, 2002 1:34 AM To: 'Tomcat

RE: Database connection Pooling and other questions

2002-01-16 Thread Sanjay Chopra
Gerry Have you had a look at: http://jakarta.apache.org/tomcat/tomcat-4.0-doc/jndi-resources-howto.html Tyrex and all... I think this should help, unless I am missing something completely.. cheers Sanjay -Original Message- From: Gerry Duhig [mailto:[EMAIL PROTECTED]] Sent:

Re: Database connection pool scope

2001-02-27 Thread Valeriy Molyakov
? This method - multithreading ? - Original Message - From: "Jon Crater" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, February 26, 2001 6:35 PM Subject: Re: Database connection pool scope the singleton is just a concrete java class that ensures only one instance

RE: Database connection pool scope

2001-02-26 Thread Randy Layman
First of all, there are several connection pools avaiable, so you might want to look at those before you decide that re-inventing the wheel is a good thing. Second, most connection pools work by using static classes. Your code would look something like: Connection conn

RE: Database connection pool scope

2001-02-26 Thread Jon Crater
lass which creates and manages jdbc connections. -jc Original Message Follows From: Randy Layman [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: RE: Database connection pool scope Date: Mon, 26 Feb 2001 07:58:53 -0500 First of all, there are several

Re: Database connection pool scope

2001-02-26 Thread Valeriy Molyakov
Two questions: What is the singleton? Where it is possible to receive such class ? - Original Message - From: "Jon Crater" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, February 26, 2001 5:17 PM Subject: RE: Database connection pool scope i use a connection pool

Re: database connection problem when run nt service

2000-12-20 Thread H Deng
Thanks Steve and Jared, after changing user DSN to System DSN, it worked. The nt service is also worked after logoff when it started with jdk1.2.2 From: Steve Ruby [EMAIL PROTECTED] Make sure the DSN you are trying to get to is a System DSN and not a User DSN, tomcat will run as a different

RE: database connection problem when run nt service

2000-12-19 Thread H Deng
Thanks for the tip. It does not seem to be related with the user permission since the same code works fine when tomcat is running as a stand alone application(startup). The problem only appears when tomcat is running as a service(net start jakarta). The exception I get is

Re: database connection problem when run nt service

2000-12-19 Thread Steve Ruby
Make sure the DSN you are trying to get to is a System DSN and not a User DSN, tomcat will run as a different user when run as a service unless you specify otherwise. User DSN can only be seen by the user it was created by. H Deng wrote: Thanks for the tip. It does not seem to be related

RE: database connection problem when run nt service

2000-12-18 Thread Jared Clinton
I am extremly new to tomcat, although I suspect that it is to do with the NT user that tha service logs in as and the permissions in the database that the user has? ?Stab in the dark? Jared Clinton. -Original Message- From: H Deng [mailto:[EMAIL PROTECTED]] Sent: Tuesday, 19

Re: Database connection pooling

2000-12-12 Thread Dave Smith
The bitmechanic connection pool is excellent. Easy to use and free, opensource. What more does anyone want? Dave - Original Message - From: "Edson Carlos Ericksson Richter" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, December 12, 2000 3:12 PM Subject: RES: Database

Re: Database connection pooling with tomcat

2000-11-22 Thread Julio Serje (@canada.com)
- Original Message - From: Kaushal Patel [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, November 22, 2000 10:46 AM Subject: Database connection pooling with tomcat Question What is the best way to do connection pooling to multiple oracle database with

Re: Database connection pooling with tomcat

2000-11-22 Thread Julio Serje (@canada.com)
Hi, Kaushal, I haven't used that specific conn pool, but looks like that you are having a CLASSPATH problem. - first, make sure that your drivers (and your poolmanager jars) are available using the global classpath of Tomcat. You'll have to modify startup.sh in order to include them in the

Re: Database connection pooling with tomcat

2000-11-22 Thread Daniel Leong
What am I missing any help would be appreciated !! Question 1 Has anyone got this working ? Yep Question 2 What is the best way to do connection pooling with tomcat ? *shrug* I use PoolMan 1.4 too. P.S. I tired running the test PoolMan.jsp util page they provide and got this below

Re: Database connection pooling with tomcat

2000-11-22 Thread Mike Tinnes
is that PoolMan preloads all the configured databases even though you may never use them. -- Mike - Original Message - From: "Julio Serje (@canada.com)" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, November 22, 2000 11:50 AM Subject: Re: Database connection pooling w