Hi all,
We are trying to use Comet to make our web-service platform more resistent
to heavy loads.
We use HTTP/1.1 POSTS to send our requests (using chunked requests), and the
client waits for the response.
My problem is the following: As far as I can see, I have no way of
(reliably) detecting th
According to online documentation
(http://tomcat.apache.org/connectors-doc/generic_howto/timeouts.html):
Long Garbage Collection pauses on the backend do not make a good fit
with some timeouts. Try to optimise your Java memory and GC settings.
So if JVM tuning doesn't help, what else cou
Hi,
We are running apache 2.2.4 and tomcat 5.5.28 with mod_jk 1.2.28. 3
tomcat instances.
Referring to http://tomcat.apache.org/connectors-doc/reference/workers.html
, we came up with a workers.properties file like this:
worker.list=balancer
worker.maintain=30
#tomcat01
worker.tomcat01.port=1800
Here's a Linux script to remove log files older than seven days:
find /var/tomcat5/logs -daystart -mtime +7 -type f -exec rm '{}' \;
Just in case anyone might find it useful.
-Terence Bandoian
-
To unsubscribe, e-mail: user
Does anyone have a solution for this. Thanks.
au
http:/www.xprad.org/
SivaKumarl wrote:
>
> Hi Friends,
> I am using universal connection pooling for connecting database
> , while configuring manually i able to connect to database,but while
> configuring in server.xml i am unable
2010/4/20 André Warnier :
>
> I suggest a simple way whereby to tell Tomcat (optionally) just /not/ to
> rotate its logfiles itself, and to always write to a fixed filename.
> (an additional property in logging.properties ?)
> There exists under Linux the logrotate utility, which is perfect for tha
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Ken,
On 4/19/2010 6:43 PM, Ken Bowen wrote:
> Thanks for all the responses.
> 1. After posting the original, I thought about it all at lunch, and was
> leaning towards the db solution, and Chris firmly pushed me over on
> that. Now I just convert th
The confusion results from the fact that I initially used the redirect
in the simple case.
Then I tried to switch to the forward in the more complicated case,
and got in a mess.
But now I've simply stored everything in the db right away, and used a
redirect
to get to the jsp where I do all t
On 19/04/2010 22:21, Christopher Schultz wrote:
> Ken,
>
> On 4/19/2010 12:06 PM, Ken Bowen wrote:
>> > enctype="multipart/form-data"> File:> name="csvfile2upload"> > value="Upload CSV File" onclick="uploadCSVFile();return false;">
>>
>
> Looks good, except for that "uploadCSVFile" javascript t
On 19/04/2010 23:11, André Warnier wrote:
> Mark Thomas wrote:
>> On 19/04/2010 22:32, André Warnier wrote:
>>> I disagree.
Fair enough.
>>> The point raised by the OP above is one that bothers a lot of people.
I don't like juli logging at all, but hitting tab & a couple of keys
isn't that traum
Thanks for all the responses.
1. After posting the original, I thought about it all at lunch, and
was leaning towards the db solution, and Chris firmly pushed me over
on that. Now I just convert the byte stream to a (sometimes big)
string, and stuff it in a temporary db place using the use
Just aritfacts of step by step changes (as I come to understand
various thingies): should be type "button", but gives no evidence of
two events.
On Apr 19, 2010, at 5:19 PM, André Warnier wrote:
Ken Bowen wrote:
...
Long form. Here's the html for file upload (vanilla):
enctype="multipar
Mark Thomas wrote:
On 19/04/2010 22:32, André Warnier wrote:
I disagree.
The point raised by the OP above is one that bothers a lot of people.
The lame bit is the way in which standard out-of-the-box Tomcat
generates its logfiles, and their rotation, inflexibly.
And yes, I know one can implement
My guess is that he may have other various pieces of validation tied to it,
client side.
And he might even have some client-side validation intertwined for the type of
file in an array, - i.e. .xls, .doc., .txt etc. as an acceptable file type to
upload, though, like you, I have no idea not hav
On 19/04/2010 22:32, André Warnier wrote:
> I disagree.
> The point raised by the OP above is one that bothers a lot of people.
> The lame bit is the way in which standard out-of-the-box Tomcat
> generates its logfiles, and their rotation, inflexibly.
> And yes, I know one can implement log4j and d
Christopher Schultz wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
André,
On 4/19/2010 5:19 PM, André Warnier wrote:
Ken Bowen wrote:
...
Long form. Here's the html for file upload (vanilla):
File:
Without and before getting to the Java stuff, I do not really understand
Thanks Andre. That makes sense. I appreciate the quick reply.
-Original Message-
From: André Warnier [mailto:a...@ice-sa.com]
Sent: Monday, April 19, 2010 5:48 PM
To: Tomcat Users List
Subject: Re: Binding Tomcat Apps to Specific CPUs in Windows
Marsh, Geoffrey (NIH/CIT) [E] wrote:
> Goo
Marsh, Geoffrey (NIH/CIT) [E] wrote:
Good evening. I would like to bind a specific application within Tomcat to a
specific CPU or pair of CPUs on a Windows Server.
I don't think you can.
An application within Tomcat is not a separate process. Even Tomcat is
not a process, from the OS's point
Good evening. I would like to bind a specific application within Tomcat to a
specific CPU or pair of CPUs on a Windows Server.
I'm having no luck finding documentation or list threads about this. Anybody
done this? Any guidance or pointers would be greatly appreciated.
If it helps, software and
You sure about that? I've got mine that way (button of type "submit", but with
an "onClick"
event triggering a javascript function.) and it works fine.
André Warnier wrote:
...
>
> Long form. Here's the html for file upload (vanilla):
>
> enctype="multipart/form-data">
And I'll try to remember to remove the sig from now on before I reply.
-Original Message-
From: Christopher Schultz [mailto:ch...@christopherschultz.net]
Sent: Monday, April 19, 2010 4:07 PM
To: Tomcat Users List
Subject: Re: [OT] Hung threads
Jeffrey,
On 4/17/2010 2:15 PM, Jeffrey Jan
Pid wrote:
On 19/04/2010 15:29, laredotornado wrote:
Hi,
I'm using Tomcat 6.0.26 on Mac 10.6.3. Currently, in my $CATALINA_HOME/logs
directory, Tomcat produces a localhost*log file with the date in the file
name for each day, for example -- localhost.2010-04-19. Is there a way to
get Tomcat t
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
David,
On 4/18/2010 2:27 PM, David Smith wrote:
> ServletContext.getResource( path ) takes path as relative to the current
> webapp and returns a URL for opening the resource or null if the
> resource was not found.
>
> also there is --
>
> ServletC
On Apr 19, 2010, at 3:42 PM, Pid wrote:
> On 19/04/2010 15:29, laredotornado wrote:
>>
>> Hi,
>>
>> I'm using Tomcat 6.0.26 on Mac 10.6.3. Currently, in my $CATALINA_HOME/logs
>> directory, Tomcat produces a localhost*log file with the date in the file
>> name for each day, for example -- loca
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Bob,
On 4/19/2010 3:20 PM, Bob Hall wrote:
> Soren,
>
> --- On Mon, 4/19/10 at 5:01 AM, Søren Blidorf wrote:
>> Fx if you are admin no connectionTimeout and if you are
>> user
>> connectionTimeout 20 min
>>
>
> session.setMaxInactiveInterval()
+1
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
André,
On 4/19/2010 5:19 PM, André Warnier wrote:
> Ken Bowen wrote:
> ...
>
>>
>> Long form. Here's the html for file upload (vanilla):
>>
>> > enctype="multipart/form-data">
>> File:
>> > onclick="uploadCSVFile();return false;">
>>
>>
> W
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Ken,
On 4/19/2010 12:06 PM, Ken Bowen wrote:
> enctype="multipart/form-data"> File: name="csvfile2upload"> value="Upload CSV File" onclick="uploadCSVFile();return false;">
>
Looks good, except for that "uploadCSVFile" javascript trigger. Why not
Ken Bowen wrote:
...
Long form. Here's the html for file upload (vanilla):
enctype="multipart/form-data">
File:
onclick="uploadCSVFile();return false;">
Without and before getting to the Java stuff, I do not really understand
why above you have a button of type "submit", but with
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Jeffrey,
On 4/17/2010 2:15 PM, Jeffrey Janner wrote:
> And the solution to the attachment issue is removing the PGP signing
> stuff from your message in my reply.
Gotcha. Unfortunately, I have to use inline PGP because some email
clients are retarded
On 20/04/2010 21:13, Yucca Nel wrote:
> my jsf is not getting rendered on a request from a linkable image using both
> graphicimage and outputlink. I suspect that outputlink does not start a new
> request and this is the cause? Should I be using command link because this is
> not a formand only
On 19/04/2010 17:06, Ken Bowen wrote:
> Using Tomcat 6.0.18 (to be 6.0.26) and Google App Engine, for parallel
> development (different db tech)
>
> Short form: I need to accept a file upload in a servlet, do some
> computations on the upload, and then transition to a JSP with some data
> resulti
On 19/04/2010 15:29, laredotornado wrote:
>
> Hi,
>
> I'm using Tomcat 6.0.26 on Mac 10.6.3. Currently, in my $CATALINA_HOME/logs
> directory, Tomcat produces a localhost*log file with the date in the file
> name for each day, for example -- localhost.2010-04-19. Is there a way to
> get Tomcat
my jsf is not getting rendered on a request from a linkable image using both
graphicimage and outputlink. I suspect that outputlink does not start a new
request and this is the cause? Should I be using command link because this is
not a formand only a image banner with some image links.
Soren,
--- On Mon, 4/19/10 at 5:01 AM, Søren Blidorf wrote:
> Fx if you are admin no connectionTimeout and if you are
> user
> connectionTimeout 20 min
>
session.setMaxInactiveInterval()
- Bob
-
To unsubscribe, e-mail: use
Hello,
I have been struggling with the APR Tomcat 6 on my Windows 7 64-bit for few
hours. I can't make the native lib loaded. Can I have advise where I could
start investigating the problem ?
Here is the info
#1
I use
- Tomcat 6.0.26
- Tomcat Native 1.1.20
#2
C:\Program Files\Apache Software Fo
Estimado amigo,
?Cómo está usted recientemente? decirte una gran sorpresa!
Ktpshop compa?ía es una empresa de comercio electrónico de productos
que ha clasificado superior Asia --- (www.ktpshop.info) y cuenta con
la cooperación con Nokia, Sony, HP, etc durante muchos a?os, la
calidad del producto e
V.Thangavelu,
I ran into a similar error as what you state below a month or so ago.
Chuck Caldarale had made the suggestion, and it turned out to be the elixir for
me, was to make ABSOLUTELY sure you had NO other classes (or jar files) of the
same name, i.e. tomcat-dbcp.jar, floating around els
Using Tomcat 6.0.18 (to be 6.0.26) and Google App Engine, for parallel
development (different db tech)
Short form: I need to accept a file upload in a servlet, do some
computations on the upload, and then transition to a JSP with some
data resulting from the computations. I'm having some t
Konstantin -
I assume that the APR code is responsible for issuing that call?
The reason I'm asking is that I moved the customer to a new server over
the weekend and they showed no sign of the problem on the new setup
(Windows 2008R2*, Sun JDK 1.6.0_20 x64, Tomcat 5.5.27, native lib
1.1.16). That
Hmm. As the log files will alpha-sort by date, something like vim `ls
~/localhost.log* | tail -1` might do it. Beware - my shell script is rusty
at best.
- Peter
On 19 April 2010 15:29, laredotornado wrote:
>
> Hi,
>
> I'm using Tomcat 6.0.26 on Mac 10.6.3. Currently, in my
> $CATALINA_HOME/
Hi,
I'm using Tomcat 6.0.26 on Mac 10.6.3. Currently, in my $CATALINA_HOME/logs
directory, Tomcat produces a localhost*log file with the date in the file
name for each day, for example -- localhost.2010-04-19. Is there a way to
get Tomcat to generate simply "localhost.log" for whatever day toda
On 19/04/2010 14:39, Woude, Alexander van der wrote:
> Pid, considering I put the _OPTS in my startup.sh file, can it be they are
> not used?
It was probably used, but the settings you specified overlap with each
other, so the -Xms in JAVA_ is replaced by the second setting in CATALINA_
> What i
Wel actually when memeory problems appeared I started with the CATALINA_OPTS to
increase memeory.
When after a while problems appeared again, I thought to understand that I had
to increase the heap size op the JVM memory.
In the end I wanted more memeory allocated for the tomcat.
SO please tell
On 19/04/2010 13:24, Woude, Alexander van der wrote:
> Thanks for the suggestions this far.
> I had an oversight with the tomcat monitoring, didnt notice it on the site.
>
> I will try that just as the suggestions about JStack etc.
>
> why 2 Xms settings?
> I thought to have understood that cata
if you specify java options in JAVA_OPTS it is both valid for startup and
shutdown, if you specify java options in CATALINA_OPTS it is only valid for
startup.
So my guess is that CATALINA_OPTS is the right place in your situation.
regards,
Harry
2010/4/19 Woude, Alexander van der
> Thanks for t
Thanks for the suggestions this far.
I had an oversight with the tomcat monitoring, didnt notice it on the site.
I will try that just as the suggestions about JStack etc.
why 2 Xms settings?
I thought to have understood that catalina en java opts were 2 seperate things
but I was wrong?
Thanks
2010/4/19 Woude, Alexander van der
> Sorry a small correction. The client times out, because the tomcat gives a
> Heap Space memory error.
>
> config in startup.sh :
>
> export JAVA_OPTS="-Xms128m -Xmx512m"
> export CATALINA_OPTS="-Xms512m -XX:MaxPermSize=512m"
>
> My apps are 7 war, that each c
On 19/04/2010 12:54, Woude, Alexander van der wrote:
> Sorry a small correction. The client times out, because the tomcat gives a
> Heap Space memory error.
>
> config in startup.sh :
>
> export JAVA_OPTS="-Xms128m -Xmx512m"
> export CATALINA_OPTS="-Xms512m -XX:MaxPermSize=512m"
You're setting
On 19/04/2010 13:05, acastanheira2001 wrote:
>
> Hi,
>
> I have an apache server in front of Tomcat/Jboss, the former receives the
> client cert and does revocation list and trust validation.
>
> I need to pass the client cert to Tomcat only to check the SubjectAltNames.
>
> As far as trust acc
Hi,
I have an apache server in front of Tomcat/Jboss, the former receives the
client cert and does revocation list and trust validation.
I need to pass the client cert to Tomcat only to check the SubjectAltNames.
As far as trust accreditation is done by apache, does Tomcat need to have a
keysto
Sure.
Fx if you are admin no connectionTimeout and if you are user
connectionTimeout 20 min
Soren
-Oprindelig meddelelse-
Fra: Pid [mailto:p...@pidster.com]
Sendt: 19. april 2010 13:55
Til: Tomcat Users List
Emne: Re: set time out based on userInRole
On 19/04/2010 12:51, Søren Blidorf
On 19/04/2010 12:49, Woude, Alexander van der wrote:
> Hello All
>
> For a client I developed a few Data webservices. In total there are 7
> services.
> All are CXF based webservices that use hibernate.
>
> I keep having memory problems, so I increased both JAVA_OPTS as CATALINA_OPTS.
> Now I ge
Sorry a small correction. The client times out, because the tomcat gives a Heap
Space memory error.
config in startup.sh :
export JAVA_OPTS="-Xms128m -Xmx512m"
export CATALINA_OPTS="-Xms512m -XX:MaxPermSize=512m"
My apps are 7 war, that each contain its own deps. Size of 1 war is 14 MB
How do
On 19/04/2010 12:51, Søren Blidorf wrote:
> Is it possible to set time out time on the server base don how is logged
> id
Any chance you can rephrase the question?
p
signature.asc
Description: OpenPGP digital signature
Is it possible to set time out time on the server base don how is logged
id
Soren, DK
Hello All
For a client I developed a few Data webservices. In total there are 7 services.
All are CXF based webservices that use hibernate.
I keep having memory problems, so I increased both JAVA_OPTS as CATALINA_OPTS.
Now I get timed out errors and tomcat blocks completely, I only can resolve
t
On 19/04/2010 07:56, Harry Metske wrote:
> 2010/4/19 SivaKumarl
>
>>
>> Hi Friends,
>> I am using universal connection pooling for connecting database ,
>> while configuring manually i able to connect to database,but while
>> configuring in server.xml i am unable to cast the datasource i
On 19/04/2010 08:05, Arnab Ghosh wrote:
> Hello Friends,
>
> I want to know about the Single Sign On Valve. Why/when should we use this
> valve??
>
> I have already studied the documentation about this. But I haven't got a
> clear idea about it. Is there any relation of Single-Sign-On with sessio
Hello Friends,
I want to know about the Single Sign On Valve. Why/when should we use this
valve??
I have already studied the documentation about this. But I haven't got a
clear idea about it. Is there any relation of Single-Sign-On with session
management??
Please help me on this.
Thanks,
Arnab
this is an exact cut/paste from an earlier post, it won't help you repeating
the same questions.
regards,
Harry
2010/4/19 Thangavelu.V
> Hi Friends,
> I am using universal connection pooling for connecting database ,
> while configuring manually i able to connect to database,but while
60 matches
Mail list logo