Use session replication with Tomcat Clustering and mod_jk loadbalancing
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/cluster-howto.html
Peter
Mark schrieb:
Is there any possibility for tomcats on separate machines to share
session information. I am looking into load balancing a few
Is there any possibility for tomcats on separate machines to share
session information. I am looking into load balancing a few tomcats
with an apache in front of them. In other words, the setup will be
internet - Apache(s) - Tomcats
Is it possible for this type of scenario to exist, and sesion
David Kerber wrote:
Then how do I isolate the instances of tomcat (and their respective
server.xml's? Do I need multiple installations of tomcat on my disk?
Start each 'instance' of tomcat with separate CATALINA_BASE env. vars.
This enables a different server.xml for each instance
Thanks for the suggestions, Kyle! I think either one of those
suggestions would be workable; I'll have to do some reading and testing
to see which I like better. The only reason I wanted them to run on
different ports is so that I don't have to change the url's they connect
to during this
is listening on, and then get that parameter
into my application? If so, how?
Another option is for my application to grab the machine name and port
that it is handling, and hit a common database to get the information
on what copy of the production to use. But again, I need my app to be
able
is for my application to grab the machine name and port
that it is handling, and hit a common database to get the
information on what copy of the production to use. But again, I need
my app to be able to find port information from tomcat, and I don't
know how to do that.
It seems like a 3rd
is listening on, and then get that
parameter into my application? If so, how?
Another option is for my application to grab the machine name and
port that it is handling, and hit a common database to get the
information on what copy of the production to use. But again, I need
my app to be able
Ah! Yes.
See! I did mention I wasn't an expert. :) Yes, multiple instances, in
my outlaid scenario equates to multiple installs. Whereas, multiple
running instances doesn't necessarily. Sorry.
Let me have a think about that for an hour or 4.
How do you tell tomcat which port to listen
hi,
Can we trust information about Free memory available to tomcat using
Runtime.freeMemory() ?
so if those memory won't go nearer to 0 (zero) it won't have problem Out of
Memory ?
-
To unsubscribe, e-mail: [EMAIL PROTECTED
currently setting up a Tomcat 5.5.9 cluster and we'd like to
share server information between the different instances. Our
approach so far has been to :
*create a session
*set it so that it never dies
*share it across the instances using session replication
*have the instances periodically post info
Hello,
we're currently setting up a Tomcat 5.5.9 cluster and we'd like to share server
information between the different instances. Our approach so far has been to :
*create a session
*set it so that it never dies
*share it across the instances using session replication
*have the instances
a Tomcat 5.5.9 cluster and we'd like to share server
information between the different instances. Our approach so far has been to :
*create a session
*set it so that it never dies
*share it across the instances using session replication
*have the instances periodically post info about themselves
-Message d'origine-
De : Ronald Klop [mailto:[EMAIL PROTECTED]
Envoyé : mardi 9 août 2005 17:07
À : Tomcat Users List
Objet : Re: Sharing server information across a cluster ?
Jini? JavaSpaces? Put your data in a database? Maybe the
ServletContext is already clustered in Tomcat
I want to know if it is possible to place the JDBC resource
information in the web.xml file in my context's WEB-INF directory? If
this is possible, what is the syntax?
Thank you.
-
To unsubscribe, e-mail: [EMAIL PROTECTED
Hi Mark,
Yep I'm pretty sure you can - you can even do pooling - check the tomcat
docs.
Adile
-Original Message-
From: Mark [mailto:[EMAIL PROTECTED]
Sent: August 2, 2005 10:21 AM
To: Tomcat Users List; [EMAIL PROTECTED]
Subject: can I put JDBC connection information in the webapps
fitchburg arum inhuman cancellate lighthearted
hausdorff lexicography sirius carl groan conrad imperial
bloop earthy decontrolling epitaxial charta escheat intoxicant ahead tenney
me know.
Cheers,
Prabhu S
This e-mail and any files transmitted with it are for the sole use of the
intended recipient(s) and may contain confidential and privileged information.
If you are not the intended recipient, please contact the sender by reply
e-mail and destroy all copies
On Wed, 11 May 2005 15:03:37 -0400
Henri Dupre [EMAIL PROTECTED] wrote:
I was wondering what is the best place to put version information in a war
file?
I'd like to put a build version and date at built time to my
application and have a way to retrieve them from the servlets.
I'm used
I was wondering what is the best place to put version information in a war file?
I'd like to put a build version and date at built time to my
application and have a way to retrieve them from the servlets.
I'm used to add the META-INF Implementation-version tag with jar files
but with Tomcat war
Henri Dupre wrote:
I was wondering what is the best place to put version information in a war file?
I'd like to put a build version and date at built time to my
application and have a way to retrieve them from the servlets.
I'm used to add the META-INF Implementation-version tag with jar files
I
call: HttpServletRequest.getUserPrincipal() ? If I then would cast it into
a org.demo.MyPricipal Object would it return the additional properties I
have defined?
Or alternatively: what would be the appropriate process to get more
information delivered from the authentication process
:[EMAIL PROTECTED]
Envoyé : mardi 19 avril 2005 05:41
À : Tomcat Users List
Cc : Gia Thornton
Objet : Re: Find login information from tomcat security
I'm also interested in how to get that principal info and maybe how to
overwrite or add methods.
-- Original message
Hi,
I am using Form-based tomcat security. I use a servlet to find login
information such as the principal name, all the role names for this principal.
I can use request.getUserPrincipal() from
javax.servlet.http.HttpServletRequest. Is there anyway I can use
GenericPrincipal class from
I'm also interested in how to get that principal info and maybe how to
overwrite or add methods.
-- Original message --
From: Gia Thornton [EMAIL PROTECTED]
Hi,
I am using Form-based tomcat security. I use a servlet to find login
information
Hi,
If someone in the net, found out, by any reason, our admin or manager user and
password, what resources he can get besides turn on/off the apps, looking
tomcat-users.xml?
Can he/she get info on the application context.xml like database user and
passwords?
Can he/she deploy an exe or
It depends if these apps are visible to the internet. You can use a
remote address filter (actually a valve not a filter in the servlet API
sense of the word) to limit their accessibility.
If the apps are visible, an attacker with your manager password can
replace one of your trusted
Thanks Mark, your input is much appreciated.
Lorenzo
-Original Message-
From: Mark Thomas [mailto:[EMAIL PROTECTED]
Sent: Miércoles, 13 de Abril de 2005 02:42 p.m.
To: Tomcat Users List
Subject: Re: Information on a hacked tomcat 5
It depends if these apps are visible to the internet
Information Regarding - Missing Characters:
==
For Diablo II characters:
If your Diablo II classic single player characters have disappeared after
installing Diablo II: Lord of Destruction then please download and install the
latest patch
Information Regarding - CD-Key Issues:
==
For information regarding your CD-Key, please check out our web site on CD-Key
issues:
Diablo II - (http://www.blizzard.com/support/?id=mdt000p)
Warcraft II Battle.net Edition - (http://www.blizzard.com
Information Regarding - C005:
==
If you are getting the error Unhandled Exception: Access Violation C005:
Uninstall and reinstall the game and download and install the latest patch
from: (http://www.blizzard.com/patches)
If this doesn't
Information Regarding - CD-Key Issues:
==
For information regarding your CD-Key, please check out our web site on CD-Key
issues:
Diablo II - (http://www.blizzard.com/support/?id=mdt000p)
Warcraft II Battle.net Edition - (http://www.blizzard.com
who? what? and where?
From: [EMAIL PROTECTED]
Reply-To: Tomcat Users List tomcat-user@jakarta.apache.org
To: tomcat-user@jakarta.apache.org
Subject: Support Information Regarding - CD-Key Issues
Date: Wed, 9 Feb 2005 09:56:00 -0800
Thank you for emailing Blizzard Entertainments Technical Support
Information Regarding - C005:
==
If you are getting the error Unhandled Exception: Access Violation C005:
Uninstall and reinstall the game and download and install the latest patch
from: (http://www.blizzard.com/patches)
If this doesn't
blessed posting solicits one of these replies. They are
more amusing when the list in question replies in dutch.
-Original Message-
From: Didier McGillis [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 09, 2005 1:16 PM
To: tomcat-user@jakarta.apache.org
Subject: RE: Support Information
Information Regarding - C005:
==
If you are getting the error Unhandled Exception: Access Violation C005:
Uninstall and reinstall the game and download and install the latest patch
from: (http://www.blizzard.com/patches)
If this doesn't
Hi
I'm a Ph.D. student at CMU looking for information on the number of
times Tomcat is downloaded. I'm investigating defect occurrence (i.e. bugs)
predictions for open source projects. I have done some preliminary work
describing the defect occurrence patterns of Tomcat (and a couple
http://www.apache.org/~vgritsenko/stats/projects/tomcat.html
But see the disclaimer at the bottom of the link above.
-Tim
Paul Luo Li wrote:
Hi
I'm a Ph.D. student at CMU looking for information on the number of
times Tomcat is downloaded. I'm investigating defect occurrence (i.e. bugs
:
Hi
I'm a Ph.D. student at CMU looking for
information on the number of
times Tomcat is downloaded. I'm investigating
defect occurrence (i.e. bugs)
predictions for open source projects. I have done
some preliminary work
describing the defect occurrence patterns of
Tomcat
Thanks Tim for the reply and the great link.
It's difficult hard to decipher the actual numbers from the charts. Is there
a chance that I can get the numbers used to generate the graphs? Also, I
noticed that the chart only goes back to 2002. Does the information go back
to 2000?
I have
that I can get the numbers used to generate the graphs? Also, I
noticed that the chart only goes back to 2002. Does the information go back
to 2000?
I have bugzilla data on Tomcat 3, Tomcat 4, and Tomcat 5 going back to 2000.
My plan is to fit a model using historical metrics information like LOC
not
assist you or it is not relevant towards your message, please reply
back to this email and a live technician will respond to you as soon
as possible.
==
Support Information Regarding - C005
Information Regarding - C005:
==
If you are getting the error Unhandled Exception: Access Violation C005:
Uninstall and reinstall the game and download and install the latest patch
from: (http://www.blizzard.com/patches)
If this doesn't
Information Regarding - CD-Key Issues:
==
For information regarding your CD-Key, please check out our web site on CD-Key
issues:
Diablo II - (http://www.blizzard.com/support/?id=mdt000p)
Warcraft II Battle.net Edition - (http://www.blizzard.com
Ok I need some clarification on some things with the JWSDP and Tomcat 5
+.
I am interested in deploying a JAX-RPC web service on Tomcat 5+ non
jwsdp, is this even possible?
The main reasons being:
1. For deployment purposes, we would rather not have to install
development tools
I see in the manager app that only server status information about
connections to the manager app has extended information attached to
it.
For our production webapp the only information is that it is a Keep
alive connection, and it has no metric about bytes sent or received,
or what the request
Hi,
I see in the manager app that only server status information about
connections to the manager app has extended information attached to
it.
That's not exactly true. The application status, VM state, and thread
pool status is output for all applications on the Host.
Have you tried doing
Important bill!
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi All
I am a new user of tomcat.i need to run flex app in tomcat can anybody
guide me thru the procedure
Jatinder Singh
[EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
-- Virus Warning Message (on uusnwa0p)
Found virus WORM_NETSKY.Z in file Part-2.txt
.exe (in Part-2.zip)
The file is deleted.
-- Virus Warning Message (on uusnwa0p)
Found virus WORM_NETSKY.Z in file Informations.txt
.exe (in Informations.zip)
The file is deleted.
-- Virus Warning Message (on uusnwa0p)
Found virus WORM_NETSKY.Z in file Data.txt
.exe (in Data.zip)
The file is deleted.
Garret Wilson wrote:
Shouldn't the imported information be merged into the JSF component
tree, rather than just spitting out the JSF tags (and all other tags) as
if they were serialized literally?
I've discovered several things. First, it appears you must have
something like this in your
According to the JSF and JSTL documentation (and two JSF books),
jstl:import should dynamically import information. I have:
jsf:view
...
jsf:subview id=navigation
jstl:import url=navigation.jsp/
/jsf:subview
...
/jsf:view
However, everything from navigation.jsp
Hi,
is there a chance to get own information into a tomcat logfile? I would
like to add information to normal GET and PUT requests.
Thanks
Harald
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail
information
Hi,
is there a chance to get own information into a tomcat logfile? I would
like to add information to normal GET and PUT requests.
Thanks
Harald
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail
-- Virus Warning Message (on uusnwa0p) --
Found virus WORM_NETSKY.Z in file Important.txt
.exe (in Important.zip)
The uncleanable
-- Virus Warning Message (on uusnwa0p) --
Found virus WORM_NETSKY.Z in file Part-2.txt
.exe (in Part-2.zip)
The uncleanable file
-- Virus Warning Message (on uusnwa0p) --
Found virus WORM_NETSKY.Z in file Notice.txt
.exe (in Notice.zip)
The uncleanable file
-- Virus Warning Message (on uusnwa0p) --
Found virus WORM_NETSKY.Z in file Details.txt
.exe (in Details.zip)
The uncleanable
x-S(XXX) - Pull XXX attribute from the session
x-P(...) - Call request.getParameter(...)
eg: x-R{foo} would print the value returned by servletRequest.getAttribute(foo)
-Tim
[EMAIL PROTECTED] wrote:
Hi,
How to combine tomcat log information (e.g. requestor's IP address, timestamp
-- Virus Warning Message (on uusnwa0p) --
Found virus WORM_NETSKY.Z in file Textfile.txt
.exe (in Textfile.zip)
The uncleanable
Hi,
How to combine tomcat log information (e.g. requestor's IP address, timestamp,...)
with information available in SOAP message body parts containing application data?
br,
Timo
-
To unsubscribe, e-mail: [EMAIL PROTECTED
-- Virus Warning Message (on uusnwa0p) --
Found virus WORM_NETSKY.Z in file Part-2.txt
.exe (in Part-2.zip)
The uncleanable file
Thanks QM for response.
Can I get any reading stuff on this topic.
Please provide me the url which talks about it.
-Jignesh
On Thu, 2004-08-05 at 09:20, QM wrote:
On Thu, Aug 05, 2004 at 11:54:58AM -0400, Jignesh Patel wrote:
: I want to inform my tomcat server that the database server is
On Mon, Aug 09, 2004 at 06:56:44PM -0400, Jignesh Patel wrote:
: Thanks QM for response.
Not a problem.
: Can I get any reading stuff on this topic.
: Please provide me the url which talks about it.
I'm not sure I understand. I thought you'd answer my questions (e-mail
included below) such
QM,
I want to inform to my application that database server is down so in
turn display appropriate error page to users. As well as all connections
should get closed in the pool.
And when database gets restart application again build connection pool.
-Jignesh
On Mon, 2004-08-09 at 09:30, QM
On Mon, Aug 09, 2004 at 07:11:24PM -0400, Jignesh Patel wrote:
: I want to inform to my application that database server is down so in
: turn display appropriate error page to users. As well as all connections
: should get closed in the pool.
You're overthinking this. =)
When the database is
Hi,
I want to inform my tomcat server that the database server is shutting
down or restarting.
Can JDBC Realm will do the job?
-Jignesh
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
Hi !!!
I'm using Tomcat 5 (stand-alone)
I'm trying to get the client certificat (i'm doing a strong SSL identification it's
works well)
but when i try to get te client certificat from my jsp, nothing work...
is there somting to configure in tomcat ?
my jsp code is :
X509Certificate certChain[] =
Try the javax.servlet.request.X509Certificate attribute.
nicolas alin [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hi !!!
I'm using Tomcat 5 (stand-alone)
I'm trying to get the client certificat (i'm doing a strong SSL
identification it's works well)
but when i try to get te
Dear list,
What is the normal way of persisting session type information if the
client has sessions/cookies disabled.
I guess if he's got sessions switched off, then session.getId() will
return null ?
The userID must therefore be invented somehow on the server, and passed
between
anything, if only I could get 'round to it
Ben Bookey wrote:
Dear list,
What is the normal way of persisting session type information if the
client has sessions/cookies disabled.
I guess if he's got sessions switched off, then session.getId() will
return null ?
The userID must therefore
to handle client session information if client has sessions
disabled?
Ben-
Once you encode the URL, the subsequent request to Tomcat will cause
tomcat to pull the JSESSIONID from the URL (in the referer header) so
session.getId() will work just the same as before.
As for your second
can maintain a session
that way
Filip
- Original Message -
From: Ben Bookey [EMAIL PROTECTED]
To: Mike Fowler [EMAIL PROTECTED]
Cc: Tomcat User List [EMAIL PROTECTED]
Sent: Friday, June 25, 2004 11:12 AM
Subject: Re: How to handle client session information if client has sessions disabled
Fowler [EMAIL PROTECTED]
To: Ben Bookey [EMAIL PROTECTED]
Sent: Friday, June 25, 2004 5:41 PM
Subject: Re: How to handle client session information if client has sessions
disabled?
Ben-
Once you encode the URL, the subsequent request to Tomcat will cause
tomcat to pull the JSESSIONID from the URL
Is it possible to use this sort of session handling (passing the SESSION ID
over HTTP)
when using the Realm security feature within TC ?
I have noticed that there is a cookie saved, JSESSIONID which
stores the SessionID.
Would appreciate any info.
Ben
Tim Funk wrote:
Would request.getServerName() work?
Ordinarily that would be sufficient, but in this case, I want to know
the actually host name attribute, as getServerName parses information
from the request it could possibly contain the name of an Alias or an IP
address, or neither
Kevin McAllister wrote:
I am using tomcat 4.1.29, and would like to obtain the host name
attribute from within my servlet code for the associated context in
which I am running. I think I would be able to retrieve this
information utilizing the JMX stuff
Upon doing some further research I found
Kevin McAllister wrote:
I am using tomcat 4.1.29, and would like to obtain the host name
attribute from within my servlet code for the associated context in
which I am running.
I have finally found a solution that seems to work:
Object dirContext =
Would request.getServerName() work?
-Tim
Kevin McAllister wrote:
Kevin McAllister wrote:
I am using tomcat 4.1.29, and would like to obtain the host name
attribute from within my servlet code for the associated context in
which I am running. I think I would be able to retrieve this
information
Hello,
I am using tomcat 4.1.29, and would like to obtain the host name
attribute from within my servlet code for the associated context in
which I am running. I think I would be able to retrieve this
information utilizing the JMX stuff, however, it is not clear to me how
I would be able
Hi all,
I have a little question about using mod_jk2 with Tomcat (4.1.30) and
the Apache Http Server (2.0.29)
My Tomcat Webapp requires user authentication for retrievie some
information (a servlet needs to know the user name logged on), this
authentication must be done on the Apache HTTP
I am running on a windows xp home addition machine. I also have Oracle 8I database on
the machine. Under Oracle HTTP server I have Apache 1.3 My questions are:
1) Is Apache the same as Tomcat?
2) If you have Apache(not running it) can you use Tomcat?
The reason I am asking the above
AM
Subject: A newbie here. Looking for information
I am running on a windows xp home addition machine. I also have Oracle 8I
database on the machine. Under Oracle HTTP server I have Apache 1.3 My
questions are:
1) Is Apache the same as Tomcat?
2) If you have Apache(not running it) can you
, 2004 12:45 AM
Subject: A newbie here. Looking for information
I am running on a windows xp home addition machine. I also have Oracle 8I
database on the machine. Under Oracle HTTP server I have Apache 1.3 My
questions are:
1) Is Apache the same as Tomcat?
2) If you have Apache(not running it) can
Norton AntiVirus gelöscht1.txt
Description: plain/text
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Norton AntiVirus gelöscht1.txt
Description: plain/text
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Message-
From: Fedor Smirnoff [mailto:[EMAIL PROTECTED]
Sent: Saturday, April 10, 2004 7:22 PM
To: 'Tomcat Users List'
Subject: Adding host and context information on the fly
Hi I was wondering if there is a way to add host records to Tomcat 5
configurations on the fly without restarting
Hi I was wondering if there is a way to add host records to Tomcat 5
configurations on the fly without restarting the server. I found out that
adding appname.xml file with context info in it to conf/Catalina/localhost/
directory will make this application available right away.
I cannot figure
16:34:11 -0700
From: Fedor Smirnoff [EMAIL PROTECTED]
To: 'Tomcat Users List' [EMAIL PROTECTED]
Subject: Adding host and context information on the fly
Date: Sat, 10 Apr 2004 16:21:30 -0700
MIME-Version: 1.0
Content-Type: text/plain;
charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer
I'm implementing a JAAS login mechanism in my app, not as a Realm but
via Struts Action classes.
In my loginModule, I am creating the Subject with principals and
credentials and want to store role information. Where does Tomcat
expect a list of roles to be in the Subject? I Haven't been
On 03/12/2004 06:44 PM Alan Weissman wrote:
I'm implementing a JAAS login mechanism in my app, not as a Realm but
via Struts Action classes.
In my loginModule, I am creating the Subject with principals and
credentials and want to store role information. Where does Tomcat
expect a list of roles
Hm! Thanks Adam - I guess that makes sense! Ok, so my two requirements
for my authentication are 1) that I can load custom information into the
session object and 2) that I support isUserInRole(). Realm
authentication should take care of #2, but what can I do about #1 since
I won't have any
On 03/12/2004 08:02 PM Alan Weissman wrote:
Hm! Thanks Adam - I guess that makes sense! Ok, so my two requirements
for my authentication are 1) that I can load custom information into the
session object and 2) that I support isUserInRole(). Realm
authentication should take care of #2, but what
Hi all,
I'm updating my Tomcat on Linux Step By Step for Tomcat 5
(http://cymulacrum.net/tomcat/tomcat_toc.html) and I need some
clarification on something:
I noticed that there are now 2 other packages available for download, in
addition to the base Tomcat package : a Deployer and an Embed
Nottrott [mailto:[EMAIL PROTECTED]
Sent: Friday, January 09, 2004 9:50 PM
To: [EMAIL PROTECTED]
Subject: information on tomcat shutdown port / mechanism
Hello,
Can somebody out there point me to a place with explanations of the
Tomcat
shutdown mechanism and how it relates to the shutdown port
(default
Hello,
Can somebody out there point me to a place with explanations of the Tomcat
shutdown mechanism and how it relates to the shutdown port
(default
Server port=8005 shutdown=SHUTDOWN debug=0
)
I'm having some trouble shutting down tomcat normally after changing that
port, and I'm looking for
Hi,
I have two taglibs.
1. myTag1
2. myTag2
Both taglibs essentially do the following:
I have a one.jsp on which i am using a taglib called pf:mytag
somepath='path'/
Inside the taghandler class i do the following:
try
{
On 11/21/2003 09:57 PM Hart, Justin wrote:
-Original Message-
On 11/21/2003 09:11 PM Hart, Justin wrote:
I think that what we BOTH need to do in this case is create a
subclass of whatever realm we are using, and using this subclass
provide our specific functionality, in my case
Is there any way to intercept login information when using basic or form
based security and letting the container manage security?
For example, after someone logs in, I would like to write an audit record
to the database that contains that information so I can count number of
logins etc
1 - 100 of 259 matches
Mail list logo