Re: Loadbalancer in Tomcat 5.5

2005-08-15 Thread samuel cheung
://jakarta.apache.org/tomcat/tomcat-5.5-doc/cluster-howto.html Why you can't used balancer demo app? Read http://www.onjava.com/pub/a/onjava/2004/03/31/clustering.html peter samuel cheung schrieb: Hi, Can I use the LoadBalancer webapp to load balance requests to a number

Re: Loadbalancer in Tomcat 5.5

2005-08-15 Thread samuel cheung
features and apache/ssl support? peter samuel cheung schrieb: Peter, Thank you. Can you please tell me if the Tomcat load balance supports SSL? If yes, do I need to setup certificate in the apache as well? Thank you. On 8/14/05, Peter Rossbach [EMAIL PROTECTED] wrote: Mark

Loadbalancer in Tomcat 5.5

2005-08-12 Thread samuel cheung
Hi, Can I use the LoadBalancer webapp to load balance requests to a number of tomcat server in round-robin fashion? I know there is an example of the Loadbalancer in the documentation, but that is different from what I want. And how can the load balancer make sure the same session (based on the

Fault Tolerance in Tomcat Cluster

2005-08-10 Thread samuel cheung
Hi, From this article http://www.onjava.com/pub/a/onjava/2004/03/31/clustering.html?page=2, it said Tomcat 5 does not provide a built-in fail over mechanism to detect when a cluster member crashes. Can someone tell me if Tomcat 5.5 provides fail over detection in tomcat cluster? Thank you. Sam

RE: Hotswap servlet code in Tomcat 5?

2004-03-09 Thread Samuel Cheung
:[EMAIL PROTECTED] Sent: Monday, March 08, 2004 11:20 AM To: Tomcat Users List Subject: RE: Hotswap servlet code in Tomcat 5?     Hi, Is Counter Serializable?   Yoav Shapira Millennium ChemInformatics     -Original Message- From: Samuel Cheung [mailto:[EMAIL PROTECTED] Sent: Monday, March 08

RE: Hotswap servlet code in Tomcat 5?

2004-03-08 Thread Samuel Cheung
Thanks. I try this, but it is different from what I expected. In my doGet() of my servlet, I have a Counter object in my session. When I reload the page in my browser, I see the value of the counter increments. (say from 0 to 1 to 2). Then I go to the Tomcat manager web page, and then undeploy

RE: Hotswap servlet code in Tomcat 5?

2004-03-08 Thread Samuel Cheung
ChemInformatics -Original Message- From: Samuel Cheung [mailto:[EMAIL PROTECTED] Sent: Monday, March 08, 2004 12:15 PM To: 'Tomcat Users List' Subject: RE: Hotswap servlet code in Tomcat 5? Thanks. I try this, but it is different from what I expected. In my doGet() of my servlet, I have a Counter

RE: Hotswap servlet code in Tomcat 5?

2004-03-04 Thread Samuel Cheung
If the objects in the session is serialized to the disk and then re-serialized when I re-deploy my servlet, what happens if the class in my newer version of my servlet has - added/removed methods/attributes in the class - added/removed static variables in the class How will the hotswap work? I

User define mbeans in servlet under Tomcat 5.0.x

2004-01-26 Thread Samuel Cheung
Hi, Is it possible for me to add my own Standard/Dynamic MBeans in my servlet and I can manage that mbean thru Tomcat admin/manager interface? From here, it said I can add my own mbean, but I can't find the file org.apache.catalina.mbeans.mbeans-descriptor.xml

RE: User define mbeans in servlet under Tomcat 5.0.x

2004-01-26 Thread Samuel Cheung
Thanks for the quick response. So in order to add my own mbeans for my servlet, I need to get modify the file org.apache.catalina.mbeans.mbeans-descriptor.xml in Tomcat source and rebuild the whole tomcat? So I can't use my own mbeans for my servlet on the official Tomcat 5.0.x? And could you

SQLException when using a datasource

2003-10-23 Thread Samuel Cheung
I am trying to setup a hibernate example with Tomcat 4.1.27. So I add a datasource to my server.xml. But when I access a connection, I got this exception: 20:56:49,072 WARN SessionFactoryImpl:171 - Could not obtain connection metadata java.sql.SQLException: Cannot load JDBC driver class 'null'

RE: slightly OT: tag library for paging

2002-12-19 Thread Samuel Cheung
Will this work: http://edhill.its.uiowa.edu/display-examples-0.8/ -Original Message- From: Manavendra Gupta [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 19, 2002 11:26 PM To: Tomcat Users List Subject: slightly OT: tag library for paging Hi, I apologize for the slightly

RE: slightly OT: tag library for paging

2002-12-19 Thread Samuel Cheung
or this: http://jsptags.com/tags/navigation/pager/ -Original Message- From: Manavendra Gupta [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 19, 2002 11:26 PM To: Tomcat Users List Subject: slightly OT: tag library for paging Hi, I apologize for the slightly off-topic post, but is

Tomcat and Avalon

2002-12-07 Thread Samuel Cheung
Does Tomcat use Avalon(http://jakarta.apache.org/avalon/index.html) as its server framework? Thanks.

RE: Limits to JSP/Servlet Execution time?

2002-12-06 Thread Samuel Cheung
I think you need to implement your own mechanism to do that. -Original Message- From: David Boyer [mailto:[EMAIL PROTECTED]] Sent: Friday, December 06, 2002 3:54 PM To: Tomcat Users List Subject: Q: Limits to JSP/Servlet Execution time? In IIS, we set the ASP script timeout to be 30

Filters in Tomcat

2002-09-20 Thread Samuel Cheung
Hi, Could someone please tell me if I can activate/deactivate filters in Tomcat dynamically after the servlet is running? Thank you. Sam -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

RE: HttpResponseBase.sendRedirect vs JetSpeed

2002-09-10 Thread Samuel Cheung
Does the servlet spec allows servlets to flush() the outputStream of the HTTP response class? Or it will be ignored by the container as well? Thanks. -Original Message- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 10, 2002 5:53 PM To: Tomcat Users

RE: HttpResponseBase.sendRedirect vs JetSpeed

2002-09-10 Thread Samuel Cheung
writer.flush() or response.flushBuffer(). See the servlet spec for all the details: http://java.sun.com/products/servlet/download.html Craig On Tue, 10 Sep 2002, Samuel Cheung wrote: Date: Tue, 10 Sep 2002 18:04:00 -0500 From: Samuel Cheung [EMAIL PROTECTED] Reply-To: Tomcat Users List

RE: HttpResponseBase.sendRedirect vs JetSpeed

2002-09-10 Thread Samuel Cheung
Netscape 4.x). * You are using a web connector that does its own buffering. * There is a proxy or something in between. * Bug in 4.1.10 (submit a bug report). Counting on incremental output being visible is a very chancy bet. Craig On Tue, 10 Sep 2002, Samuel Cheung wrote: Date: Tue, 10 Sep

Using the new Tomcat Admin Page in Tomcat 4.1.x

2002-08-15 Thread Samuel Cheung
Hi, I am using log4j in my servlet. log4j has JMX interface to change its parameters at run-time. Could someone please tell me if I can use the new Tomcat Admin Page in Tomcat 4.1.x to change the log4j parameters? Thanks. Sam -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For

Run away servlet in Tomcat

2002-08-14 Thread Samuel Cheung
Hi, How does Tomcat handle a run away servlet? (I mean tomcat gets a request, it call a servlet to handle it, that servlet stuck in an infinite loop) Can tomcat still handle new requests to same/other servlet? Can we config tomcat to kill certain request if it does not finish execution within

tomcat 4.x and new io in JDK 1.4

2002-07-01 Thread Samuel Cheung
Hi, Could someone please tell me if Tomcat 4.x is using the new IO in JDK 1.4? If not, will Tomcat be changed to take advantage the new IO functionality? Thanks. Sam __ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup