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 beside

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: It's clear that the HTTP protocol version is HTTP/1.1. The web service provided by this Tomcat will be used all over the world. So, maybe someone will use HTTP/1.0 or HTTP/0.9

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 >

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 l

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 requests

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 have

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 conne

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

2009-12-08 Thread Peter Chen
arameter passing, as it allows multiple instances (e.g. browser tabs) to coexist. You should only store things in a session that are related to the connection and user (e.g. user credentials, preferences and such), but absolutely not the page he's navigating now. You can also add a &quo

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

2009-12-07 Thread Peter Chen
done wrong? -Original Message- From: Pid [mailto:p...@pidster.com] Sent: 2009年12月7日 18:21 To: users@tomcat.apache.org Subject: Re: the Tomcat generates more than one session id with the same http request, please help me On 07/12/2009 08:22, Peter Chen wrote: > Hi, all > > > &g

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

2009-12-07 Thread Peter Chen
etParameter("contentid ")". But I don't know the part "getParts.jsp;jsessionid=B01FF12CBC92F9BA1682E9A883A3A1AD", is it also used to pass parameter? If so, how to get the parameter? Thanks. -Original Message- From: Looijmans, Mike [mailto:mike.loo

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 differe

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

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: Cau

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: Ca

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 cr