hello everybody

I tried my protocol calls via telnet successfully but I have a problem
with sync method. In sync method as you can see below I connect to a
remote server which is also a jobbar server then I sent a json
formatted string but I couldnt get messageReceived method called
anyway. Is my way not right to send data to Mina-based socket server?
Any idea pls?

                SocketAddress sockaddr = new
InetSocketAddress(this.config.getServer(), this.config.getPort());
                Socket sock = new Socket();

                sock.connect(sockaddr, this.config.getPort());

                JSONObject jo = new JSONObject();
                jo.put("c", "skynet");

                BufferedWriter wr = new BufferedWriter(new
OutputStreamWriter(sock.getOutputStream()));
                wr.write(jo.toJSONString());


On Sat, Nov 20, 2010 at 7:31 PM, ilango <[email protected]> wrote:
> Umut
> Once you are done, could you post details on how you tested your jobbar
> servers. I am eager to know how your testing went.
> I might try to set up a similar environment also
>
> thanks
> ilango
>
>
>
> 2010/11/19 Umut Aydın <[email protected]>
>
>> Hi
>>
>> I honestly didnt think on that much but I asked David for his script.
>> After sunday -after my vacation :)- I ll run jobbar servers on my 2
>> different laptops and use some protocol requests via telnet to see
>> sync process working (I hope so) between the servers. My actual goal
>> is to provide multiple server support for now and after that I ll pass
>> into real enjoyable parts :)
>>
>> On Fri, Nov 19, 2010 at 5:23 PM, ilango <[email protected]> wrote:
>> > Hi Umut
>> > Thanks for the update.
>> > I can't wait to test it.
>> >
>> > Any suggestions on how to test it?
>> >
>> > thanks
>> > ilango
>> >
>> > 2010/11/19 Umut Aydın <[email protected]>
>> >
>> >> Hello everybody,
>> >>
>> >> I think the job server is ready to test now.
>> >> What is the best way to run my job server as a service under Ubuntu
>> Linux?
>> >>
>> >> I couldn't find a chance to test it while I was coding because I'm in
>> >> kind of vacation but I can say it works in theory.
>> >> I made some little modifications on the article.
>> >>
>> >> https://github.com/naimon/Jobbar
>> >>
>> >>
>> http://umut.mobi/blog/2010/11/11/how-to-build-a-distributed-job-server-with-apache-mina-framework/
>> >>
>> >> By the way, as soon as I get Jobbar works distributed I'll begin to
>> >> develop extensions to provide logging, authentication, distributed
>> >> processing, caching, data storing, etc. with it. Now I need your
>> >> suggestions to make it run in background as other server applications.
>> >>
>> >> Thanks.
>> >>
>> >> --
>> >> Best Regards,
>> >>
>> >> Umut AYDIN
>> >> Email: [email protected]
>> >>
>> >> Skype: umut-aydin
>> >>
>> >> Blog: http://umut.mobi
>> >>
>> >
>>
>>
>>
>> --
>>  Best Regards,
>>
>> Umut AYDIN
>> Email: [email protected]
>>
>> Skype: umut-aydin
>>
>> Blog: http://umut.mobi
>>
>



-- 
Best Regards,

Umut AYDIN
Email: [email protected]

Skype: umut-aydin

Blog: http://umut.mobi

Reply via email to