if user's browser doesn't support Cookies, then where to store user's session information?

2010-01-12 Thread Peter Chen
Hi, all I am using Tomcat 5.5.26 as the Web Server. I know the session information is stored in Cookies with the key JSESSIONID. But some browsers don't support Cookies. So my question is if user's browser doesn't support Cookies, then where to store user's session information? And

about the version of HTTP protocol

2010-01-08 Thread Peter Chen
Hi, all I am using Tomcat 5.5.26, and the configuration of Connector is like this: !-- A Connector represents an endpoint by which requests are received and responses are returned. Documentation at : Java HTTP Connector: /docs/config/http.html (blocking

RE: Ask about an architecture of High Availability with Tomcat and Apache

2010-01-04 Thread Peter Chen
: Ask about an architecture of High Availability with Tomcat and Apache Why are you using httpd - what purpose is it serving other than to act as a load-balancer to Tomcat, which you should be able to do directly from the Cisco load balancer? 2009/12/17 Peter Chen peter.c...@aicent.com

question about Tomcat5.5 getServletContext().getContext(String url);

2009-12-22 Thread Peter Chen
Hi, In a JSP file, there is a sentence like this: ServletContext sc = this.getServletContext().getContext(/File); if(sc == null){ Logger.warn(msg,Can't get the context of /File.); return; } What's the mean of this sentence? Now, I run this application in Tomcat5.5, and find the log:

Ask about an architecture of High Availability with Tomcat and Apache

2009-12-17 Thread Peter Chen
Hi, I made architecture of High Availability with Tomcat and Apache, here I will describe it simply. USERS | INTERNET | Firewall | CSS / \ / \ Apache Apache HTTP Server HTTP Server \

ask about the HTTP response timeout parameter.

2009-12-14 Thread Peter Chen
Hi, all I use Tomcat 5.5.26 as web server, and use Hibernate3.1 Beta 1 to connect Database MySQL5.0. The connection pool is c3p0-0.9.1.2. Tomcat and Database are deployed on different hosts. During the running the Tomcat, the database is restarted. And meanwhile there are lots of HTTP

About the http requests cache of Tomcat 5.5.26

2009-12-10 Thread Peter Chen
Hi, I first start the DB Mysql 5.0, then start Tomcat 5.5.26. The Tomcat can connect to the DB correctly. Then I start LoadRunner to send lots of HTTP request. During the period, I killed the process of MYSQL, so the tomcat can't connect to DB. And threads of processing HTTP requests

RE: the Tomcat generates more than one session id with the same http request, please help me

2009-12-08 Thread Peter Chen
navigating now. You can also add a path to the URL, e.g. getparts.jsp/137063/4 Then getPathInfo() will return 137063/4 in getparts.jsp. M -Original Message- From: Peter Chen [mailto:peter.c...@aicent.com] Sent: dinsdag 08 december 2009 07:49 To: Tomcat Users List Subject

About the problem Task com.mchange.v2.resourcepool.basicresourcepool$acquiret...@1386abc (in deadlocked PoolThread) failed to complete in maximum time 60000ms. Trying interrupt().

2009-12-08 Thread Peter Chen
I deployed my application to the Tomcat 5.5.26. I use hibernate for O/RM, and the connection pool is c3p0, the database is MySql 5.0. Several days ago, the Database Server is down, but there are lots of user accessing the Tomcat. After I restarted the Database Server, the Tomcat can't

the Tomcat generates more than one session id with the same http request, please help me

2009-12-07 Thread Peter Chen
Hi, all I am testing a website with the server Tomcat. I am using Tomcat 5.5.26, and I found one problem. The website is used to display audio files. After I log in the website, I can see the icon of the audio file. But after I press the button play, it has different results with

RE: the Tomcat generates more than one session id with the same http request, please help me

2009-12-07 Thread Peter Chen
: RE: the Tomcat generates more than one session id with the same http request, please help me Put the session ID in the URL and it will work on all systems. Alternatively, don't use sessions for the audio file. -Original Message- From: Peter Chen [mailto:peter.c...@aicent.com] Sent

RE: the Tomcat generates more than one session id with the same http request, please help me

2009-12-07 Thread Peter Chen
:22, Peter Chen wrote: Hi, all I am testing a website with the server Tomcat. I am using Tomcat 5.5.26, and I found one problem. The website is used to display audio files. After I log in the website, I can see the icon of the audio file. But after I press the button play, it has

Call for help about the problem java.lang.OutOfMemoryError: unable to create new native thread in Tomcat5.5.26

2009-11-30 Thread Peter Chen
Hello everyone, I meet one problem of OutOfMemoryError when I am running the Tomcat5.5.26, the following is the detail of stack information. Nov 29, 2009 12:41:16 AM org.apache.tomcat.util.threads.ThreadPool$ControlRunnable run SEVERE: Caught exception (java.lang.OutOfMemoryError: unable to

Call for help about the problem java.lang.OutOfMemoryError: unable to create new native thread in Tomcat5.5.26

2009-11-30 Thread Peter Chen
Hi everyone, I meet one problem of OutOfMemoryError when I am running the Tomcat5.5.26. The OS is Solaris 10 sparc, and the JVM version is 1.5.0.12, and following is the detail of stack information. Nov 29, 2009 12:41:16 AM org.apache.tomcat.util.threads.ThreadPool$ControlRunnable run SEVERE:

How to solve the problem java.lang.OutOfMemoryError: unable to create new native thread in Tomcat5.5.26

2009-11-30 Thread Peter Chen
Hi, I meet one problem of OutOfMemoryError when I am running the Tomcat5.5.26. The OS is Solaris 10 sparc, and the JVM version is 1.5.0.12, and following is the detail of stack information. Nov 29, 2009 12:41:16 AM org.apache.tomcat.util.threads.ThreadPool$ControlRunnable run SEVERE:

RE: How to solve the problem java.lang.OutOfMemoryError: unable to create new native thread in Tomcat5.5.26

2009-11-30 Thread Peter Chen
-3.00$ -Original Message- From: André Warnier [mailto:a...@ice-sa.com] Sent: 2009年11月30日 18:38 To: Tomcat Users List Subject: Re: How to solve the problem java.lang.OutOfMemoryError: unable to create new native thread in Tomcat5.5.26 Peter Chen wrote: Hi, I meet one problem