My experience is also that java likes more memory on 64-bit systems. But I
can't prove or explain it.
Ronald.
On Mon Sep 01 13:41:18 CEST 2008 Tomcat Users List users@tomcat.apache.org
wrote:
Subject: Ignorance about some things.
Date: Mon Sep 01 13:41:18 CEST 2008
From: Manuel Trujillo
Filip,
How do your top or ps commands relate to threads in the thread dump?
Are there shared ids or shared names in there?
I'm searching for this for some time, so am really interested in what you mean.
Ronald.
Op woensdag, 15 oktober 2008 om 20:22 uur schreef Tomcat Users List
As far as I know the threads from the connector are shared between webapps.
So how would Tomcat know which objects in the threadlocals are from which
webapp?
Or should Tomcat destroy all threadlocals of webapp A if I reload webapp B?
Ronald.
Op vrijdag, 17 oktober 2008 om 8:19 uur schreef
Hi,
Does Tomcat 5.5 or maybe 6.0 use java.nio/sendfile() to send static content?
So is it more prefered to use RequestDispatcher.forward(myfile) than copy a
FileInputStream to ServletOutputStream by hand?
I already have the copying part, but would like to know if it is worth the
trouble to
I'd suggesting implementing a filter.
http://tomcat.apache.org/tomcat-5.5-doc/servletapi/javax/servlet/Filter.html
Ronald.
Op vrijdag, 24 oktober 2008 om 12:21 uur schreef Tomcat Users List
users@tomcat.apache.org:
Subject: Suspending Servlet Request Acceptance?
Date: Fri Oct 24 12:21:31
What is the risk?
Do you deploy it in your own Tomcat environment where only you have access or
do you distribute your class files?
Ronald.
Op vrijdag, 24 oktober 2008 om 12:28 uur schreef Tomcat Users List
users@tomcat.apache.org:
Subject: Obfuscating a Servlet
Date: Fri Oct 24 12:28:50
You don't give much details about your problems. But I think you have some
long-living big datastructures which are hold in the session, so you can't
cluster your sessions.
You could redesign your application to make it more scalable. In the end that
is your problem, so it's the solution
2 Instances don't compete for locking between threads. So possibly your
application depends a lot on locking?
Ronald.
Op maandag, 10 november 2008 om 7:26 uur schreef Tomcat Users List
users@tomcat.apache.org:
Subject: Tomcat Performance
Date: Mon Nov 10 07:26:21 CET 2008
From: Nishi Kant
Op woensdag, 12 november 2008 om 9:56 uur schreef Tomcat Users List
users@tomcat.apache.org:
Subject: Re: Tomcat threads
Date: Wed Nov 12 09:56:01 CET 2008
From: André Warnier [EMAIL PROTECTED]
Filip Hanik .. and many others - Dev Lists wrote:
[...]
Thanks for all the answers, very
Use HttpSession.setMaxInactiveInterval(int).
if (request.getRemoteHost().startsWith(192.168.)) { // or something more
advanced
request.getSession().setMaxInactiveInterval(100);
}
Ronald.
Op donderdag, 13 november 2008 om 15:21 uur schreef Tomcat Users List
users@tomcat.apache.org:
This totally depends on what your application does.
So nobody on this list can say something about it based the information you
give.
2GB is quite a lot of memory, so I think your application has plenty of memory
unless it is a very memory hungry program.
On 32 bits machines 2GB is a maximum
Move the file to a new name in your startup script.
On Mon Oct 31 12:59:07 CET 2005 Tomcat Users List users@tomcat.apache.org
wrote:
I have a problem with log files. I have a customer who has Tomcat 5.0.28
running on Windows 2003 Server. The main output is being logged to
stdout.log in the
Hello, I'm searching the net for a message with the reason for the beta status
of 5.5.13 in stead of stable. And I can't really find it. Any pointers?
Ronald.
Is there any info about when an updated release is scheduled?
On Fri Dec 23 19:45:11 CET 2005 Tomcat Users List users@tomcat.apache.org
wrote:
I've been getting a good amount of emails regarding the clustering system
being broken in Tomcat 5.5, so I thought I make the announcement here
Hello, Sorry for pushing, but how stable can I expect Tomcat 5.5.15 to be in a
clustered server? (4 nodes) We are running 5.0.28 now and it has some issues
which seem to be solved in 5.5.x. Are there people running 5.5.15 in a
production environment already? Ronald.
Hello, I'm seeing this exception in catalina.out of Tomcat 5.5.15 (2 node
cluster). This is Tomcat code, so I'm wondering if I should fix something or if
the problem is inside Tomcat? Ronald. SEVERE: Unable to serialize delta
request for sessionid [F63F9EDF02547D7610359C7A990650A7]
On Wed Oct 31 18:13:30 CET 2007 Tomcat Users List users@tomcat.apache.org
wrote:
This may sound corny but I am just wondering. It looks like I am going
to be supporting a web app that is installed under Tomcat 1.1
Does anyone know what the release date of the Tomcat 1.1 was or the most
recent
Are you swapping during garbage collection?
Ronald.
On Tue Nov 27 19:58:24 CET 2007 Tomcat Users List users@tomcat.apache.org
wrote:
Folks:
We're having an intermittent problem with Tomcat becoming non-responsive for
a while (between 30 seconds and several minutes) and then recovering
On Tue Mar 04 16:53:40 CET 2008 Tomcat Users List users@tomcat.apache.org
wrote:
I apologize if this has been asked before or if it's mentioned in a FAQ
(that I haven't found yet) but what are the best practices for deploying
webapps across a cluster?
The situation I will soon have is 6
Could it be the Timer is waiting for a previous action to finish? Maybe the FTP
connect 'hangs'.
Ronald.
On Fri Jun 29 16:41:13 CEST 2007 Tomcat Users List users@tomcat.apache.org
wrote:
I have an app running in Tomcat 5.5.12, with jre 1.5.0_12 (explicitly
specified in the service
Is this static content or served by a custom servlet?
If you can set the content-length of the response it shouldn't use chunked
encoding.
Ronald.
PS: I'm not a Tomcat developer, so I could be wrong about this.
On Wed Jul 18 14:45:42 CEST 2007 Tomcat Users List users@tomcat.apache.org
wrote:
On Fri Jul 20 15:23:45 CEST 2007 Tomcat Users List users@tomcat.apache.org
wrote:
Christopher Schultz-2 wrote:
So, multiple simultaneous AJAX requests are considered illegal?
Exactly. All requests that modify the session state will be synchronized.
Christopher Schultz-2 wrote:
I
Do you monitor the memory usage over time?
Is it steadily increasing? Or does it peak at one moment?
Ronald.
On Fri Aug 10 20:36:44 CEST 2007 Tomcat Users List users@tomcat.apache.org
wrote:
Hello Tomcat Users ,
Our web application uses Tomcat 5.5.20 with Java
1.6. The application's front end
ClientAbortException means the user canceled the download (the 'client
aborted'). There is nothing you can do about that on the server.
Ronald.
On Tue Aug 14 15:57:25 CEST 2007 Tomcat Users List users@tomcat.apache.org
wrote:
Folks;
still messing around with an error like this: In our
What java version are you running?
Ronald.
On Fri Aug 17 16:00:41 CEST 2007 Tomcat Users List users@tomcat.apache.org
wrote:
Hi,
I have installed Tomcat 5.5.23_1 on FreeBSD 6.2. I have used Servlets a
lot in the past but have not used ant. I am now trying to get this
development
On Wed Aug 22 04:09:29 CEST 2007 Tomcat Users List users@tomcat.apache.org
wrote:
Ronald Klop wrote:
What java version are you running?
Ronald.
On Fri Aug 17 16:00:41 CEST 2007 Tomcat Users List
users@tomcat.apache.org wrote:
Hi,
I have installed Tomcat 5.5.23_1 on FreeBSD 6.2. I
On Wed Aug 22 10:58:13 CEST 2007 Tomcat Users List users@tomcat.apache.org
wrote:
Do you know some Windows script to delete Tomcat logs after 5 days?
Thanks a lot
Windows has a scheduler. Put 'DEL c:\Tomcat\logs\*.*' in it every 5 days.
Ronald.
See the table in this page. On Windows on i586 java always defaults to client
runtime. (amd64 or ia-64 are different)
http://java.sun.com/docs/hotspot/gc5.0/ergo5.html
If you can set JAVA_OPTS=-server java starts with it. Print
System.getProperties() and you can see what runtime is used.
On Wed Aug 22 14:47:04 CEST 2007 Tomcat Users List users@tomcat.apache.org
wrote:
Ronald Klop wrote:
On Wed Aug 22 04:09:29 CEST 2007 Tomcat Users List
users@tomcat.apache.org wrote:
Ronald Klop wrote:
What java version are you running?
Ronald.
On Fri Aug 17 16:00:41 CEST 2007
Curl is a command line http client. It is available for almost all unix/linux
platforms.
It is easy to use in scripts to download stuff from http servers. It is not a
hacking tool.
You should look at what people are downloading/requesting with it.
Ronald.
On Thu Aug 23 09:25:51 CEST 2007
Hello,
I have this problem in which there is very little data to get to a solution.
- Running a 5 node cluster of 5.5.23 on java 1.5.0_10. Debian 4.0 and kernel
2.6.22.18-SMP.
- It runs behind a Linux LVS which balances the connections over the cluster.
- Attached is my server.xml.
- Sessions
Hello,
My Tomcat's (5.5.26) currently print 'INFO: Manager [] expiring sessions upon
shutdown' on shutdown.
This triggers my SessionListeners which prints a lot of these lines.
[nl.base.servlets.SessionListener] Logout: [EMAIL PROTECTED] [userid=43321]
[nl.base.servlets.SessionListener] Logout:
I have this in my logs. Running tomcat 5.5.26.
Exception in thread ClusterListenThread-2
java.lang.ArrayIndexOutOfBoundsException: 1024
at org.apache.catalina.cluster.io.XByteBuffer.toInt(XByteBuffer.java:222)
at
org.apache.catalina.cluster.io.XByteBuffer.countPackages(XByteBuffer.java:163)
at
On Wed Mar 19 23:13:33 CET 2008 Tomcat Users List users@tomcat.apache.org
wrote:
Rajeev Angal wrote:
I misspoke - this is happening on Tomcat 6.0.16 only .
6.0.10 is working fine on all browsers.
Any pointers highly appreciated.
It is a known issue in 6.0.16. A patch is currently under
On Thu Mar 20 14:00:55 CET 2008 Tomcat Users List users@tomcat.apache.org
wrote:
Ronald Klop wrote:
On Wed Mar 19 23:13:33 CET 2008 Tomcat Users List
users@tomcat.apache.org wrote:
Rajeev Angal wrote:
I misspoke - this is happening on Tomcat 6.0.16 only .
6.0.10 is working fine on all
Hello,
When I shutdown a node in my cluster (tomcat 5.5.26) sessionDestroyed is called
on all SessionListeners on that node.
But I'm running a cluster, so one node stopping doesn't mean the session is
destroyed.
My understanding is that expireSessionsOnShutdown=false by default and I
don't
:
It's expected behavior, sessions will always expire on the local node
during a graceful shutdown.
expireSessionsOnShutdown=false simply means that we don't expire
sessions in the remote nodes
Filip
Ronald Klop wrote:
Hello,
When I shutdown a node in my cluster (tomcat 5.5.26
Hi,
I'm doing listSessionIds by JMX on Tomcat 5.5.26.
Sometimes I get this exception. Is this only harmful to my jmx client or can it
also harm the running Tomcat?
Caused by: java.util.ConcurrentModificationException
at java.util.HashMap$HashIterator.nextEntry(HashMap.java:841)
at
Hello,
I have this on one of my cluster nodes. Is this normal?
We are running Tomcat 5.5.26 on linux 2.6.22.1. On all nodes netstat gives full
send and receive buffers on the tcp connections of the replication.
Cluster-FastAsyncSocketSender-6 daemon prio=1 tid=0x08d16af0 nid=0x78d7 in
On Fri Mar 21 14:46:03 CET 2008 Tomcat Users List users@tomcat.apache.org
wrote:
Hello Ronald,
Ronald Klop schrieb:
Hello,
I have this on one of my cluster nodes. Is this normal?
We are running Tomcat 5.5.26 on linux 2.6.22.1. On all nodes netstat
gives full send and receive buffers
Hi,
I am using the FastAsyncSocketSender. Ngrep show me it sends a session and than
receives 3 bytes (ack?). These 3 bytes are never read by the
FastAsyncSocketSender, so the recv buffer of Linux is filling up. If the recv
buffer is full. The send buffer on the other side is filled up after
On Fri Mar 21 15:40:32 CET 2008 Tomcat Users List users@tomcat.apache.org
wrote:
Ronald Klop schrieb:
On Fri Mar 21 14:46:03 CET 2008 Tomcat Users List
users@tomcat.apache.org wrote:
Hello Ronald,
Ronald Klop schrieb:
Hello,
I have this on one of my cluster nodes. Is this normal
On Fri Mar 28 16:11:21 CET 2008 Tomcat Users List users@tomcat.apache.org
wrote:
Folks,
I am in the process of hosting a site on Tomcat on Ubuntu. I will be
also running a mail server. As per your experience which are the top
mail servers? While googling I came to know these names :
Sendmail
I've had a problem with send/receive buffers filling up because
FastAsyncSocketSender doesn't read the Ack from the other cluster node.
Does netstat -n give you full buffers on the cluster tcp connections (port 8015
I think)?
This might cause Tomcat to stack up a lot of session data in its
See my previous mail about send/receive buffers filling because Ack wasn't read
by FastAsyncSender.
The option waitForAck=true did the trick for me. But for FastAsyncSender you should set
sendAck=false on the receiving side.
Ronald.
On Mon Mar 31 02:07:51 CEST 2008 Tomcat Users List
On Mon Mar 31 21:13:25 CEST 2008 Tomcat Users List users@tomcat.apache.org
wrote:
On Mon, Mar 31, 2008 at 3:38 AM, Ronald Klop [EMAIL PROTECTED] wrote:
See my previous mail about send/receive buffers filling because Ack wasn't
read by FastAsyncSender.
The option waitForAck=true did
Reverse DNS lookup which always fails?
Ronald.
On Mon Apr 14 23:46:23 CEST 2008 Tomcat Users List users@tomcat.apache.org
wrote:
Am running a Tomcat 6.0 server that is distributing a client program using
Java WebStart. The client program communicates to the server using
an RMI HTTP
Do you have a firewall which does DNS lookups?
Ronald.
On Tue Apr 15 08:58:18 CEST 2008 Tomcat Users List users@tomcat.apache.org
wrote:
Thanks Ronald,
I've got enableLookups=false in the server.xml file
and Wireshark shows no signs of DNS lookups.
Also, all of the Webstart stuff
We use JMX to check if all sessions are available on all nodes.
This is some info to do that from ant:
http://tomcat.apache.org/tomcat-5.5-doc/monitoring.html
It is also very easy to program it from Java.
This has helped us a lot detecting and debugging a session-sync problem a few
weeks ago.
@tomcat.apache.org
wrote:
Hello,
I have the same problem.
please let me know if you have got any solution to this.
sanjeev
Ronald Klop wrote:
In sessionDestroyed I register the user as logged out.
How can I know if sessionDestroyed is called from session.invalidate()
from the real
2008 Tomcat Users List users@tomcat.apache.org
wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Ronald,
Ronald Klop wrote:
| In sessionDestroyed I register the user as logged out.
|
| How can I know if sessionDestroyed is called from session.invalidate()
| from the real expiration
On Fri Apr 18 14:16:33 CEST 2008 Christopher Schultz [EMAIL PROTECTED] wrote:
Ronald,
Ronald Klop wrote:
Yes, I know how to work around the problem. But I don't like
workarounds. All implementations I can think of are very fragile. What
if somebody stops my Tomcat with kill one day
On Fri Apr 18 15:29:16 CEST 2008 Christopher Schultz [EMAIL PROTECTED] wrote:
Ronald,
Ronald Klop wrote:
But why does the client still have the same session after one node
shuts down. The session doesn't live on one node. It lives as long as
the cluster lives.
That's a good point.
I
Is there System.exit(0) in your code?
Ronald.
On Thu Apr 24 16:11:58 CEST 2008 Tomcat Users List users@tomcat.apache.org
wrote:
Hi Mark,
thanks for your reply.
My linux boxes have 4GB RAM available and there is no trace about a out
of memory error. In fact, i run 7 tomcats instances on
Hello,
I get this exception sometimes in my 2 node cluster. (tomcat 5.5.15)
The tomcat source learns me, the session is invalid at that point, but what
else can I learn from this exception?
Ronald.
HTTP Status 500 -
type Exception report
message
description The server encountered an
Hello,
I'm running a 4 node cluster of 5.5.15. The session replication works ok.
I am looking for a distributed way of sharing global data (non-session) between
the nodes.
Is the ServletContext clustered? Is there another good clustering method for
global data in my application?
If the
Do 'kill -QUIT pid-of-process' and look in your logs for the stacktraces
about what thread is doing what.
Or run 'jstack pid-of-process'.
This works on Unix/Linux. I don't know how to do this on Windows.
Ronald.
On Thu Apr 13 09:27:36 CEST 2006 Tomcat Users List users@tomcat.apache.org
Do this a couple of times and see which thread stays the same and which one
changes it stack. That's probably the one which is doing things.
Ronald.
On Thu Apr 13 11:01:01 CEST 2006 Tomcat Users List users@tomcat.apache.org
wrote:
I already done that dump using that kill quit command
manager.sendAllSessions=false
manager.sendAllSessionsSize=500
manager.sendAllSessionsWaitTime=20
I believe this is documented on the website
Filip
Ronald Klop wrote:
No, one node is restarting, while the other three keep running.
Ronald.
On Wed Sep 06 19:18:14 CEST 2006 Tomcat Users List
users
Hello,
I fixed my cluster sync problem. But now I find a lot of these lines in the
logs. What is the reason of this? Should I fix it? Or is it harmless?
I searched in google, but didn't find anything. Can I provide more info?
Greetings,
Ronald.
Nov 15, 2006 12:22:34 PM
@tomcat.apache.org
wrote:
On Today at 1:13pm, RK=Ronald Klop [EMAIL PROTECTED] wrote:
RK Ok. It took a while, but I finally had the time to try this.
RK
RK The chunking of data looks promissing. The timeout is still 60 seconds in my
RK config, but the servers have all the session in 1-3 seconds now
It helped us to upgrade to java 1.5.0_10. There are fixes for memory leaks in
native memory. They do not show up in the java heap.
Ronald.
On Wed Feb 07 23:34:45 CET 2007 Tomcat Users List users@tomcat.apache.org
wrote:
Op vrijdag, 2 oktober 2009 10:30 schreef Eugene johnba...@gmail.com:
Please, help me with bug:
https://issues.apache.org/bugzilla/show_bug.cgi?id=47797
and
http://www.jboss.org/index.html?module=bbop=viewtopict=161900
--
Best Regards, Eugene Batogov
Hi,
It's a coincidence, but
Hello,
I have made the servlet which I include below. If I send this request to it:
telnet localhost 8080
POST /timeout HTTP/1.1
Host: crm.ronald.base.nl
Content-Type: application/x-www-form-urlencoded
Content-Length: 100
But I don't send any data. My servlet than waits in
Op vrijdag, 2 oktober 2009 15:20 schreef Ronald Klop
ronald-mailingl...@base.nl:
Hello,
I have made the servlet which I include below. If I send this request to it:
telnet localhost 8080
POST /timeout HTTP/1.1
Host: crm.ronald.base.nl
Content-Type: application/x-www-form
Op maandag, 5 oktober 2009 00:47 schreef André Warnier a...@ice-sa.com:
Christopher Schultz wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Ronald,
On 10/2/2009 9:20 AM, Ronald Klop wrote:
But I don't send any data. My servlet than waits in getParameterMap(),
because that try's
Op zondag, 4 oktober 2009 22:23 schreef Christopher Schultz
ch...@christopherschultz.net:
Ronald,
On 10/2/2009 9:20 AM, Ronald Klop wrote:
But I don't send any data. My servlet than waits in getParameterMap(),
because that try's to read the inputstream and parse the parameters
Hi,
If I send this to my Tomcat it responds with HTTP/1.1 200 OK and calls my
servlet. :-)
telnet localhost 8080
FOO / HTTP/1.1
Host: localhost
What is this suppost to do?
Ronald.
method. Probably this is ok.
Ronald.
Op maandag, 12 oktober 2009 12:01 schreef André Warnier a...@ice-sa.com:
Ronald Klop wrote:
Hi,
If I send this to my Tomcat it responds with HTTP/1.1 200 OK and calls my
servlet. :-)
telnet localhost 8080
FOO / HTTP/1.1
Host: localhost
What
Hi,
I have this jar (jutf7.jar) which should register itself with the
CharsetProvider of Java. If I put it in the WEB-INF/lib directory it is ignored
by Java. I understand that this is because of order in which the
WebappClassLoader asks all other classloaders for a class.
How can this be
, the code for Charset
seems to clearly be using ClassLoader.getSystemClassLoader()...
On Thu, Oct 29, 2009 at 10:51 AM, Ronald Klop
ronald-mailingl...@base.nl wrote:
Hi,
I have this jar (jutf7.jar) which should register itself with the
CharsetProvider of Java. If I put it in the WEB-INF/lib
Hi Imad,
I think also that Tomcat should only invalidate the Session on shutdown if it
is the last node in the cluster.
But the developers of Tomcat think of it as invalidating the Session object (as
in java Object) and you and me see it as invalidating the session of the user.
Ronald. (The
Hi Imad,
You can do everything you like, but it will all be dirty.
1. Set a global variable in your webapp before shutdown of a node. To see If it
is a planned shutdown or not.
2. Keep references about the nr. of clusternodes yourself. Can be done quite
cleanly with JMX.
3. Do not really
, but nice enough for
me.
Ronald.
Op dinsdag, 17 november 2009 16:38 schreef Pid p...@pidster.com:
On 17/11/2009 14:40, Ronald Klop wrote:
Hi Imad,
Ronald. (The Ronald of the link mentioned by Pid.)
Did the code supplied therein, work for you Ronald?
@Imad
The Servlet Spec
On Thu, 19 Nov 2009 13:30:19 +0100, Bruce Foster gis.fos...@gmail.com
wrote:
Hi List,
I have another thread running and someone suggested to use 64bit JDK
on my Windows 2003 server 64 bit.
Wonder, if there is a 64 bit installer for Tomcat on Windows. I see my
current tomcat is running x86
On Thu, 19 Nov 2009 14:59:16 +0100, Karthik Nanjangude
karthik.nanjang...@xius-bcgi.com wrote:
Hi
Can some body provide me a sample code for Socket (TCP / IP )
reading from a war application on Tomcat
Can Listeners be made use of for the same?
Reason: I need to Accept / Reply a
.
With regards
KArthik
-Original Message-
From: Ronald Klop [mailto:ronald-mailingl...@base.nl]
Sent: Thursday, November 19, 2009 9:06 PM
To: Tomcat Users List
Subject: Re: Howto Socket (TCP / IP ) reading from a war application on
Tomcat
On Thu, 19 Nov 2009 14:59:16 +0100, Karthik
on this list before and received help, no?
You've read this before, yes?
http://catb.org/~esr/faqs/smart-questions.html
p
With regards
KArthik
-Original Message-
From: Ronald Klop [mailto:ronald-mailingl...@base.nl]
Sent: Thursday, November 19, 2009 9:06 PM
To: Tomcat Users List
On Fri, 20 Nov 2009 14:22:57 +0100, André Warnier a...@ice-sa.com wrote:
Ronald Klop wrote:
On Fri, 20 Nov 2009 13:20:04 +0100, Karthik Nanjangude
karthik.nanjang...@xius-bcgi.com wrote:
Hi
You mentioned XML - use some existing library that works with XML.
A 3rd party Client S/w of C
This changelog link works better.
http://tomcat.apache.org/native-doc/miscellaneous/changelog-1.1.x.html
Cheers,
Ronald.
Op maandag, 23 november 2009 21:59 schreef jean-frederic clere
jfcl...@gmail.com:
The Apache Tomcat team announces the immediate availability of Apache Tomcat Native
Try insert some debug statements just before the out.write.
System.out.println(bytesRead: + bytesRead) would be interesting.
In fact this is kind of my-first-debugging and you don't even mention you did
try it.
Ronald.
Op dinsdag, 24 november 2009 17:57 schreef geoff...@fileflow.com:
. Input and OutputStream are not null, bytesRead is
the correct size and the buffer is also filled.
Any other ideas?
Best Regards
Geoffrey
On 24 Nov 2009, at 18:13, Ronald Klop wrote:
Try insert some debug statements just before the out.write.
System.out.println(bytesRead: + bytesRead) would
Always make a drawing.
client - https - tcp-loadbalancer - still same https connection- multiple
tomcats
client - https - http-loadbalancer (Apache, proxy) - new ajp/http(s)
connection- multiple tomcats
Normally the loadbalancer and tomcats are in the same private network. It is
your choice
If it is 304 and not 404. You can implement the lastModified method on
your Servlet and always return 0 or -1 (see the javadocs).
Ronald.
On Wed, 16 Dec 2009 15:47:33 +0100, Looijmans, Mike
mike.looijm...@oce.com wrote:
I assume you mean 304 (Not modified) instead of 404 (Not found).
No. But historical results are not a guarantee for the future.
It is very easy to make a heapdump with jmap and analyze it with MAT
(http://www.eclipse.org/mat/) or other tools as suggested by others on this
list.
Ronald.
Op woensdag, 13 januari 2010 11:44 schreef Greg McCane
Hello,
I think this is an interesting question. I wonder why there is no answer.
Ronald.
Op vrijdag, 8 januari 2010 17:20 schreef Lock Ian IC ian.l...@uk.fujitsu.com:
Hi
There was a feature introduced in 6.0.19 to not swallow the inputStream
if the servlet throws an exception and
Hi,
I'm running a webapp which use jaf (java activation framework) for javamail. In
the past it was possible to deploy different versions of our webapp in
different contexts of one tomcat instance. Jaf always was a jar within our
context. Since java 6 jaf is included in java 6 and we removed
Hi,
I use -Dsun.net.inetaddr.ttl=3600 and left the negative.ttl as default (10?).
Our network runs its own caching dns server. Never had any trouble with it.
Ronald.
Op dinsdag, 20 januari 2009 om 10:46 uur schreef Tomcat Users List
users@tomcat.apache.org:
Dear All,
Do any of you
Fix for step 3. Don't wait for Tomcat to detect changes. See
http://tomcat.apache.org/tomcat-6.0-doc/manager-howto.html or use
org.apache.catalina.ant.ReloadTask (which uses the manager). My compile command
automaticly calls this after a succesful compile.
Another tip: test business logic
Hi,
At the company I work we are doing this for a couple of years already with
Tomcat 4, 5 and now 6. Works very well. And makes threaddumps more easy to read.
A filter is very ease to make.
public class ThreadNameFilter implements javax.servlet.Filter {
public void doFilter(ServletRequest
As with the tips about usage of char in the switch you can also test using a
char in the if ... else.
if (myChr.length() != 1) {
throw new RuntimeException(invalid length);
}
char ch = myChr.charAt(0);
if (ch == 'c') {
p += 1;
} else if (ch == 'r') {
p += 2;
} ...
Should make a difference
client --- tomcatServer --- notificationServer
1. client sends request to tomcatServer
2. tomcatServer calls notificationServer.waitForEvent() (this can wait forever
if there is no event)
3. tomcatServer get event and send response to the client.
Warning: step 2 takes up 1 thread. You can
Hi,
Make sure you compile everything with Java 1.5 or javac -target 1.5. That wil
run in java 1.5 and 1.6.
Ronald.
Op woensdag, 24 juni 2009 20:54 schreef Ken Bowen :
Hi all,
I failed at searching for this, even though I know it's been answered:
Setting: Tomcat 6.0_20; Mac OS X 10.5.7;
You can create a filter or run on separate Tomcat instances.
NB: You are not solving the cause, but the effect. You don't have enough
threads or cpu-power to handle the total load.
Ronald.
Op maandag, 29 juni 2009 07:12 schreef prashant sharma :
Hi,
I have the following attributes in the
and the other that is allocated to the internal processing of the web application.
Thanks!
Prashant
From: Ronald Klop ronald-mailingl...@base.nl
To: Tomcat Users List users@tomcat.apache.org
Cc: prashant sharma psharma_...@yahoo.com
Sent: Monday, June 29, 2009 4:57:53 AM
Subject: Re: splitting
Hi,
I'm running Tomcat 6.0.20 in a cluster on 3 nodes. If I restart one I get this
exception:
Caused by: java.io.NotSerializableException:
org.apache.catalina.users.MemoryUser
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1156)
at
Op vrijdag, 3 juli 2009 17:48 schreef Mark Thomas ma...@apache.org:
Christopher Schultz wrote:
Ronald,
On 7/3/2009 6:34 AM, Ronald Klop wrote:
I'm running Tomcat 6.0.20 in a cluster on 3 nodes. If I restart one I
get this exception:
Caused by: java.io.NotSerializableException
Op donderdag, 9 juli 2009 14:22 schreef Mark Thomas ma...@apache.org:
Ronald Klop wrote:
Op vrijdag, 3 juli 2009 17:48 schreef Mark Thomas ma...@apache.org:
Christopher Schultz wrote:
Ronald,
On 7/3/2009 6:34 AM, Ronald Klop wrote:
I'm running Tomcat 6.0.20 in a cluster on 3 nodes
This can be quite informative.
jstat -gc pid 5s
Ronald.
Op maandag, 17 augustus 2009 17:02 schreef hruesga lord_dyna...@hotmail.com:
Listers:
We are trying to enable the garbage collector log for jvm to see what
happens with our leak memory issue, i've already try to export CATALINA_OPTS
byte[] b = new byte[100];
Op woensdag, 19 augustus 2009 10:51 schreef Thomas G. Lau
thomas@ntt.com.hk:
Dear Tomcat Users,
how could I pump up memory usage on tomcat? we want to test if tomcat having
any problem when changed environment from 32 bit 2GB limitation to 64bit
1 - 100 of 191 matches
Mail list logo