[jira] Resolved: (DIRMINA-306) Invalid sequence of events with VmPipe Transport

2007-01-29 Thread Trustin Lee (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-306?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Trustin Lee resolved DIRMINA-306. - Resolution: Fixed Assignee: Trustin Lee I've just checked in the fix. A queue is employed

Re: SocketFactory based transport for MINA

2007-01-29 Thread Trustin Lee
On 1/30/07, Chris Audley <[EMAIL PROTECTED]> wrote: I'm interested in BIO because I would like to use MINA to write a network service that works through both traditional network connections as well as 'network virtualization' packages that may only provide Socket style interfaces. In this parti

Re: Throughput monitoring issues.

2007-01-29 Thread Trustin Lee
Hi Gato, On 1/30/07, Gaston Dombiak <[EMAIL PROTECTED]> wrote: Hey guys, That is exactly what I needed for out load testing analysis. We needed to be able to get the total numbers instead of per connection number. Glad that you gave us a positive response. The nice thing of the current Sta

Re: Design queries : moving from blocking server to MINA

2007-01-29 Thread Trustin Lee
Hi Yogs, On 1/29/07, Yogs <[EMAIL PROTECTED]> wrote: I have a blocking java server (No-dispatcher/All workers model). A client connecting to this server can have configurable no. of connections. On the server there is a dedicated Serving thread for each connection. The serving thread here acts

[jira] Resolved: (DIRMINA-344) Maybe I met a deadlock.

2007-01-29 Thread Trustin Lee (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-344?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Trustin Lee resolved DIRMINA-344. - Resolution: Invalid Assignee: Trustin Lee It's not a MINA problem but your application pro

[jira] Resolved: (DIRMINA-261) ioSession.close().join() when SO_LINGERING set

2007-01-29 Thread Trustin Lee (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-261?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Trustin Lee resolved DIRMINA-261. - Resolution: Won't Fix Marking as 'won't fix' because there was no objection. I added JavaDoc co

[jira] Closed: (DIRMINA-340) Proxy example doesn't work.

2007-01-29 Thread Trustin Lee (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-340?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Trustin Lee closed DIRMINA-340. --- Resolution: Cannot Reproduce Assignee: Trustin Lee I can't reproduce the problem. All branche

RE: SocketFactory based transport for MINA

2007-01-29 Thread Chris Audley
I'm interested in BIO because I would like to use MINA to write a network service that works through both traditional network connections as well as 'network virtualization' packages that may only provide Socket style interfaces. In this particular case, I'd like to build my service to work both o

RE: Throughput monitoring issues.

2007-01-29 Thread Gaston Dombiak
Hey guys, That is exactly what I needed for out load testing analysis. We needed to be able to get the total numbers instead of per connection number. The nice thing of the current StatCollector implementation is that if you are not interested in stats then there is no overhead since there is n

Re: MINA app inside tomcat

2007-01-29 Thread jian wu
Hi Maarten, Now my question is, does anyone have good or bad experience running a MINA app inside tomcat ? Does anyone foresee any problems with that approach ? Based on my personal experience, what you can do to put a Mina Network Application inside a WAR is: 1). You create a MinaAppServlet 2

RE: An existing connection was forcibly closed by the remote host

2007-01-29 Thread Newcomb, Michael-P57487
> DataOutputStream out = new DataOutputStream(connection.getOutputStream()); > System.out.println("***"); > out.write(str.getBytes(), 0, str.length()); > out.flush(); > out.close(); ^^^ Not sure if I read your e-mail correctly, but 'out.close()' will close the socket's OutputStream which

An existing connection was forcibly closed by the remote host

2007-01-29 Thread ramesh murugaswamy
Hi, I try to connect to chat server(From Chat Example) with client socket code.I got the Exception "An existing connection was forcibly closed by the remote host".but i connected through putty, it is wotking fine.Actually What is the problem.My Client Code is public static void main(Str

RE: One selector (thread) per SocketAcceptor?

2007-01-29 Thread Newcomb, Michael-P57487
Thanks, I must have missed your previous e-mail. From: Trustin Lee [mailto:[EMAIL PROTECTED] Sent: Saturday, January 27, 2007 11:09 PM To: dev@mina.apache.org Cc: Newcomb, Michael-P57487 Subject: Re: One selector (thread) per SocketAcceptor? On 12/21/06, Trusti

Re: MINA app inside tomcat

2007-01-29 Thread yueyu lin
I don't think run Mina app in a web server is a good idea. Since we use Mina to provide the efficient and stable C/S framework, why should we bother a web server to wrap it? Suppose, one JVM is hosting a web server(Tomcat) and it has to also open other ports to support your applications in Mina fr

Design queries : moving from blocking server to MINA

2007-01-29 Thread Yogs
Hi, I have a blocking java server (No-dispatcher/All workers model). A client connecting to this server can have configurable no. of connections. On the server there is a dedicated Serving thread for each connection. The serving thread here acts as a Socket monitor and runs in a 'read-encode-hand

MINA app inside tomcat

2007-01-29 Thread Maarten Bosteels
Hello, Until now my MINA-based applications were stand-alone java apps, started from the command-line. To add some management features, I embedded jetty and wrote some basic servlets. But now I am wondering if it wouldn't be easier to just create a regular web-app and deploy it in Tomcat (or any