Re: Fw: try it out

2015-08-17 Thread Ashish
=[HTML_MESSAGE=3, KAM_LAZY_DOMAIN_SECURITY=1, KAM_MANYTO=0.2, > MIME_QP_LONG_LINE=0.001, URIBL_BLOCKED=0.001] autolearn=disabled > X-xwash23-MailScanner-SpamScore: s > -- thanks ashish Blog: http://www.ashishpaliwal.com/blog My Photo Galleries: http://www.pbase.com/ashishpaliwal

Re: [SSHD] version 0.9

2013-08-05 Thread Ashish
s Kapitza > -- thanks ashish Blog: http://www.ashishpaliwal.com/blog My Photo Galleries: http://www.pbase.com/ashishpaliwal

Re: Using an Authentication Filter and IoHandlerAdapter

2013-08-01 Thread Ashish
Authenticated'. > > >> > > >> However our main application logic is going to be (our plan at least) > > held in an IoHandlerAdapter, my question is what is a good way to > integrate > > the two of these: > > >> > > >> 1) The

Re: apache mina jmx default port

2013-06-17 Thread Ashish
nitor my apache mina remote process using JMX. > what is the default port number for JMX in apache mina. > > > Regards, > > Saurav > -- thanks ashish Blog: http://www.ashishpaliwal.com/blog My Photo Galleries: http://www.pbase.com/ashishpaliwal

Re: Running mina examples

2013-04-25 Thread Ashish
ure how to run the examples in the precompiled > libraries. > > Thanks for help > > Marc > -- thanks ashish Blog: http://www.ashishpaliwal.com/blog My Photo Galleries: http://www.pbase.com/ashishpaliwal

Re: Guice Support

2012-10-03 Thread Ashish
Hi Patrick, All contributions are welcome :) Would recommend to create a JIRA and attach the code/documentation to it. thanks ashish On Thu, Oct 4, 2012 at 7:16 AM, Patrick Twohig wrote: > Hey, > > I was curious if there exists guice support for MINA. If not, I've got > som

Re: Strange bug in CumulativeProtocolDecoder

2012-02-07 Thread Ashish
they are incomplet or overcomplet. They return false. But when i >> manually trying to get int, value which should be read is correct. Why is >> that happens ? Why it happens only for coupe of messages ? >> Encoder sends bytes properly. >> -- thanks ashish Blog: http://www.ashishpaliwal.com/blog My Photo Galleries: http://www.pbase.com/ashishpaliwal

Re: does Vysper have any JMX support?

2011-08-23 Thread Ashish
MINA JMX integration is covered here http://mina.apache.org/chapter-18-jmx-integration.html HTH! ashish On Tue, Aug 23, 2011 at 8:52 PM, Bob DeRemer wrote: > Thanks, Bernd! > > For most of the admin stuff, we'd probably be managing that - since we got > input from Niklas on h

Re: What codec should we use for reading a incoming XML

2011-07-11 Thread Ashish
na.apache.org/conferences.data/Mina_in_real_life_ASEU-2009.pdf Emmanuel has described, in detail, about XML codec. Good Luck ! - ashish

Fwd: Reminder: TAC Assistance to ApacheCon NA 2011 closes July 8th

2011-07-04 Thread Ashish
FYI - Final Reminder for TAC Assistance to ApacheCon NA 2011, for all those who are interested thanks ashish -- Forwarded message -- From: Gavin McDonald Date: Sun, Jul 3, 2011 at 5:49 AM Subject: Reminder: TAC Assistance to ApacheCon NA 2011 closes July 8th To: committ

Re: Problem with inverted shells

2011-05-03 Thread Ashish
Can you create a JIRA for this? thanks ashish On Sat, Apr 30, 2011 at 9:10 PM, Boris Okunskiy wrote: > Hi everyone, > > Whole last day I've tried to implement a managed SSH access for Git. The > problem I faced was not quite trivial: whenever I try to `git clone` >

Re: SSHD: Looking for a way to restrict which IPs can connect to a listening SSH port forward.

2011-04-18 Thread Ashish
NioSocketAcceptorFactory (a new interface) that the > TcpipForwardSupport uses in initialize(), giving me a chance to wire in > whatever additional Filters I want? > > -Bill > > On Mon, Apr 18, 2011 at 9:36 AM, Ashish wrote: > >> IMHO, using Black

Re: SSHD: Looking for a way to restrict which IPs can connect to a listening SSH port forward.

