Re: Do we have a filter that behaves like libwrap.so?

2007-11-20 Thread Brad Harvey
Hi Alex, I think what you're asking for is two things: - A filter that has whitelist as well as blacklist capabilities (definitely useful). - Something external to the filter that can read the allow/deny and manipulate the filter with new values as required. This way the filter itself can be

deploying apache-MINA application on clustered environment

2007-11-20 Thread Vasanth Meduri
Hi, I would like to know what are the considerations need to be taken to deploy the Server socket application developed using the Apache mina on a clustered environment for better scalability. Where ever I search I could find that the scalability si improved by spawning multiple thread. I am curi

Re: VMPIPE and IPC

2007-11-20 Thread Angel.Figueroa
IF the two java process are executing on the same java virtual machine, it meaning that they can no establish communication or Only in the context of the same process executing on the same vm.? Regards, angel Figueroa Trustin Lee wrote: > > Hi Angel, > > On Nov 20, 2007 4:40 AM, Angel.Figuer

org.apache.mina.common.ByteBuffer.release( ) usage

2007-11-20 Thread Bogdan Ciprian Pistol
Hello, It is required to release the manually allocated ByteBuffers (eg. ByteBuffer.allocate(some_size) )? In org.apache.mina.example.httpserver.codec example in HttpResponseEncoder.encode(...) I see that there is no release of the allocated ByteBuffer. Thanks, Bogdan

Re: Question regarding threading

2007-11-20 Thread Maciek Stachowiak
Hey Trustin, Oh wow... so your saying each individual IoSession can "concurrently" use required code from the initial IoHandler instance? That's pretty amazing if that's the case... would I have to synchronize every method in my IoHandler (I'm guessing not, but I just want to ask to make sure)...

Re: Question regarding threading

2007-11-20 Thread Maarten Bosteels
Hello Maciek, On Nov 20, 2007 5:01 PM, Maciek Stachowiak <[EMAIL PROTECTED]> wrote: > > Hey Trustin, > > Oh wow... so your saying each individual IoSession can "concurrently" use > required code from the initial IoHandler instance? That's pretty amazing > if > that's the case... It is not so un

disconnecting from mina

2007-11-20 Thread Cam Bazz
Hello, I am having trouble closing connections. I made a custom protocol codec as described in the tutorial. I will pass tuple messages and receive and send responses. However the program will only quit if I call System.exit(0); it wont disconnect from mina server. client.disconnect() will only

Re: Question regarding threading

2007-11-20 Thread Maciek Stachowiak
Hi Maarten, As you can see I don't have that much experience when it comes to server design :) After building up my own framework and running into all sorts of unexpected problems I'm really likeing this API... Thank you Trustin and Maarten... -- View this message in context: http://www.nabble.

Re: [jira] Created: (DIRMINA-477) Update page about differences between1.x and 2.x

2007-11-20 Thread Frédéric Brégier
Hi Trustin and all of you ! I come back to MINA since I feel that MINA 2 is on the way to get out. And I start to look what could be my effort to switch from beta 2 (trunk) from 6 months ago to the current status of trunk. I found some points that might be good to add on the page you started to wr

Dropped packets?

2007-11-20 Thread stork
Hi, I'm using a basic stream cipher to encrypt bits of the data sent between the client and MINA server, and I'm finding quite frequently that the client/sever stream from client to server is getting out of sync. I believe this is to do with MINA dropping packets, as there's no exceptions being th