Well, nobody likes to go through the specs, an excellent book which covers
the session handling very well to is:
Head First Servlets and JSP
http://www.amazon.com/exec/obidos/tg/detail/-/0596005407/qid=1123053380/sr=8
-1/ref=pd_bbs_sbs_1/103-1556156-2935038?v=glances=booksn=507846
Bernhard
Hi,
I am experimenting with Tomcat clustering
I easily implemented a tomcat cluster un-commenting the cluster
element in server.xml
I now have 2 tomcat instances (on 2 physically different boxes) machineA
and machineB
I noted they can keep track of each other and get notified the other is
Yes, some of which are pointed out in my blog at www.adcworks.com/blog
-Original Message-
From: Bjørn T Johansen [mailto:[EMAIL PROTECTED]
Sent: 02 August 2005 22:44
To: Tomcat Users List
Subject: Upgrading from 5.0.28 to 5.5.9?
Anything one should be aware of when moving from
Hi Jeevan,
1. Am I missing something? Load balancing?
Lot of ways to do load balancing :
a. U can use balancer apps, it's bundled on tomcat sample
b. U can use apache with mod_jk
So, yes, you browse to some other URL. For example, if U run the balancer
apps from tomcat, U should be redirected
I installed a web context to Tomcat 5.0.28 ant the struts 1.2.7 web
application context includes log4j-1.2.11.jar in WEB-INF/lib and
log4j.properties in WEB-INF/classes.
After that, Tomcat shows all it's log messages(include DEBUG) in log4j
format which is configured in
Hi,
I am using Apache+Tomcat 4.1.29 for running my application. When I am
restarting Tomcat I am getting persistent session loading exception like
this:
2004-03-11 13:52:18 StandardManager[] IOException while loading
persisted sessions:
java.io.WriteAbortedException: writing aborted;
Hi,
On Tomcat 5.5 you can turn persistent session loading off by setting
the SessionManager pathname attribute to . Hope that helps.
-- Edgar Alves
[EMAIL PROTECTED] wrote:
Hi,
I am using Apache+Tomcat 4.1.29 for running my application. When I am
restarting Tomcat I am getting
Hi, I will be straight up and say immediately that my expertise does not
lie with Java or with Tomcat and appreciate any help given. The problem:
I am running a server that hosts voice applications over VXML. The
server is a windows 2000 box running IIS and tomcat. I need the box to
run SSL. I can
Hello All;
I want to ask you a question if you can't response to me I am thankful.
The question is that I want to configure Tomcat 5.0.28 to support several Web
applications (.war and directories) by users for map a request URI
starting with a tilde character (~), for example:
Hi Edgar,
Thanks for the reply.
But I am using Tomcat 4.1.29 and I tried this option (I mean,
pathname= in Manager element of server.xml) in Tomcat 4.1.29, which is
not successful. Is there any way to turn off session persistence in
Tomcat 4.1 itself or I need to upgrade to Tomcat 5.0.
In order
hi all,
we are having a problem with our Tomcat 5.5.9 cluster. We run 2 Tomcat
instances on physically different machines. For security we use normal
container managed security, configured in the web.xml. Session replication
works fine, and session id's are same across the two instances. We only
I second that book recommendation, I think every Java web developer should
have in on their desk. At times it can be a little TOO light-hearted, but
it never fails to get the pertinent information across in a very
understandable way. Probably shouldn't be the ONLY book on ones' desk,
but it is
I have the following scenario that I am testing.
1. Go to www.yahoo.com(or wherever)
2. Type in URL of Servlet1 and log in using username/password
3. Once username/password is authenticated, get forwarded to Servlet2
4. Click browser back button all the way to www.yahoo.com
5. Click browser
hihi,
the back button is the bane of all web developers.
expiring the page cache only forces the user to re-post the page. to
get what you want you need to kill the current session by calling
session.invalidate(). the hard part is figuring out how/when to call
this in your web app to get the
Hello I am rookie...
I plan to download the source but it can't open by using tar command while I am
using AIX 5.2. Should I download binary file?
I apprecaite your help...
Tom Spence
Am Mittwoch, 3. August 2005 17:39 schrieb Tom Spence:
Hello I am rookie...
I plan to download the source but it can't open by using tar command while
I am using AIX 5.2. Should I download binary file?
I apprecaite your help...
If you can't unpack the source you'll might get the same
Am Mittwoch, 3. August 2005 17:51 schrieb Markus Schönhaber:
gunzip -c jakarta-tomcat-5.5.9.tar.gz | tar -x
Exchange jakarta-tomcat-5.5.9.tar.gz to the actual name of the file you want
to unpack.
Regards
mks
-
To
What about jakarta-tomcat-5.5.10.tar.gz?
Or I should use 5.5.9?
Markus Schönhaber [EMAIL PROTECTED] wrote:
Am Mittwoch, 3. August 2005 17:51 schrieb Markus Schönhaber:
gunzip -c jakarta-tomcat-5.5.9.tar.gz | tar -x
Exchange jakarta-tomcat-5.5.9.tar.gz to the actual name of the file you want
Hello,
I'm running into an issue when using connection pools in a default
context for all applications to share defined in the server.xml in
5.0.28. If for some reason the database needs to be restarted, the
connection pool becomes invalid and tomcat needs to be restarted because
every
Do you use form-authentication or http-authentication?
If the authentication is with a form the forward button wil show you the form
in step 5.
Ronald.
On Wed Aug 03 15:56:11 CEST 2005 Tomcat Users List
tomcat-user@jakarta.apache.org wrote:
I have the following scenario that I am testing.
Peter,
I tried the solution you offered (below) about
creating more than one service and using the
address=xxx parameter in the Connectors tags. It
works great. However, what do you mean in your
disclaimer that it is from the documentation and is
untested? Did you mean to say NOT from the
Hi Bruno,
I am NOT using apache in front of tomcat. Sorry. I
really like standalone tomcat. So I would like to
learn more about the first solution you described
here. However, I do not understand it at all. What
exacty do you mean, and where can I read/learn about
it?
Second question--in
Hi. I have a web application that has been working fine for several
months, but now it is having some problems. We recently upgraded the OS
on the server and version of Java. I'm now getting a large number of
connection resets and broken pipe exceptions. For example, today from
10am to 12:30
Quick question on this one:
So you have an apache2 that fronts tomcat via jk2 connector, are there two
instances of tomcat or just one ? If there would be two I'd see the benefits
if one is busy the round robin algorithm redistributes the request to the
second one. But its only one instance
Currently I have a tomcat server running with the lastest JDK 1.4.2 (08).
I was wondering if any of you that are using JDK1.5(aka Tiger) seen benefits
by switching to the newer and supposedly better JDK.
On top of that I know that tomcat is suppose to run with the JDK but JRE is
suppose to be
gzip -d jakarta-tomcat-5.5.9.tar.gz | tar -xf
Just guessing but worth a shot
Luis
Markus Schönhaber wrote:
Am Mittwoch, 3. August 2005 17:39 schrieb Tom Spence:
Hello I am rookie...
I plan to download the source but it can't open by using tar command while
I am using AIX 5.2. Should I
Hello everyone,
I see lots of posts saying that they are using or implementing jk2? For
what I understand, that has been replaced by mod_jk... so which one is
better or what is recommended??
I also have found better documentation related to jk2 so that adds to
the puzzle.
Regards,
Luis
how do you specify either form or http authentication?
On 8/3/05, Ronald Klop [EMAIL PROTECTED] wrote:
Do you use form-authentication or http-authentication?
If the authentication is with a form the forward button wil show you the form
in step 5.
Ronald.
On Wed Aug 03 15:56:11 CEST
I thought the jk2 is newer... but I can be wrong...
MC
From: Luis Torres [EMAIL PROTECTED]
Reply-To: Tomcat Users List tomcat-user@jakarta.apache.org
To: Tomcat Users List tomcat-user@jakarta.apache.org
Subject: mod_jk or jk2??
Date: Wed, 03 Aug 2005 13:47:42 -0500
Hello everyone,
I see
You want to use mod_jk. JK2 has been deprecated and is no longer in
active development.
On 8/3/05, MC Moisei [EMAIL PROTECTED] wrote:
I thought the jk2 is newer... but I can be wrong...
MC
From: Luis Torres [EMAIL PROTECTED]
Reply-To: Tomcat Users List tomcat-user@jakarta.apache.org
I figured it out. 2 seconds in google answered my question.
Thank you.
On 8/3/05, Mark [EMAIL PROTECTED] wrote:
how do you specify either form or http authentication?
On 8/3/05, Ronald Klop [EMAIL PROTECTED] wrote:
Do you use form-authentication or http-authentication?
If the
From: MC Moisei [mailto:[EMAIL PROTECTED]
Subject: Tomcat and JDK version
On top of that I know that tomcat is suppose to run with the
JDK but JRE is suppose to be faster then the JDK because I
assume the native code is optimized and all the debugging
info in native and in classes are
Okay - my bad. I was under the impression that I've seen two rt.jar files in
the jdk but not that you stated otherwise I looked closely and indeed my
bad.
One is down the drain. What about the jdk1.5 vs jdk1.4.2 question ? Should
I upgrade ? Usually the newer the better but would I had any
PROBLEM:
Trying to write to URL via URLConnection.getOutputStream().write() fails.
In the main method below, the code attempts to write some bytes to HYPERLINK
http://localhost:8080/temp/sample.txthttp://localhost:8080/temp/sample.txt
.
http://localhost:8080/temp/sample.txt; is resolvable in
My host is not very busy. The loads on the sites are
minimal. I want to use two services so that each
virtual host I run can have individual SSL
certificates to match. SSL prevents Virtual Hosting
using domain name distinguishing. It must be IP
based.
Justin
--- MC Moisei [EMAIL PROTECTED]
PROBLEM:
Trying to write to URL via URLConnection.getOutputStream().write() fails.
In the main method below, the code attempts to write some bytes to HYPERLINK
http://localhost:8080/temp/sample.txthttp://localhost:8080/temp/sample.txt
.
http://localhost:8080/temp/sample.txt; is resolvable in
Not sure what you are trying to do here, but what you
are doing is attempting to POST to a text file. One
your TC server is probably only allowing a GET on the
.txt file as it will not process the .txt file, and
two you were probably wanting to perform a PUT
command(???), but you need to do
Am Mittwoch, 3. August 2005 17:58 schrieb Tom Spence:
What about jakarta-tomcat-5.5.10.tar.gz?
Or I should use 5.5.9?
Yes, since 5.5.10 isn't yet considered stable.
But your original question is about something completely different. Did you
succeed in unpacking the archive (wichever that may
Hi Wade :)
Not sure what you are trying to do here, but what you
are doing is attempting to POST to a text file.
Correct.
One your TC server is probably only allowing a GET on the
.txt file as it will not process the .txt file,
So, as a Tomcat newbie, is there a configuration I need to
The URLClassLoader is used to load jar files from a specified URL. A
thread is created that can actually load the class/resource. (Please
see API for more info).
There is one method - findClass which accepts a String classname and
throws a ClassNotFoundException if the class could not be found.
thanks for the help
Ya I agree with you in bandwidth and responsiveness issue.
We started using GZIP in test environment and most probably we would
go into prodcution with compression turned on.
Thanks again for your help
Srikanth
On 8/3/05, George Sexton [EMAIL PROTECTED] wrote:
Yes. In my
Hi Wade :)
Not sure what you are trying to do here, but what you
are doing is attempting to POST to a text file.
Correct.
One your TC server is probably only allowing a GET on the
.txt file as it will not process the .txt file,
So, as a Tomcat newbie, is there a configuration I need to
Yes this is a PUT actually. A POST will simply send
parameters to the server as a stream with the server
some how making a process operate on the POST info
(usually the file POST to such as a .jsp or a .php
file) unless you have a special servlet for taking a
POST and dumping the input stream to
You can also learn more about the default servlet
here:
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/catalina/funcspecs/fs-default.html
Hope it helps,
Wade
--- [EMAIL PROTECTED] wrote:
Hi Wade :)
Not sure what you are trying to do here, but what
you
are doing is attempting to POST
Assuming you are configured to use folder names when you unzip, doing so
will essentially create a directory structure that is parallel to the
default Tomcat installation (C:\Program Files\Apache Software
Foundation\Tomcat 5.5) Just unzip the Admin files into their own, separate
directory, then
45 matches
Mail list logo