-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 permi
uot;Tomcat Users List"
To: Tomcat Users List
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 must go in the
ubject: RE: web 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 &
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.
exampl
| | 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
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 c
line):
http://devnulled.com/content/2005/07/surviving-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
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
| 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
| simultaneously hitting tomcat and sql server.
If you're jus
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 sqlser
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 sa
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 sqlser
oline
>
>
> >From: Caroline Jen <[EMAIL PROTECTED]>
> >Reply-To: "Tomcat Users List"
>
> >To: Tomcat Users List
> >Subject: Re: web application - student need help
> >Date: Fri, 5 Jan 2007 13:42:18 -0800 (PST)
> >
> >Did you confi
sses?
>
>
> >From: Christopher Schultz <[EMAIL PROTECTED]>
> >Reply-To: "Tomcat Users List"
> >To: Tomcat Users List
> >Subject: Re: web application - student need help
> >Date: Fri, 05 Jan 2007 17:10:13 -0500
> >
> >-BEGIN PGP SI
-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 k
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?
From: Christopher Schultz <[EMAIL PROTECTED]>
Reply-To: "Tomcat Users List"
To: Tomcat Users List
Subject: Re: web application - s
thx caroline
From: Caroline Jen <[EMAIL PROTECTED]>
Reply-To: "Tomcat Users List"
To: Tomcat Users List
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 f
L PROTECTED]>
To: "Tomcat Users List"
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
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.
-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
Michael Ni wrote:
public ResultSet getData(String queryStr) throws Exception
{
try {
DBConstants db = new DBConstants();
Class.forName(db.getDrivername());
Connection conn;
conn =
DriverManager.getConnection("jdbc:microsoft:sqlserver:
( rs.next() ) {
> out.println("" +
> rs.getString("hnm") + " ");
> out.println("" +
> rs.getString("itemname_en") + "
> ");
> }
> %>
>
>
>
> >From: Darek Czarkowski
> <[EMAIL PROTECTE
uot;);
while ( rs.next() ) {
out.println("" + rs.getString("hnm") + " ");
out.println("" + rs.getString("itemname_en") + "
");
}
%>
From: Darek Czarkowski <[EMAIL PROTECTED]>
Reply-To: "Tomcat Users List"
To:
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 c
24 matches
Mail list logo