Re: web application - student need help Thank You's

2007-01-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mike, Michael Ni wrote: So during login, after a person enters his username and password, it will check to see if the username exists in the person table. If it does exist, it will verify the password and return his permission. That

RE: web application - student need help

2007-01-08 Thread Ross, Scott
Users List Subject: RE: web application - student need help | From: Michael Ni [mailto:[EMAIL PROTECTED] | Sent: Friday, 05 January, 2007 16:38 | | even with connection pooling, how many connections are we looking at here? | if my project works as intended, im predicting from 30 to 1000 poeple

RE: web application - student need help

2007-01-08 Thread Nelson, Tracy M.
-a-slashdotting-with-a-celeron -466-my-slashdot-experience/ | -Original Message- | From: Ross, Scott [mailto:[EMAIL PROTECTED] | Sent: Monday, 08 January, 2007 10:24 | To: Tomcat Users List | Subject: RE: web application - student need help | | Tracy Nelson. | Out of curiosity, can you point to some

Re: web application - student need help

2007-01-08 Thread chaitya shah
well tracy i have to dfind hw traffic should be control bt ya for database u have to use JDBC pool bean it ll make ur application much fast.. On 1/8/07, Nelson, Tracy M. [EMAIL PROTECTED] wrote: | From: Michael Ni [mailto:[EMAIL PROTECTED] | Sent: Friday, 05 January, 2007 16:38 | | even with

Re: web application - student need help

2007-01-08 Thread Andrew Miehs
| | i remember when websites like friendster.com came out, it was really | slow. | | now it is much faster, do you guys know where does a student learn | | about how to handle high traffic web applications? is there any | | classes? http://www.kegel.com/c10k.html is a good place to start

RE: web application - student need help Thank You's

2007-01-08 Thread Michael Ni
I just want to thank everyone who provided input to my question. I am going to try to set up the connection pool. By the way. I have another question about authentication to websites. For authentication, currently I bascially have a Person table, where one field is your permission. example

RE: web application - student need help Thank You's

2007-01-08 Thread Narayanaswamy, Mohan
application - student need help Thank You's I just want to thank everyone who provided input to my question. I am going to try to set up the connection pool. By the way. I have another question about authentication to websites. For authentication, currently I bascially have a Person table, where

Re: web application - student need help

2007-01-08 Thread Michael Ni
List users@tomcat.apache.org To: Tomcat Users List users@tomcat.apache.org Subject: Re: web application - student need help Date: Sun, 7 Jan 2007 15:59:16 -0800 (PST) For configuring a connection pool, follow this URL: http://jakarta.apache.org/commons/dbcp/configuration.html 1. The JDBC driver JAR

Re: web application - student need help

2007-01-07 Thread Caroline Jen
@tomcat.apache.org To: Tomcat Users List users@tomcat.apache.org Subject: Re: web application - student need help Date: Fri, 5 Jan 2007 13:42:18 -0800 (PST) Did you configure a connection pool in Tomcat? Then, get a connection object from the pool for each data search method invocation. I am at work

Re: web application - student need help

2007-01-07 Thread Andre Prasetya
When the jsp shows error, its about exception right ? what is the exception and what does it says ? On 1/6/07, Michael Ni [EMAIL PROTECTED] wrote: Hi i'm doing a web application to help manage players for the online game Final Fantasy XI. Im using tomcat, sqlserver2000, and jsp. both

Re: web application - student need help

2007-01-07 Thread chaitya shah
I think u should use JDBC POOL BEAN concept upto my knowledge after using this concept it will not hang ur jsp page n by d way wht error it throw?? On 1/8/07, Andre Prasetya [EMAIL PROTECTED] wrote: When the jsp shows error, its about exception right ? what is the exception and what does it

Re: web application - student need help

2007-01-07 Thread Andre Prasetya
When the jsp shows error, its about exception right ? what is the exception and what does it says ? On 1/6/07, Michael Ni [EMAIL PROTECTED] wrote: Hi i'm doing a web application to help manage players for the online game Final Fantasy XI. Im using tomcat, sqlserver2000, and jsp. both

Re: web application - student need help

2007-01-05 Thread Darek Czarkowski
Michael Ni wrote: the web application uses simple queries, like search a table for a certain condition. i realize when multiple people access the database it hangs, and causes the jsp pages to error. Just a guess, your connection to the database is a problem, perhaps errors in queries, not

Re: web application - student need help

2007-01-05 Thread Michael Ni
=\50\ + rs.getString(itemname_en) + /td/tr); } % From: Darek Czarkowski [EMAIL PROTECTED] Reply-To: Tomcat Users List users@tomcat.apache.org To: Tomcat Users List users@tomcat.apache.org Subject: Re: web application - student need help Date: Fri, 05 Jan 2007 12:52:19 -0800 Michael Ni wrote

Re: web application - student need help

2007-01-05 Thread Caroline Jen
Subject: Re: web application - student need help Date: Fri, 05 Jan 2007 12:52:19 -0800 Michael Ni wrote: the web application uses simple queries, like search a table for a certain condition. i realize when multiple people access the database it hangs, and causes the jsp pages to error

Re: web application - student need help

2007-01-05 Thread Darek Czarkowski
Michael Ni wrote: public ResultSet getData(String queryStr) throws Exception { try { DBConstants db = new DBConstants(); Class.forName(db.getDrivername()); Connection conn; conn =

Re: web application - student need help

2007-01-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Michael, Michael Ni wrote: i don't get any error when there isn't that much traffic but i dont close my jdbc connections, could that be a problem? Oh, yeah. Failing to close connections is very likely to give you errors, as you will end up

Re: web application - student need help

2007-01-05 Thread tony81chi
You need to configure your database connection pool so that it accepts unlimited users or the certain limit that you require. Check the tomcat website for the syntax.

Re: web application - student need help

2007-01-05 Thread Martin Gainty
@tomcat.apache.org Sent: Friday, January 05, 2007 4:42 PM Subject: Re: web application - student need help Did you configure a connection pool in Tomcat? Then, get a connection object from the pool for each data search method invocation. I am at work now. I do not have the configuration

Re: web application - student need help

2007-01-05 Thread Michael Ni
thx caroline From: Caroline Jen [EMAIL PROTECTED] Reply-To: Tomcat Users List users@tomcat.apache.org To: Tomcat Users List users@tomcat.apache.org Subject: Re: web application - student need help Date: Fri, 5 Jan 2007 13:42:18 -0800 (PST) Did you configure a connection pool in Tomcat

Re: web application - student need help

2007-01-05 Thread Michael Ni
Subject: Re: web application - student need help Date: Fri, 05 Jan 2007 17:10:13 -0500 -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Michael, Michael Ni wrote: i don't get any error when there isn't that much traffic but i dont close my jdbc connections, could that be a problem? Oh, yeah

Re: web application - student need help

2007-01-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Michael, Michael Ni wrote: even with connection pooling, how many connections are we looking at here? if my project works as intended, im predicting from 30 to 1000 poeple simultaneously hitting tomcat and sql server. What you really need to

Re: web application - student need help

2007-01-05 Thread Dhaval Patel
classes? From: Christopher Schultz [EMAIL PROTECTED] Reply-To: Tomcat Users List users@tomcat.apache.org To: Tomcat Users List users@tomcat.apache.org Subject: Re: web application - student need help Date: Fri, 05 Jan 2007 17:10:13 -0500 -BEGIN PGP SIGNED MESSAGE- Hash: SHA1