2011-04-18 Thread Ashish
IMHO, using BlacklistFilter would be a better option Check out org.apache.mina.filter.firewall.BlacklistFilter thanks ashish On Mon, Apr 18, 2011 at 6:49 PM, Bill Kuker wrote: > Hello. > > I am currently using the ForwardingFilter's canListen() & canConnect() > functions

Re: How is asyncweb going?

2011-04-01 Thread Ashish
On Fri, Apr 1, 2011 at 8:35 PM, Mavlarn Tuohuti wrote: > I just begin to use Mina. And I checked the code of asyncweb. > It seems that there is no much dependency on Mina. Asyncweb just uses some > classes like IoBUffer of Mina. I am afraid that's not the case. AFAIK, asyncweb used MINA state mac

Re: How is asyncweb going?

2011-03-31 Thread Ashish
our contribution is welcome :) thanks ashish

Re: Problems by upgrading the Apache Camel Mina component from Mina 1.1.7 to 2.0.2

2011-03-21 Thread Ashish
Christian, I am working on this. Hopefully shall revert back soon ;) cheers ashish On Fri, Mar 18, 2011 at 10:05 AM, Ashish wrote: >> Hello List! >> >> Could someone of you have "quick" look on [1]. I try to upgrade the Apache >> Camel Mina component from Min

Re: Problems by upgrading the Apache Camel Mina component from Mina 1.1.7 to 2.0.2

2011-03-17 Thread Ashish
countered these error while upgrading some of my examples from 1.1 to 2.x release. cheers ashish

Re: How can Mina access the data of Tomcat's servlet instance?

2011-02-27 Thread Ashish
ou need to build this logic in your Filter or IoHandler. thanks ashish

Re: [vysper] questions

2011-02-18 Thread Ashish
.  i want to leverage apache cassandra as a backend repository for data. >> to do this, i would create a storage provider that handles the cassandra >> interaction? cheers ashish

Re: jmx with mina 2.0.2

2011-02-14 Thread Ashish
rror: ognl/TypeConverter > > > > Help will be appreciated. > > Guy > > -- thanks ashish Blog: http://www.ashishpaliwal.com/blog My Photo Galleries: http://www.pbase.com/ashishpaliwal

Re: "Failed to initialize", "Unable to establish loopback connection" error

2011-01-31 Thread Ashish
essionConfig().setTcpNoDelay(true); > acceptor.setHandler(abstractServerHandler); > acceptor.bind(new InetSocketAddress(port)); > > Futhermore the problem happears only on windows (sun jvm 1.6, last version), > I tested on other OS (linux, aix (ibm jvm), hpux, solaris) they are all > perfect, it's a windows specific problem. > > I hope I gave you enough details. All ideas/remarks are welcome, because I'm > lost and don't know what to do. > > Thanks, > Regards, > jb > -- thanks ashish Blog: http://www.ashishpaliwal.com/blog My Photo Galleries: http://www.pbase.com/ashishpaliwal

Re: Need help for implementing a proxy server

2010-12-23 Thread Ashish
Take a few thread dumps and see where threads are stuck. Should give some direction to work on. thanks ashish 2010/12/23 Tsha : > Hi all, > > I just start on Mina and try to accomplish a proxy server to record users' > http requests. I made reference to the proxy example

Re: Re: need help chat program with mina

2010-10-27 Thread Ashish
ided with MINA distribution and then work your way towards the chat program. The tutorial link suggested by Chris is build on top of the example shipped. HTH! thanks ashish

Re: Number of threads

2010-10-14 Thread Ashish
Little more details would help, like where you want to increase number of threads? On Thu, Oct 14, 2010 at 3:21 PM, Zlatko Josic wrote: > Hi, > > Is it posible to increase number of threds for event proccesing in mina > framework ? > > Zlaja > -- than

Re: Socket operation on non-socket...

2010-10-11 Thread Ashish
Fixed that ! Seems some issue with _code:java_ macro Tags were correct but it didn't ended where it was supposed to be. Moved to code macro for the time being. Wait for the sync to happen. thanks ashish On Mon, Oct 11, 2010 at 2:21 PM, David Latorre wrote: > http://mina.apache.org/

Re: Cumulative message decoder

2010-10-06 Thread Ashish
Can you please elaborate on what you want to say. On Wed, Oct 6, 2010 at 2:09 PM, Alexander Nalbandyan wrote: > Protocol codec filter remains in infinite loop if incoming data length is > small -- thanks ashish Blog: http://www.ashishpaliwal.com/blog My Photo Galleries: http://www.pba

