users@grizzly.java.net

Grizzly Cometd questions

From: Marco Balzter <marco.balzter_at_proemion.com>
Date: Wed, 11 Apr 2007 12:08:43 +0200

Hi,

I'm using the CometdAdapter as the Adapter class for grizzly standalone ARP.
In the CometContext class the blockingNotification can be set to true/false.
With blockingNotification set to true i can get my Test application up and running.
Grizzly sends back the correct HTTP header and the answer to my bayeux message in the POST section.

But with blockingNotification set to false it seems that Grizzly only sends back the HHTP header
and does not send a POST section at all.
Could someone give me a hint if this is a bug or if i'm doing something wrong here.

Another question: With blockingNotification set to true, the server blocks for a few seconds after the
notification (at least he seems to block). Using long-polling in my application i'm doing a reconnect after receiving some data.
If the server is in blocking mode, the reconnect request does not reach the server and my application hangs.
Any ideas how to avoid this situation without resending the reconnect request?

Thanks for your help

Marco

--------------------------------------------------------

PROEMION GmbH

Marco Balzter

IT Development (IT/DEV)

Donaustrasse 14
D-36043 Fulda, Germany

Phone +49 (0) 661 9490-151
Fax +49 (0) 661 9490-333

http://www.proemion.com
marco.balzter_at_proemion.com

Geschäftsleitung: Dipl. Ing. Robert Michaelides
Handelsregister: AG Fulda 5 HRB 1867


--------------------------------------------------------

E-mail and any attachments may be confidential. If you have received this E-mail and you are not a named addressee, please inform the sender immediately by E-mail and then delete this E-mail from your system. If you are not a named addressee, you may not use, disclose, distribute, copy or print this E-mail. Addressees should scan this E-mail and any attachments for viruses. No representation or warranty is made as to the absence of viruses in this E-mail or any of its attachments.



AKTUELLES
        


PROEMION auf der Messe HMI in Hannover.








Kommen Sie uns vom 16. - 20. April in Halle 9, Stand D05 besuchen. Wir freuen uns auf Sie!




NEWS



PROEMION is exhibiting at HMI in Hannover.


 




Come and visit us from April 16 - 20 in Hall 9 at Booth D05. We look forward to seeing you there!





proemion_bottom.gif
(image/gif attachment: proemion_bottom.gif)

proemion_com.gif
(image/gif attachment: proemion_com.gif)

proemion_logo.gif
(image/gif attachment: proemion_logo.gif)