Re: MINA Example compile issue

2007-01-21 Thread Trustin Lee
On 1/3/07, afa654321 <[EMAIL PROTECTED]> wrote: Hello, I'm having toruble compiling the EchoServer exmaple with the following trace(MINA V.1.0.1): Exception in thread "main" java.lang.VerifyError: class edu.emory.mathcs.backport.java.util.concurrent.helpers.AbstractOwnableQueuedSynchronizer

Terminate client package problem

2007-01-21 Thread Eugene Labunsky
Hello, I have problem with client package - when link beetwen the client & server (both based on MINA 1.0.1) closed client package exit with code 0. Sure in the NetCatProtocolHandler I have handle OnClosed event and try connect to server like in FAQ. This client sends and receives message from se

Re: org.mortbay.jetty:servlet-api-2.5:jar:6.0.0beta12

2007-01-21 Thread Eric Liu
thanks, trustin:) 2007/1/22, Trustin Lee <[EMAIL PROTECTED]>: Then, it is because codehaus maven repository is dead temporarily. Maven should continue even if one of the default repositories is dead, but it dies. We have to wait a few more hours to get it up and running. Sorry that I can't d

Re: BEEP implementation

2007-01-21 Thread Trustin Lee
On 1/22/07, Cameron Taggart <[EMAIL PROTECTED]> wrote: Makes me wonder what BEEP is. Homepage is http://www.beepcore.org/. The used BEEP book can be found in Amazon.com marketplace for $2.10 + shipping. I've got one on the way. It's a framework of designing a protocol. It provides many sta

[jira] Commented: (DIRMINA-287) DatagramConnector.getRecycledSession() is inefficient.

2007-01-21 Thread Trustin Lee (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-287?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12466398 ] Trustin Lee commented on DIRMINA-287: - Please refer to DIRMINA-319, too. > DatagramConnector.getRecycledSession

[jira] Closed: (DIRMINA-287) DatagramConnector.getRecycledSession() is inefficient.