Re: MINA performance on Centos/Tomcat

2010-09-20 Thread Ashish
ur eye open to GC Well these are all wild guesses. First thing is to get info out of your system and analyze what's going on. This is ALL I can help without Thread dumps. thanks ashish

Re: MINA performance on Centos/Tomcat

2010-09-20 Thread Ashish
ke running client and Server on the same machine in production for sure. Single machine, Single point of failure. Again this is very specific to what you need. If it works fine for you, probably that's what u need. Good Luck! - ashish On Mon, Sep 20, 2010 at 7:34 PM, Kumar Abhishek wrote

Re: MINA performance on Centos/Tomcat

2010-09-20 Thread Ashish
bring down all our web services. > > On Mon, Sep 20, 2010 at 6:27 PM, Ashish wrote: > >> How many CPU's/Cores on the machines? >> >> Try taking a few Thread dumps and see what's taking up the CPU. >> >> Alternatively, if its not a production App,

Re: MINA performance on Centos/Tomcat

2010-09-20 Thread Ashish
How many CPU's/Cores on the machines? Try taking a few Thread dumps and see what's taking up the CPU. Alternatively, if its not a production App, go for profiling and see what's going on inside. thanks ashish On Mon, Sep 20, 2010 at 6:07 PM, Kumar Abhishek wrote: > Hi, >

Re: session.getCreationTime - milli vs nano

2010-08-26 Thread Ashish
check RC1 release.. the docs are updated :) On Thu, Aug 26, 2010 at 6:33 PM, Guy Itzhaki wrote: > I am using mina 2.0 M6 > > -Original Message- > From: Ashish [mailto:paliwalash...@gmail.com] > Sent: Thursday, August 26, 2010 3:46 PM > To: users@mina.apache

Re: Help implementing SSL

2010-08-26 Thread Ashish
Meanwhile, you can use package org.apache.mina.filter.ssl.SslTest to experiment further. Anyone else can shed some light here? thanks ashish 2010/8/25 André Rodrigues : > Sure, I'm sending the Eclipse project attached. > > > > I've changed the bogus.cert to tcc.keystore a

Re: session.getCreationTime - milli vs nano

2010-08-26 Thread Ashish
I don't see it as nanoseconds. Which version are u using? Here is the function signature from trunk /** * @return the session's creation time in milliseconds */ long getCreationTime(); The javadoc on http://mina.apache.org/report/trunk/apidocs/ also shows as millis

Re: Help implementing SSL

2010-08-25 Thread Ashish
can you post your client code? 2010/8/25 André Rodrigues : > Alright, thanks ! > > > > > > 2010/8/24 Ashish > >> Let me try the sample at my end ... >> >> Will revert back as soon as I can. >> >> thanks >> ashish >> >> 20

Re: Help implementing SSL

2010-08-24 Thread Ashish
Let me try the sample at my end ... Will revert back as soon as I can. thanks ashish 2010/8/24 André Rodrigues : > Hi, thanks for your answer! > > I'm using MINA 2.0, and the SSLFilter is the only filter I'm using. > > I'll post the System.out output for both t

Re: Help implementing SSL

2010-08-23 Thread Ashish
e you should be good. thanks ashish 2010/8/24 André Rodrigues : > Hi everyone! > > I'm trying to fix up a simple MINA example using SSL and I'm having some > trouble. Here's what I did: > > 1) I'm running the EchoServer example with SSL turned on. I generated

Re: Encoding Decoding Java Collections Using Mina

2010-07-28 Thread Ashish
Can also look at org.apache.mina.filter.codec.serialization package. I haven't used it, but seems like a good fit for Object Serialization needs. thanks ashish On Wed, Jul 28, 2010 at 1:13 PM, Emmanuel Lecharny wrote: >  On 7/28/10 4:58 AM, amit shah wrote: >> >> Hello, &

Re: SocketSessionConfig

2010-05-25 Thread Ashish
configuration with acceptor.getSessionConfig but I > don't know how to make changes in order to, for instance, setTcpNoDelay(true) > for that acceptor. > > Thank you, > > Zigor. -- thanks ashish Blog: http://www.ashishpaliwal.com/blog My Photo Galleries: http://www.pbase.com/ashishpaliwal

Fwd: [Travel Assistance] - Applications Open for ApacheCon NA 2010

2010-05-16 Thread Ashish
The Travel Assistance Committee is now taking in applications for those wanting to attend ApacheCon North America (NA) 2010, which is taking place between the 1st and 5th November in Atlanta. The Travel Assistance Committee is looking for people who would like to be able to attend ApacheCon, but w

