Tribes ManagedChannel

2012-08-22 Thread Afkham Azeez
Hi, Is it possible to programmatically add a new ChannelListener to a ManagedChannel after the channel has been started? -- *Afkham Azeez* Director of Architecture; WSO2, Inc.; http://wso2.com, *Member; Apache Software Foundation; **http://www.apache.org/*http://www.apache.org/ * * *email

Re: Tribes coordinator

2012-04-24 Thread Afkham Azeez
member. Is this the intended behavior? Is it possible to change the coordinator only if the existing coordinator fails? Thanks Azeez On Tue, Apr 24, 2012 at 11:26 AM, Afkham Azeez afk...@gmail.com wrote: Thanks for the pointers Filip. I will take a look. On Mon, Apr 23, 2012 at 9:12 PM, Filip

Re: Tribes coordinator

2012-04-23 Thread Afkham Azeez
group gets it, or doesn't. Filip - Original Message - From: Afkham Azeez afk...@gmail.com To: Tomcat Users List users@tomcat.apache.org Sent: Monday, April 23, 2012 6:38:31 AM Subject: Tribes coordinator We are using Tribes in Axis2. In a cluster, we want to have leader

Re: Securing Tomcat cluster communication

2011-11-23 Thread Afkham Azeez
On Wed, Nov 23, 2011 at 8:48 PM, Filip Hanik - Dev Lists devli...@hanik.com wrote: On 10/6/2011 8:31 AM, Afkham Azeez wrote: I had a look at the Tribes code. Can somebody please explain how Channel.SEND_OPTIONS_SECURE works? not yet implemented :( What is the proper way of implementing

Re: Securing Tomcat cluster communication

2011-11-23 Thread Afkham Azeez
of the interceptor will be important, so that you don't encrypt packets you don't need to (like ping and failure detection) Filip On 11/23/2011 10:53 AM, Afkham Azeez wrote: On Wed, Nov 23, 2011 at 8:48 PM, Filip Hanik - Dev Lists devli...@hanik.com wrote: On 10/6/2011 8:31 AM, Afkham

Securing Tomcat cluster communication

2011-10-06 Thread Afkham Azeez
Hi folks, Is there a way to do authentication in Tribes when new members try to join a cluster so that unauthorized nodes cannot join in? Also, when clustering messages are sent back forth, how do we ensure security? Thanks Azeez

Re: Securing Tomcat cluster communication

2011-10-06 Thread Afkham Azeez
, Afkham Azeez afk...@gmail.com wrote: Hi folks, Is there a way to do authentication in Tribes when new members try to join a cluster so that unauthorized nodes cannot join in? Also, when clustering messages are sent back forth, how do we ensure security? Thanks Azeez -- *Afkham Azeez

Re: Securing Tomcat cluster communication

2011-10-06 Thread Afkham Azeez
://tomcat.apache.org/connectors-doc/reference/workers.html Only requests from members with the same secret word will be acceped. Greetings Alexander -Ursprüngliche Nachricht- Von: Afkham Azeez [mailto:afk...@gmail.com] Gesendet: Donnerstag, 6. Oktober 2011 16:18 An: Tomcat Users List Betreff

Re: AW: Securing Tomcat cluster communication

2011-10-06 Thread Afkham Azeez
/workers.html Only requests from members with the same secret word will be acceped. Greetings Alexander -Ursprüngliche Nachricht- Von: Afkham Azeez [mailto:afk...@gmail.com] Gesendet: Donnerstag, 6. Oktober 2011 16:18 An: Tomcat Users List Betreff: Securing Tomcat cluster

Re: Terminating long running request threads

2011-06-11 Thread Afkham Azeez
Folks, Is there any API to get hold of Tomcat's Connector thread pools? Regards Azeez On Thu, Jun 9, 2011 at 10:58 PM, Afkham Azeez afk...@gmail.com wrote: On Thu, Jun 9, 2011 at 10:51 PM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: Afkham Azeez [mailto:afk...@gmail.com

Re: Terminating long running request threads

2011-06-11 Thread Afkham Azeez
Thanks Rainer. I think I can use the RequestProcessor MBeans. Thanks Azeez On Sat, Jun 11, 2011 at 8:41 PM, Rainer Jung rainer.j...@kippdata.dewrote: On 11.06.2011 09:30, Afkham Azeez wrote: Folks, Is there any API to get hold of Tomcat's Connector thread pools? Each request

Re: Terminating long running request threads

2011-06-11 Thread Afkham Azeez
Message- From: Afkham Azeez [mailto:afk...@gmail.com] Sent: Samstag, 11. Juni 2011 19:23 To: Tomcat Users List Subject: Re: Terminating long running request threads Thanks Rainer. I think I can use the RequestProcessor MBeans. Thanks Azeez On Sat, Jun 11, 2011 at 8:41 PM, Rainer

Terminating long running request threads

2011-06-09 Thread Afkham Azeez
Hi folks, We are using embedded Tomcat 7.0.14, and we have a requirement to somehow terminate request threads that have been running for a 'long' time. Does Tomcat provide any support to do this? Do we have access to the request thread pool through JMX, and if so, is there a way to get hold of

Re: Terminating long running request threads

2011-06-09 Thread Afkham Azeez
For our requirement, it is even OK to detect to which webapp such a request is coming, and unload that webapp. On Thu, Jun 9, 2011 at 10:33 PM, Afkham Azeez afk...@gmail.com wrote: Hi folks, We are using embedded Tomcat 7.0.14, and we have a requirement to somehow terminate request threads

Re: Terminating long running request threads

2011-06-09 Thread Afkham Azeez
On Thu, Jun 9, 2011 at 10:51 PM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: Afkham Azeez [mailto:afk...@gmail.com] Subject: Terminating long running request threads is there a way to get hold of these long running threads terminate them? This is not an issue

Warning when running a load test

2011-05-22 Thread Afkham Azeez
Hi folks, We are using embedded Tomcat 7.0.14, and when we are running load tests, we get the following warning from time to time. WARN {org.apache.tomcat.util.net.JIoEndpoint} - Incorrect connection count, multiple socket.close called on the same socket. What does this mean? What are the

Start connectors after deployment of all webapps have been completed

2011-05-15 Thread Afkham Azeez
of the connectors (opening of the sockets) until after the webapps have been deployed? Thanks Azeez -- *Afkham Azeez* *Member; Apache Software Foundation; **http://www.apache.org/*http://www.apache.org/

Re: Start connectors after deployment of all webapps have been completed

2011-05-15 Thread Afkham Azeez
Thanks Sylvain. That worked. On Sun, May 15, 2011 at 8:21 PM, Sylvain Laurent sylvain.laur...@m4x.orgwrote: have a look at the bindOnInit parameter on the connector http://tomcat.apache.org/tomcat-7.0-doc/config/http.html On 15 mai 2011, at 12:31, Afkham Azeez wrote: Hi folks, We

Re: Child-first classloading with Embedded Tomcat 7.0.11

2011-04-15 Thread Afkham Azeez
On Thu, Apr 14, 2011 at 3:41 AM, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Afkham, On 4/13/2011 10:05 AM, Afkham Azeez wrote: We are using Embedded Tomcat 7.0.11. It seems that with Embedded Tomcat, the default is parent

Child-first classloading with Embedded Tomcat 7.0.11

2011-04-13 Thread Afkham Azeez
Hi, We are using Embedded Tomcat 7.0.11. It seems that with Embedded Tomcat, the default is parent-first class loading, even though the default in the Tomcat binary distribution is child-first. Is there a way to setup child-first class loading in Embedded Tomcat? Thanks Azeez

Re: Child-first classloading with Embedded Tomcat 7.0.11

2011-04-13 Thread Afkham Azeez
, is it? On Wed, Apr 13, 2011 at 7:35 PM, Afkham Azeez afk...@gmail.com wrote: Hi, We are using Embedded Tomcat 7.0.11. It seems that with Embedded Tomcat, the default is parent-first class loading, even though the default in the Tomcat binary distribution is child-first. Is there a way

Re: Child-first classloading with Embedded Tomcat 7.0.11

2011-04-13 Thread Afkham Azeez
Was able to solve this using a bootstrap mechanism. http://frank.zinepal.com/embedded-tomcat-class-loading-trickery was helpful. Azeez On Wed, Apr 13, 2011 at 8:33 PM, Afkham Azeez afk...@gmail.com wrote: According to http://yzb.hit.edu.cn/docs/class-loader-howto.html, everything

Advantage of using HTTP NIO Connector

2011-02-17 Thread Afkham Azeez
Hi folks, What is the advantage of using this connector as opposed to the default one? In which scenarios would we tend to use the default connector, and in which scenarios will it be more appropriate to use the NIO connector? Thanks Azeez * *

Re: Advantage of using HTTP NIO Connector

2011-02-17 Thread Afkham Azeez
Thanks Mark. On Thu, Feb 17, 2011 at 8:41 PM, Mark Thomas ma...@apache.org wrote: On 17/02/2011 14:56, Afkham Azeez wrote: Hi folks, What is the advantage of using this connector as opposed to the default one? In which scenarios would we tend to use the default connector, and in which

Re: Tomcat 7 - does unpackWars=false work

2011-02-16 Thread Afkham Azeez
[mailto:afk...@gmail.com] On Behalf Of Afkham Azeez Subject: Tomcat 7 - does unpackWars=false work In my server.xml file, I have set unpackWars to false as follows: Host name=localhost appBase=webapps unpackWARs=false autoDeploy=true However, my WAR files are still being

Tomcat 7.0.8 JARs in Maven repos

2011-02-16 Thread Afkham Azeez
Hi folks, Can I know from which Maven repo I can fetch the JARs of the latest Tomcat release? repo1 seems to be having only upto the 7.0.6 JARs. Thanks Azeez

Embedding Tomcat 7

2011-02-15 Thread Afkham Azeez
Hi folks, Is there any documentation available on embedding Tomcat 7? We were using Tomcat 5.5.23 but the Embedded class has been deprecated. The Tomcat class is the alternative, but it seems that a single Tomcat instance can only handle a single connector. We need our webapps to be visible

Re: Embedding Tomcat 7

2011-02-15 Thread Afkham Azeez
On Tue, Feb 15, 2011 at 6:54 PM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: Afkham Azeez [mailto:afk...@gmail.com] Subject: Embedding Tomcat 7 We need our webapps to be visible through multiple connectors. How can this be done? Connectors belong to the Service, so

Re: Embedding Tomcat 7

2011-02-15 Thread Afkham Azeez
One more question: Why isn't the Tomcat class used in the mainstream code and is only used in the test cases? In Tomcat 5.x and 6.x IIRC, Catalina used to extend Embedded. On Tue, Feb 15, 2011 at 10:31 PM, Mark Thomas ma...@apache.org wrote: On 15/02/2011 14:07, Afkham Azeez wrote: On Tue

Tomcat 7 - does unpackWars=false work

2011-02-15 Thread Afkham Azeez
Hi folks, In my server.xml file, I have set unpackWars to false as follows: Host name=localhost appBase=webapps unpackWARs=false autoDeploy=true However, my WAR files are still being unpacked into the work directory. Am I missing something? Thanks Azeez

Tomcat Embedded documentation

2007-02-27 Thread Afkham Azeez
Can somebody send me some pointers to some documentation on Tomcat embedded edition? I need to find out how JDBC datasources can be registered(or whether this can be done). -- Thanks Afkham Azeez http://www.wso2.org GPG Fingerprint: 643F C2AF EB78 F886 40C9 B2A2 4AE2 C887 665E 0760

[Tomcat Embedded] Registering a JNDI Datasource

2007-02-23 Thread Afkham Azeez
I am using Tomcat 5.5.15 embedded version. I have a Web application which refers to a JNDI Datasource. Can somebody tell me how to register a JNDI Datasource in the Tomcat embedded version. -- Thanks Afkham Azeez http://www.wso2.org GPG Fingerprint: 643F C2AF EB78 F886 40C9 B2A2 4AE2 C887 665E