Re: Mina connection problem

2007-07-24 Thread Kevin Smeltzer
By the way thank you for convincing me to try Mina! The networking portion of my game server is running about 10 times faster now! Awesome! On 7/25/07, Kevin Smeltzer <[EMAIL PROTECTED]> wrote: Yes I did that. The connection IS made. It appears that the IoSession reference returned by this cod

Re: Mina connection problem

2007-07-24 Thread Kevin Smeltzer
Yes I did that. The connection IS made. It appears that the IoSession reference returned by this code: session = connectFuture.getSession(); Is different than the IoSession reference passed to this method: public void sessionOpened(IoSession session) throws Exception {} So... by setting my Io

Re: Mina connection problem

2007-07-24 Thread Trustin Lee
Hi Kevin, On 7/25/07, Kevin Smeltzer <[EMAIL PROTECTED]> wrote: I am having a problem connecting to my a Mina based server from a Mina based client application. The client appreas to connect using this code: session = connectFuture.getSession(); The server log shows that the client connects a

Re: How to do a stress testing for server app base on mina?

2007-07-24 Thread mat
i believe his question is how Mina be proved to be good? ^^ On 7/25/07, Marc Anthony Winoto <[EMAIL PROTECTED]> wrote: Try jmeter SunOfTimehornered wrote: > Hi, I've just finished a server application based on mina, now I'd like to do > a stress testing for it, but I didn't have any experience

Mina connection problem

2007-07-24 Thread Kevin Smeltzer
I am having a problem connecting to my a Mina based server from a Mina based client application. The client appreas to connect using this code: session = connectFuture.getSession(); The server log shows that the client connects and the client's sessionOpened(IoSession session) method is called:

Re: How to do a stress testing for server app base on mina?

2007-07-24 Thread Marc Anthony Winoto
Try jmeter SunOfTimehornered wrote: Hi, I've just finished a server application based on mina, now I'd like to do a stress testing for it, but I didn't have any experience about it, would someone do me a favor to provide any suggestion?

How to do a stress testing for server app base on mina?

2007-07-24 Thread SunOfTimehornered
Hi, I've just finished a server application based on mina, now I'd like to do a stress testing for it, but I didn't have any experience about it, would someone do me a favor to provide any suggestion? -- View this message in context: http://www.nabble.com/How-to-do-a-stress-testing-for-server-a

Re: what's the changelog ablout MINA1.1.1

2007-07-24 Thread Trustin Lee
On 7/25/07, Messi Chan <[EMAIL PROTECTED]> wrote: Hi,team! Congratulations to the new release! I want to upgrade version from 1.1.0 to 1.1.1, but I couldn't find the changelog about the differece with 1.1.0. How could I find it? It's here: http://tinyurl.com/3yzuzk HTH, Trustin -- what we cal

[jira] Commented: (DIRMINA-376) Fine-grained logging control in LoggingFilter

2007-07-24 Thread Trustin Lee (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-376?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12515142 ] Trustin Lee commented on DIRMINA-376: - The implementation looks somewhat weird. It's modifying the map before

Re: Out Of Memory Problem Again

2007-07-24 Thread Mark Webb
Not sure if this article will help, but check this out: http://java.sun.com/javase/technologies/hotspot/gc/gc_tuning_6.html Maybe if you choose a different garbage collector, your memory might get cleaned up more efficiently. On 7/24/07, mat <[EMAIL PROTECTED]> wrote: I got the following erro

Re: Building MinaTimeServerTutorial

2007-07-24 Thread Kevin Smeltzer
I am using JCreator so try not to laugh! :-D I have tried to use Eclipse but it just crashes when I try and unzip the 700MB zip file. Not a very good installation strategy if you ask me! Mina seems to be working well though so thank you. It only took me a few hours to convert my own client/serve

[jira] Commented: (DIRMINA-376) Fine-grained logging control in LoggingFilter

2007-07-24 Thread Mark Webb (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-376?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12515138 ] Mark Webb commented on DIRMINA-376: --- Here is a first shot at a CopyOnWriteMap. https://svn.apache.org/repos/asf