Some interesting Projects using MINA

2010-05-02 Thread Ashish
Should we contact the owners and add these to Related Projects? thanks ashish

Re: changes from Mina 2.0.0-M3 to 2.0.0-M6 to 2.0.0-RC1

2010-04-21 Thread Ashish
The best way would be to take Thread dumps and see what's going on inside. Using a logging filter could tell you a little more when things have been processed... thanks ashish On Tue, Apr 20, 2010 at 9:53 PM, Vijay K Pandey wrote: > Hi, > > I have an application which has a very s

Re: HttpServer example is missing from mina-2.0.0.RC1

2010-04-08 Thread Ashish
Thanks Norman! This is the master page http://mina.apache.org/sources.html. The link is from main nav menu Sources" thanks ashish On Thu, Apr 8, 2010 at 3:46 PM, Norman Maurer wrote: > Here you go: > > http://svn.apache.org/repos/asf/mina/asyncweb/trunk/ > > > Bye

Re: HttpServer example is missing from mina-2.0.0.RC1

2010-04-08 Thread Ashish
HTTP related stuff has been moved to AsyncWeb project. http://mina.apache.org/asyncweb/ There is not much info on wiki, but please feel free to check the svn repo. thanks ashish On Thu, Apr 8, 2010 at 12:20 PM, Pradeep chahal wrote: > > > > > Hello, > > HttpServer example

Re: Simple Notification Solution in MINA

2010-03-26 Thread Ashish
There are two ways 1. Mimic keep alive filter - it sends keep alive messages after every 'x' seconds 2. Keep a tab of all open sessions, and after an interval iterate over all the active sessions and write a message on the session. thanks ashish On Fri, Mar 26, 2010 at 3:16 AM, St

Re: Possible memory leak using Mina 1.1.7

2010-03-16 Thread Ashish
leak as fast as > possible. I'm trying to figure it out for more than a week now, that's the > reason I asked you guys. > > Thank you so much again. Yeah there are folks running MINA 2.X in production :) Lets hear it out from them. Can anyone help me out here? thanks ashish

Re: Possible memory leak using Mina 1.1.7

2010-03-16 Thread Ashish
MINA 1.X is way old. Would recommend you to upgrade to the latest MINA release. Try migrating. Some of the differences are listed here http://mina.apache.org/changes-between-2x-and-1x.html thanks ashish On Tue, Mar 16, 2010 at 8:26 PM, Cleber Cassol wrote: > Hi there. > > We are u

Re: ProtocolCodecFilter change of behavior in 2.0.0-RC1

2010-03-13 Thread Ashish
e any objection to reverting these 4 attribute key constants to >>> non-static for 2.0.0 final? >>> >> This was a mistake I did a few months ago. It has been reverted in >> revision 580762, back in september 2009. >> >> >> -- >> Regards, >> Cordialement, >> Emmanuel Lécharny >> www.nextury.com >> >> > -- thanks ashish Blog: http://www.ashishpaliwal.com/blog My Photo Galleries: http://www.pbase.com/ashishpaliwal

Re: UDP replying to a message issue

2010-03-12 Thread Ashish
message, you just need to fix this exception. Good Luck ! You are almost there, just a few lines of code more :) On Thu, Mar 11, 2010 at 4:41 PM, Abdul Khaliq wrote: > > i have attached the src code > > Abdul Khaliq > > http://old.nabble.com/file/p27862087/src.rar src.rar &

Re: UDP replying to a message issue

2010-03-11 Thread Ashish
On Thu, Mar 11, 2010 at 12:43 PM, Abdul Khaliq wrote: > > Here what actually happens > > UDP client                                          UDP Server >                                                       1.The server starts > and no events are generated > 2. generates Session created event > 3

Re: UDP replying to a message issue

2010-03-10 Thread Ashish
On Thu, Mar 11, 2010 at 11:03 AM, Abdul Khaliq wrote: > > Agreed the server does not set the message back to the client, in the example > , and i did have a look at the java docs and the tried different methods to > sent data back to the client. I mean thats the actual question how can i > send  d

Re: UDP replying to a message issue

2010-03-10 Thread Ashish
On Thu, Mar 11, 2010 at 10:39 AM, Abdul Khaliq wrote: > > Yes i am trying to serlize the object upon the message received event in the > Handler class like "buffer.putObject(pojoObject)", but i don't know if it is > the right way of doing it? and how no message received event is raised on > the cl

