Winsock error 10054 is a connection reset.
Do you use socket_timeout in workers.properties? If yes, try without
socket_timeout (but have a look at the other timeout possibilities of
mod_jk). Socket_timeout is difficult to handle at the application=mod_jk
layer.
Any changes on the firewall
Did you set jmvRoute in server.xml?
Scott Danforth wrote:
I'm trying to use jk1.2.20 mod_jk with Apache 1.3 for load balancing two
tomcat services and sticky sessions aren't working.
My application requires authentication, and displays a login on a new
session. When I kill one of the
It works, because clustering means session replication. Any changes to
sessions are replicated to the other cluster members, so any member can
server any session, even if no member failed.
But: with stickyness (different jvmRoutes and a session sticky load
balancer) you only rely on the
Halo!,
I had a similar problem with ssl. Our platform is Window2000,
jdk1.5.0, Tomcat 5.5.20. I followed the instructions given in url below and
Tomcat gave https service. SSL works .
http://neeraj.name/2005/05/05/installing-ssl-on-tomcat
Please see whether it is of any help to you.
Rainer;
at first, thanks for your hints and getting my view on the world set
straight again. ;)
[Rainer Jung [EMAIL PROTECTED] @ Fri, 23 Feb 2007 09:32:59
+0100]
But: with stickyness (different jvmRoutes and a session sticky load
balancer) you only rely on the correctness of the replication
Hi!
Thanks for the answare!
As far as we know and according to the networking guys there has been no
changes in the firewall and the load balancer, but I must admit that it
is a very tempting error. The problem is that we have a hard time to
localize the problem, we even can't se that the
OK, my mail was slightly misleading: the other timeouts should *not* bea
a reason for error -54. The one that could be a source of trouble is
socket_timeout. You've got it in your configuration. Delete it and try,
if this fixes the problem - might be.
Tie messages to requests: No easy way.
... and by the ay: 5.5.12 is pretty outdated ...
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
From: wang suya [mailto:[EMAIL PROTECTED]
I decided to use javascript and AJAX to realize my application
but when the sheet cells are drawed by DIV, the DIV's size
can be decided by
style type, when I drag the DIV eage, how can I change the
DIV style type?
Could anbody tell me or give
Thank you for again for your answare, we will dig into this further and
se if we could find the actual timeouts/resets.
I have installed tomcat 5.5.20 on one of four machines with the latest
1.1.4 APR now to see if that solves anything.
If we can't solve this, are you avaiable for consulting?
Hi guys! I was just wondering... I setup a tomcat server and an
apache
server for my previous company before. I used mod_jk for that and
it
worked for several months. However, my previous company contacted
me
and told me that they could not access the domain anymore. When I
tried, it seems
Peter is right.
But, since I'm taking the time to reply your message, have a look at Google's
GWT library.
- Original Message -
From: Peter Crowther [EMAIL PROTECTED]
To: Tomcat Users List users@tomcat.apache.org
Sent: Friday, February 23, 2007 6:22 AM
Subject: [OT] RE: How can I
Hi
This symptom occured only after their host suspended their
account ...
They propably changed the configuration thatfor.
Are they sure, the configuration is the same again?
Regards,
Steffen
smime.p7s
Description: S/MIME cryptographic signature
Sorry... my bad. My math doesn't work early in the morning. :-[
At any rate, the validation query run every minute is still acting as a
keep-alive on the connection. It'll never go stale. Personally I'd
drop the testWhileIdle, timeBetweenEvictionRuns, minEvictableIdleTime
and just let the
Blake Smith schrieb:
Hi,
I am running a Red Hat Enterprise 4 Linux Server. I have Tomcat installed
under port 8080. I have setup iptables to redirect all request for port
80 to 8080. I also have Java JDK 1.5.0_10 installed. The $CATALINA_HOME
and $JAVA_HOME variables have been set
I have added this statement in catalina.bat
set CATALINA_OPTS=-Dcom.sun.management.jmxremote -
Dcom.sun.management.jmxremote.port=1099 -
Dcom.sun.management.jmxremote.ssl=false -
Dcom.sun.management.jmxremote.authenticate=false
I try to use Jconsole to connect to the tomcat jmx agent but it is
I am using Tomcat 5.5.15 embedded version. I have a Web application which
refers to a JNDI Datasource. Can somebody tell me how to register a JNDI
Datasource in the Tomcat embedded version.
--
Thanks
Afkham Azeez
http://www.wso2.org
GPG Fingerprint: 643F C2AF EB78 F886 40C9 B2A2 4AE2 C887 665E
Hi,
We run a webapplication on 2 Tomcat 5.5 instance (with file session-sharing)
in cluster.
We use log4j for logging, it logs through a JDBC-Appender to mysql.
We have copied the log4j.jar under WEB-INF/lib directory of webapp. (No
under Tomcats)
Both Tomcat uses the same properties file to
From: ashish shrivastava [mailto:[EMAIL PROTECTED]
Subject: Re: how to pass a parameter to tomcat startup in windows?
Open the tomcat console for widows (Start-ALL Programs --Apache
Tomcat 5.X-- Monitor Tomcat).
click on JAVA tab (the fourth one)
Add the parameter in JAVA Options:
On Feb 21, 2007, at 3:25 PM, Kirk wrote:
There was a thread from February 1st on this same issue. I am
having the
same problem that person did, but I tried everything in the thread
and still
no luck.
After I get mod_jk compiled I get this on server startup:
failure: CORE3170:
Mladen Turk wrote:
Scott Danforth wrote:
I'm trying to use jk1.2.20 mod_jk with Apache 1.3 for load balancing
two tomcat services and sticky sessions aren't working.
You don't have session affinity mark
For each instance add jvmRoute=tomcat1 or
jvmRoute=tomcat2 for a second instance. See:
Steffen Heil wrote:
Hi
That's the way You should go:
http://www.linux.org.mt/article/tomcat-ports
I totally disagree.
First, it would surely be best to update to 6.0 and run it using jsvc
However, let's look at the solution in the link above.
1. The Apache solution. (Which should be
From: Rutherford, Michael [mailto:[EMAIL PROTECTED]
Subject: Determining the complete classpath for a web app in
Tomcat 5.5
I am attempting to find a (preferably simple :-) way to find out the
complete classpath for a web app.
Not sure why you want to do this, but in any event, first
P.S. I see a mention of cluster in the documentation for jvmRoute. Do
I need to configure a cluster perhaps?
-- Scott.
Scott Danforth wrote:
Mladen Turk wrote:
Scott Danforth wrote:
I'm trying to use jk1.2.20 mod_jk with Apache 1.3 for load balancing
two tomcat services and sticky
Scott Danforth wrote:
Mladen Turk wrote:
Thanks for your help. That sounds very reasonable, and I modifed the two
server.xml Engine elements as suggested, but it appears to make no
difference.
get_most_suitable_worker::jk_lb_worker.c (733): searching worker for
partial sessionid
Aha!!!
I was confused by the XML. I was changing the Engine element that was
previously commented out, and this, of course, is followed by another
(the real one, which wins, and didn't have a jvmRoute).
Thanks so much! Your comments helped me find my problem.
Thanks,
-- Scott.
Scott
Hi,
I have recently upgraded to tomcat 5.5.17 (on red hat linux on java 5)
and have noticed and read about the disappearance of the logger
element in the context which used to log stack traces and uncaught
exceptions.
I have looked through this list and although there are one or two
threads on
Hi,
as far as i remember, tomcat always uses a default-charset for decoding
the querystring. A call to request.setCharacterEncoding() only matters
for decoding POST-data.
Somewhere, this charset can be changed - for example to UTF-8.
Where can it be changed?
And if you know: what's the reason,
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Sven Köhler
Subject: charset for querystring decoding
And if you know: what's the reason, that the charset is not
configurable via request.setCharacterEncoding() ?
Might want to check out the FAQ entry on the topic:
I'm new to Tomcat and using version 5.5 on Debian Etch. I'm getting the
following error:
Feb 23, 2007 12:55:03 PM org.apache.struts.action.ActionServlet init
SEVERE: Unable to initialize Struts ActionServlet due to an unexpected
exception or error thrown, so marking the servlet as
Hi Folks,
I'm having trouble getting a context.xml file to be obeyed.
I'm using:
Tomcat 5.5.20, the stock install from tomcat.apache.org.
JDK 1.6, direct from Sun.
RedHat Enterprise Linux AS3
The application I'm installing is the Shibboleth Identity Provider
(IdP). The installation process
Obviously the subject should have been META-INF/context.xml
Sorry 'bout that.
Matt Bockol wrote:
Hi Folks,
I'm having trouble getting a context.xml file to be obeyed.
I'm using:
Tomcat 5.5.20, the stock install from tomcat.apache.org.
JDK 1.6, direct from Sun.
RedHat Enterprise Linux AS3
Sounds like the mod_jk configs got blown away in the web server configs.
On 2/23/07, Gamefaqs Philippines [EMAIL PROTECTED] wrote:
Hi guys! I was just wondering... I setup a tomcat server and an
apache
server for my previous company before. I used mod_jk for that and
it
worked for several
Hello, I have been trying to figure out the cause of a memory leak in my
web application that causes java.lang.OutOfMemoryError: GC overhead
limit exceeded and java.lang.OutOfMemoryError: Java heap space errors.
This happens about once a day after heavy load. I am using dumps from
jmap and
I think I've largely got my previous connection pooling issues solved, but I
did sort of get a strange error a bit ago.
it seems like one of my pool connections didn't get closed, though I'm looking
at that to make sure they do.
But I want to make sure the messages I'm getting across the
Hi,
Thanks to all you Tomcat participants for such a supportive community.
I've questions for tomcat source code lovers.
During forms authentication, does the FormAuthenticator store a
Principal in the Session via setNote()?
If so, does the notes map serve as a dude, totally private Map to
Because we have too and because I'm not a fan. : )
Is adding a new session attribute listener that will write a Session to
the database and using the combination of PersistentManager with a
JDBCStore viable for doing fail over with Tomcat servers?
If not, then why not?
Thank you for your
Of course... d. duhduhduh. I see the principal member
variable and set/getPrincipal() in StandardSession.
So really, Principal is stored in the Session object as a member
variable.
But what about that setNote(Globals.SOMETHING_SUBJECT, principal)
that I see in the auth classes...
From: Yong Bakos [mailto:[EMAIL PROTECTED]
Subject: where tomcat stores Principals (StandardSession.notes?)
During forms authentication, does the FormAuthenticator store a
Principal in the Session via setNote()?
Yes, in the authenticate() method.
If so, does the notes map serve as a
On 2/23/07, Tom Crinson [EMAIL PROTECTED] wrote:
The only way I have found to get round this problem is to define my own
Struts Request processor and override processException, and log the
uncaught exceptions in there to a logger specified in the webapp
log4j.properties.
So, my question is, is
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Sven Köhler
Subject: charset for querystring decoding
And if you know: what's the reason, that the charset is not
configurable via request.setCharacterEncoding() ?
Might want to check out the FAQ entry on the topic:
Oh! This sounds, like it's a bug and like it might be fixed in tomcat
6, for example. Now i'm curious, and will test tomcat 6 ...
Ahh damn - i didn't read properly.
It's the old story: it's NOT a bug, it's a feature ;-)
signature.asc
Description: OpenPGP digital signature
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Nathan,
Nathan Hook wrote:
Because we have too and because I'm not a fan. : )
I think Hassan was asking /why/ you are not a fan. I'm sure the
community would love to hear why the existing clustering is no good, in
an effort to make it better.
Is
I am trying to configure a cluster with static members, but so far no
luck. Am I missing something or is it not meant to be tested with both
members on localhost?
Both instances create their own sessions and no session propagation is
recorded in the logs. The log also shows that there are no
Try lambda probe for monitoring
-Original Message-
From: Leon Rosenberg [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 20, 2007 4:51 AM
To: Tomcat Users List
Subject: Re: Monitoring of Tomcat process
write a small programm (10 lines of code) which makes a http request
via
45 matches
Mail list logo