2007-01-21 Thread Trustin Lee (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-287?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Trustin Lee closed DIRMINA-287. --- Resolution: Fixed Assignee: Trustin Lee Done. > DatagramConnector.getRecycledSession() is ine

Re: BEEP implementation

2007-01-21 Thread Cameron Taggart
Makes me wonder what BEEP is. Homepage is http://www.beepcore.org/. The used BEEP book can be found in Amazon.com marketplace for $2.10 + shipping. I've got one on the way. cheers, Cameron On 1/21/07, Simon Raess <[EMAIL PROTECTED]> wrote: On 22.01.2007, at 01:05, Trustin Lee wrote: > On 1

[jira] Resolved: (DIRMINA-328) org.apache.mina.filter.codec.CumulativeProtocolDecoder uses an inefficient accumulation strategy

2007-01-21 Thread Trustin Lee (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-328?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Trustin Lee resolved DIRMINA-328. - Resolution: Fixed Fix Version/s: 1.0.2 Assignee: Trustin Lee Thank you for the p

Re: Cancellation requests lock

2007-01-21 Thread Trustin Lee
On 1/16/07, Margus Väli <[EMAIL PROTECTED]> wrote: 1.0.1, Using multiple bindings causes jvm not to stop on HUP signal: in Spring DisposableBean's #destroy implementation method, target.unbind() runs until line 215 in SocketAccep

Re: BEEP implementation

2007-01-21 Thread Simon Raess
On 22.01.2007, at 01:05, Trustin Lee wrote: On 1/5/07, Vinod Panicker <[EMAIL PROTECTED]> wrote: Hi, Does anyone know of a BEEP implementation over MINA? If there is one, is it available under an open source license? I can't find one, but I am very interested in implementing BEEP on top

Re: org.mortbay.jetty:servlet-api-2.5:jar:6.0.0beta12

2007-01-21 Thread Trustin Lee
Then, it is because codehaus maven repository is dead temporarily. Maven should continue even if one of the default repositories is dead, but it dies. We have to wait a few more hours to get it up and running. Sorry that I can't do anything for you. Trustin On 1/22/07, Eric Liu <[EMAIL PROTEC

Terminate client package problem

2007-01-21 Thread Eugene Labunsky
Hello, I have problem with client package - when link beetwen the client & server (both based on MINA 1.0.1) closed client package exit with code 0. Sure in the NetCatProtocolHandler I have handle OnClosed event and try connect to server like in FAQ. This client sends and receives message from

Re: org.mortbay.jetty:servlet-api-2.5:jar:6.0.0beta12

2007-01-21 Thread Eric Liu
thank you,trustin my maven is 2.0.4,it is the last verson, and anything i can do? E:\java\mina\1.0>mvn --version Maven version: 2.0.4 E:\java\mina\1.0> 2007/1/22, Trustin Lee <[E

Re: OutOfMemory when using ReadThrottleFilter

2007-01-21 Thread Trustin Lee
Hi Swen, On 1/4/07, Swen Moczarski <[EMAIL PROTECTED]> wrote: Hi, I have done some performance tests. A client is sending a lot of small messages over a connection to a server. In spite of the read-throttle-filter ( org.apache.mina.filter.ReadThrottleFilterBuilder) the server will be overloaded

[jira] Closed: (DIRMINA-329) ProtocolEncoderOutputImpl and SSLHandler deadlocks

2007-01-21 Thread Trustin Lee (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-329?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Trustin Lee closed DIRMINA-329. --- Resolution: Duplicate Assignee: Trustin Lee This issue is a duplicate of DIRMINA-241 > Protoc

[jira] Reopened: (DIRMINA-329) ProtocolEncoderOutputImpl and SSLHandler deadlocks

2007-01-21 Thread Trustin Lee (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-329?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Trustin Lee reopened DIRMINA-329: - > ProtocolEncoderOutputImpl and SSLHandler deadlocks > -

Re: org.mortbay.jetty:servlet-api-2.5:jar:6.0.0beta12

2007-01-21 Thread Trustin Lee
It's not a MINA problem, but a Maven (or Maven repository) problem. Please try to upgrade to the latest version of Maven 2, and try again. If this problem continues, please try again tomorrow. If it persists yet, please let us know. HTH, Trustin On 1/22/07, Eric Liu <[EMAIL PROTECTED]> wrote:

Re: Reason for "An established connection was aborted by the software in your host machine" exception

2007-01-21 Thread Trustin Lee
On 1/9/07, Frode Stokke <[EMAIL PROTECTED]> wrote: I sometimes get the following two exceptions from my client and/or server: "An established connection was aborted by the software in your host machine" "An existing connection was forcibly closed by the remote host" Can someone explain th

org.mortbay.jetty:servlet-api-2.5:jar:6.0.0beta12

2007-01-21 Thread Eric Liu
hi, I am new to mina. when i build mina 1.0, i get an error? why? thank you for you help! the command: E:\java\mina\1.0>mvn install and error like this: Downloading: http://repo1.maven.org/maven2/org/apache/maven/doxia/doxia-site-ren derer/1.0-alpha-8/doxia-site-renderer-1.0-al

[jira] Created: (DIRMINA-336) Remove cyclic dependencies among packages

2007-01-21 Thread Trustin Lee (JIRA)
Remove cyclic dependencies among packages - Key: DIRMINA-336 URL: https://issues.apache.org/jira/browse/DIRMINA-336 Project: MINA Issue Type: Task Reporter: Trustin Lee Assigned To

Re: Program does not exit possible due to open resources

2007-01-21 Thread Trustin Lee
I see. Please try to set the workerTimeout property of SocketConnector to smaller value. connector.setWorkerTimeout(5); // 5 seconds Then it will terminate in 5 seconds. HTH, Trustin On 1/21/07, Akbar Munir <[EMAIL PROTECTED]> wrote: Below is the full thread dump. This thread dump is for

Re: MessageDecoder.decodable()

2007-01-21 Thread Trustin Lee
I see. Thank you for the detailed explanation! Trustin On 1/22/07, Steven E. Harris <[EMAIL PROTECTED]> wrote: Trustin Lee <[EMAIL PROTECTED]> writes: > Could you let me know where did you find such a problem so I can fix > it? I think it was the httpserver example, in the HttpRequestDecode

Re: BEEP implementation

2007-01-21 Thread Trustin Lee
On 1/5/07, Vinod Panicker <[EMAIL PROTECTED]> wrote: Hi, Does anyone know of a BEEP implementation over MINA? If there is one, is it available under an open source license? I can't find one, but I am very interested in implementing BEEP on top of MINA. Trustin -- what we call human nature

Re: Separating MINA ByteBuffer classes into a new JAR package.

2007-01-21 Thread Trustin Lee
On 1/21/07, Jeroen Brattinga <[EMAIL PROTECTED]> wrote: I meant that the mina-core jar keeps the ByteBuffer implementation, and -for those that want only to use the Mina ByteBuffer- a separate ByteBuffer jar. But it's not needed for the Mina framework. It's also a good idea, though I'm not su

Re: MessageDecoder.decodable()

2007-01-21 Thread Steven E. Harris
Trustin Lee <[EMAIL PROTECTED]> writes: > Could you let me know where did you find such a problem so I can fix > it? I think it was the httpserver example, in the HttpRequestDecoder.¹ The code doesn't look exactly as I remember it, but note the messageComplete() method, called by decodable(). It

Re: Separating MINA ByteBuffer classes into a new JAR package.

2007-01-21 Thread Jeroen Brattinga
I meant that the mina-core jar keeps the ByteBuffer implementation, and -for those that want only to use the Mina ByteBuffer- a separate ByteBuffer jar. But it's not needed for the Mina framework. -- Jeroen Brattinga 2007/1/21, Trustin Lee <[EMAIL PROTECTED]>: On 1/21/07, Jeroen Brattinga <[EM

Re: Separating MINA ByteBuffer classes into a new JAR package.

2007-01-21 Thread Trustin Lee
On 1/21/07, Jeroen Brattinga <[EMAIL PROTECTED]> wrote: -1 I don't really see the point in an extra jar for the ByteBuffer. If you want users to be able to use the powerful Mina ByteBuffer, why not release an independent jar just for this goal? What do you mean by 'independent jar'? Is it s

Re: Program does not exit possible due to open resources

2007-01-21 Thread Akbar Munir
Below is the full thread dump. This thread dump is for JDK 6 VM with Apache MINA 1.0.1, recompiled on JDK 6 and all backport references changed to java.util.concurrent. --- THREAD DUMP START - 2007-01-21 18:58:37 Full thread dump Jav

Re: Separating MINA ByteBuffer classes into a new JAR package.

2007-01-21 Thread Jeroen Brattinga
-1 I don't really see the point in an extra jar for the ByteBuffer. If you want users to be able to use the powerful Mina ByteBuffer, why not release an independent jar just for this goal? -- Jeroen Brattinga 2007/1/21, Hanson Char <[EMAIL PROTECTED]>: +1 On 1/20/07, Trustin Lee <[EMAIL PRO

Re: MessageDecoder.decodable()

2007-01-21 Thread Maarten Bosteels
On 1/21/07, Trustin Lee <[EMAIL PROTECTED]> wrote: On 1/17/07, Steven E. Harris <[EMAIL PROTECTED]> wrote: > Trustin Lee <[EMAIL PROTECTED]> writes: > > > Users are supposed to put a message header (or prefix) detection (or > > recognition) code in decodable(), and to put the code that reads the