Hi Pawan, the clue is here:
> Client sub1 already connected, closing old connection. > New client connected from 127.0.0.1 as sub1. this suggests you were running two instances of your subscriber - the second one kicking off the first one. Regards, Nick On 15 June 2012 16:27, Pawan <[email protected]> wrote: > Yes, > > I am running Cygwin version. After hours of debugging, I didn't find any > clue. Finally rebooted my machine and now this seems working as of now. > > @Andy, > > When I attempt to connect another client with the same id, it closes > existing connection and prompts: > > Client sub1 already connected, closing old connection. > New client connected from 127.0.0.1 as sub1. > > The program terminates with producing following output (no stacktrace like > before). > > Connection lost. > Cause: Connection lost (32109) - java.io.EOFException > ERROR: JDWP Unable to get JNI 1.2 environment, jvm->GetEnv() return code = > -2 > JDWP exit error AGENT_ERROR_NO_JNI_ENV(183): > [../../../src/share/back/util.c:820] > > Earlier, I couldn't trace logs on terminal since I ran mosquitto from > services. > > So, I don't have any conclusion what did happen earlier. If this occurs > again, I'll try to find any trace so that I can figure out the root cause. > > Thank you all for your attention and quick help. > > On Fri, Jun 15, 2012 at 4:22 PM, Roger Light <[email protected]> wrote: >> >> Hi Pawan, >> >> > I am facing problems while connecting a another client to Mosquitto >> > broker >> > (ver. 0.15 - 20120205) running on my system (Windows XP Sp3). >> >> Can I first check that you are running the Cygwin version of >> Mosquitto? The Windows native version doesn't support Windows XP. >> >> Cheers, >> >> Roger >> >> _______________________________________________ >> Mailing list: https://launchpad.net/~mqtt-users >> Post to : [email protected] >> Unsubscribe : https://launchpad.net/~mqtt-users >> More help : https://help.launchpad.net/ListHelp > > > > > -- > Thanks and best regards, > > From > Pawan D. Dalal > > _______________________________________________ > Mailing list: https://launchpad.net/~mqtt-users > Post to : [email protected] > Unsubscribe : https://launchpad.net/~mqtt-users > More help : https://help.launchpad.net/ListHelp > _______________________________________________ Mailing list: https://launchpad.net/~mqtt-users Post to : [email protected] Unsubscribe : https://launchpad.net/~mqtt-users More help : https://help.launchpad.net/ListHelp

