RE: ssl-forwarding filter not working in IE 6

2005-04-15 Thread Sng Wee Jim
Try setting the following 2 response header response.setHeader(Pragma, public); response.setHeader(Cache-Control, max-age=0); - Jim -Original Message- From: sudip shrestha [mailto:[EMAIL PROTECTED] Sent: Friday, April 15, 2005 9:54 PM To: Struts Users Mailing List;

RE: Can you use Tomcat when you are not on line?

2005-04-07 Thread Sng Wee Jim
Wally, Did you set your Internet Explorer to Bypass proxy server for local addresses (Internet Options | Local Area Network (LAN) Settings)? Jim -Original Message- From: Walter Lee [mailto:[EMAIL PROTECTED] Sent: Friday, April 08, 2005 3:06 AM To: Tomcat Users List; Jason Bainbridge

RE: == Isapi redirector Installation problem betweeen IIs and Tomcat

2005-04-04 Thread Sng Wee Jim
JK2 is officially unsupported. Use JK 1.2 instead http://jakarta.apache.org/tomcat/connectors-doc/news/20041100.html#20041 115.1 [HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Jakarta Isapi Redirector\2.0] serverRoot=C:\\Tomcat5\\ extensionUri=/jakarta/isapi_redirector2.dll

RE: Win2003 server, IIS 6 tomcat 5. setup (isapi_redirect) - resolved

2005-03-23 Thread Sng Wee Jim
Quoting from http://jakarta.apache.org/tomcat/connectors-doc/config/workers.html The workers that are member of load balancer must not appear in the worker.list directive. If your are not using load balancing, you should be able to remove configuration for worker.loadbalancer.XXX

RE: RE : Tomcat behind IIS

2005-03-21 Thread Sng Wee Jim
Why not try blocking traffic at the router level? Your network router should allow you to configure which machine can connect to your tomcat. - Jim -Original Message- From: VAN DER MARLIERE FREDERIC [mailto:[EMAIL PROTECTED] Sent: Monday, March 21, 2005 5:36 PM To: SANTOS, DANIEL

RE: load-balancing

2005-03-10 Thread Sng Wee Jim
:[EMAIL PROTECTED] Sent: Wednesday, March 09, 2005 9:46 PM To: Tomcat Users List Subject: Re: load-balancing Sng Wee Jim wrote: I am using IIS 5.0 on Win2k Server edition. Will jk 1.2.9 solve the issue for IIS too? IIS and Apache on Windows are single child systems so the runtime data was already

RE: load-balancing

2005-03-09 Thread Sng Wee Jim
I am using IIS 5.0 on Win2k Server edition. Will jk 1.2.9 solve the issue for IIS too? - Jim From: Mladen Turk [mailto:[EMAIL PROTECTED] Sent: Wed 3/9/2005 2:30 AM To: Tomcat Users List Subject: Re: load-balancing Sng Wee Jim wrote: I am load-balancing

load-balancing

2005-03-08 Thread Sng Wee Jim
Hi, I am load-balancing tomcat 5.0.28 using JK1.2/AJP1.3. I noticed the loadbalancer virtual JK worker redirect requests to the tomcat instances in a round-robin fashion, without taking into account which tomcat has a higher number of active sessions. For eg.

tomcat load-balancing maintenance strategy?

2005-03-07 Thread Sng Wee Jim
Hi, I am load-balancing tomcat 5.0.28 using JK1.2 / AJP1.3. For discussion, let's assume I have 2 tomcats (TomcatA and TomcatB) load-balanced. When I shutdown one of the tomcats (Tomcat B), future requests for TomcatB is correctly redirected and handled by the TomcatA. However, the original

RE: Tomcat clustering and NotSerializableException

2005-03-02 Thread Sng Wee Jim
:[EMAIL PROTECTED] Sent: Wed 3/2/2005 12:17 PM To: Tomcat Users List Subject: RE: Tomcat clustering and NotSerializableException From: Sng Wee Jim [mailto:[EMAIL PROTECTED] Subject: RE: Tomcat clustering and NotSerializableException Indeed a reference to the HttpServletRequest is held in my Struts

session load-balancing and clustering of tomcat

2005-03-01 Thread Sng Wee Jim
Hi, I am using tomcat 5.0.28. My question is how to setup sticky-session load-balancing and clustering of tomcat? Do I need to upgrade to tomcat 5.5.X? Note the requirement is on sticky-session. - Jim The

RE: Tomcat clustering and NotSerializableException

2005-03-01 Thread Sng Wee Jim
. HTH - Richard Sng Wee Jim wrote: But the stacktrace says java.io.NotSerializableException: org.apache.coyote.tomcat5.CoyoteRequestFacade at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1054) at java.io.ObjectOutputStream.defaultWriteFields

RE: session load-balancing and clustering of tomcat

2005-03-01 Thread Sng Wee Jim
Hi, I am actually trying to get sticky session load-balancing with IIS tomcat (not apache webserver, client's requirement). My worker.properties: == worker.list=tomcat1,tomcat2 worker.tomcat1.type=ajp13 worker.tomcat1.host=localhost worker.tomcat1.port=8009

RE: session load-balancing and clustering of tomcat

2005-03-01 Thread Sng Wee Jim
Hi, Sorry for the noise. I have found the solution at http://marc.theaimsgroup.com/?l=tomcat-userm=104808785801048w=2 - Jim -Original Message- From: Sng Wee Jim Sent: Wednesday, March 02, 2005 2:14 PM To: 'Mladen Turk'; Tomcat Users List Subject: RE: session load-balancing

Tomcat clustering and NotSerializableException

2005-02-28 Thread Sng Wee Jim
Hi, I am using Tomcat 5.0.28 on MS Win2k server. After I have uncommented the Cluster element in server.xml, I get the following exceptions on the tomcat console for some actions that are using displaytag. Is it a tomcat bug, since org.apache.coyote.tomcat5.CoyoteRequestFacade is

RE: Pre-Compilation in Tomcat Jasper

2005-02-28 Thread Sng Wee Jim
Hi Karthik, A build file I modified from the sample that comes with tomcat documentation, hope it's still working (I removed some private stuff from the original file) You will need to set the properties webapp.name (eg. myWebapp) and tomcat.home (eg. d:/tomcat) in the file build.properties and

RE: Tomcat clustering and NotSerializableException

2005-02-28 Thread Sng Wee Jim
and quickl done. HTH - Richard Dale, Matt wrote: I would guess that this means you have an object in your session that does not implement the serializable interface. Ta Matt -Original Message- From: Sng Wee Jim [mailto:[EMAIL PROTECTED] Sent: 28 February 2005 09:21 To: tomcat-user

RE: JSP fragments file extension and the jasper2 ant task

2004-11-11 Thread Sng Wee Jim
Ziarkowski, You may want to try adding the following to your web.xml servlet-mapping servlet-namejsp/servlet-name url-pattern*.jspf/url-pattern /servlet-mapping - Jim -Original Message- From: Trond G. Ziarkowski [mailto:[EMAIL PROTECTED] Sent: Thursday,

RE: Where is Catalina.out?

2004-10-11 Thread Sng Wee Jim
On windows the logs will go to TOMCAT_HOME/log directory. It will appear in file localhost_log.-MM-dd.txt Correct me if I am wrong, Catalina.out is only created when tomcat is running on unix. - Jim -Original Message- From: Fred Yu [mailto:[EMAIL PROTECTED] Sent: Tuesday, October

File upload from main program

2004-10-05 Thread Sng Wee Jim
Hi, Is there any free API around that allows uploading of files to the server (tomcat or weblogic) via a servlet from a main application program? (instead of from a web browser) Anything from the jakarta fileupload project that can be reused here? Regards, Wee Jim, Sng Capco t: +65 6395 6973

RE: IIS with Tomcat integration

2004-09-27 Thread Sng Wee Jim
, September 27, 2004 2:17 PM To: Tomcat Users List Subject: Re: IIS with Tomcat integration jk2 or jk adapter ? On Mon, 27 Sep 2004, Sng Wee Jim wrote: Date: Mon, 27 Sep 2004 14:31:28 +0800 From: Sng Wee Jim [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: [EMAIL PROTECTED

Load-balancing with MS IIS and tomcat 5

2004-06-20 Thread Sng Wee Jim
Hi, Is there any tutorial/documentation site that detail how to load-balance Microsoft IIS working with Tomcat 5 (via JK2 connector). Any difference in using MS IIS compared to Apache webserver? - Jim The information

error-page problem

2004-06-05 Thread Sng Wee Jim
Hi, I am using tomcat 5.0.25 I am porting some legacy webapp to struts JSP. Basically I am forwarding my request based on the last token of the request URI, eg. request URI: /testapp/demo then I will forward to demo.do To do that I am setting the following in my web.xml error-page

jsp:include problem

2004-05-16 Thread Sng Wee Jim
Hi, I am using Jakarta tomcat 5.0.24 on Windows 2000. I have 2 files, 1.jsp which includes 2.jspf Content of 1.jsp % pageContext.setAttribute(aaa, 111); System.out.println(in 1.jsp: + pageContext.getAttribute(aaa)); % jsp:include page=2.jspf/