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 permi

Re: web application - student need help

2007-01-08 Thread Michael Ni
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

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

2007-01-08 Thread Narayanaswamy, Mohan
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 &

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. exampl

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

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 c

RE: web application - student need help

2007-01-08 Thread Nelson, Tracy M.
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

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.
| 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

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 sqlser

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 sa

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 sqlser

Re: web application - student need help

2007-01-07 Thread Caroline Jen
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

Re: web application - student need help

2007-01-05 Thread Dhaval Patel
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

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 k

Re: web application - student need help

2007-01-05 Thread Michael Ni
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

Re: web application - student need help

2007-01-05 Thread Michael Ni
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

Re: web application - student need help

2007-01-05 Thread Martin Gainty
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

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 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 Darek Czarkowski
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:

Re: web application - student need help

2007-01-05 Thread Caroline Jen
( rs.next() ) { > out.println("" + > rs.getString("hnm") + " "); > out.println("" + > rs.getString("itemname_en") + " > "); > } > %> > > > > >From: Darek Czarkowski > <[EMAIL PROTECTE

Re: web application - student need help

2007-01-05 Thread Michael Ni
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:

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 c

web application - student need help

2007-01-05 Thread Michael Ni
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 sqlserver and tomcat are set up on the same computer. computer is pentium 2.8 GHZ with 512 RAM. im on cable internet the web application uses simple queries