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;
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
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
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
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
:[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
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
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.
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
:[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
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
.
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
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
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
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
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
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
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,
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
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
, 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
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
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
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/
24 matches
Mail list logo