On 08/09/2010 06:37, Caldarale, Charles R wrote:
> From: Anthony J. Biacco [mailto:abia...@formatdynamics.com]
> Subject: RE: Tomcat Warning about existing attribute for Host
>
> I think those flags are only valid in the Context blocks now.
>
> There are getters and setters in the 7.0 catalina.s
From: Anthony J. Biacco [mailto:abia...@formatdynamics.com]
Subject: RE: Tomcat Warning about existing attribute for Host
I think those flags are only valid in the Context blocks now.
There are getters and setters in the 7.0 catalina.startup.HostConfig class for
the xmlNamespaceAware and xmlVal
I think those flags are only valid in the Context blocks now.
-Tony
-Original Message-
From: Mohammad M. AbuZer
Sent: Tuesday, September 07, 2010 6:53 PM
To: Tomcat Users List
Subject: Tomcat Warning about existing attribute for Host
I'm using tomcat 7.0.2 BETA
-- Forwarded m
I'm using tomcat 7.0.2 BETA
-- Forwarded message --
From: Mohammad M. AbuZer
Date: Wed, Sep 8, 2010 at 3:51 AM
Subject: Tomcat Warning about existing attribute for Host
To: Tomcat Users List
Hi All,,,
I get these in tomcat console:
Sep 7, 2010 11:56:26 PM org.apache.tomcat.uti
Hi All,,,
I get these in tomcat console:
Sep 7, 2010 11:56:26 PM org.apache.tomcat.util.digester.SetPropertiesRule
begin
WARNING: [SetPropertiesRule]{Server/Service/Engine/Host} Setting property
'xmlNamespaceAware' to 'false' did not find a matching property.
Sep 7, 2010 11:56:26 PM org.apache.tom
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Satish,
On 9/7/2010 9:48 AM, satish.m...@bt.com wrote:
> My question is How to configure Tomcat server to throttle API request
> to prevent potential DoS attacks?
So, your strategy to prevent denial of service is to deny service?
Sounds counter intui
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Jeff,
On 9/7/2010 11:32 AM, Jeff Hubbs wrote:
> Tomcat 5.5.23, sun-jdk 1.5.0_11, CentOS 4.8. Tomcat was
> built/installed from upstream. Tomcat service starts and runs normally
> if user tomcat's entry in /etc/passwd has "/home/tomcat:/bin/bash" but
On 07.09.2010 19:46, John Baker wrote:
Where can I find documentation on JkWatchdog?
General documntation on mod_jk:
http://tomcat.apache.org/connectors-doc/
JK directives: http://tomcat.apache.org/connectors-doc/reference/apache.html
workers.properties:
http://tomcat.apache.org/connectors-
How do you start tomcat? What script gets executed?
Probably your bash profile script for the "tomcat" account was
setting the PATH and/or LD_LIBRARY_PATH for you.
Review your startup script.
On Tue, Sep 7, 2010 at 11:32 AM, Jeff Hubbs wrote:
> Tomcat 5.5.23, sun-jdk 1.5.0_11, CentOS 4.8. Tomc
On Tue, 2010-09-07 at 17:11 +0200, Rainer Jung wrote:
> On 07.09.2010 17:04, Brett Delle Grazie wrote:
> > On Tue, 2010-09-07 at 11:15 +0200, Mladen Turk wrote:
> >> On 09/07/2010 11:02 AM, Amol Puglia wrote:
> >>> Hello Team,
> >>>
> >>> Below are the details of workers.properties file and httpd.c
Can you please add an enhancement issue in bugzilla and attach the
patch. That way it doesn't get lost and we can easily find it.
Thanks!
Rainer
On 07.09.2010 19:36, Ruslan Gainutdinov wrote:
Thanks, JkShmSize helps.
However this solution does not seems to be flexible enough. No way to
tell
On Tue, Sep 7, 2010 at 12:56 PM, Pid wrote:
> On 07/09/2010 13:37, David Long wrote:
> > I have an Apache Tomcat 7.0.2 development environment setup on my Ubuntu
> > 10.04 laptop. I currently have some servlet's setup in the global
> web.xml
> > file to handle .cfm files.
>
> Hmm. This is the s
Where can I find documentation on JkWatchdog?
On Tuesday 07 September 2010 13:51:23 you wrote:
> - As a workaround: using a JkWatchdog moves the maintain into a separate
> thread. But during the socket closing a lock is held, which blocks other
> threads from accessing the same worker.
---
Thanks, JkShmSize helps.
However this solution does not seems to be flexible enough. No way to
tell how much memory needed beforehand.
Is there any way to reinit shared memory?
Seems to be a lot of such code on apache22 connector side...
Haven`t looked into solution to reserve space by adding dis
On 07/09/2010 13:37, David Long wrote:
> I have an Apache Tomcat 7.0.2 development environment setup on my Ubuntu
> 10.04 laptop. I currently have some servlet's setup in the global web.xml
> file to handle .cfm files.
Hmm. This is the standard practice for ColdFusion?
> The servlet uses one
Pid wrote:
On 07/09/2010 17:26, and) wrote:
hello all
i have added in catalina.bat Djava.net.preferIPv4Stack parameter
set JAVA_OPTS=%JAVA_OPTS%
-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
-Djava.util.logging.config.file="%CATALINA_BASE%\conf\logging.properties"
-Djava.net
On 07/09/2010 14:48, satish.m...@bt.com wrote:
> Hi,
>
> I have tomcat-6.0.26 running on OS-WinXP-Version 2000-Sp2.
>
> My question is How to configure Tomcat server to throttle API request to
> prevent potential DoS attacks?
Tomcat doesn't have any specific configuration which will enable you
On 07/09/2010 17:26, and) wrote:
>
> hello all
> i have added in catalina.bat Djava.net.preferIPv4Stack parameter
>
> set JAVA_OPTS=%JAVA_OPTS%
> -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
> -Djava.util.logging.config.file="%CATALINA_BASE%\conf\logging.properties"
> -Djava.
hello all
i have added in catalina.bat Djava.net.preferIPv4Stack parameter
set JAVA_OPTS=%JAVA_OPTS%
-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
-Djava.util.logging.config.file="%CATALINA_BASE%\conf\logging.properties"
-Djava.net.preferIPv4Stack=true
bun my tomcat still lis
On 07/09/2010 16:49, Tom Jones wrote:
> Hello,
> I'm trying to figure out which http connector is best suited for my needs. I
> was looking around for some info on anything that compares them all but I
> really did no find much.
>
> Out of the three connectors listed can someone please help me u
Hello,
I'm trying to figure out which http connector is best suited for my needs. I
was looking around for some info on anything that compares them all but I
really did no find much.
Out of the three connectors listed can someone please help me understand which
I should be using. I'm running To
Tomcat 5.5.23, sun-jdk 1.5.0_11, CentOS 4.8. Tomcat was
built/installed from upstream. Tomcat service starts and runs normally
if user tomcat's entry in /etc/passwd has "/home/tomcat:/bin/bash" but
not if it has "/dev/null:/sbin/nologin". Would rather have it work set
to the latter, which se
On 07.09.2010 17:04, Brett Delle Grazie wrote:
On Tue, 2010-09-07 at 11:15 +0200, Mladen Turk wrote:
On 09/07/2010 11:02 AM, Amol Puglia wrote:
Hello Team,
Below are the details of workers.properties file and httpd.conf file.
# lists the workers by name
worker.list=tomcat1, tomcat2, tomcat3,
On Tue, 2010-09-07 at 11:15 +0200, Mladen Turk wrote:
> On 09/07/2010 11:02 AM, Amol Puglia wrote:
> > Hello Team,
> >
> > Below are the details of workers.properties file and httpd.conf file.
> >
> > # lists the workers by name
> >
> > worker.list=tomcat1, tomcat2, tomcat3, loadbalancer
> >
>
> T
Hi,
I have tomcat-6.0.26 running on OS-WinXP-Version 2000-Sp2.
My question is How to configure Tomcat server to throttle API request to
prevent potential DoS attacks?
Regards
Satish
On 07.09.2010 12:40, Rainer Jung wrote:
On 07.09.2010 12:32, John Baker wrote:
Rainer,
On Tuesday 07 September 2010 11:09:46 you wrote:
I don't like "socket_timeout" ...
worker.basic.socket_timeout=90
but I would like socket_connect_timeout.
The next two are possibly a bit short, because
I have an Apache Tomcat 7.0.2 development environment setup on my Ubuntu
10.04 laptop. I currently have some servlet's setup in the global web.xml
file to handle .cfm files. The servlet uses one version of a ColdFusion
server, but I recently started a project that requires a different
ColdFusion
On 07.09.2010 12:40, Amol Puglia wrote:
Hello Team,
After making changes to worker list as mentioned in the below mail.
worker.list=loadbalancer.
We are noticing following messages in the log files and we are getting 500
error messages while accessing URL.
[Tue Sep 07 12:34:52.904 2010] [157
Hello Team,
After making changes to worker list as mentioned in the below mail.
worker.list=loadbalancer.
We are noticing following messages in the log files and we are getting 500
error messages while accessing URL.
[Tue Sep 07 12:34:52.904 2010] [15711:27] [info] jk_handler::mod_jk.c (2254):
On 07.09.2010 12:32, John Baker wrote:
Rainer,
On Tuesday 07 September 2010 11:09:46 you wrote:
I don't like "socket_timeout" ...
worker.basic.socket_timeout=90
but I would like socket_connect_timeout.
The next two are possibly a bit short, because if the backend e.g. does
a Java Garbage C
On 09/07/2010 12:20 PM, John Baker wrote:
On Tuesday 07 September 2010 11:13:07 you wrote:
It's obvious that
shutdown(socket, SHUT_WR)
poll(socket, 2 seconds)
close(socket)
caused poll call to time out, meaning that
the JBoss side didn't respond to the
shutdown(socket, SHUT_WR) call by
closi
On 07.09.2010 12:29, Mladen Turk wrote:
On 09/07/2010 12:09 PM, Rainer Jung wrote:
Are we sure, that those log lines are correct? This was generated by
mod_jk 1.2.30 without any code changes, right?
The other option would be to set JkWatchdogInterval 60
In that case wc_maintain would happen
Rainer,
On Tuesday 07 September 2010 11:09:46 you wrote:
> I don't like "socket_timeout" ...
>
> > worker.basic.socket_timeout=90
>
> but I would like socket_connect_timeout.
>
> The next two are possibly a bit short, because if the backend e.g. does
> a Java Garbage Collection which miht take
On 09/07/2010 12:09 PM, Rainer Jung wrote:
Are we sure, that those log lines are correct? This was generated by mod_jk
1.2.30 without any code changes, right?
The other option would be to set JkWatchdogInterval 60
In that case wc_maintain would happen in separate thread
without observable re
On Tuesday 07 September 2010 11:13:07 you wrote:
> It's obvious that
>
> shutdown(socket, SHUT_WR)
> poll(socket, 2 seconds)
> close(socket)
>
> caused poll call to time out, meaning that
> the JBoss side didn't respond to the
> shutdown(socket, SHUT_WR) call by
> closing it's side of the conne
Rainer,
On Tuesday 07 September 2010 11:09:46 you wrote:
> > [Tue Sep 07 10:20:20.617 2010] [18806:46962404156768] [debug]
> > find_match::jk_uri_worker_map.c (850): Attempting to map context URI
> > '/*=lb-jboss51-integration' source 'JkMount'
> > [Tue Sep 07 10:20:20.617 2010] [18806:469624041
On 09/07/2010 11:53 AM, John Baker wrote:
TM,
On Tuesday 07 September 2010 09:47:17 you wrote:
If you have enough resources, try to disable
connectionTimeout on AJP connector and see weather
the same will happen again.
I've removed the connectionTimeout attribute and the problem persists - I
On 07.09.2010 11:36, John Baker wrote:
Rainer,
Is this acceptable? I am using a tail and an egrep to match the various
statements you wish to see. if it's missing anything, plesae let me know what
to add to the grep.
Yes, that's better!
[Tue Sep 07 10:20:20.617 2010] [18806:4696240415676
TM,
On Tuesday 07 September 2010 09:47:17 you wrote:
> If you have enough resources, try to disable
> connectionTimeout on AJP connector and see weather
> the same will happen again.
I've removed the connectionTimeout attribute and the problem persists - I can
see the "lingering bytes in 2 sec"
2010/9/7 Pid :
> On 07/09/2010 08:22, Kannan Jayaprakasam wrote:
>> Apologies for the tomcat-unrelated question, but since ibatis also belongs
>> to apache, I'm posting here. I'm unable to subscribe to the ibatis mailing
>> list. It fails with the below error. I have tried from multiple differen
Rainer,
Is this acceptable? I am using a tail and an egrep to match the various
statements you wish to see. if it's missing anything, plesae let me know what
to add to the grep.
[Tue Sep 07 10:20:20.617 2010] [18806:46962404156768] [debug]
find_match::jk_uri_worker_map.c (850): Attempting
On 07.09.2010 11:15, Mladen Turk wrote:
On 09/07/2010 11:02 AM, Amol Puglia wrote:
Hello Team,
Below are the details of workers.properties file and httpd.conf file.
# lists the workers by name
worker.list=tomcat1, tomcat2, tomcat3, loadbalancer
This should be
worker.list=loadbalancer
Note
On 09/07/2010 11:02 AM, Amol Puglia wrote:
Hello Team,
Below are the details of workers.properties file and httpd.conf file.
# lists the workers by name
worker.list=tomcat1, tomcat2, tomcat3, loadbalancer
This should be
worker.list=loadbalancer
Note that workers that constitute load balanc
On 7.9.2010 9:51, Pid wrote:
3. Iptables
Actually, remarkably simple to implement. Should be properly documented
within your organisation because it might be hard to discover for less
familiar users.
If you are talking about NAT, like in this example:
=
*nat
:OUTPUT ACCEPT [93:16135]
:PO
Hello Team,
We have installed one instance of apache and 3 instance of tomcat.
We have compiled mod_jk module to forward request to 3 instance of tomcat.
We have configured workers.properties and it is loaded in httpd.conf file.
Below are the details of workers.properties file and httpd.conf fi
sounds perfect,,, thanks,,
On Tue, Sep 7, 2010 at 11:48 AM, Pid wrote:
> On 07/09/2010 09:21, Mohammad M. AbuZer wrote:
> > Hi All!
> >
> > is their any listener I can add to tomcat, so I can know when tomcat does
> > reload certain web-app
>
> How about a ServletContextListener?
>
>
> p
>
--
On 07/09/2010 09:21, Mohammad M. AbuZer wrote:
> Hi All!
>
> is their any listener I can add to tomcat, so I can know when tomcat does
> reload certain web-app
How about a ServletContextListener?
p
0x62590808.asc
Description: application/pgp-keys
signature.asc
Description: OpenPGP digital s
On 09/07/2010 10:11 AM, John Baker wrote:
On Tuesday 07 September 2010 08:59:27 you wrote:
It means that socket shutdown failed.
Do you have firewall between mod_jk and JBoss or some non-standard
network driver (e.g running under some VM)?
We are using VMs but there should be no firewall. I s
Hi All!
is their any listener I can add to tomcat, so I can know when tomcat does
reload certain web-app
*
Best Regards
*
*
Mohammad M. AbuZer*
Junior Java Developer
Mobile: +962-78-5416416
See remarks inline.
On 07.09.2010 10:01, Andrew Bruno wrote:
Fair enough Pid, here it is:
Windows 2008 R2 64 Bit
Java(TM) SE Runtime Environment (build 1.6.0_17-b04) / Java
HotSpot(TM) 64-Bit Server VM (build 14.3-b01, mixed mode)
Tomcat 6.0.28
Apache 2.2.15
mod_jk-1.2.30-httpd-2.2.3.so
AB
O
On 07/09/2010 09:01, Andrew Bruno wrote:
> Fair enough Pid, here it is:
>
> Windows 2008 R2 64 Bit
> Java(TM) SE Runtime Environment (build 1.6.0_17-b04) / Java
> HotSpot(TM) 64-Bit Server VM (build 14.3-b01, mixed mode)
> Tomcat 6.0.28
> Apache 2.2.15
> mod_jk-1.2.30-httpd-2.2.3.so
So the most r
On Tuesday 07 September 2010 08:59:27 you wrote:
> It means that socket shutdown failed.
> Do you have firewall between mod_jk and JBoss or some non-standard
> network driver (e.g running under some VM)?
We are using VMs but there should be no firewall. I should probably re-iterate
that the prob
On 07.09.2010 09:40, Pid wrote:
On 07/09/2010 06:14, jan gestre wrote:
On Tue, Sep 7, 2010 at 1:02 PM, Wesley Acheson wrote:
On Tue, Sep 7, 2010 at 4:34 AM, jan gestre wrote:
I'm using the latest 6.0.29 binary
distribution, and I don't have an idea where to download jsvc, if it's
already inc
On 02/09/2010 05:08, AVSUNIL wrote:
>
> Hi,
>
> I have a small web application deployed on Tomcat server and is is working
> pretty fine, except in one mode. The web application is available through 2
> modes of links - one is regular and other is Single Sign On based.
>
> Here is the sample dir
On 07.09.2010 09:05, John Baker wrote:
On Tuesday 07 September 2010 06:28:33 you wrote:
On 09/06/2010 11:59 PM, John Baker wrote:
What's jk_maintain?
Function that maintains the workers
(closes excess connections inactive for a long time)
Anyhow, like Rainer said, if that's the case
you sho
Fair enough Pid, here it is:
Windows 2008 R2 64 Bit
Java(TM) SE Runtime Environment (build 1.6.0_17-b04) / Java
HotSpot(TM) 64-Bit Server VM (build 14.3-b01, mixed mode)
Tomcat 6.0.28
Apache 2.2.15
mod_jk-1.2.30-httpd-2.2.3.so
AB
On Tue, Sep 7, 2010 at 5:52 PM, Pid wrote:
> On 07/09/2010 08:44
On 07/09/2010 04:49, Subrat Kumar Pattnaik wrote:
> I want to deploy a directory which is available on another drive. But I
> don't want to put that folder into the tomcat/webapps. So can you tell me
> the path for that
http://catb.org/esr/faqs/smart-questions.html#beprecise
p
> On Tue, Sep 7
On 09/07/2010 09:05 AM, John Baker wrote:
On Tuesday 07 September 2010 06:28:33 you wrote:
On 09/06/2010 11:59 PM, John Baker wrote:
What's jk_maintain?
Function that maintains the workers
(closes excess connections inactive for a long time)
Anyhow, like Rainer said, if that's the case
you
On 07/09/2010 08:22, Kannan Jayaprakasam wrote:
> Apologies for the tomcat-unrelated question, but since ibatis also belongs to
> apache, I'm posting here. I'm unable to subscribe to the ibatis mailing list.
> It fails with the below error. I have tried from multiple different email
> ids and e
On 07/09/2010 08:44, Andrew Bruno wrote:
> Hello,
>
> I am trying to add two extra workers, totaling 4 workers, but Apache
> fails to restart.
>
> This worker file works:
>
> # List the workers name
> worker.list=1,2,loadbalancer
>
> #
> # First worker
> #
> wo
On 07/09/2010 03:34, jan gestre wrote:
> Hi Everyone,
>
> I've Googled a lot with respect to the subject, and I wanted to
> solicit your advice, basically I want to run Tomcat on port 80, some
> already objected to the idea of proxying it via Apache, so I'm looking
> at using jsvc or pound instead
Hello,
I am trying to add two extra workers, totaling 4 workers, but Apache
fails to restart.
This worker file works:
# List the workers name
worker.list=1,2,loadbalancer
#
# First worker
#
worker.1.host=206.xx.xxx.xxx
worker.1.port=8019
worker.1.type=ajp13
wor
On 07/09/2010 06:14, jan gestre wrote:
> On Tue, Sep 7, 2010 at 1:02 PM, Wesley Acheson
> wrote:
>> On Tue, Sep 7, 2010 at 4:34 AM, jan gestre wrote:
>>> I'm using the latest 6.0.29 binary
>>> distribution, and I don't have an idea where to download jsvc, if it's
>>> already included I don't kno
On 2010-9-7 15:22, Kannan Jayaprakasam wrote:
Apologies for the tomcat-unrelated question, but since ibatis also belongs to
apache, I'm posting here. I'm unable to subscribe to the ibatis mailing list.
It fails with the below error. I have tried from multiple different email ids
and email cl
Apologies for the tomcat-unrelated question, but since ibatis also belongs to
apache, I'm posting here. I'm unable to subscribe to the ibatis mailing list.
It fails with the below error. I have tried from multiple different email ids
and email clients. What is the solution to this problem?
Rem
On Tuesday 07 September 2010 06:28:33 you wrote:
> On 09/06/2010 11:59 PM, John Baker wrote:
> > What's jk_maintain?
> >
>
> Function that maintains the workers
> (closes excess connections inactive for a long time)
>
> Anyhow, like Rainer said, if that's the case
> you should have something like
On Thu, 2010-09-02 at 18:26 +0200, Rainer Jung wrote:
> On 02.09.2010 13:39, Brett Delle Grazie wrote:
> > Hi,
> >
> > We're having some strange errors being reported in the 1.2.30 version of
> > mod_jk. We think they might be related to the performance issues we're
> > experiencing under load.
>
67 matches
Mail list logo