Re: Connection Pool: JPetStore Database Layer
So maybe you can help me with the problem? I have posted the problem in Commons list and here, but have got no answer so far. Thanks. And to be precise, the error is not closed connection, but broken pipe. --- Adam Hardy [EMAIL PROTECTED] wrote: I just checked the Apache bugzilla and couldn't find any bugs on this (I queried using closed or connection and got 23 hits). There are 2 bugs about closed connections, but they are both resolved - http://issues.apache.org/bugzilla/show_bug.cgi?id=9073 http://issues.apache.org/bugzilla/show_bug.cgi?id=8620 I'm using version 1.0 too. Not had any problems with it. I see there was no reply to that message you quote either. Adam FrenzyGNX wrote: There is a bug in DBCP that will return closed connections, even if the validation query is set. http://www.mail-archive.com/[EMAIL PROTECTED]/msg66565.html Also due to the very fact that it is removed from Struts 1.1rc2, and there were some discussions regarding it in this list earlier on. --- Adam Hardy [EMAIL PROTECTED] wrote: FrenzyGNX wrote: My personal experience with DBCP is not good. I would avoid it in my next project. From what point of view were you disappointed? Adam - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] __ Do You Yahoo!? Send free SMS from your PC! http://sg.sms.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] __ Do You Yahoo!? Send free SMS from your PC! http://sg.sms.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Connection Pool: JPetStore Database Layer
love to help but how? I searched for a bug in the Commons bugzilla and didn't find one - your best bet would be to establish a test case for the problem and post it in bugzilla - you don't need to be an Apache developer to search or add bugs to their bugzilla. FrenzyGNX wrote: So maybe you can help me with the problem? I have posted the problem in Commons list and here, but have got no answer so far. Thanks. And to be precise, the error is not closed connection, but broken pipe. --- Adam Hardy [EMAIL PROTECTED] wrote: I just checked the Apache bugzilla and couldn't find any bugs on this (I queried using closed or connection and got 23 hits). There are 2 bugs about closed connections, but they are both resolved - http://issues.apache.org/bugzilla/show_bug.cgi?id=9073 http://issues.apache.org/bugzilla/show_bug.cgi?id=8620 I'm using version 1.0 too. Not had any problems with it. I see there was no reply to that message you quote either. Adam FrenzyGNX wrote: There is a bug in DBCP that will return closed connections, even if the validation query is set. http://www.mail-archive.com/[EMAIL PROTECTED]/msg66565.html Also due to the very fact that it is removed from Struts 1.1rc2, and there were some discussions regarding it in this list earlier on. --- Adam Hardy [EMAIL PROTECTED] wrote: FrenzyGNX wrote: My personal experience with DBCP is not good. I would avoid it in my next project. From what point of view were you disappointed? Adam - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] __ Do You Yahoo!? Send free SMS from your PC! http://sg.sms.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] __ Do You Yahoo!? Send free SMS from your PC! http://sg.sms.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Connection Pool: JPetStore Database Layer
Thanks. I have submitted a bug report. --- Adam Hardy [EMAIL PROTECTED] wrote: love to help but how? I searched for a bug in the Commons bugzilla and didn't find one - your best bet would be to establish a test case for the problem and post it in bugzilla - you don't need to be an Apache developer to search or add bugs to their bugzilla. FrenzyGNX wrote: So maybe you can help me with the problem? I have posted the problem in Commons list and here, but have got no answer so far. Thanks. And to be precise, the error is not closed connection, but broken pipe. --- Adam Hardy [EMAIL PROTECTED] wrote: I just checked the Apache bugzilla and couldn't find any bugs on this (I queried using closed or connection and got 23 hits). There are 2 bugs about closed connections, but they are both resolved - http://issues.apache.org/bugzilla/show_bug.cgi?id=9073 http://issues.apache.org/bugzilla/show_bug.cgi?id=8620 I'm using version 1.0 too. Not had any problems with it. I see there was no reply to that message you quote either. Adam FrenzyGNX wrote: There is a bug in DBCP that will return closed connections, even if the validation query is set. http://www.mail-archive.com/[EMAIL PROTECTED]/msg66565.html Also due to the very fact that it is removed from Struts 1.1rc2, and there were some discussions regarding it in this list earlier on. --- Adam Hardy [EMAIL PROTECTED] wrote: FrenzyGNX wrote: My personal experience with DBCP is not good. I would avoid it in my next project. From what point of view were you disappointed? Adam - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] __ Do You Yahoo!? Send free SMS from your PC! http://sg.sms.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] __ Do You Yahoo!? Send free SMS from your PC! http://sg.sms.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] __ Do You Yahoo!? Send free SMS from your PC! http://sg.sms.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Connection Pool: JPetStore Database Layer
FrenzyGNX wrote: My personal experience with DBCP is not good. I would avoid it in my next project. From what point of view were you disappointed? Adam - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Connection Pool: JPetStore Database Layer
There is a bug in DBCP that will return closed connections, even if the validation query is set. http://www.mail-archive.com/[EMAIL PROTECTED]/msg66565.html Also due to the very fact that it is removed from Struts 1.1rc2, and there were some discussions regarding it in this list earlier on. --- Adam Hardy [EMAIL PROTECTED] wrote: FrenzyGNX wrote: My personal experience with DBCP is not good. I would avoid it in my next project. From what point of view were you disappointed? Adam - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] __ Do You Yahoo!? Send free SMS from your PC! http://sg.sms.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Connection Pool: JPetStore Database Layer
I just checked the Apache bugzilla and couldn't find any bugs on this (I queried using closed or connection and got 23 hits). There are 2 bugs about closed connections, but they are both resolved - http://issues.apache.org/bugzilla/show_bug.cgi?id=9073 http://issues.apache.org/bugzilla/show_bug.cgi?id=8620 I'm using version 1.0 too. Not had any problems with it. I see there was no reply to that message you quote either. Adam FrenzyGNX wrote: There is a bug in DBCP that will return closed connections, even if the validation query is set. http://www.mail-archive.com/[EMAIL PROTECTED]/msg66565.html Also due to the very fact that it is removed from Struts 1.1rc2, and there were some discussions regarding it in this list earlier on. --- Adam Hardy [EMAIL PROTECTED] wrote: FrenzyGNX wrote: My personal experience with DBCP is not good. I would avoid it in my next project. From what point of view were you disappointed? Adam - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] __ Do You Yahoo!? Send free SMS from your PC! http://sg.sms.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Connection Pool: JPetStore Database Layer
Found it. But as expected, there is only one real connection. Maybe I can use commons-dbcp package. -Original Message- From: Yansheng Lin [mailto:[EMAIL PROTECTED] Sent: June 24, 2003 1:24 PM To: 'Struts Users Mailing List' Subject: Connection Pool: JPetStore Database Layer Ok, for my next personal project(an online language translator that displays multiple results), I decided to go with ibatis database layer(from JPetStore) for db access. And I expect that a lot of people are going to use my state-of-art system:). So I need (a) connection pool(s) so that db access won't be the determining factor in my application. Which classes I need to modify in the database layer? Or I have to create a new ConnectionPool package and get connection from there? Any help is greatly appreciated! Yan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Connection Pool: JPetStore Database Layer
can some body give me the 1.complete list of instructions for running a sample struts application and 2. also list of jar files and link to down load the jar files I am getting ParserConfiguration Exception and I am unable to start the server properly Thanks KiranKumar (Raj) ext 7203 -Original Message- From: Yansheng Lin [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 24, 2003 4:23 PM To: 'Struts Users Mailing List' Subject: RE: Connection Pool: JPetStore Database Layer Found it. But as expected, there is only one real connection. Maybe I can use commons-dbcp package. -Original Message- From: Yansheng Lin [mailto:[EMAIL PROTECTED] Sent: June 24, 2003 1:24 PM To: 'Struts Users Mailing List' Subject: Connection Pool: JPetStore Database Layer Ok, for my next personal project(an online language translator that displays multiple results), I decided to go with ibatis database layer(from JPetStore) for db access. And I expect that a lot of people are going to use my state-of-art system:). So I need (a) connection pool(s) so that db access won't be the determining factor in my application. Which classes I need to modify in the database layer? Or I have to create a new ConnectionPool package and get connection from there? Any help is greatly appreciated! Yan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Connection Pool: JPetStore Database Layer
I need the jar files urgently Thanks KiranKumar (Raj) ext 7203 -Original Message- From: Yansheng Lin [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 24, 2003 4:23 PM To: 'Struts Users Mailing List' Subject: RE: Connection Pool: JPetStore Database Layer Found it. But as expected, there is only one real connection. Maybe I can use commons-dbcp package. -Original Message- From: Yansheng Lin [mailto:[EMAIL PROTECTED] Sent: June 24, 2003 1:24 PM To: 'Struts Users Mailing List' Subject: Connection Pool: JPetStore Database Layer Ok, for my next personal project(an online language translator that displays multiple results), I decided to go with ibatis database layer(from JPetStore) for db access. And I expect that a lot of people are going to use my state-of-art system:). So I need (a) connection pool(s) so that db access won't be the determining factor in my application. Which classes I need to modify in the database layer? Or I have to create a new ConnectionPool package and get connection from there? Any help is greatly appreciated! Yan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Connection Pool: JPetStore Database Layer
Thanks KiranKumar (Raj) ext 7203 -Original Message- From: Yansheng Lin [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 24, 2003 4:23 PM To: 'Struts Users Mailing List' Subject: RE: Connection Pool: JPetStore Database Layer Found it. But as expected, there is only one real connection. Maybe I can use commons-dbcp package. -Original Message- From: Yansheng Lin [mailto:[EMAIL PROTECTED] Sent: June 24, 2003 1:24 PM To: 'Struts Users Mailing List' Subject: Connection Pool: JPetStore Database Layer Ok, for my next personal project(an online language translator that displays multiple results), I decided to go with ibatis database layer(from JPetStore) for db access. And I expect that a lot of people are going to use my state-of-art system:). So I need (a) connection pool(s) so that db access won't be the determining factor in my application. Which classes I need to modify in the database layer? Or I have to create a new ConnectionPool package and get connection from there? Any help is greatly appreciated! Yan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Connection Pool: JPetStore Database Layer
I'll get right on that then :-( Steve -Original Message- From: Kumar, Kiran [mailto:[EMAIL PROTECTED] Sent: June 24, 2003 1:42 PM To: 'Struts Users Mailing List' Subject: RE: Connection Pool: JPetStore Database Layer I need the jar files urgently Thanks KiranKumar (Raj) ext 7203 -Original Message- From: Yansheng Lin [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 24, 2003 4:23 PM To: 'Struts Users Mailing List' Subject: RE: Connection Pool: JPetStore Database Layer Found it. But as expected, there is only one real connection. Maybe I can use commons-dbcp package. -Original Message- From: Yansheng Lin [mailto:[EMAIL PROTECTED] Sent: June 24, 2003 1:24 PM To: 'Struts Users Mailing List' Subject: Connection Pool: JPetStore Database Layer Ok, for my next personal project(an online language translator that displays multiple results), I decided to go with ibatis database layer(from JPetStore) for db access. And I expect that a lot of people are going to use my state-of-art system:). So I need (a) connection pool(s) so that db access won't be the determining factor in my application. Which classes I need to modify in the database layer? Or I have to create a new ConnectionPool package and get connection from there? Any help is greatly appreciated! Yan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Connection Pool: JPetStore Database Layer
:-)) Thanks KiranKumar (Raj) ext 7203 -Original Message- From: Steve Raeburn [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 24, 2003 5:03 PM To: Struts Users Mailing List Subject: RE: Connection Pool: JPetStore Database Layer I'll get right on that then :-( Steve -Original Message- From: Kumar, Kiran [mailto:[EMAIL PROTECTED] Sent: June 24, 2003 1:42 PM To: 'Struts Users Mailing List' Subject: RE: Connection Pool: JPetStore Database Layer I need the jar files urgently Thanks KiranKumar (Raj) ext 7203 -Original Message- From: Yansheng Lin [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 24, 2003 4:23 PM To: 'Struts Users Mailing List' Subject: RE: Connection Pool: JPetStore Database Layer Found it. But as expected, there is only one real connection. Maybe I can use commons-dbcp package. -Original Message- From: Yansheng Lin [mailto:[EMAIL PROTECTED] Sent: June 24, 2003 1:24 PM To: 'Struts Users Mailing List' Subject: Connection Pool: JPetStore Database Layer Ok, for my next personal project(an online language translator that displays multiple results), I decided to go with ibatis database layer(from JPetStore) for db access. And I expect that a lot of people are going to use my state-of-art system:). So I need (a) connection pool(s) so that db access won't be the determining factor in my application. Which classes I need to modify in the database layer? Or I have to create a new ConnectionPool package and get connection from there? Any help is greatly appreciated! Yan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Connection Pool: JPetStore Database Layer
Install tomcat, then find a war file from the struts source download, copy it to tomcat/webapps directory, finally run tomcat. You should be able to go to your demo page at http://localhost:8080/sample. BTW, can you change the subject next time. I was hoping to hear someone who's familiar with the petstore example and the database layer. I didn't want to 'mess' up a beautiful project before diving into it(my use of DAO and externalized sql pains me). The Mapper project someone told me about was good too, but maybe a bit too simple and I am not sure how to make it work with DAO framework. -Original Message- From: Kumar, Kiran [mailto:[EMAIL PROTECTED] Sent: June 24, 2003 2:39 PM To: 'Struts Users Mailing List' Subject: RE: Connection Pool: JPetStore Database Layer can some body give me the 1.complete list of instructions for running a sample struts application and 2. also list of jar files and link to down load the jar files I am getting ParserConfiguration Exception and I am unable to start the server properly Thanks KiranKumar (Raj) ext 7203 -Original Message- From: Yansheng Lin [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 24, 2003 4:23 PM To: 'Struts Users Mailing List' Subject: RE: Connection Pool: JPetStore Database Layer Found it. But as expected, there is only one real connection. Maybe I can use commons-dbcp package. -Original Message- From: Yansheng Lin [mailto:[EMAIL PROTECTED] Sent: June 24, 2003 1:24 PM To: 'Struts Users Mailing List' Subject: Connection Pool: JPetStore Database Layer Ok, for my next personal project(an online language translator that displays multiple results), I decided to go with ibatis database layer(from JPetStore) for db access. And I expect that a lot of people are going to use my state-of-art system:). So I need (a) connection pool(s) so that db access won't be the determining factor in my application. Which classes I need to modify in the database layer? Or I have to create a new ConnectionPool package and get connection from there? Any help is greatly appreciated! Yan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Connection Pool: JPetStore Database Layer
My personal experience with DBCP is not good. I would avoid it in my next project. --- Yansheng Lin [EMAIL PROTECTED] wrote: Found it. But as expected, there is only one real connection. Maybe I can use commons-dbcp package. -Original Message- From: Yansheng Lin [mailto:[EMAIL PROTECTED] Sent: June 24, 2003 1:24 PM To: 'Struts Users Mailing List' Subject: Connection Pool: JPetStore Database Layer Ok, for my next personal project(an online language translator that displays multiple results), I decided to go with ibatis database layer(from JPetStore) for db access. And I expect that a lot of people are going to use my state-of-art system:). So I need (a) connection pool(s) so that db access won't be the determining factor in my application. Which classes I need to modify in the database layer? Or I have to create a new ConnectionPool package and get connection from there? Any help is greatly appreciated! Yan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] __ Do You Yahoo!? Send free SMS from your PC! http://sg.sms.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]