Re: Restrict incoming connections per Application Tomcat 6.0.37

2013-12-14 Thread ANALIA DE PEDRO SANTAMARIA
I'm going to try to explain myself better. What I'm trying to do is create a permission system in Tomcat. This permission system must allow or avoid the next connections: - Receive from IP. The application with this permission only can accept connections (or receive information) from an IP. It can

Re: Restrict incoming connections per Application Tomcat 6.0.37

2013-12-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Analía, On 12/14/13, 1:27 PM, ANALIA DE PEDRO SANTAMARIA wrote: > I'm developing a permission system in Tomcat and I would like to > restrict incoming connections per application. I mean, I want to > restrict incoming connections in some application

Restrict incoming connections per Application Tomcat 6.0.37

2013-12-14 Thread ANALIA DE PEDRO SANTAMARIA
Hello, I'm developing a permission system in Tomcat and I would like to restrict incoming connections per application. I mean, I want to restrict incoming connections in some applications and permit them in others. I have tried to do it with the Security Manager (SocketPermission), but it doesn't

RE: high CPU usage with NIO and 1000+ websockets on Tomcat 7.0.49?

2013-12-14 Thread Bob DeRemer
> -Original Message- > From: Mark Thomas [mailto:ma...@apache.org] > Sent: Saturday, December 14, 2013 9:06 AM > To: Tomcat Users List > Subject: Re: high CPU usage with NIO and 1000+ websockets on Tomcat 7.0.49? > > On 13/12/2013 13:12, Bob DeRemer wrote: > > We have been profiling this

Re: high CPU usage with NIO and 1000+ websockets on Tomcat 7.0.49?

2013-12-14 Thread Mark Thomas
On 13/12/2013 13:12, Bob DeRemer wrote: > We have been profiling this in YourKit and as we increase the number of > websockets, naturally we see the CPU utilization increase. The concern > is that we’re seeing this at what seems to be a fairly low number of > websockets. The YourKit profiling sho