what's the changelog ablout MINA1.1.1

2007-07-24 Thread Messi Chan
Hi,team! Congratulations to the new release! I want to upgrade version from 1.1.0 to 1.1.1, but I couldn't find the changelog about the differece with 1.1.0. How could I find it? Thx a lot -- View this message in context: http://www.nabble.com/what%27s-the-changelog-ablout-MINA1.1.1-tf4139595s1

Re: Messages read while iosession is suspended.

2007-07-24 Thread Trustin Lee
Hi Luis, On 7/24/07, Luis Neves <[EMAIL PROTECTED]> wrote: Yeah... my problem is with the "eventually" part, I really need a suspendReadNow(). I see. Then why don't you create a JIRA issue? We could add TrafficControlFuture or something similar to trunk. Once implemented, you could do like

Re: Building MinaTimeServerTutorial

2007-07-24 Thread Trustin Lee
In case you are using Eclipse JDT and not used to shortcuts: * CTRL+SHIFT+O - organize imports * ALT+SHIFT+R - rename (refactor) * CTRL+E - open file list * CTRL+O - outline * CTRL+1 - quickfix (put your cursor on the red line and then you will be suggested to import some types) If you already k

Re: Demuxing Tutorials

2007-07-24 Thread Trustin Lee
On 7/24/07, Alex Karasulu <[EMAIL PROTECTED]> wrote: Would be nice if this stuff could do ASN.1 to pack(). Perhaps that is something they may look into. I would be nice to make it support pluggable encoding/decoding schemes including ASN.1. However, considering the existing proprietary protoc

Re: Coding ASN.1 Support

2007-07-24 Thread Trustin Lee
Hi Rodrigo, On 7/25/07, Rodrigo Madera <[EMAIL PROTECTED]> wrote: Community, I am in the process of writing the engine (or shall we more appropriately say "glue"?) as I posted on the other thread that will automatically generate the encoders for a given Message (or Sequence, in ASN.1 lingo). B

Re: Out Of Memory Problem Again

2007-07-24 Thread mat
I got the following error message again after 40 hours starting my server. It seems the Direct buffer memory happens only the heap memory usage high. I also record the memory usage history in windows task manager. It seems GC doesn't collect until heavy loading is gone. However after every GC, my

Re: Coding ASN.1 Support

