-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
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
-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
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
| | 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
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
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
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
@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
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
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
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
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
=\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
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
Michael Ni wrote:
public ResultSet getData(String queryStr) throws Exception
{
try {
DBConstants db = new DBConstants();
Class.forName(db.getDrivername());
Connection conn;
conn =
-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
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.
@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
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
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
-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
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
23 matches
Mail list logo