In http://tomcat.apache.org/tomcat-7.0-doc/config/http.html
you can read about pollerThreadCount and useComet flags for the APR
implementation.
You don't need Comet unless you applications specifically are using it, most
likely they are not.
Filip
- Original Message -
> From: "Jeffrey
Filip Hanik (mailing lists) [mailto:devli...@hanik.com]
> Sent: Thursday, June 28, 2012 2:42 PM
> To: 'Tomcat Users List'
> Subject: RE: Tomcat 7.0.28 connection pool issue
>
> Martin, generally I would run with fairQueue="false" - this is the
> default.
>
t;
> At this point in time we do not know if the issue is because of apache
> tribes or it is just related to HV configuration.
>
> Best Regards,
> Madhav
>
> On Fri, Jun 29, 2012 at 9:36 PM, Filip Hanik (mailing lists) <
> devli...@hanik.com> wrote:
>
> > Sou
Sounds like you need to enable multicasting. This would be a VM/hypervisor
configuration issue.
Filip
> -Original Message-
> From: Madhav Bhargava [mailto:unmarsh...@gmail.com]
> Sent: Friday, June 29, 2012 10:04 AM
> To: users@tomcat.apache.org
> Subject: Re: Multicast fails when mcastB
do, is lower your concurrency.
> Recommended is
> > of course to increase maxActive if the database supports it.
> >
> > Filip
> >
> >
> > > -Original Message-
> > > From: Yasser [mailto:yarafa...@gmail.com]
> > > Sen
nal Message-
> From: Yasser [mailto:yarafa...@gmail.com]
> Sent: Thursday, June 28, 2012 11:33 AM
> To: Tomcat Users List
> Subject: Re: Tomcat 7.0.28 connection pool issue
>
> That was the issue with Tomcat 7.0.26 and they fixed it in 7.0.28
>
>
> On Thu, Jun 28, 2012
Could you have run into
https://issues.apache.org/bugzilla/show_bug.cgi?id=53367
?
You could try out
http://people.apache.org/~fhanik/jdbc-pool/bz53367-jdbc-pool.jar
> -Original Message-
> From: Yasser [mailto:yarafa...@gmail.com]
> Sent: Thursday, June 28, 2012 9:39 AM
> To: Tomcat Us
You can achieve that right now. Use the NIO connector, And then set up the
write buffer:
-Original Message-
> From: Christian Finckler [mailto:christian.finck...@gmx.de]
> Sent: Thursday, May 31, 2012 11:45 AM
> To: Tomcat Users List
> Subject: Re: non blocking Websockets?
>
>
>
> Am 3
yes, there is, search http://tomcat.markmail.org for the same
org.apache.tomcat.util.digester.PROPERTY_SOURCE
is a system property where you can add the code that digests properties in
server.xml
This code can 'decode' your encoded properties
- Original Message -
> From: "Bill Wang"
>
http://tomcat.apache.org/tomcat-6.0-doc/config/listeners.html#JMX_Remote_Lifecycle_Listener_-_org.apache.catalina.mbeans.JmxRemoteLifecycleListener
- Original Message -
> From: "Vadzim Mikhalenak"
> To: "Tomcat Users List"
> Sent: Tuesday, May 22, 2012 4:06:52 PM
> Subject: Re: Tomcat
if you look deeper under the hood of Java NET/IO you will see that there is no
configurable timeout for writing blocking IO.
The best thing you can do is upgrade to Tomcat 6, and use the NIO connector
(protocol="org.apache.coyote.http11.Http11NioProtocol") as that has a
configurable timeout for
The Java Service Wrapper does this for you, if you want to try an
alternative
http://wrapper.tanukisoftware.com/doc/english/download.jsp
> -Original Message-
> From: Venkata R Madugundu [mailto:venkataraman...@in.ibm.com]
> Sent: Tuesday, May 08, 2012 8:07 AM
> To: Venkata R Madugundu
> C
found it, check the logs at startup for the error and post it here.
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org
reading this on my phone, but does your element have a name
attribute?
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org
using
> BoneCP ??
>
> com.jolbox.bonecp.BoneCPDataSource implements DataSource,
> *ObjectFactory ,
> *
> *isnot it a JNDI factory ?
> *
> On Thu, May 3, 2012 at 10:30 AM, Filip Hanik (mailing lists) <
> devli...@hanik.com> wrote:
>
> > BoneCP doesn't have a JNDI factory
BoneCP doesn't have a JNDI factory AFAICT, and it's also missing a lot of
critical features, like validation etc
Filip
> -Original Message-
> From: zuxiong lin [mailto:linzuxiong1...@gmail.com]
> Sent: Wednesday, May 02, 2012 7:36 PM
> To: Tomcat Users List
> Subject: Re: How to config t
Ok, lsof -p (IIRC) should do the trick, it will tell all the handles open
for that process, and you can deduce where the problem stems from
> -Original Message-
> From: David Wall [mailto:d.w...@computer.org]
> Sent: Wednesday, May 02, 2012 2:48 PM
> To: users@tomcat.apache.org
> Subject
to send ping once to open the socket
> after that it should depend on user when he wants to close the
> connection.
> Cannot I explicitly call some method to set timeout forever on client or
> server side. Or any other mechanism..??
>
> On Wed, May 2, 2012 at 10:04 AM, Fil
Have the client send a ping message every 10 seconds
> -Original Message-
> From: umar farooq [mailto:umarfarooq...@gmail.com]
> Sent: Tuesday, May 01, 2012 6:06 PM
> To: users@tomcat.apache.org
> Subject: Web Socket Issue
>
> Hi All,
>I am trying to use Chat example of WebSocket
http://tomcat.apache.org/tomcat-7.0-doc/jdbc-pool.html
> -Original Message-
> From: zuxiong lin [mailto:linzuxiong1...@gmail.com]
> Sent: Wednesday, May 02, 2012 2:35 AM
> To: Tomcat Users List
> Subject: Re: How to config the Tomcat 7.x JNDI datasource by using
> BoneCP ??
>
> See append
very membership message
Best
Filip
>
> Thanks
> Azeez
>
> On Tue, Apr 24, 2012 at 11:26 AM, Afkham Azeez wrote:
>
> > Thanks for the pointers Filip. I will take a look.
> >
> >
> > On Mon, Apr 23, 2012 at 9:12 PM, Filip Hanik Mailing Lists <
&
> -Original Message-
> From: Madhav Bhargava [mailto:unmarsh...@gmail.com]
> Sent: Monday, April 30, 2012 4:16 PM
> To: users@tomcat.apache.org
> Subject: Signing and Encrypting messages using Apache tribes
>
> Hi All,
>
> We use apache tribes for inter node communication via multicast.
- Original Message -
>
> http://wiki.apache.org/tomcat/FAQ/Password
>
>
> In short, no.
>
> Encrypting your database, database user, and database password buys
> you virtually (and most people would say actually) nothing.
"virtually nothing" is the opposite of what I would call it.
http://tomcat.apache.org/tomcat-7.0-doc/api/org/apache/catalina/tribes/group/interceptors/package-summary.html
Take a look at SimpleCoordinator and NonBlockingCoordinator
Equally simple to implement your own based on the requirement you have for
leader election.
It does depend on what you need
On 16 Apr 2012, at 14:53, Daniel Mikusa wrote:
>> Hello,
>>
>> Is it possible to get LockOutRealm to include the client's IP address
>
> Not as convenient, but if you have an access log enabled you should be able
> to find the IP address in there.
>
> Dan
Thanks, I've now set up FastCommonAc
Hello,
Is it possible to get LockOutRealm to include the client's IP address in log
messages, rather than just the username? Messages such as
16-Apr-2012 13:43:23 org.apache.catalina.realm.LockOutRealm authenticate
WARNING: An attempt was made to authenticate the locked user "administrator"
Reg
> -Original Message-
> From: Konstantin Kolinko [mailto:knst.koli...@gmail.com]
> Sent: Thursday, April 05, 2012 10:18 AM
> To: Tomcat Users List
> Subject: Re: Bug in Tomcat AJP Connector?
>
> 2012/4/5 Christopher Schultz :
> >
> > On 4/5/12 11:57 AM, Konstantin Kolinko wrote:
> >> 1. Tom
riginal Message -
> From: "Hermes Flying"
> To: "Filip Hanik Mailing Lists" , "Tomcat Users List"
>
> Sent: Wednesday, April 4, 2012 10:56:10 AM
> Subject: Re: Discrepancy between Tomcat's connection pool and tomcat's report
> on memory lea
report
> on memory leaks
>
> But if I set 'minIdle=0' all the connections would close imediatelly,
> right?
> So why would I need a connection pool in the first place if I do
> this?
>
>
>
> From: Filip Hanik Mailing List
just set minIdle=0 and enable the eviction process to take care of it.
Filip
- Original Message -
> From: "Hermes Flying"
> To: "Daniel Mikusa"
> Cc: users@tomcat.apache.org
> Sent: Wednesday, April 4, 2012 9:53:30 AM
> Subject: Re: Discrepancy between Tomcat's connection pool and tomc
In Tomcat 6, the default thread pool ignores minSpareThreads, but if you use
and then From: llow...@oreillyauto.com
> To: users@tomcat.apache.org
> Sent: Wednesday, April 4, 2012 7:50:24 AM
> Subject: Tomcat6 thread pool questions
>
>
> Greetings,
>
> I was wondering if someone could help me und
sers List"
> Sent: Friday, March 30, 2012 2:05:50 AM
> Subject: RE: [JDBC Pool] PoolCleaner creates some sort of memory
>
> Konstantin Kolinko wrote:
> > 2012/3/30 Osipov, Michael :
> >> Filip Hanik (mailing lists) wrote:
> >>> http://svn.apache.org/viewv
> There are some databases that do go in and periodically kill off
> connections, aside from the Tomcat settings.
you may want to explore the maxAge option for this, as we can disconnect and
create new connections before the DB does kills it as long lived
- Original Message -
> From: "Ba
http://svn.apache.org/viewvc?view=revision&revision=1306946
> -Original Message-
> From: Osipov, Michael [mailto:michael.osi...@siemens.com]
> Sent: Thursday, March 29, 2012 1:36 AM
> To: Tomcat Users List
> Subject: RE: [JDBC Pool] PoolCleaner creates some sort of memory
>
-
Are you trying to read a file in the same webapp or another?
> -Original Message-
> From: Farrukh Najmi [mailto:farr...@wellfleetsoftware.com]
> Sent: Wednesday, March 28, 2012 4:34 PM
> To: users@tomcat.apache.org
> Subject: Accessing static resource during loading of webapp
>
>
> I hav
: SHA1
>
> Filip,
>
> On 3/28/12 12:00 PM, Filip Hanik (mailing lists) wrote:
> > PoolCleaner is a static singleton. The pool cleaner thread will not
> > be removed until all JDBC pools have been stopped. So, yes, one
> > application can be the one that starts the t
Or pay a vendor to do it for you :)
http://pubs.vmware.com/vfabric5/index.jsp?topic=/com.vmware.vfabric.tc-server.2.6/admin/manual-encrypt-passwords.html
> -Original Message-
> From: Christopher Schultz [mailto:ch...@christopherschultz.net]
> Sent: Wednesday, March 28, 2012 10:25 AM
> To
PoolCleaner is a static singleton. The pool cleaner thread will not be removed
until all JDBC pools have been stopped.
So, yes, one application can be the one that starts the thread, but not
necessarily the one that stops it
Filip
> -Original Message-
> From: Osipov, Michael [mailto:mic
AutoCommit="false"
maxActive="1" maxIdle="1" minIdle="1" maxWait="1"
testOnBorrow="true"
validationQuery="SELECT 1"
I also have yet to see any "abandoned" log messages.
Should the pool always have at least 1 busy or i
ly so I can kill
> it
> easily to try and simulation connection timeouts. I won't really
> feel this
> is resolved until I can recreate the original issue.
>
>
> Thanks,
> Colin
>
> On Wed, Mar 21, 2012 at 11:20 AM, Filip Hanik Mailing Lists <
> devli...@ha
take a look at the attribute
http://tomcat.apache.org/tomcat-6.0-doc/config/cluster-sender.html
- Original Message -
> From: "Dhaval Jaiswal"
> To: "Tomcat Users List"
> Sent: Wednesday, March 21, 2012 10:35:14 PM
> Subject: Operation has timed out(3000 ms.).;
>
> Receiving below er
being abandoned. I also made the max
> pool
> size pretty small.. my application would have failed quickly if all
> the
> connections we're being incorrectly held up.
>
> Anything else I can try? Thanks again for your help.
>
> -- Colin
>
> On Wed, Mar 21, 2012
Got it, thank you.
The other way this can happen is if the application checks out a connection and
then never returns it, and expects it to be used.
For this you will want to enable
removeAbandonedTimeout="60"
removeAbandoned="true"
logAbandoned="true"
this should tell you pretty quickly if you
- Original Message -
> From: "Colin Ingarfield"
> To: users@tomcat.apache.org
> Sent: Wednesday, March 21, 2012 6:25:54 AM
> Subject: Re: how to enable debug logging for Tomcat jdbc pool (Tomcat 6.0.32)
>
> iirc I copied the version number from the
> tomcat-jdbc.jar/META-INF/MANIFEST.M
80)
> ~[spring-jdbc-3.0.5.RELEASE.jar:3.0.5.RELEASE]
> ... 22 common frames omitted
> Caused by: java.net.ConnectException: Connection timed out
> at java.net.PlainSocketImpl.socketConnect(Native Method)
> ~[na:1.6.0_29]
> at java.net.PlainSocketImpl.doConnect(PlainSock
Take the sample from the tomcat site, change DeltaManager to BackupManager
> -Original Message-
> From: Dhaval Jaiswal [mailto:dhaval.jais...@via.com]
> Sent: Monday, March 19, 2012 4:32 AM
> To: users@tomcat.apache.org
> Cc: Shrinivas Devarkonda
> Subject: Need a sample server.xml file fo
Define "connection timeouts" so that we can understand your problem to
suggest for how to trace it down.
What are you trying to search for. Errors would be logged as errors, and
should show up with the standard configuration
Filip
> -Original Message-
> From: Colin Ingarfield [mailto:coli
ok, keystore is for Java connectors. but you have chosen to use the APR
connector. so you should use the certificate format that is used for that
connector
- Original Message -
> From: "ayouB __"
> To: users@tomcat.apache.org
> Sent: Monday, March 19, 2012 11:00:59 AM
> Subject: RE: Con
The logs show that you don't have Tcnative installed
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org
ot;
> > prefix="localhost_access_log." suffix=".txt"
> > pattern="%h %l %u %t "%r" %s %b" />
> >
> >
> >
> >
> >
> >
> >
> >
> > > Date: Fri, 16 Mar 2012 10:41:38 -0600
> >
12 9:58:49 AM
> Subject: Configure SSL under Tomcat 7
>
>
> Hi every one,
>
> I'm ayoub and i'm a new member of this mailing list :)
> Well, i want to configure SSL under Tomcat 7 so i have followed steps
> said in http://tomcat.apache.org/tomcat-7.0-doc/ssl-how
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
that's a restriction of 32 bit systems. upgrade to 64 bit for more memory
requirements
depending on the kernel, you can go to 3.7gb for a 32 bit system
- Original Message -
From: "hi tanin"
To: users@tomcat.apache.org
Sent: Tuesday, November 29, 2011 8:05:51 AM
Subject: Server crash for m
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
Rainer;
Would you happen to have any idea why the message would just start
coming up for no reason, no changes were made to the server? Just
curious, I'm going to move forward on upgrading it.
Date: Tue, 11 Dec 2007 09:00:00 +0100
From: Rainer Jung <[EMAIL PROTECTED]>
Reply-To:
I'm getting the following errors out of the Event Viewer;
Event Type: Information
Event Source: Apache Jakarta Connector2
Event Category: None
Event ID: 4
Date: 12/10/2007
Time: 2:26:36 PM
User: N/A
Computer: WS25
Description:
The description for Ev
i'd appreciate some help here people bacuase this is driving me nuts
when my host setup an account and i deploy everything works great even afetr
i change tomcat-users.xml and other files everything works swell.
but when i touch server.xml and add this block which is supposed to default
direct to m
Hi,
I'm developing an Hibernate web application with jboss using a datasource
named "java:/DefaultDS"
java:/DefaultDS
When I configure the same datasource with tomcat, I can't reach it with this
name, but with java:comp/env/DefaultDS
So my hibernate config file must be changed depending on witc
66 matches
Mail list logo