Re: UDP replying to a message issue

2010-03-10 Thread Ashish
called, whenever a message is received. Raise en event from there. -- thanks ashish Blog: http://www.ashishpaliwal.com/blog My Photo Galleries: http://www.pbase.com/ashishpaliwal

Re: How To Handle Request Reply

2010-03-04 Thread Ashish
Yes its very much applicable, but there is very little or no documentation around this. thanks ashish On Thu, Mar 4, 2010 at 4:20 PM, Brad Harvey wrote: > Is this still applicable? > > https://issues.apache.org/jira/browse/DIRMINA-92?focusedCommentId=1248

Re: SW-Quality

2010-02-08 Thread Ashish
ss, but I used to run them often. Haven't doen this for long now :-( > > Any report with clear potential problems is helpfull though !-- > > Regards, > Cordialement, > Emmanuel Lécharny > www.nextury.com > > > -- thanks ashish Blog: http://www.ashishpaliwal.com/blog My Photo Galleries: http://www.pbase.com/ashishpaliwal

Re: question about Filter

2010-02-02 Thread Ashish
our own codec. > -- > View this message in context: > http://old.nabble.com/question-about-Filter-tp27422950p27424211.html > Sent from the Apache MINA User Forum mailing list archive at Nabble.com. > > -- thanks ashish Blog: http://www.ashishpaliwal.com/blog My Photo Galleries: http://www.pbase.com/ashishpaliwal

Re: MINA 2.0 RC code base stability?

2010-02-01 Thread Ashish
This page may be of help http://mina.apache.org/changes-between-2x-and-1x.html On Tue, Feb 2, 2010 at 2:41 AM, Michael Clifford wrote: > Is there some sort of guide for porting 1.1 code to 2.0?  I've tried to > replace the 1.1 libraries with the 2.0 ones for the MinaTimeServer example, > but

Re: MINA 2.0 RC code base stability?

2010-02-01 Thread Ashish
2.0 is now in RC phase and soon we shall have a GA release. The API's have been frozen, so no changes are expected. We are working on killing the remaining bugs and go out with GA soon. 2.0 is not unstable :-) thanks ashish On Mon, Feb 1, 2010 at 3:10 PM, Michael Clifford wrote: > I

Re: how to shutdown a mina application

2010-01-28 Thread Ashish
Thanks David! @jose For Ctrl + C, like scenario, create a shutdown hook and register. In the shutdown hook code, do the cleaning stuff. thanks ashish On Thu, Jan 28, 2010 at 9:13 PM, David Rosenstrauch wrote: > On 01/28/2010 05:09 AM, jose vilmar estacio de souza wrote: >> >> Hi

Re: Large file transfer with mina

2010-01-27 Thread Ashish
On Thu, Jan 28, 2010 at 1:16 AM, Emre GURBUZ wrote: > Thank you for response Ashish, but do you know any working-real example that > handles large file transfer with MINA 2.0? > I am afraid, I am not aware of any real example. Sorry abt that ! There are couple of related mail threads

Re: Large file transfer with mina

2010-01-27 Thread Ashish
oints are important for large > file transfer especially image files.. > > On Wed, Jan 27, 2010 at 7:14 PM, Ashish wrote: > >> On Wed, Jan 27, 2010 at 6:03 PM, Emre GURBUZ wrote: >> > Hi all, >> > I am trying to develop a peer-to-peer application which peers will be

Re: jar file for org.apache.mina.filter.support.Zlib

2010-01-27 Thread Ashish
ere? > Thanks > > On Wed, Jan 27, 2010 at 9:55 AM, Ashish wrote: > >> On Wed, Jan 27, 2010 at 11:17 PM, Ted Yu wrote: >> > Thanks for the hint. >> > >> > But I see: >> > org.apache.mina.filter.compression.Zlib is not public in >>

Re: jar file for org.apache.mina.filter.support.Zlib

2010-01-27 Thread Ashish
r is what is to be used. Any specific needs to use the class directly? > On Wed, Jan 27, 2010 at 9:40 AM, Ashish wrote: > >> Its part of mina-filter-compression-2.0.0-RC1.jar >> >> On Wed, Jan 27, 2010 at 11:07 PM, Ted Yu wrote: >> > Hi,

Re: jar file for org.apache.mina.filter.support.Zlib

2010-01-27 Thread Ashish
e where to find the jar file ? > > Thanks > -- thanks ashish Blog: http://www.ashishpaliwal.com/blog My Photo Galleries: http://www.pbase.com/ashishpaliwal

