Re: use of default-content-type

2010-07-30 Thread LiuYan
Just a guess, does page1.jsp include another page2.jsp and page2.jsp does not specify content-type(which will be default-content-type)? Ivan Xu wrote: > > Hi, if default-content-type is configured in the web.xml, and in the jsp > file, a differernt content-type is configured, then an exception

Re: Tomcat Silent Installation Options

2010-01-19 Thread LiuYan
The document is here: http://tomcat.apache.org/tomcat-6.0-doc/windows-service-howto.html Kranti™ K K Parisa wrote: > > Hi All, > > I am trying to install Tomcat thru command line ( need this to include the > tomcat installation file thru our product installer). > > I am able to use upto this

Re: Tomcat Connector 1.2.28 success and failure

2010-01-18 Thread LiuYan
It should be a mod_jk configuration issue. After compared your two configurations, I found two main differences: - extension_uri=/jakarta/isapi_redirect.dll + extentions_uri=/jakarta/isapi_redirect.dll extension_uri vs extensions_uri, right vs wrong - log_level=info + log_level=ALL The mod_

Re: mod_jk: The worker pick order/scope when sticky_session=false and clusters are grouped by worker.domain

2010-01-09 Thread LiuYan
Thank you Rainer, it make me clear! And thank you for your creatation of worker.domain directive :) Rainer Jung-3 wrote: > > On 05.01.2010 09:44, LiuYan 刘研 wrote: >> >> I'm currently learning Tomcat clustering these days. >> >> I setup 4 Tomcat-6.0.22 instan

mod_jk: The worker pick order/scope when sticky_session=false and clusters are grouped by worker.domain

2010-01-05 Thread LiuYan
I'm currently learning Tomcat clustering these days. I setup 4 Tomcat-6.0.22 instances in Windows XP: server1, server2, server3, server4 cluster1: server1 & server2 (228.0.0.4:45564) cluster2: server3 & server4 (228.0.0.4:45566) Apache/2.2.14(win32) is the frontend. mod_jk-1.2.28 is the connecto

Re: Feature request: startup.bat: -title option needed

2009-12-30 Thread LiuYan
markt-2 wrote: > > On 30/12/2009 02:41, LiuYan 刘研 wrote: >> >> When running muitiple tomcat instances in same windows OS, the title of >> all >> tomcat/DOS window are all "Tomcat", it's a little hard to distinguish >> which >> window is

Re: Feature request: startup.bat: -title option needed

2009-12-29 Thread LiuYan
It's for "one installation, multi instances" situation, these tomcat instances share the same catalina.bat file, so I use an environment variable instead of a fixed value. :) maven apache wrote: > > 2009/12/30 LiuYan 刘研 > >> >> Hi maven: >> Th

Re: Feature request: startup.bat: -title option needed

2009-12-29 Thread LiuYan
option) maven apache wrote: > > 2009/12/30 LiuYan 刘研 > >> >> When running muitiple tomcat instances in same windows OS, the title of >> all >> tomcat/DOS window are all "Tomcat", it's a little hard to distinguish >> which >> window is

Feature request: startup.bat: -title option needed

2009-12-29 Thread LiuYan
When running muitiple tomcat instances in same windows OS, the title of all tomcat/DOS window are all "Tomcat", it's a little hard to distinguish which window is which tomcat. for example: bin\startup.bat -title "Tomcat Server 1 - XXX" bin\startup.bat -title "Tomcat Server 2 - YYY" bin\startup.ba

Re: Is there a config for JSP compiler to ignore [\s] chars in JSP directive line?

2007-06-18 Thread LiuYan
Thank you Leon, the 'trimSpaces' servlet parameter works fine except some little issues: 1. The span it trimmed is a little wider, it even trimmed the continuous empty lines and the leading white spaces of the first line after directives. <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> <[EMAIL PROTECT

remove the corresponding servlet mapping

2007-06-18 Thread LiuYan
maybe you should remove the corresponding servlet mapping for /index.jsp, or simply delete everything under ROOT folder, or you can try Tomcat 6. Rob Tanner wrote: > > Hi, > > I installed Tomcat 5.5.23 stand-alone and then replaced the default > index.jsp home page (webapps/ROOT/index.jsp) wi

Is there a config for JSP compiler to ignore [\s] chars in JSP directive line?

2007-06-18 Thread LiuYan
Is there a config for JSP compiler to ignore all white space characters which out of <%...%> in JSP and/or tag directive lines? Suppose the following code in JSP file: <%@ page contentType="text/html; charset=utf-8"

[Tomcat 6.0.10] Failed to install Tomcat6 service.

2007-03-02 Thread LiuYan
When I try to install tomcat 6.0.10, I got the following error: - Failed to install Tomcat6 service. Check your settings and permissions Ignore and continue anyway (not recommended)? - My environment: -- OS: Windows XP SP2 -- JDK: JDK1.6.0 with publ

RE: Installing Tomcat and IIS

2006-12-19 Thread LiuYan
>I normally need to access http://localhost:9191/luntbuild to see my application. So in theory with that filter thing installed correctly I should be able to access it by going to http://localhost/luntbuild? Yes, that's our goal of integration. >But for IIS, /luntbuild does not exist. How does it

RE: Installing Tomcat and IIS

2006-12-17 Thread LiuYan
from the article :) > > -Original Message- > From: LiuYan 刘研 [mailto:[EMAIL PROTECTED] > Sent: 14 décembre, 2006 23:22 > To: users@tomcat.apache.org > Subject: Re: Installing Tomcat and IIS > > > That article is good, I've integrated Tomcat & IIS successful

RE: Feature request: Server level character encoding instead adding afilter for each web application.

2006-12-15 Thread LiuYan
Thanks a lot Chuck, the global web.xml is very good stuff. I misunderstood the function of the global web.xml before, I thought it was only applied when a web application does not have a web.xml before. I read the introduction message in the web.xml file after i saw your hint. now I put the SetCh

Re: Installing Tomcat and IIS

2006-12-14 Thread LiuYan
That article is good, I've integrated Tomcat & IIS successfully by following that article step by step. Step 5,6,7 are important - Step 5. Create the Tomcat Application Pool Step 6. Create the Virtual Directory Step 7. Create and Enable the Tomcat Web Service Extension ---