We are running apache and tomcat on the same machine (using the http
connector) and logging requests in both. Occasionally (maybe 1% of
requests) we see 502 response in the apache log spread fairly evenly
throughout the day. these requests don't appear in the tomcat log
produced by the access
Caldarale, Charles R wrote:
From: jigneshjsoni [mailto:jigneshjs...@gmail.com]
Subject: tomcat not working
what is wrong in here ?
Lots of things, such as you not telling us the Tomcat version you're using, the
JDK/JRE it's running on, the platform this is all installed on, the complete
feedly team wrote:
[...]
using netstat, i see a moderate number (~80) of tomcat's sockets in
the CLOSE_WAIT state, not sure if this is relevant.
Approximately, because I am not sure I have this really understood yet :
a TCP CLOSE_WAIT state happens when the writing side of a TCP connection
From: André Warnier [mailto:a...@ice-sa.com]
a TCP CLOSE_WAIT state happens when the writing side of a TCP
connection
has finished writing and (nicely) closes its side of the socket to
indicate the fact,
Yes.
but the reading side of the connection does not read
what is left in the
lol, any easy way of doing it? e.g. by the reverse of http-https
Thanks
--
View this message in context:
http://www.nabble.com/Redirect-from-https-to-http-tp22938216p22946827.html
Sent from the Tomcat - User mailing list archive at Nabble.com.
Hi.
As a follow-upon another thread originally entitled apache/tomcat
communication issues (502 response), I'd like to pursue the CLOSE-WAIT
subject.
Sorry if this post is a bit long, I want to make sure that I do provide
all the necessary information.
Like the original poster, I am seeing
Hello,
Is there are a small how-to to configure a hosting server with multiple
Tomcat Contexts?
e.g.:
http://www.test1.de - Tomcat Context /test1
http://www.test2.de - Tomcat Context /test2
.
Greetings
Alexander
smime.p7s
Description: S/MIME cryptographic signature
Hi Andre
André Warnier wrote:
feedly team wrote:
[...]
using netstat, i see a moderate number (~80) of tomcat's sockets in
the CLOSE_WAIT state, not sure if this is relevant.
Approximately, because I am not sure I have this really understood yet
: a TCP CLOSE_WAIT state happens when the
Alexander Diedler wrote:
Hello,
Is there are a small how-to to configure a hosting server with multiple
Tomcat Contexts?
e.g.:
http://www.test1.de - Tomcat Context /test1
http://www.test2.de - Tomcat Context /test2
You could do worse than searching the users-list archives, here :
André Warnier wrote:
Alexander Diedler wrote:
Hello,
Is there are a small how-to to configure a hosting server with multiple
Tomcat Contexts?
e.g.:
http://www.test1.de - Tomcat Context /test1
http://www.test2.de - Tomcat Context /test2
You could do worse than searching the users-list
From: André Warnier [mailto:a...@ice-sa.com]
It has been previously established that a socket in a
long-time-lingering CLOSE-WAIT status, is due to one or the other side
of a TCP connection not properly closing its side of the
connection when
it is done with it.
I also surmise (without
as2 wrote:
lol, any easy way of doing it? e.g. by the reverse of http-https
response.sendRedirect()
Mark
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail:
Alan Chaney wrote:
Hi Andre
Hi. And thanks, to Peter also.
As this might start to look like a thread hijack, I'll repost with a new
CLOSE_WAIT subject to continue this discussion.
-
To unsubscribe, e-mail:
Peter Crowther wrote:
[...]
Does that help? Or is it clear as mud?
For no-java-expert-me, it is indeed of the hazy category.
But it helps a lot, in the sense of adding a +3 in the column get
back to the vendor and ask them to fix their code.
;-)
Thanks.
Peter Crowther wrote:
[...]
If you have some way of forcing that Java process to collect garbage, you
should do so. It's possible for sockets that haven't been close()d to hang
around, unreferenced but not yet garbage collected. A full GC would collect
any of these, finalizing them as it
Hi,
I have am having some trouble getting my Apache/Tomcat/Mod_jk setup to work.
In short, the folder I specify in my Apache Vhost is not accessible. I
have added the following
to my vhost: JkMount /vhost1/* vhost1Worker
I can access the domain itself, but when I try accessing the domain
Leonard wrote:
Hi,
I have am having some trouble getting my Apache/Tomcat/Mod_jk setup to
work.
In short, the folder I specify in my Apache Vhost is not accessible. I
have added the following
to my vhost: JkMount /vhost1/* vhost1Worker
I have not read the rest, but just add another line
From: André Warnier [mailto:a...@ice-sa.com]
This process is started as a daemon, with a java command-line.
Is it possible to add some arguments to that command-line to induce
the JVM to do a GC more often ?
http://java.sun.com/javase/technologies/hotspot/gc/gc_tuning_6.html - I don't
think
In JkMount /vhost1/* vhost1Worker
vhost1 is the application context .
gianc64
Leonard wrote:
Hi,
I have am having some trouble getting my Apache/Tomcat/Mod_jk setup to
work.
In short, the folder I specify in my Apache Vhost is not accessible. I
have added the following
to my vhost:
Hi André
That's got to be the easiest fix ever. Thanks, that worked!
André Warnier wrote:
Leonard wrote:
Hi,
I have am having some trouble getting my Apache/Tomcat/Mod_jk setup
to work.
In short, the folder I specify in my Apache Vhost is not accessible.
I have added the following
to
Hi guys!
I'm getting a strange behaviour of Tomcat process.
I'm using a memory profiler and it shows the following info:
heap allocated memory: 278MB
non-heap allocated memory : 151MB
However, TOP shows that memory used by tomcat process is more or less 1GB.
WhY this happens? Is it possible to
Andrew Hole wrote:
Hi guys!
I'm getting a strange behaviour of Tomcat process.
I'm using a memory profiler and it shows the following info:
heap allocated memory: 278MB
non-heap allocated memory : 151MB
However, TOP shows that memory used by tomcat process is more or less 1GB.
What column of
From: Andrew Hole [mailto:andremailingl...@gmail.com]
Subject: tomcat process memory
WhY this happens? Is it possible to understant what is using the
remaining MB?
That 1 GB is the virtual space allocated to the process, so it includes not
only the Java heap, but also code, the C heap, OS
Linux. RES column.
What is the difference between heap and non-heap and where I can configure
the limit to non-heap?
Thanks
On Wed, Apr 8, 2009 at 2:58 PM, André Warnier a...@ice-sa.com wrote:
Andrew Hole wrote:
Hi guys!
I'm getting a strange behaviour of Tomcat process.
I'm using a
From: André Warnier [mailto:a...@ice-sa.com]
Subject: Re: CLOSE_WAIT and what to do about it
Relatedly, does there exist any way to force a given JVM process to do
a full GC interactively, but from a Linux command-line ?
I haven't found one yet, but there are numerous command-line
From: Andrew Hole [mailto:andremailingl...@gmail.com]
Subject: Re: tomcat process memory
What is the difference between heap and non-heap and where I can
configure the limit to non-heap?
The terminology depends on the profiling tool you're using - one of the many
pertinent things you
Hi,
What do I use best to set up a Shibboleth Identity provider: Apache in front of
Tomcat, Tomcat with APR or just Tomcat? And why?
I know Apache and APR use the OpenSSL libraries, which some say are safer. Are
there any more advantages I should know of?
Thanks in Advance!
Bart Ophelders
I'm using Your Kit Java Profiler:
PID USER PR NI VIRT RES SHR S %CPU %MEMTIME+
COMMAND
32121 tomcat25 0 1649m 962m 15m S 76 24.3 23:00.14 java
At this moment I've 501 heap allocated memory and 146 non-heap.
The total memory used by the process is increasing and has
From: Bart Ophelders [mailto:bartopheld...@hotmail.com]
Subject: Apache in front of Tomcat or APR?
What do I use best to set up a Shibboleth Identity provider:
Apache in front of Tomcat, Tomcat with APR or just Tomcat?
(I'll assume by Apache you mean httpd, since both Tomcat and httpd are
Chris/Chuck,
You are probably right about httpd. Please see the attached images for
details. The reason why I thought I had a 2.2 application is because whenever
I shutdown the 2.2 service, the main web site running on port 80 would not
launch. Please excuse my naiveness about our
From: Andrew Hole [mailto:andremailingl...@gmail.com]
Subject: Re: tomcat process memory
At this moment I've 501 heap allocated memory and 146 non-heap.
If you're using a HotSpot JVM (again, you didn't tell us) with YourKit, heap
memory is the space consumed by allocations in the young and
I'm trying to get Tomcat 6 running on a RedHat box.
I don't want to build deamon with jsvc as the docs say I should do, at least
not yet. Is this the extent of the official documentation for setting up
Tomcat on Linux?
I installed JDK 6 and Tomcat 6, defined JAVA_HOME and TOMCAT_HOME and setup
From: Jonathan Mast [mailto:jhmast.develo...@gmail.com]
I'm trying to get Tomcat 6 running on a RedHat box.
I don't want to build deamon with jsvc as the docs say I
should do, at least
not yet. Is this the extent of the official documentation
for setting up Tomcat on Linux?
You don't say
Is this: http://tomcat.apache.org/tomcat-6.0-doc/setup.html
the extent of the setup docs?
I'm reaching it by editing the hosts file on my windoze machine to resolve
all www.mysite.com requests back to an internal ip which is the machine in
question.
Tomcat is running as root or at least thats
http://httpd.apache.org/docs/2.2/
Read Compiling and Installing section
You will need to undertand the modules and directives of several
modules.
You will find in the Apache site instructions for mod_proxy, but if you
decide mod_jk then here are the instructions
Another possibility is having a single source for your host setup,
with some kind of script/program to generate both the httpd and Tomcat
config files from that. (That could turn out to be a marketable product.)
This is our backup plan, and probably what we'll end up doing.
Thanks folks!
Jordan Michaels wrote:
Another possibility is having a single source for your host setup,
with some kind of script/program to generate both the httpd and Tomcat
config files from that. (That could turn out to be a marketable product.)
The organisation of the Tomcat documentation is
Hi All,
I have been working with this problem for 3 weeks now and can't seem to
figure it out. I have a cluster of 3 Tomcat servers using mod_jk/1.2.27 and
Apache 2.2.9 and Tomcat 6.0.18
I am seeing these errors in my mod_jk.log.
[Tue Apr 07 17:57:11.829 2009] [29020:3075438336] [warn]
This is my workers.properties file too.
Thanks
Phil
# workers.properties
ps=/
# list the workers by name
worker.list=tomcat1,tomcat2,tomcat3,loadbalancer
#
# Specifies the load balance factor when used with
# a load balancing worker.
# Note:
# lbfactor must be 0
# Low lbfactor
Remove your tomcat workers from the worker.list, you only need to
reference the balance worker here:
worker.list=loadbalancer
your load balancer worker then refers to the tomcat workers:
worker.loadbalancer.balanced_workers=tomcat1,tomcat2,tomcat3
-Jorge
-Original Message-
From:
thanks for the reply.
I updated my workers.properties file to
worker.list=loadbalancer
still get this in my mod_jk.log.
[Wed Apr 08 17:21:46.840 2009] [29811:3075569408] [warn]
jk_map_validate_property::jk_map.c (410): The attribute
'worker.loadbalancer.balanced_workers' is deprecated -
On 08.04.2009 23:23, nohacks wrote:
thanks for the reply.
I updated my workers.properties file to
worker.list=loadbalancer
still get this in my mod_jk.log.
[Wed Apr 08 17:21:46.840 2009] [29811:3075569408] [warn]
jk_map_validate_property::jk_map.c (410): The attribute
Look for the replacement of balanced_workers in
http://tomcat.apache.org/connectors-doc/reference/workers.html
Also remove the ps line from workers.properties. It has no meaning.
Furthermore look at the page
http://tomcat.apache.org/connectors-doc/generic_howto/timeouts.html
to learn more
We've got two identical tomcat servers load balanced with apache as frontend.
Our site has a private side where users can log in. Once you've logged in,
there is a link to a forum. The forum ONLY resides on server1 at
/tomcat/webapps/forum (on server2 there is NO /tomcat/webapps/forum and so
We've got two identical tomcat servers load balanced with apache as frontend.
Our site has a private side where users can log in. Once you've logged in,
there is a link to a forum. The forum ONLY resides on server1 at
/tomcat/webapps/forum (on server2 there is NO /tomcat/webapps/forum and so
Hi André,
I didn't fully read all responses, so I hope i don't repeat to much (or
worse contradict statements contained in other replies).
On 08.04.2009 12:32, André Warnier wrote:
Like the original poster, I am seeing on my systems a fair number of
sockets apparently stuck for a long time in
On 08.04.2009 08:23, feedly team wrote:
We are running apache and tomcat on the same machine (using the http
connector) and logging requests in both. Occasionally (maybe 1% of
requests) we see 502 response in the apache log spread fairly evenly
throughout the day. these requests don't appear
On 08.04.2009 20:39, André Warnier wrote:
Jordan Michaels wrote:
Another possibility is having a single source for your host setup,
with some kind of script/program to generate both the httpd and Tomcat
config files from that. (That could turn out to be a marketable
product.)
The
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Jonathan,
On 4/8/2009 1:29 PM, Jonathan Mast wrote:
Furthermore, I can tell you that netstat -a indicated no listener for port
8080 and that that Catalina logs look ok.
Seriously. Post. Your. Server. Dot. XML. File.
- -chris
-BEGIN PGP
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
BJ,
On 4/8/2009 5:54 PM, BJ Selman wrote:
We've got two identical tomcat servers load balanced with apache as
frontend.
[snip]
When you hit refresh, some graphics display
while others go away keep hitting refresh and its a different
result
On 08.04.2009 16:25, Andrew Hole wrote:
I'm using Your Kit Java Profiler:
PID USER PR NI VIRT RES SHR S %CPU %MEMTIME+
COMMAND
32121 tomcat25 0 1649m 962m 15m S 76 24.3 23:00.14 java
At this moment I've 501 heap allocated memory and 146 non-heap.
The total
Hi all,
I'm using httpd 2.2 mod_jk as the load balancer server. There 2
tomcat nodes under the cluster. After run a long time, the tomcat node
need to restart (because I found that the system resource's usage is
too high, the cpu usage is almost 100%). During the restarting period,
httpd load
52 matches
Mail list logo