Van: "Rémy Maucherat"
Datum: woensdag, 23 oktober 2024 17:48
Aan: users@tomcat.apache.org
Onderwerp: Re: deploying on 9.0.96 is painful
On Wed, Oct 23, 2024 at 5:37PM Ronald Klop
wrote:
>
> Hi,
>
> We pre-compile our JSPs. Team Dev uses Tomcat jars for this. And team
Hi,
We pre-compile our JSPs. Team Dev uses Tomcat jars for this. And team Sys keeps
the Tomcat servers running and up-to-date.
Running Tomcat since 5.x or maybe even before. Currently running 9.0.x.
For years it worked fine if we kept the jars versions of team Dev close to the
Tomcat server ve
Op vrijdag, 9 december 2011 16:11 schreef Pid :
On 09/12/2011 14:52, Martin O'Shea wrote:
> -Original Message-
> From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com]
> Sent: 09 Dec 2011 14 46
> To: Tomcat Users List
> Subject: RE: Tomcat memory allocation
>
>> From: Marti
Hi,
The method org.apache.catalina.connector.Request.parseParameters() contains
this code.
try {
if (readPostBody(formData, len) != len) {
return;
}
} catch (IOException e) {
// Cl
Op donderdag, 1 december 2011 09:39 schreef Casper Wandahl Schmidt
:
See below. I hope MS Outlook does some decent indend so my response is clear -.-
-Original Message-
From: Christopher Schultz [mailto:ch...@christopherschultz.net]
Sent: 30. november 2011 18:51
To: Tomcat
Does this help?
public void doGet(HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException {
System.out.println("serverinfo: " +
getServletContext().getServerInfo());
}
Ronald.
Op dinsdag, 25 oktober 2011 13:33 schreef Bob DeRem
Hi,
Replication of the attributes is done by the cluster valve.
http://tomcat.apache.org/tomcat-6.0-doc/config/cluster-valve.html
If you manage to call that code from your own application, than you can do what
you want. But that is not default functionality of Tomcat. You have to make it
yours
Op maandag, 24 oktober 2011 12:55 schreef "Hodchenkov, Paul"
:
Hi all,
I have configured tomcat 7 cluster by using [1] with DeltaManager and it works
fine.
However I have the following 2 questions:
1) My application stores session map in memory(admin can force logout of any
Simplified explanation:
Apache httpd starts as user root. Binds port 80 and than drops privileges by
setuid("apache") or setuid("nobody").
In java you can't easily drop privileges. So if you start as root in Java you
can't easily change user. Of course you can call native code to do this. And
t
A 'connector' is used between for example Apache httpd and Tomcat. It is not
used between Tomcat nodes in a cluster.
Ronald.
Op donderdag, 6 oktober 2011 16:22 schreef Alexander Diedler
:
Hello,
Please search for "secret" in
http://tomcat.apache.org/connectors-doc/reference/workers
ander
-Ursprüngliche Nachricht-
Von: Ronald Klop (Mailing List) [mailto:ronald-mailingl...@base.nl]
Gesendet: Donnerstag, 6. Oktober 2011 10:44
An: Tomcat Users List
Betreff: Re: Preferred configuration with Hardware Loadbalancer
What do you mean by Apache Webserver? Do you mean A
What do you mean by Apache Webserver? Do you mean Apache Tomcat or Apache httpd?
And do you want Failover (active-passive) or Loadbalancing (active-active)?
Ronald.
Op donderdag, 6 oktober 2011 10:36 schreef Alexander Diedler
:
Hello,
I am just planning a Application cluster fo
Op woensdag, 17 augustus 2011 13:41 schreef Mark Thomas :
On 17/08/2011 12:36, Ronald Klop wrote:
> Hi,
>
> I did some experiments past days on my live servers and have more
> information.
>
> The problem occurs with 7.0.19 and 7.0.20 with the NIO connector, b
Aha, thanks. Fixed it.
Op donderdag, 18 augustus 2011 14:00 schreef Mark Thomas :
On 18/08/2011 11:13, Ronald Klop wrote:
> Hi,
>
> Since the branch of tomcat 7 the link on
> https://wiki.apache.org/tomcat/FAQ/KnownIssues is incorrect.
> I don't have an account
Hi,
Since the branch of tomcat 7 the link on
https://wiki.apache.org/tomcat/FAQ/KnownIssues is incorrect.
I don't have an account to fix it.
Cheers,
Ronald.
Op woensdag, 17 augustus 2011 15:02 schreef Ronald Klop
:
Op woensdag, 17 augustus 2011 14:28 schreef Mark Thomas :
>
>
> On 17/08/2011 13:20, Ronald Klop wrote:
> > Sometimes. Mostly I run ImageMagick in a separate process. But sometimes
> >
Op woensdag, 17 augustus 2011 14:28 schreef Mark Thomas :
On 17/08/2011 13:20, Ronald Klop wrote:
> Sometimes. Mostly I run ImageMagick in a separate process. But sometimes
> it does things with javax.imagio.
> I'm curious about the link between them. And what happ
Op woensdag, 17 augustus 2011 13:41 schreef Mark Thomas :
On 17/08/2011 12:36, Ronald Klop wrote:
> Hi,
>
> I did some experiments past days on my live servers and have more
> information.
>
> The problem occurs with 7.0.19 and 7.0.20 with the NIO connector, b
Op zondag, 14 augustus 2011 23:46 schreef Konstantin Kolinko
:
2011/8/14 Ronald Klop :
>
> I'm running Tomcat 7.0.19 to scale and serve images for use on a lot of
> websites. Since the upgrade from 7.0.16 to 7.0.19 I get the following stacks
Hi,
I'm running Tomcat 7.0.19 to scale and serve images for use on a lot of websites. Since the upgrade from 7.0.16 to 7.0.19 I get the following stacks now and than.
java.lang.IllegalStateException: The response object has been recycled and is
no longer associated with this facade
at
org.ap
Op vrijdag, 8 juli 2011 21:55 schreef Christopher Schultz
:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Ronald,
On 7/8/2011 5:33 AM, Ronald Klop wrote:
> After some fun with debugging Tomcat on my live server (because I
> couldn't reproduce it in test) it l
Op donderdag, 7 juli 2011 18:03 schreef Filip Hanik - Dev Lists
:
On 6/28/2011 2:31 AM, Konstantin Kolinko wrote:
> 2011/6/23 Ronald Klop:
>> Hi,
>>
>> I have an exception when one on my Tomcat nodes restarts. The session are
>> not synced and user comp
, then check what
version they are
best
Filip
On 6/23/2011 10:14 AM, Ronald Klop wrote:
> Hi,
>
> I have an exception when one on my Tomcat nodes restarts. The session are not
synced and user complain about being logged out. I was > running 6.0.32 and had the
problem. Now I
Hi,
I have an exception when one on my Tomcat nodes restarts. The session are not
synced and user complain about being logged out. I was running 6.0.32 and had
the problem. Now I'm running a custom build of 6.0.33 from yesterday. I added a
little code which prints ' SEVERE: name=user'. The key
Op donderdag, 16 juni 2011 18:55 schreef Christopher Schultz
:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Ronald,
On 6/16/2011 11:40 AM, Ronald Klop wrote:
> I created a release package. First had to find a computer with Windows,
> because it needs wine (I didn
54 schreef Christopher Schultz
:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Ronald,
On 6/16/2011 6:39 AM, Ronald Klop wrote:
> A little lobby is started:
> http://marc.info/?l=tomcat-dev&m=130805807619349&w=2
>
> Thanks, but no reply yet from jfclere. He mus
sdag, 14 juni 2011 23:59 schreef Christopher Schultz
:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Ronald,
On 6/14/2011 6:23 AM, Ronald Klop wrote:
> I see the issue if solved in an upcoming version of Tomcat. Thank you
> very much for that. But can I expect an upcoming ver
?
Ronald.
Op vrijdag, 10 juni 2011 13:03 schreef Ronald Klop :
Hi,
I'm running a 4 node cluster and seeing the same exception as described in this issue.
https://issues.apache.org/bugzilla/show_bug.cgi?id=51306
What can I do to workaround it or what can I information
Hi,
I'm running a 4 node cluster and seeing the same exception as described in
this issue.
https://issues.apache.org/bugzilla/show_bug.cgi?id=51306
What can I do to workaround it or what can I information can I provide to help?
I'm running 6.0.32 with a securitymanager on Debian 5. Java ve
Hi,
while (true) {
sleep(some weeks);
askForTomcat(version + 1);
}
I know, I know. This question returns, now and then.
But is there a possibility for the Tomcat developers to start a vote about
6.0.33? I would like to use it, because there are some bugs fixed, which I'm
seeing.
I read
Op woensdag, 30 maart 2011 22:12 schreef Christopher Schultz
:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
All,
I was playing around with findbugs today and saw a security warning I've
never seen before: "HTTP parameter directly written to HTTP header
output in [somefile.jav
Ai. Touche.
Op vrijdag, 18 maart 2011 11:43 schreef Mark Thomas :
On 18/03/2011 09:51, Ronald Klop wrote:
> It is limited by the amount of memory in your JVM.
Interesting guess but wrong.
The maximum size for the http headers for any one request is
Integer.MAX_VALUE, 2^3
It is limited by the amount of memory in your JVM.
Ronald.
Op vrijdag, 18 maart 2011 05:26 schreef rajini maski :
Any idea about what might be the maximum limit of a maxHttpHeadSize.
The maximum size of the request and response HTTP header, specified in
bytes. If not specified,
Op vrijdag, 11 maart 2011 13:32 schreef Ronald Klop
:
Hi,
https://issues.apache.org/bugzilla/show_bug.cgi?id=47502
Because this issue is fixed I re-enabled using the security-constraint in web.xml to protect some pages in stead of using my own workaround. But now I get a
Hi,
https://issues.apache.org/bugzilla/show_bug.cgi?id=47502
Because this issue is fixed I re-enabled using the security-constraint in
web.xml to protect some pages in stead of using my own workaround. But now I
get a somewhat similar exception.
This is running Tomcat 6.0.32 (directly from yo
Op woensdag, 16 februari 2011 19:18 schreef Christopher Schultz
:
Ronald,
On 2/16/2011 12:48 PM, Ronald Klop wrote:
> I see the same problem with jstack and friends if a process is gc'ing a
> lot.
Interesting.
I don't have verbose GC enabled (can you enable that after
Op woensdag, 16 februari 2011 18:17 schreef Christopher Schultz
:
Chuck,
On 2/16/2011 11:37 AM, Caldarale, Charles R wrote:
>> From: Christopher Schultz [mailto:ch...@christopherschultz.net]
>> Subject: Re: [OT] OutOfMemoryError: GC overhead limit exceeded
>
>> Here's what jmap reports t
For the record: JAF (activation.jar) is already in Java 6 (and that sucks :-)).
Op woensdag, 26 januari 2011 11:52 schreef Michael Ludwig :
What is special about mail.jar (and activation.jar) that requires
putting them into the common.loader?
Quote from the Tomcat docs:
Unpackage the di
Op donderdag, 20 januari 2011 17:03 schreef Mark Thomas :
On 20/01/2011 15:45, Mark Thomas wrote:
> On 20/01/2011 15:29, Mark Thomas wrote:
>> On 20/01/2011 11:50, Ronald Klop wrote:
>>> Hi,
>>>
>>> In this mail thread there is mention of a memory lea
Su to the user running tomcat.
Run 'jps'. Find the pid of the process running 'Bootstrap'.
Run 'jstack '. This gives you the thread dump.
The id's of the threads (in hex) correspond to the pid's (in decimal) of the
threads in ps -H or top with threads on.
You can also find the pid with ps like
We do this with a filter mapped to /*.
Ronald.
Op vrijdag, 14 januari 2011 21:32 schreef Joseph Morgan
:
Using Tomcat 6.0.13, how do we configure the Coyote server to deliver a
P3P header on every request, even if for a JavaScript, Image, CSS, etc?
Jose
Hi,
Today I upgraded Tomcat from 7.0.5 to 7.0.6. Now I have these errors in de logs.
Jan 14, 2011 4:24:50 PM org.apache.catalina.ha.tcp.ReplicationValve
sendReplicationMessage
SEVERE: Unable to perform replication request.
java.lang.NullPointerException
at
org.apache.catalina.ha.tcp.Repl
In 'the other thread' there is still the question open of why there is
Thread.sleep() in the MuxServlet. Can be a reason for a lot of open connections
in the httpd server.
But until there is more information about the problem I don't have anything to
add to this discussion anymore.
Ronald.
Op dinsdag, 11 januari 2011 12:11 schreef Amol Puglia :>
Hello Team,
I have taken thread dump for tomcat. I have analyzed it using Thread dump
analyzer.
After reading thread dump i am unable to point which thread is exactly causing
the issue.
kindly guide me to read thread dumps.
Followi
What is the overhead of ending a tcp connection and creating a new one? Because
you are removing the benefits of keep-alive here.
Compare that with sending 6 extra bytes in a IP-packet that you are sending
anyway.
Ronald.
Op woensdag, 5 januari 2011 16:29 schreef ilya goberman :
Mark,
Set in server.xml.
3 GB might be very large. I don't know if the value is a long or an int in the
internals of Tomcat.
This is from my live server.
Ronald.
Op woensdag, 29 december 2010 17:03 schreef Anjib Mulepati
:
I am trying to upload the larger file through my app developed usi
Hi,
May I vote +1 for a 6.0.30 in relation to this bug.
Ronald.
Op dinsdag, 28 december 2010 10:19 schreef Olaf Tomczak
:
Ok,
I used Mark Thomas' patch that Roland suggested - created a clean instance of Tomcat with and without the patch and tested it with my request. Indeed the pa
I see similar errors. If it is the same there should be a fix in Tomcat 7.0.4
and 6.0.30 (not released yet)
Something like this?
https://issues.apache.org/bugzilla/show_bug.cgi?id=50072
Ronald.
Op maandag, 27 december 2010 18:59 schreef Olaf Tomczak
:
Hi,
I'm using Http11NioProtocol conn
Op dinsdag, 7 december 2010 09:52 schreef Rainer Jung :
On 06.12.2010 23:36, Guillaume Carbonneau wrote:
> On Mon, Dec 6, 2010 at 2:25 PM, Konstantin Kolinko
> wrote:
>> 2010/12/6 Guillaume Carbonneau:
>>> Hi everyone,
>>> My tomcat server seems to die on its own without leaving any back
Op vrijdag, 3 december 2010 10:09 schreef Justin Case
:
Hi all,
I see discussions about migration to Tomcat 7. Do you think it is the right
moment to count your production apps on it? My thought is "no way Jose" but
maybe I'm missing something...
Thank you,
JC
The answer probab
Op donderdag, 2 december 2010 20:37 schreef Pid :>
On 12/2/10 3:28 PM, Ronald Klop wrote:
> Hello,
>
> I'm trying Tomcat 7. The Comet classes have been moved from the
> org.apache.catalina package to the org.apache.catalina.comet package.
> That is fine by me. But fo
Hello,
I'm trying Tomcat 7. The Comet classes have been moved from the
org.apache.catalina package to the org.apache.catalina.comet package. That is
fine by me. But for deployment reasons it would be easy if I can deploy the
same war on Tomcat 6 and Tomcat 7. In that way I don't need a turn-ke
That is why my Tomcats spawn a pool of sh scripts to have them run a unix
command (ImageMagick, etc.)
Forking of a threaded process is very expensive on a loaded server. Unix has to
suspend all threads, than fork, do a lot of housekeeping and than resume all
threads. After making a pool of runn
Hi,
I have a couple of servlets and the mapping in web.xml is like this:
EntityServlet
/servlets/*
RRDStatsServlet
/servlets/rrdstats
On startup EntityServlet sometimes complains that is does not know anything
about path /servlets/rrdstats. This is
+1 Precompiled jsp's with annotations in a jar.
Op vrijdag, 5 november 2010 21:07 schreef Pid :
On 05/11/2010 15:06, Christopher Schultz wrote:
> Chuck,
>
> On 11/5/2010 10:57 AM, Caldarale, Charles R wrote:
>>> From: Christopher Schultz [mailto:ch...@christopherschultz.net]
>>> Subject
Use ngrep, tcpdump or wireshark to look at what he/she is requesting. If it is
SQL injection you should rewrite your query's to use PreparedStatements.
Ronald.
Op zondag, 7 november 2010 18:31 schreef Assaf :
Hi,
It might be. But I am not sure how to find out more. Any suggestions?
Assa
If you have a webapp where users log in you can use there login/password to
login on the database. A little bit inconvenient for the DBA but you don't have
passwords on your servers.
Ronald.
Op vrijdag, 29 oktober 2010 15:42 schreef Rainer Frey :
On Friday 29 October 2010 15:34:29 Mark Th
Just query the database. Enable query caching in mysql. And only optimize in
java if you see a bottleneck.
My mysql does 15000 queries/sec.
What is your expectation of number of queries?
Ronald.
Op donderdag, 28 oktober 2010 19:31 schreef falva...@geocom.com.uy:
Dear All,
grep -v "memory leak"
Op donderdag, 28 oktober 2010 15:44 schreef Leon Rosenberg
:
Hello,
I investigated an issue (another thread) with new error messages after
tomcat update:
SEVERE: The web application [/moskitodemo] appears to have started a
thread named [MoskitoMemoryPoolReader] but
You should call timer.cancel() on context stop. You can do this from a
ServletContextListener.
Ronald.
Op woensdag, 27 oktober 2010 22:10 schreef Leon Rosenberg
:
Hello,
I'm getting following warning with 6.0.29,
after shutdown:
SEVERE: The web application [/moskitodemo] appears to hav
Op vrijdag, 15 oktober 2010 13:00 schreef Roman Makurin :
On Fri, Oct 15, 2010 at 12:34:10PM +0200, Ronald Klop wrote:
> Op vrijdag, 15 oktober 2010 10:02 schreef Roman Makurin :
> >
> >
> >Hi All!
> >
> >I have an app which rely on session locking and its k
Op vrijdag, 15 oktober 2010 10:02 schreef Roman Makurin :
Hi All!
I have an app which rely on session locking and its key
point here. Everything work on single tomcat instance,
but its completly broken in distributed env. So i want to
know is there any way to get my app working without
comp
Op donderdag, 7 oktober 2010 11:49 schreef Rob Gregory
:
Hi Tomcat Community,
Does anyone know if it is possible to dynamically create contexts on
demand. I have a requirement to be able to ship a single application.war
file and create multiple contexts from this without manually us
Op dinsdag, 5 oktober 2010 15:27 schreef mamalacation
:
n828cl,
n828cl wrote:
>
>
> Pretty much guaranteed that it's not Tomcat but your webapp that is
> locking itself out of access to some resource (such as the database).
> Take several thread dumps during the slowdown period and
sions. I.E.7 they are the same session!
Thanks for your input.
Kind Regards,
Rob.
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Ronald,
On 10/4/2010 6:11 AM, Ronald Klop wrote:
> You can run your test environment on another hostname.
>
> live.example.com
> test.example.com
> t
ssage-----
From: Ronald Klop [mailto:ronald-mailingl...@base.nl]
Sent: 04 October 2010 12:15
To: Tomcat Users List
Subject: RE: Tabbed browsers sharing session - work around.
Hi,
Ok. I didn't understand that somebody chooses an environment dynamicly.
The JSESSION cookie is tight to a host
Do you use /jsp-examples for something?
In production (or on all your systems) remove the jsp-examples context/webapp
if you don't need it. In fact... remove all webapps which you don't use.
Ronald.
Op maandag, 4 oktober 2010 11:42 schreef rujin raj :
Dear Support,
I installed some a
You can run your test environment on another hostname.
live.example.com
test.example.com
train.example.com
Maybe use a login.example.com to redirect you to the right url after login.
Ronald.
Op maandag, 4 oktober 2010 11:03 schreef Rob Gregory
:
Hi Tomcat community,
I'm after advi
What does ddm2 look like? Does it have a reference to the jsp object?
Ronald.
Op maandag, 4 oktober 2010 15:10 schreef Wolfgang Orthuber
:
Hello,
my tomcat version is 5.5.17, my question concerns serialization of objects,
below is a code section for writing and reading an object. If I
e hand and registering these somehow so that the names
get resolved to the machine. If so this is not really an option as our
application dynamically creates these environments. The application is
not internet facing if that makes a difference.
Regards
Rob
-Original Message-----
From: R
You can use the RequestDispatcher.
RequestDispatcher dispatcher = request.getRequestDispatcher("/userlist");
dispatcher.forward(request, response);
Google gives you a lot of examples.
Ronald.
Op maandag, 20 september 2010 16:47 schreef Michael Stockhausen
:
Hello,
I have create two S
class OtherAppNotifier implements Runnable {
public void run() {
... doe something...
}
}
In your servlet:
doGet() {
processUserRequest();
new Thread(new OtherAppNotifier()).start();
}
You can also use java.util.TimerTask or some other threadpool thing if this
spawns too many t
Op donderdag, 22 juli 2010 14:14 schreef paul womack :>
laredotornado wrote:
> Hi,
>
> I'm using Tomcat 6.0.26, Java 1.6 and wondering what tools/strategies you
> use to tune your garbage collection parameters?
My main strategy is to see if I have any cripping GC problems.
If not, I leave t
Op vrijdag, 2 juli 2010 21:49 schreef Leo Donahue - PLANDEVX
:
http://tomcat.apache.org/tomcat-6.0-doc/api/org/apache/catalina/connector/ClientAbortException.html
What does this mean exactly? A user makes a request for a resource and closes
the browser before they get the response?
..
Op woensdag, 23 juni 2010 14:31 schreef "Robinson, Eric"
:
> You can monitor the gc with jstat.
> jstat -gc 10s
> This wil show you the memory usage of a java instance with the time spent in GC.
> If it does 0.9 sec. of GC every sec. yare running inefficient. :-)
Thanks. I guess I
Op dinsdag, 22 juni 2010 18:33 schreef "Robinson, Eric"
:
This is a similar question to one already being discussed in the list
with the subject "Setting the Right Amount of Memory".
We have 160 instances of tomcat on the same server, with most instances
configured to use 64-96MB of RAM.
Op maandag, 31 mei 2010 17:40 schreef John Mok :>
Hi,
I am running Tomcat 4.1.30 on Ubuntu Linux 8.04.4 LTS. After moving the
application from a 32-bit machine to a 64-bit machine with 4GB memory, suddenly
tomcat failed to startup with the following error :-
>Stopping service Tomcat-Standa
Hello,
Since I'm running 6.0.26 I have clustering errors on startup of some contexts.
I only see this on servers with multiple clustered contexts. I don't know if
that is related.
In 6.0.24 everything worked ok for months.
Today I caught the stack below on startup after which I get a 60 second
Op maandag, 26 april 2010 19:00 schreef Christopher Schultz
:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Ronald,
On 4/26/2010 8:53 AM, Ronald Klop wrote:
> That is not possible in Java (not only in Tomcat, but not possible in
> any java application). You must extract jar B fr
That is not possible in Java (not only in Tomcat, but not possible in any java
application). You must extract jar B from jar A and put both on the classpath.
But it would be a nice feature and you can probably vote for an issue about it
in the bug database of Sun/Oracle.
Ronald.
Op maandag,
Did you do something like this in server.xml?
And your client goes to www.example.com, but you getServerName() returns "localhost" in
stead of "www.example.com"?
Ronald.
Op woensdag, 3 maart 2010 14:19 schreef vgud :
Users use tomcat directly.
My server responds to different domai
Hello,
I think this is an interesting question. I wonder why there is no answer.
Ronald.
Op vrijdag, 8 januari 2010 17:20 schreef Lock Ian IC :
Hi
There was a feature introduced in 6.0.19 to not swallow the inputStream
if the servlet throws an exception and the connection is going t
No. But historical results are not a guarantee for the future.
It is very easy to make a heapdump with jmap and analyze it with MAT
(http://www.eclipse.org/mat/) or other tools as suggested by others on this
list.
Ronald.
Op woensdag, 13 januari 2010 11:44 schreef Greg McCane :
Thanks
If it is 304 and not 404. You can implement the lastModified method on
your Servlet and always return 0 or -1 (see the javadocs).
Ronald.
On Wed, 16 Dec 2009 15:47:33 +0100, Looijmans, Mike
wrote:
I assume you mean 304 (Not modified) instead of 404 (Not found).
Simplest I can think of i
Always make a drawing.
client -> https -> tcp-loadbalancer -> still same https connection-> multiple
tomcats
client -> https -> http-loadbalancer (Apache, proxy) -> new ajp/http(s)
connection-> multiple tomcats
Normally the loadbalancer and tomcats are in the same private network. It is
your
wrong. Input and OutputStream are not null, bytesRead is
the correct size and the buffer is also filled.
Any other ideas?
Best Regards
Geoffrey
On 24 Nov 2009, at 18:13, Ronald Klop wrote:
> Try insert some debug statements just before the out.write.
> System.out.println("bytesRea
Try insert some debug statements just before the out.write.
System.out.println("bytesRead: " + bytesRead) would be interesting.
In fact this is kind of my-first-debugging and you don't even mention you did
try it.
Ronald.
Op dinsdag, 24 november 2009 17:57 schreef geoff...@fileflow.com:
This changelog link works better.
http://tomcat.apache.org/native-doc/miscellaneous/changelog-1.1.x.html
Cheers,
Ronald.
Op maandag, 23 november 2009 21:59 schreef jean-frederic clere
:
The Apache Tomcat team announces the immediate availability of Apache Tomcat Native 1.1.18 stable. Thi
On Fri, 20 Nov 2009 14:22:57 +0100, André Warnier wrote:
Ronald Klop wrote:
On Fri, 20 Nov 2009 13:20:04 +0100, Karthik Nanjangude
wrote:
Hi
You mentioned XML - use some existing library that works with XML.
A 3rd party Client S/w of C++ sends an XML string over socket
This socket
this list before and received help, no?
You've read this before, yes?
http://catb.org/~esr/faqs/smart-questions.html
p
With regards
KArthik
-Original Message-
From: Ronald Klop [mailto:ronald-mailingl...@base.nl]
Sent: Thursday, November 19, 2009 9:06 PM
To: Tomcat Users List
Ronald.
With regards
KArthik
-Original Message-
From: Ronald Klop [mailto:ronald-mailingl...@base.nl]
Sent: Thursday, November 19, 2009 9:06 PM
To: Tomcat Users List
Subject: Re: Howto Socket (TCP / IP ) reading from a war application on
Tomcat
On Thu, 19 Nov 2009 14:59:16 +0100, Kart
On Thu, 19 Nov 2009 14:59:16 +0100, Karthik Nanjangude
wrote:
Hi
Can some body provide me a sample code for Socket (TCP / IP )
reading from a war application on Tomcat
Can Listeners be made use of for the same?
Reason: I need to Accept / Reply a XML File over the socket port
f
On Thu, 19 Nov 2009 13:30:19 +0100, Bruce Foster
wrote:
Hi List,
I have another thread running and someone suggested to use 64bit JDK
on my Windows 2003 server 64 bit.
Wonder, if there is a 64 bit installer for Tomcat on Windows. I see my
current tomcat is running x86 folder in 32 bit mode.
. Not very nice, but nice enough for
me.
Ronald.
Op dinsdag, 17 november 2009 16:38 schreef Pid :
On 17/11/2009 14:40, Ronald Klop wrote:
> Hi Imad,
>
> Ronald. (The Ronald of the link mentioned by Pid.)
Did the code supplied therein, work for you Ronald?
@Imad
The Servlet Sp
Hi Imad,
You can do everything you like, but it will all be dirty.
1. Set a global variable in your webapp before shutdown of a node. To see If it
is a planned shutdown or not.
2. Keep references about the nr. of clusternodes yourself. Can be done quite
cleanly with JMX.
3. Do not really logout
Hi Imad,
I think also that Tomcat should only invalidate the Session on shutdown if it
is the last node in the cluster.
But the developers of Tomcat think of it as invalidating the Session object (as
in java Object) and you and me see it as invalidating the session of the user.
Ronald. (The Ro
to clearly be using ClassLoader.getSystemClassLoader()...
>
> On Thu, Oct 29, 2009 at 10:51 AM, Ronald Klop
> wrote:
>> Hi,
>>
>> I have this jar (jutf7.jar) which should register itself with the
>> CharsetProvider of Java. If I put it in the WEB-INF/lib directory i
Hi,
I have this jar (jutf7.jar) which should register itself with the
CharsetProvider of Java. If I put it in the WEB-INF/lib directory it is ignored
by Java. I understand that this is because of order in which the
WebappClassLoader asks all other classloaders for a class.
How can this be solv
http method. Probably this is ok.
Ronald.
Op maandag, 12 oktober 2009 12:01 schreef "André Warnier" :
Ronald Klop wrote:
> Hi,
> > If I send this to my Tomcat it responds with HTTP/1.1 200 OK and calls > my
servlet. :-)
> telnet localhost 8080
> FOO / HTTP/1.1
&
Hi,
If I send this to my Tomcat it responds with HTTP/1.1 200 OK and calls my
servlet. :-)
telnet localhost 8080
FOO / HTTP/1.1
Host: localhost
What is this suppost to do?
Ronald.
1 - 100 of 203 matches
Mail list logo