Hi all,
I have a question about what timestamp means in access.log files. It says
it's the time when apache server finish process the request from the client
in the online document. However I found the following entries in the
access.log:
xxx.xxx.xxx.xxx [01/May/2005:11:41:45 -0400] "GET ..."
Hi,
I am in the process of changing my JK connector from Ajp13Connector to
CoyoteConnector. I have encountered some weird behaviors with the new
Connector that never happens with the old one. Since I do a lot of
Applet-Servlet communication via HttpURLConnection, I've getting
StreamCorruptedExce
Hi,
Does anyone know what is the default behavior on "Content-Length" header for
tomcat? If I do not set it in the http request will tomcat still able to
handle the binary data in the content correctly? I do set the
"Content-Type" to "application/octet-stream" btw.
Thanks,
Simon
--
Hi,
I've been getting the following exception on tomcat when I tried to send
serialized data via HttpURLConnection to the servlet from applet.
java.io.StreamCorruptedException: invalid stream header
at
java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:737)
at jav
ral batch
files that do this for various clients.
Of course, once you have a "merged" and sorted log file, any log
processor should analyze it.
Hope this helps.
Bob
On Tue, 2004-10-12 at 14:20, Simon Zeng wrote:
> Thanks for the quick response. Seperate logs for each tomcat was my
p
Thanks for the quick response. Seperate logs for each tomcat was my proposal
too. But people like to have an easy way to view them as a whole. A nice
merge tool would be nice. The first and minumum requirement for the tool is
to merge and sort all log records by time so that it can really be viewed
answer my
questions below, that will be greatly appreciated.
Thanks,
-Simon
-Original Message-
From: Simon Zeng [mailto:[EMAIL PROTECTED]
Sent: Monday, October 11, 2004 6:32 PM
To: 'Tomcat Users List'
Subject: multiple tomcat instance and log4j
Hello,
I have a question here. Our a
Hello,
I have a question here. Our application is running under multiple tomcat
intance. We have our own plan logging mechanism. We are moving to use log4j
to replace in-house one.
1. Would it be better to keep one log for each tomcat instance or all share
the same log?
a. If former, how can we c
Hello,
This has gradually become a nightmare here. So I turned to here for help.
We are 24 X 7 service provider and using apache/tomcat as our application
server.
We have one apache and 3 tomcat in a clutering/load balancing environment.
Very frequently, we saw exceptions like
"java.io.S
Hi all,
Sorry to disturb those who are not interested in this. I know this is not
the place to ask applet question. Please anyone tell me where to find a good
applet user/news group so I can post my questions,
sorry and thanks again,
-Simon
-Original Message-
From: Shapira, Yoav [mailto:
clustering turned on and working properly, you should be
good to go
Filip
- Original Message -
From: "Simon Zeng" <[EMAIL PROTECTED]>
To: "'Tomcat Users List'" <[EMAIL PROTECTED]>
Sent: Monday, July 12, 2004 2:40 PM
Subject: RE: Applet in tomcat clustering
: Re: Applet in tomcat clustering
you will need to send up cookies just like the HTTP protocol says in order
to keep state
Filip
- Original Message -
From: "Simon Zeng" <[EMAIL PROTECTED]>
To: "'Tomcat Users List'" <[EMAIL PROTECTED]>
Sent: Monday,
My mistake. I am using HttpURLConnection (not HttpTunnel) to communicate
between applet and server.
Thanks,
-Simon
-Original Message-
From: Simon Zeng [mailto:[EMAIL PROTECTED]
Sent: Monday, July 12, 2004 1:51 PM
To: 'Tomcat Users List'
Subject: Applet in tomcat clustering
Hi,
Does any use applet in tomcat clustering?I have an question and need some
help.
I have set up two tomcat instances in cluster/load balance. My
webapplication has one feature using applet. As I understand, tomcat
cluster/load balance has sticky session which means subseqent requests being
sen
Hi,
Is there anyone here using cronolog and/or logrotate? I could use them for
access.log but could not make them work for mod_jk.log and haven't tried
error_log and all ssl logs yet.
Any experience and insights would be greatly appreciated.
Thanks,
-Simon
Hi,
I have a question about workers.properties setting
In mod_jk.log, I have
JkMount /* loadbalancer
In workers.properties, I have
worker.list = worker1, worker2, loadbalancer(1)
#worker1 configuration
#worker2 configuration
#---Load balancer worker --
log backup and cleanup
Hi,
Logrotate: http://www.rt.com/man/logrotate.8.html.
Yoav Shapira
Millennium Research Informatics
>-Original Message-
>From: Simon Zeng [mailto:[EMAIL PROTECTED]
>Sent: Thursday, May 20, 2004 10:05 AM
>To: 'Tomcat Users List'
>Subj
Hello,
Our aparche access.log is getting bigger & bigger. I would like to put in a
script to check
the size and do a backup & cleanup without shutdowning Apache. But it won't
allow me to do that because other process(Apache) is using it. Is there any
way to work around this. Or if
Aparch has simi
Hi,
Does anyone have the experience using Tomcat 5 in a production(24 X 7)
environment (NT, Linux)? Is it stable?
We are interested in tomcat clustering with session memory duplication
coming with Tomat 5. Is it easy to configure and stable?
Thanks,
-Simon
--
Look
for that in Tomcat docs.
In short:
JkMount /* balancer
worker.balancer.type=lb
worker.balancer.workerlist=tomcat1worker,tomcat2worker
(I am not sure about the "workerlist" word. It might be "workers" or
"list"... Search for an example in your sample workers
/testworker1page tomcat1worker
JkMount /testworker2page tomcat2worker
-Tim
Simon Zeng wrote:
> Could you please explain what do you mean special (hidden) and how to do
it?
> Currently I only define on JkMount for loadbalancer. Thanks, -Simon
>
> -Original Message-
> From: T
tomcat down
For the load balanced tests, have a special (hidden) JkMount for each tomcat
in the cluster.
-Tim
Simon Zeng wrote:
> I can come up with a WatchDog to do the monitoring/restart. But We have a
> few tomcat instance runing in load balance mode with one Apache
dispatching
>
Another issue, I am running tomcat load balancing with mod_jk. I would like
to know from mod_jk.log (or anywhere else?) which tomcat instance the logged
message is for
so that if there is a problem, i can quickly go to that tomcat. But I could
not find how to put the information there. Those flag
Gibby
Simon Zeng wrote:
>I can come up with a WatchDog to do the monitoring/restart. But We have a
>few tomcat instance runing in load balance mode with one Apache dispatching
>request to them. How could we figure out if one/more(not all) tomcat
>instances down and how to decide whi
, Simon Zeng wrote:
: I am running Apache 2.0.47 and Tomcat 4.1.24 on Win2K/NT. I would like to
: monitor the tomcat
: server and restart it automatically if it is detected down. I did a lot
: research but could not find any convincing way to do it.
Some commercial monitoring products perform a request
Hi,
I am running Apache 2.0.47 and Tomcat 4.1.24 on Win2K/NT. I would like to
monitor the tomcat
server and restart it automatically if it is detected down. I did a lot
research but could not find any convincing way to do it.
Another issue, I am running tomcat load balancing with mod_jk. I would
26 matches
Mail list logo