Re: Large file transfer with mina

2010-01-27 Thread Ashish
mm, a file region filter would be better. What OS are you on? > My best regards, > > Emre > -- thanks ashish Blog: http://www.ashishpaliwal.com/blog My Photo Galleries: http://www.pbase.com/ashishpaliwal

Re: BlacklistFilter

2010-01-26 Thread Ashish
carefully :-) > []S José Vilmar Estácio de Souza > http://www.informal.com.br > Msn:vil...@informal.com.br Skype:jvilmar > Twitter: http://www.twitter.com/jvesouza > Phone: +55 21-2555-2650 Cel: +55 21-8868-0859 > > -- thanks ashish Blog: http://www.ashishpaliwal.co

Re: how to implement read timeout in CumulativeProtocolDecoder

2010-01-26 Thread Ashish
lve the problem, what if it's a busy server, > critically, a lot of clients send request to the server at the same time, > for example, it's a back-end bank business system? > hmm.. the you would need to set timeout as needed.. or you can customize stuff as per ur needs.. Well can you pin-point the last problem that io bothering u.. - ashish

Re: Empty WriteRequest in overriden MessageSent method

2010-01-26 Thread Ashish
On Tue, Jan 26, 2010 at 7:20 PM, Frederic Soulier wrote: > 2010/1/26 Ashish > >> On Tue, Jan 26, 2010 at 4:41 PM, Frederic Soulier >> wrote: >> > Hi >> > >> > Using 2.0 RC1 I've got the following filter chain configured for a >> > Nio

Re: how to implement read timeout in CumulativeProtocolDecoder

2010-01-26 Thread Ashish
On Tue, Jan 26, 2010 at 7:22 PM, XuQing Tan wrote: > Hi, Ashish > > thanks for your reply > >>I doubt you would need any time out stuff, unless I am missing something.. > > OK, as it is an endless loop if the package/frame not received completely, > the session is

Re: Empty WriteRequest in overriden MessageSent method

2010-01-26 Thread Ashish
mmediately get an empty WriteRequest... > > 11:00:20,157 Sent(wire)     [0b] [empty]. Hmm.. not sure abt this. Are both these traces from same snippet that you posted above? > Why is that? > > Thx > Fred > -- thanks ashish Blog: http://www.ashishpaliwal.com/blog My Photo Galleries: http://www.pbase.com/ashishpaliwal

Re: how to implement read timeout in CumulativeProtocolDecoder

2010-01-26 Thread Ashish
Best Regards! > >              /// >             (. .) >  ooO--(_)--Ooo >  |         Nick Tan          | >  - > -- thanks ashish Blog: http://www.ashishpaliwal.com/blog My Photo Galleries: http://www.pbase.com/ashishpaliwal

Re: help writing my first codec

2010-01-25 Thread Ashish
ata. Can use file mapped buffer, if there is a need. Rest is good to go.. Good Luck! > Thanks > > - > []S José Vilmar Estácio de Souza > http://www.informal.com.br > Msn:vil...@informal.com.br Skype:jvilmar > Twitter: http://www.twitter.com/jvesouza > Phone: +55 21-255

Re: supporting multiple clients with MINA

2010-01-25 Thread Ashish
ted msg, your String could be part of two packets and that's the situation you have to deal to with in your filter. There are couple of examples around this, so feel free to experiment. -- thanks ashish

Re: Connection reset by peer

