Tomcat for professional large scale webapps?
Hello, I made very good experiences using Apache Tomcat for small scale webapps. However, I am now thinking of using it for a larger scale professional webapp: 100 conconcurrent Users. Haevy downloads, ... Assumed that programming is good and efficient, in what kind of difficulties may I run using Tomcat for a larger scale application? Is it a good choice (in terms of scalability, efficiency, memory usage, ...)? My App environment would be: Tomcat 5.x, Struts, Oracle, Lucene Greetings, Joos -- DSL Komplett von GMX +++ Supergünstig und stressfrei einsteigen! AKTION Kein Einrichtungspreis nutzen: http://www.gmx.net/de/go/dsl - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 33711] - Memory leak (classloader) with Log4J and Single Sign On.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=33711. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=33711 [EMAIL PROTECTED] changed: What|Removed |Added CC||[EMAIL PROTECTED] -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug, or are watching the assignee. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat for professional large scale webapps?
Hola, Numerous users/organizations have reported using Tomcat for that number of concurrent users and higher. Achieving good and efficient programming is usually the bottleneck. You might also want to try clustering and load-balancing your Tomcats. If you don't want to involve Apache you can use a Tomcat with the Balancer webapp as your front-end for load-balancing requests. Yoav -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 01, 2005 3:52 AM To: tomcat-dev@jakarta.apache.org Subject: Tomcat for professional large scale webapps? Hello, I made very good experiences using Apache Tomcat for small scale webapps. However, I am now thinking of using it for a larger scale professional webapp: 100 conconcurrent Users. Haevy downloads, ... Assumed that programming is good and efficient, in what kind of difficulties may I run using Tomcat for a larger scale application? Is it a good choice (in terms of scalability, efficiency, memory usage, ...)? My App environment would be: Tomcat 5.x, Struts, Oracle, Lucene Greetings, Joos -- DSL Komplett von GMX +++ Superg|nstig und stressfrei einsteigen! AKTION Kein Einrichtungspreis nutzen: http://www.gmx.net/de/go/dsl - 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 NOT REPLY [Bug 33711] - Memory leak (classloader) with Log4J and Single Sign On.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=33711. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=33711 --- Additional Comments From [EMAIL PROTECTED] 2005-03-01 13:33 --- Created an attachment (id=14379) -- (http://issues.apache.org/bugzilla/attachment.cgi?id=14379action=view) Fix session leak in SingleSignOn Since there was no answer to how you wanted the patch, I have a patch against 5.5.7. Its a unified diff of everything in: jakarta-tomcat-5.5.7-src\jakarta-tomcat-catalina\catalina\src\share\ Its pretty small - changes to 4 files: catalina\Session.java catalina\authenticator\SingleSignOn.java catalina\session\StandardSession.java catalina\session\StandardManager.java Regards, Kev -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug, or are watching the assignee. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat for professional large scale webapps?
100 concurrent users don't necessarily mean heavily loaded. Try 5000 concurrent users or something even higher. Keep in mind the bottleneck will be your database, so try to figure what 100 concurrent users means in terms of peak and average concurrent requests. in other words. What are the chances all 100 users will send a request at the same time? I'm gonna guess it's not very likely. If anything, I would be surprised if 100 concurrent users results in 25 concurrent requests during peak and 15 during average. In either case, remember your Network IO will be a major limitation. If the application is on a LAN, then you're fine. If it's hosted at an ISP and you only have 10mb link, it's not going to be able to handle 25 concurrent requests. If you're hosted at a nice ISP that gives you a 100mb link, you should be ok. The only real way to know if tomcat can handle the load and how many servers you need is to write the app and stress test it. Once you get a good measure of the average response time, you'll have more information to decide. If you look at the latest benchmarks I ran, it's going to be hard to find a servlet container that is significantly better. In fact, I would say 5.5.x is even with Resin now. hope that helps peter On Tue, 1 Mar 2005 07:13:37 -0500, Yoav Shapira [EMAIL PROTECTED] wrote: Hola, Numerous users/organizations have reported using Tomcat for that number of concurrent users and higher. Achieving good and efficient programming is usually the bottleneck. You might also want to try clustering and load-balancing your Tomcats. If you don't want to involve Apache you can use a Tomcat with the Balancer webapp as your front-end for load-balancing requests. Yoav -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 01, 2005 3:52 AM To: tomcat-dev@jakarta.apache.org Subject: Tomcat for professional large scale webapps? Hello, I made very good experiences using Apache Tomcat for small scale webapps. However, I am now thinking of using it for a larger scale professional webapp: 100 conconcurrent Users. Haevy downloads, ... Assumed that programming is good and efficient, in what kind of difficulties may I run using Tomcat for a larger scale application? Is it a good choice (in terms of scalability, efficiency, memory usage, ...)? My App environment would be: Tomcat 5.x, Struts, Oracle, Lucene Greetings, Joos -- DSL Komplett von GMX +++ Superg|nstig und stressfrei einsteigen! AKTION Kein Einrichtungspreis nutzen: http://www.gmx.net/de/go/dsl - 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: Tomcat for professional large scale webapps?
Also consider that using Apache 2.x is front of a farm of tomcats will help you upgrade your configuration to handle more and more users and requests. For information, I'm using 2 Tomcat 3.3.2 to handle about 35 XML-RPC requests by days, Apache2 in front handling the GZIP compression. On Tue, 1 Mar 2005 08:01:00 -0500, Peter Lin [EMAIL PROTECTED] wrote: 100 concurrent users don't necessarily mean heavily loaded. Try 5000 concurrent users or something even higher. Keep in mind the bottleneck will be your database, so try to figure what 100 concurrent users means in terms of peak and average concurrent requests. in other words. What are the chances all 100 users will send a request at the same time? I'm gonna guess it's not very likely. If anything, I would be surprised if 100 concurrent users results in 25 concurrent requests during peak and 15 during average. In either case, remember your Network IO will be a major limitation. If the application is on a LAN, then you're fine. If it's hosted at an ISP and you only have 10mb link, it's not going to be able to handle 25 concurrent requests. If you're hosted at a nice ISP that gives you a 100mb link, you should be ok. The only real way to know if tomcat can handle the load and how many servers you need is to write the app and stress test it. Once you get a good measure of the average response time, you'll have more information to decide. If you look at the latest benchmarks I ran, it's going to be hard to find a servlet container that is significantly better. In fact, I would say 5.5.x is even with Resin now. hope that helps peter On Tue, 1 Mar 2005 07:13:37 -0500, Yoav Shapira [EMAIL PROTECTED] wrote: Hola, Numerous users/organizations have reported using Tomcat for that number of concurrent users and higher. Achieving good and efficient programming is usually the bottleneck. You might also want to try clustering and load-balancing your Tomcats. If you don't want to involve Apache you can use a Tomcat with the Balancer webapp as your front-end for load-balancing requests. Yoav -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 01, 2005 3:52 AM To: tomcat-dev@jakarta.apache.org Subject: Tomcat for professional large scale webapps? Hello, I made very good experiences using Apache Tomcat for small scale webapps. However, I am now thinking of using it for a larger scale professional webapp: 100 conconcurrent Users. Haevy downloads, ... Assumed that programming is good and efficient, in what kind of difficulties may I run using Tomcat for a larger scale application? Is it a good choice (in terms of scalability, efficiency, memory usage, ...)? My App environment would be: Tomcat 5.x, Struts, Oracle, Lucene Greetings, Joos -- DSL Komplett von GMX +++ Superg|nstig und stressfrei einsteigen! AKTION Kein Einrichtungspreis nutzen: http://www.gmx.net/de/go/dsl - 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]
Running Tomcat from a CD-Rom
Hi, I want to run Tomcat from a CD-Rom complete with a web application. My application needs to be able to run on any PC without networkor an install program so everything would have to be installed on the CD-Rom. To get Tomcat to run directly from CD-Rom I am thinking I will have to change all configuration files that point to the Tomcat home directory and point them instead to a temporary folder under windows. Can anyone think of any other issues I am going to run into or if there is something I have overlooked. Env. is Tomcat 5.0, Windows Thanks in advance, Regards, Julian
RE: Running Tomcat from a CD-Rom
Hi, As you surmised, you have to be careful about any and all IO (especially writing) operations in your app, implicit or explicit. Make sure to set java.io.tmpdir, the workdirs for your contexts in Tomcat, etc to writeable folders. This is a tomcat-user question. Please continue the discussion there if you still have questions. Yoav -Original Message- From: Julian White [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 01, 2005 9:09 AM To: tomcat-dev@jakarta.apache.org Subject: Running Tomcat from a CD-Rom Hi, I want to run Tomcat from a CD-Rom complete with a web application. My application needs to be able to run on any PC without networkor an install program so everything would have to be installed on the CD-Rom. To get Tomcat to run directly from CD-Rom I am thinking I will have to change all configuration files that point to the Tomcat home directory and point them instead to a temporary folder under windows. Can anyone think of any other issues I am going to run into or if there is something I have overlooked. Env. is Tomcat 5.0, Windows Thanks in advance, Regards, Julian - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 33790] New: - Encoding problem D5 to 3F
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=33790. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=33790 Summary: Encoding problem D5 to 3F Product: Tomcat 5 Version: Unknown Platform: PC OS/Version: Windows XP Status: NEW Severity: normal Priority: P2 Component: Unknown AssignedTo: tomcat-dev@jakarta.apache.org ReportedBy: [EMAIL PROTECTED] My servlets return 3F (in HEX) instead of D5 Example of code: out.print(new String(new byte[]{(byte)0xD5})); Result must be, D5, I suppose, but it is 3F -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug, or are watching the assignee. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 33790] - Encoding problem D5 to 3F
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=33790. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=33790 [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |RESOLVED Resolution||INVALID -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug, or are watching the assignee. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 21482] - jikes cannot compile JSP page importing anything from javax.crypto package (in Java 1.4.x)
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=21482. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=21482 [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |RESOLVED Resolution||WORKSFORME --- Additional Comments From [EMAIL PROTECTED] 2005-03-01 21:00 --- I have tested this with the latest 4.1.x code from CVS and this works for me. I was using jikes 1.18. I don't recall any related changes since the last release (4.1.31) so I suggest you try that. If that fails, you will need to wait for 4.1.32 (no plans for this at present). -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug, or are watching the assignee. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 17178] - if user-agent sends cookies that add up more than 4K SocketInputStream throws an exception
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=17178. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=17178 [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |RESOLVED Resolution||WONTFIX --- Additional Comments From [EMAIL PROTECTED] 2005-03-01 21:56 --- The HTTP connector has been deprecated. Use the Coyote connector instead. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug, or are watching the assignee. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: TCKs and vote for 5.5.8
Any chance of doing the same for the last of the 5.0.x lineage, 5.0.30, which is still marked as Beta? I know that as part of an Application Server (running as the embedded Web Container) it does pass the TCK. Regards to all, Fernando Yoav Shapira wrote: Hola, Can someone please run the TCKs for 5.5.8 if you haven't already? I'd like to have the results before voting on release stability. Thanks, Yoav Shapira System Design and Management Fellow MIT Sloan School of Management / School of Engineering Cambridge, MA USA mailto:[EMAIL PROTECTED] [EMAIL PROTECTED] / mailto:[EMAIL PROTECTED] [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: TCKs and vote for 5.5.8
Hola, 5.0.30 will stay beta, there will be no vote on it, no matter what the TCKs say, because of other bugs. (I don't remember the specifics right now, they were discussed on this list at the time shortly after the release). When a good new 5.0.x release comes out (for which there's no ETA), we'll request the TCKs be run. Yoav -Original Message- From: Fernando Nasser [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 01, 2005 4:10 PM To: Tomcat Developers List Subject: Re: TCKs and vote for 5.5.8 Any chance of doing the same for the last of the 5.0.x lineage, 5.0.30, which is still marked as Beta? I know that as part of an Application Server (running as the embedded Web Container) it does pass the TCK. Regards to all, Fernando Yoav Shapira wrote: Hola, Can someone please run the TCKs for 5.5.8 if you haven't already? I'd like to have the results before voting on release stability. Thanks, Yoav Shapira System Design and Management Fellow MIT Sloan School of Management / School of Engineering Cambridge, MA USA mailto:[EMAIL PROTECTED] [EMAIL PROTECTED] / mailto:[EMAIL PROTECTED] [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]
Bernhard Kluschat/EZW/EN01 ist außer Haus.
Ich werde ab 01.03.2005 nicht im Büro sein. Ich kehre zurück am 07.03.2005. Ich werde Ihre Nachricht nach meiner Rückkehr beantworten. In dringenden Fällen wenden Sie sich bitte an meinen Kollegen Rolf-Dieter Gross, Tel.: 02056/ 259-5440 e-mail:[EMAIL PROTECTED] oder erreichen mich Mobil: 0172 745 81 45 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 33777] - tomcat not supporting jrockit jdk
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=33777. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=33777 [EMAIL PROTECTED] changed: What|Removed |Added Summary|tomcat not supporting |tomcat not supporting |jrocket jdk |jrockit jdk --- Additional Comments From [EMAIL PROTECTED] 2005-03-02 02:21 --- The -Xrs equivalent in JRockit is -Xnohup -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug, or are watching the assignee. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 33777] - tomcat not supporting jrockit jdk
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=33777. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=33777 [EMAIL PROTECTED] changed: What|Removed |Added CC||[EMAIL PROTECTED] -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug, or are watching the assignee. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: cvs commit: jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/valves ValveBase.java
[EMAIL PROTECTED] wrote: luehe 2005/02/23 11:27:56 Modified:catalina/src/share/org/apache/catalina/authenticator FormAuthenticator.java NonLoginAuthenticator.java SSLAuthenticator.java SingleSignOn.java catalina/src/share/org/apache/catalina/realm DataSourceRealm.java JDBCRealm.java JNDIRealm.java RealmBase.java UserDatabaseRealm.java catalina/src/share/org/apache/catalina/valves ValveBase.java Log: No change in functionality. Added new containerLog instance var to RealmBase and ValveBase, which is initialized as container.getLogger() inside setContainer(). This will make it easier to do something like containerLog = LogFactory.getLog(container.logName()+.RealmBase); in the future, as suggested by Bill Barker. Actually, this is probably a bad idea (or at least the implementation is bad): the logger must be retrieved only when the context class loader of the application is set. This means no retrieving the logger in ValveBase.setContainer, since this is first called in StandardContext(). Rémy (who's having a lot of fun with logging at the moment) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]