On Thu, May 8, 2008 6:21 am, mamta chaudhary wrote:
I am configuring mod_jk to connect apache2.2 and tomcat5.5. But it seems
apache is not connecting to tomcat.
If I run
http://example.com:8080/jsp-examples/ or
http://example.com:7690/jsp-examples/ [here 8080 is tomcat port and
7690 is
On Thu, May 8, 2008 6:16 am, Dave wrote:
Hi, I am using Apache mod JK as load balancer for tomcat instances. Tomcat
instances are on the different machines with public IP addresses. Will the
HTTP responses go back to the Apache load balance? If so, it will slow
down the response. how to
Andrew Hole schrieb:
Thanks
What means: error 10054 = Connection reset by peer.
The backend (Tomcat) or the firewall or something similar in between
httpd and Tomcat send back a TCP reset packet, when mod_jk send a packet
on an established connection. A reset connection can not be used any
we use sar and look at cpu utilisation..
- Original Message
From: Tomcat Users List users@tomcat.apache.org
To: Tomcat Users List users@tomcat.apache.org
Subject: Re: CPU usage quirk with multiple tomcat instances
Date: 07/05/08 08:13
btw, how do you measure it? vmstats? top?
but sar only shows you 10 minute averages ,right?
It would never show you any peaks.
leon
On Thu, May 8, 2008 at 12:09 PM, Lists [EMAIL PROTECTED] wrote:
we use sar and look at cpu utilisation..
- Original Message
From: Tomcat Users List users@tomcat.apache.org
To: Tomcat
Hi Mark - I appear to have the same issue here.
What I've done is changed the default UserDatabase realm, added digest='MD5'
and digested the passwords in the file. This works fine.
I've then changed web.xml to DIGEST authentication and re-digested the
passwords as user:UserDatabase:password
lunarfish wrote:
Hi Mark - I appear to have the same issue here.
What I've done is changed the default UserDatabase realm, added digest='MD5'
and digested the passwords in the file. This works fine.
I've then changed web.xml to DIGEST authentication and re-digested the
passwords as
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
To whom it may concern,
karthikn wrote:
| As per TOMCAT CLUSTERING HOWTO documents
| I am trying clustering on 2 TOMCAT 5.5.23 on WINDOWS OS sharing the
| same JVM 1.6
What are you using to split traffic between these two instances? It does
not
Thank You very much.
I can confirm that it works with balancers with mod_jk 1.2.18 too, allthough
that is not as clearly documented as in the docs for the current mod_jk version.
Original-Nachricht
Datum: Wed, 07 May 2008 20:20:34 +0200
Von: Rainer Jung [EMAIL PROTECTED]
An:
Hi, Andrea,
Look at this: http://iusr.spaces.live.com/blog/cns!69F4725ED815E770!408.entry
A summary of mine after resolving the same problem.
It's quite clear from the thread dump to tell which thread is running
into a JSP page.
Cheers,
Jerome
On Wed, May 7, 2008 at 10:19 PM, Andrea Di Muro
I will update to mod_jk 1.2.18 and in the documentation there are the
directives
(doku/apache/mod_jk/tomcat-connectors-1.2.18-src/docs/config/workers.html)
What is not really clear to me is what directives are _only_ for what
worker types.
That is clearly documeted in the current worker doc
Hi everybody,
I'm using tomcat 5.5.9 and am encountering a strange behaviour. I'm not
sure, if it may be a tomcat issue...
I'm putting an object (called form) into the user's session using
session.setAttribute() and retrieving it again (after the user has done
some actions) using
Abid Hussain wrote:
Anybody got an idea, how this can happen? Does tomcat modify the objects
in session somehow...?
Do you have any session persistence configured?
Mark
-
To start a new topic, e-mail:
Hi
Sorry for delay and Thx for the reply
I'm certainly confused as to why you would run two Tomcats on the same
JVM. First of all, how did you do that? Are you using Tomcat embedded or
something?
Yes I have 2 TOMCAT individual running on same Windows2000
Machine sharing the same JVM with
Hi,
thanks for help. As far as I know, persisting sessions is only used when
stopping and restarting tomcat, which didn't happen in my case. So, this
shouldn't be the reason...?
If it's important for this issue, I can have a look in the server.xml.
This would take some time, cause I've no
Hi Mark.
Thanks for the swift response. I've just upgraded to 5.5.26 (5 minutes ago)
and the digest auth is all working with the newer release. I guess it may
just have been broken in 5.0.28.
Cheers. Dan
--
View this message in context:
From: Abid Hussain [mailto:[EMAIL PROTECTED]
Subject: Re: retrieving two different objects from session
(should be thesame)
So, this shouldn't be the reason...?
Are you properly synchronizing accesses to the session for concurrent
requests? Browsers will almost always generate multiple
Thanx Felix for the clarification. I have one more question. Although the
following error is not interrupting, I am getting this error as soon as I start
Apache.
Starting web server (apache2)...[Thu May 08 08:30:56 2008] [warn] Useless use
of AllowOverride in line 25.
[Thu May 08 08:30:56
Hi All - can anyone help me with this as I'm under pressure and am a relative
newcomer to Tomcat. The problem seems to be with the Java Security Manager, if
I'm not mistaken. The following 'access denied' entries are recorded in the
main logger for Tomcat: (I have enabled SecurityManager
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chuck,
Caldarale, Charles R wrote:
| Are you properly synchronizing accesses to the session for concurrent
| requests?
Silly question how do you do this?
The result of HttpServletRequest.getSession gives you a SessionFacade
which is not
Hi again,
I'm not sure if I got the point. I would have thought that it doesn't
matter if concurrent requests come in, cause:
1. There's only one request which ends up in the servlet where the
described behaviour came up. The other requests which are generated by
the browser wouldn't be
Hi,
The result of HttpServletRequest.getSession gives you a SessionFacade
which is not guaranteed to be the same as the one given to another
thread accessing the same session (right?). You could synchronize using
an object stored /in/ the session, but then you have to worry about that
object
From: Christopher Schultz [mailto:[EMAIL PROTECTED]
Subject: Re: retrieving two different objects from session
(should be thesame)
Silly question how do you do this?
Synchronizing on the SessionFacade will suffice for this purpose -
checking if an attribute exists and then storing it
From: Abid Hussain [mailto:[EMAIL PROTECTED]
Subject: Re: retrieving two different objects from session
(should be thesame)
so this means, it's specified behaviour that there is no guarantee,
having an object placed in session would be the same after
retrieving it after some time...?
From: Abid Hussain [mailto:[EMAIL PROTECTED]
Subject: Re: retrieving two different objects from session
(should be thesame)
1. There's only one request which ends up in the servlet where the
described behaviour came up.
Only true if the user never opens two windows/frames targeting the
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chuck,
Caldarale, Charles R wrote:
| From: Christopher Schultz [mailto:[EMAIL PROTECTED]
| Subject: Re: retrieving two different objects from session
| (should be thesame)
|
| Silly question how do you do this?
|
| Synchronizing on the
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Karthik,
karthikn wrote:
| Yes I have 2 TOMCAT individual running on same Windows2000
| Machine sharing the same JVM with Startup / Shutdown Ports,but not
| embedded.
Can you explain how to start two Tomcat instances in a single JVM?
| Would this
From: Christopher Schultz [mailto:[EMAIL PROTECTED]
Subject: Re: retrieving two different objects from session
(should be thesame)
My tenuous understanding of session handling in Tomcat
is that HttpServletRequest.getSession roughly returns:
new
From: Christopher Schultz [mailto:[EMAIL PROTECTED]
Subject: Re: TOMCAT CLUSTERING HOWTO
Can you explain how to start two Tomcat instances in a single JVM?
I suspect the OP means one JVM installation as opposed to one JVM
instance. (He seems a bit, shall we say, terminology challenged.)
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chuck,
Caldarale, Charles R wrote:
| Clustering does not work without a load balancer. Period.
|
| Not strictly true. Clustered Tomcats don't care if the requests are
| coming through a load balancer or someone manually changing port or
| IP
are you proposing synchronized access to facade object
?
M-
- Original Message -
From: Christopher Schultz [EMAIL PROTECTED]
To: Tomcat Users List users@tomcat.apache.org
Sent: Thursday, May 08, 2008 10:33 AM
Subject: Re: retrieving two different objects from session (should be
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chuck,
Caldarale, Charles R wrote:
| From: Christopher Schultz [mailto:[EMAIL PROTECTED]
| Subject: Re: retrieving two different objects from session
| (should be thesame)
|
| My tenuous understanding of session handling in Tomcat
| is that
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Martin,
Martin wrote:
| are you proposing synchronized access to facade object
No, I'm suggesting that it should be easy enough to:
synchronized(session) {
~ // do something that requires exclusive session access
}
~From what Chuck says, it
I followed the instructions to setup the ssl server for tomcat(stand alone)
on the website. I'm using v5.5 with jre 1.5 on solaris. I created my
keystore, got a signed cert from my CA and inserted it into the keystore,
added my CA chain certs to the keystore. I modified the server.xml file to
I followed that same tutorial. Here's mine, looks good compared to yours:
Connector port=8443 maxHttpHeaderSize=8192
maxThreads=150 minSpareThreads=25 maxSpareThreads=75
enableLookups=false disableUploadTimeout=true
acceptCount=100 scheme=https
Dear Tomcat users,
*Situation:*
- I have internal web application (corporate web site only).
- I don't have Domain, user access our site using example:
http://107.105.13.236/webApplication/.
*Problem:*
- Users see tomcat manager console site when they type in URL
http://107.105.13.236/
---
HARBOR: http://coolharbor.100free.com/index.htm
The most powerful application server on earth.
The only real POJO Application Server.
Making the Java dream come true.
Mr. Johnny Kewl,
Thank you very much for your quick reply.
I get what are you trying to say.
except on the last part:
Also make a note of the URL on the default page, so you can still get at
the admin stuff.
what note? please write simple example.
You're right, if I restricted the users from
Hi Felix,
Thank you for your help.
One apache in the front end as load balancer is not sufficient for heavy
traffic. If I use two apaches in the front, how to use DNS to load balancing
Apaches? That is, some requests go to Apache1, and the others go to Apache2.
For example, for
hi
Please tell me a way to configure SSL environment using embedded tomcat
6.0. I have tried it using Embedded tomcat 5.5.9 and it accepts the
https requests. But when trying to run the same code using embedded
Apache tomcat 6.0, it doesnt accepts https requests.
When I debugged it, I found
Hi all,
Can anyone send me any sample source code(war file) that implements
session for a very important testing purpose of clustering.
--
-Coolest Regards,
Praveena Chalamcharla,
Securview
41 matches
Mail list logo