2010-01-23 Thread Ashish
exceptions in Tomcat logs :-) thanks ashish On Sat, Jan 23, 2010 at 5:57 PM, Ted Yu wrote: > Hi, > I saw this snippet in our server log many times: > > 2010-01-22 14:01:53,006 INFO  [net.kindsight.rpc.server.impl.RpcIoHandler] > session is opened: (0x00B1: nio socket, server

Re: Mina: Client which sends/receives messages synchronous

2010-01-21 Thread Ashish
more messages. Try SNMP4J (http://www.snmp4j.org) it has similar abstraction built in. thanks ashish On Thu, Jan 21, 2010 at 9:13 PM, Christian Müller wrote: > Hello Ashish! > > Thanks for the link, but I could not found a suitable already existing > solution in the Mina relate

Re: using direct buffers

2010-01-17 Thread Ashish
of pin pointing and resolving the problem. > If someone can share troubleshooting tips, especially w.r.t. compression > filters, that would be great. > -- thanks ashish Blog: http://www.ashishpaliwal.com/blog My Photo Galleries: http://www.pbase.com/ashishpaliwal

Re: Mina: Client which sends/receives messages synchronous

2010-01-13 Thread Ashish
Just try this out :-) As far as this pattern is concerned, this is common and you can get hold of this in some of the MINA based projects. This is a good place to look for http://mina.apache.org/related-projects.html You may get a ready to use solution. Thanks ashish On Wed, Jan 13, 2010 at

Re: mem leak?

2010-01-12 Thread Ashish
,696,45940,715,016359,855,312 > org.apache.mina.filter.codec.ProtocolCodecFilter$MessageWriteRequest > 1,696,45927,143,344319,130,104byte[] 8768768 > >   - Total: 3 entries > > 3,392,92667,859,128 > > 678,986,184 > > any idea why those objects are still hanging around?

Re: Mina: Client which sends/receives messages synchronous

2010-01-11 Thread Ashish
Don't have sample, but yeah this is what I would have done. thanks ashish On Tue, Jan 12, 2010 at 4:25 AM, Christian Müller wrote: > Hi Ashis, > > thanks for your reply. > What is your recommendation, if I have to deal with multiple > request/response cycles in one session

Re: Mina: Client which sends/receives messages synchronous

2010-01-09 Thread Ashish
them. HTH ! > Do you have a better solution for a synchronous client which is maybe thread > safe? > Thanks for your help, > Christian -- thanks ashish Blog: http://www.ashishpaliwal.com/blog My Photo Galleries: http://www.pbase.com/ashishpaliwal

Re: Application works with single IoSession, throws exception on client side with multiple sessions

2010-01-03 Thread Ashish
Can we get the exception trace?. Also, is it possible to share your custom IoFilter? thanks ashish On Sun, Jan 3, 2010 at 3:58 AM, Laurent Cohen wrote: > Hello, > > I've just started with Mina and am facing a problem I've been stuck with for > days. > Environment: &g

Re: Keep-Alive Processing

2009-12-11 Thread Ashish
dleSessions(long currentTime) { // process idle sessions if (currentTime - lastIdleCheckTime >= 1000) { lastIdleCheckTime = currentTime; AbstractIoSession.notifyIdleness( getListeners().getManagedSessions().values().iterator(), currentT

Re: Vysper Documentation

2009-12-03 Thread Ashish
g stanzas to > transport simple light XML) > > thanks, > Tammer Unfortunately, we don't have more comprehensive documentation as of now. We are open to accept submissions :-) Would recommend that you give it a try, and use this Mailing list, in case you run into issues and we will be

Re: Mina based load balancer type application

2009-11-12 Thread Ashish
Check this thread http://mina.markmail.org/search/?q=cloudFoundry#query:cloudFoundry+page:1+mid:pwad2l72loq6b43q+state:results thanks ashish On Fri, Nov 13, 2009 at 2:22 AM, Sam Ganesan wrote: > Hi: > > I am a newbie to MINA and even for that matter nio.  I am in charge of > pr

Re: need parallel sample to OSGi Grizzly

2009-11-09 Thread Ashish
e. -- thanks ashish Blog: http://www.ashishpaliwal.com/blog My Photo Galleries: http://www.pbase.com/ashishpaliwal

Re: KeepAliveFilter questions

2009-11-02 Thread Ashish
Can you elaborate a bit on the problem/issue you are facing? thanks ashish On Sat, Oct 31, 2009 at 8:51 PM, Aleksandar Lazic wrote: > Dear List, > > what is 'better' the > > KeepAliveFilter > > or in the handler the sessionIdle() method? > > I have try to

Re: Processing order of filters

2009-10-28 Thread Ashish
esigned > behaviour? Any ideas? This is how it works today :-( This is going to change in 3.0, where we plan to have different chains for incoming and outgoing messages. It shall be a while before you get to use 3.0 thanks ashish

Re: Processing order of filters, addition

2009-10-28 Thread Ashish
Can you elaborate a bit further, as to what is your observed behavior, also would be great if you can give us a bird's eye view of what your application is trying to achieve. Will be of great help to provide further inputs. thanks ashish On Tue, Oct 27, 2009 at 7:44 PM, wrote: > After

Re: Is it just me?

2009-10-24 Thread Ashish
Its working fine for me. Build was successful. To be on safe side, I did SVN cleanup, and then ran "mvn clean install". - ashish On Thu, Oct 22, 2009 at 1:33 AM, boB Gage wrote: > I updated my mina source (first time in awhile) and am getting the oddest > build-time error.

Re: Configuring MINA 1.1.7 Acceptor - best practise

2009-10-23 Thread Ashish
better. You can also profile your application, which would help a lot in moving further. thanks ashish On Fri, Oct 23, 2009 at 4:04 PM, Darryl Pentz wrote: > No no Ashish! Your opinion is exactly the reason for me coming to the mailing > list. Please don&

Re: Configuring MINA 1.1.7 Acceptor - best practise

2009-10-22 Thread Ashish
r > connection pool I could use that would still allow the manual threading and > cached thread pool to be efficient? > Would recommend having a look at c3p0 library(http://sourceforge.net/projects/c3p0/), if you feel DBCP has an issue. I still doubt, DBCP has the threading problem, b

Re: SSL Tunneling

2009-10-19 Thread Ashish
MINA version/OS? Also could you please enable the debug option like -Djavax.net.debug=ssl, to see the details of SSL handshake. This will provide a better view of what's going inside, and help resolve the issue. thanks ashish On Thu, Oct 15, 2009 at 7:47 AM, djacobs186 wrote: > > Wa

Re: MINA User Guide - Chapter 2 ready for review

2009-10-19 Thread Ashish
Thanks Folks ! Was on vacation, recharging myself :-) Les - Plan to add those links once we phase out MINA 1.0 documentation. I have reused some of the pages :-) thanks ashish On Wed, Oct 14, 2009 at 7:03 PM, Les Hazlewood wrote: > Hi Ashish, > > This looks great - my only suggest

Re: Connecting like a broker, running like a tunnel

2009-10-11 Thread Ashish
events for updating your cache status like session expiration or disconnects. > Thanks so much for the direction!  I'll give it a shot and let you > know how it turns out. > > - Les > -- thanks ashish Blog: http://www.ashishpaliwal.com/blog My Photo Galleries: http://www.pbase.com/ashishpaliwal

Re: Connecting like a broker, running like a tunnel

2009-10-09 Thread Ashish
On Fri, Oct 9, 2009 at 11:17 PM, Les Hazlewood wrote: > On Thu, Oct 8, 2009 at 11:49 PM, Ashish wrote: >> A and B connects to Broker >> After brief chat... negotiate connection details >> Setup connection >> once done, signal to initiator to start sending the data

Re: Connecting like a broker, running like a tunnel

2009-10-09 Thread Ashish
On Fri, Oct 9, 2009 at 11:17 PM, Les Hazlewood wrote: > On Thu, Oct 8, 2009 at 11:49 PM, Ashish wrote: >> A and B connects to Broker >> After brief chat... negotiate connection details >> Setup connection >> once done, signal to initiator to start sending the data

Re: Connecting like a broker, running like a tunnel

2009-10-08 Thread Ashish
On Thu, Oct 8, 2009 at 11:48 PM, Les Hazlewood wrote: > Hi Ashish (and others), > > Yep, I think a good way to visualize this is to think of a JMS broker: > > Host A can send data to Host B, but not directly - both Host B and > Host A must directly connect to the broker. Got it

Re: Push message from server to client with mina

2009-10-03 Thread Ashish
would be easy to find. It will give you an idea. thanks ashish On Sun, Oct 4, 2009 at 3:51 AM, Emmanuel Lecharny wrote: > A naive approach would be to do something like : > > while (true) { >  session.write ( ); >  Thread.sleep( 1000L ); > } > > it does the trick *IF* yo

Re: Where to handle byte unstuffing?

2009-09-18 Thread Ashish
rotocolDecoder is the right choice for you. There are couple of decoder implementations that you can refer to http://mina.apache.org/codec-repository.html -- thanks ashish Blog: http://www.ashishpaliwal.com/blog My Photo Galleries: http://www.pbase.com/ashishpaliwal

Re: Understanding MINA 1.1.7. configuration

2009-09-18 Thread Ashish
, a > ProtocolCodecFilter and a handler. > > Any pointers as to good example code would be much appreciated. This link shall be of help http://mina.apache.org/codec-repository.html -- thanks ashish Blog: http://www.ashishpaliwal.com/blog My Photo Galleries: http://www.pbase.com/ashishpaliwal

Re: Null Character in Received Message/String

2009-09-17 Thread Ashish
://mina.apache.org/codec-repository.html May be browsing some of them shall give you a bright idea. -- thanks ashish Blog: http://www.ashishpaliwal.com/blog My Photo Galleries: http://www.pbase.com/ashishpaliwal

  1   2   3   >