2007-07-24 Thread Alex Karasulu
Hi On 7/24/07, Emmanuel Lecharny <[EMAIL PROTECTED]> wrote: Hi Rodrigo, I can tell about LDAP codec support, as I was involved in the ASN.1 codec we are using in Apache Directory Server. So far, there is nothing existing to generate codec in MINA. We have started a lab called Dungeon (http://

[jira] Assigned: (DIRMINA-376) Fine-grained logging control in LoggingFilter

2007-07-24 Thread Mark Webb (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-376?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mark Webb reassigned DIRMINA-376: - Assignee: Mark Webb > Fine-grained logging control in LoggingFilter > --

Re: Coding ASN.1 Support

2007-07-24 Thread Emmanuel Lecharny
Hi Rodrigo, I can tell about LDAP codec support, as I was involved in the ASN.1 codec we are using in Apache Directory Server. So far, there is nothing existing to generate codec in MINA. We have started a lab called Dungeon (http://cwiki.apache.org/confluence/display/labs/dungeon), but due to l

Coding ASN.1 Support

2007-07-24 Thread Rodrigo Madera
Community, I am in the process of writing the engine (or shall we more appropriately say "glue"?) as I posted on the other thread that will automatically generate the encoders for a given Message (or Sequence, in ASN.1 lingo). Before I go any further, there is something that only the commiters c

Re: Demuxing Tutorials

2007-07-24 Thread Rodrigo Madera
I'll keep you posted on our progress. I think there are interesting things to learn from this approach. Best wishes, Rodrigo On 7/24/07, Alex Karasulu <[EMAIL PROTECTED]> wrote: Would be nice if this stuff could do ASN.1 to pack(). Perhaps that is something they may look into. Alex On 7/2

Re: Building MinaTimeServerTutorial

2007-07-24 Thread Kevin Smeltzer
Mark, Thanks for the prompt reply. I was just checking to make sure I wasn't doing something wrong. It builds now and works fine! Now I can dive in headfirst.. :-D On 7/24/07, Mark Webb <[EMAIL PROTECTED]> wrote: Right. The imports are not complete in the example snippets. If you are using

Re: Building MinaTimeServerTutorial

2007-07-24 Thread Mark Webb
Right. The imports are not complete in the example snippets. If you are using and IDE, you should be able to organize imports. On 7/24/07, Kevin Smeltzer <[EMAIL PROTECTED]> wrote: Hello, I am attempting to build the MinaTimeServerTutorial and my Java compiler is spitting back these errors:

Building MinaTimeServerTutorial

2007-07-24 Thread Kevin Smeltzer
Hello, I am attempting to build the MinaTimeServerTutorial and my Java compiler is spitting back these errors: cannot find symbol variable ByteBuffer cannot find symbol class SimpleByteBufferAllocator cannot find symbol variable ByteBuffer cannot find symbol class SocketAcceptorConfig cannot fin

Re: Demuxing Tutorials

2007-07-24 Thread Alex Karasulu
Would be nice if this stuff could do ASN.1 to pack(). Perhaps that is something they may look into. Alex On 7/24/07, Mehmet D. AKIN <[EMAIL PROTECTED]> wrote: On 7/24/07, Trustin Lee <[EMAIL PROTECTED]> wrote: > Hi Rodrigo, > > On 7/24/07, Rodrigo Madera <[EMAIL PROTECTED]> wrote: > > Please

Re: Demuxing Tutorials

2007-07-24 Thread Mehmet D. AKIN
On 7/24/07, Trustin Lee <[EMAIL PROTECTED]> wrote: Hi Rodrigo, On 7/24/07, Rodrigo Madera <[EMAIL PROTECTED]> wrote: > Please tell me this wheel is invented and ready in MINA!! > > Here is the scenario taking as an example the SumUp server (the closest > thing to the case). > Let's suppose there

Re: Messages read while iosession is suspended.

2007-07-24 Thread Luis Neves
Maarten Bosteels wrote: Hi Luis, Are your producer and consumer two processes that use MINA to communicate ? So you are calling ioSession.suspendRead in process A (the consumer end) in the hope that this would block the producer in process B (at the other end of the wire), right ? Yes, that's

Re: Messages read while iosession is suspended.

2007-07-24 Thread Luis Neves
Trustin Lee wrote: suspend/resumeRead() is an asynchronous operation. It means message can be received *after* suspendRead() is called. However, once suspension request is processed by SocketIoProcessor, no more message will be received. Do we need TrafficFuture or something similar for more

Re: Restart the server without killing connected clients

2007-07-24 Thread velytreuzien
Thanks for your answers! As you can see, i'm rather new to all this. So i didn't even know what for OSGi framework really is. Now i began to look at it's Apache Felix and Oscar implementations and, as i can see, it's the thing i need. I think i can still use my own solution with dispatcher server

[jira] Commented: (DIRMINA-376) Fine-grained logging control in LoggingFilter

2007-07-24 Thread Mark Webb (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-376?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12514943 ] Mark Webb commented on DIRMINA-376: --- Not sure yet, but I thought that if we write a CopyOnWriteMap, we should have

Re: MINA is awesome

2007-07-24 Thread Trustin Lee
Hi Brigham, On 4/20/07, Brigham Stevens <[EMAIL PROTECTED]> wrote: Hi, I'm a developer in Seattle who just found MINA 1.1 yesterday. It is one of the coolest open source projects that I have ever compiled against! Thanks for making MINA, I was able to convert our threaded, Blocking IO server t

Re: Messages read while iosession is suspended.

2007-07-24 Thread Maarten Bosteels
Hi Luis, Are your producer and consumer two processes that use MINA to communicate ? So you are calling ioSession.suspendRead in process A (the consumer end) in the hope that this would block the producer in process B (at the other end of the wire), right ? I guess this would work, if you are us