Thank you Jeanfrancois,
I saw this file earlier, and have downloaded the final version 2.1. I
will let you know my findings as soon as possible.
Thanks again,
Anthony
Salut,
I've uploaded a new version, 1.0.23.jar here:
https://maven-repository.dev.java.net/nonav/repository/grizzly/jars/
I haven't yet had a chance to fully test it, so feedback appreciated.
Thanks
-- Jeanfrancois
aalcamo_at_gofurthercorp.com wrote:
> Jeanfrancois,
> I noticed a 1.0.23 grizzly jar was checked in yesterday
> (http://download.java.net/maven/1/grizzly/jars/), so I tried including
> it
> in my project instead of 1.0.22, called the
> deliverResponse.setFinished(true), but it did not work. Does this
> contain
> the changes we were looking for, or was this version placed here
> prematurely...?
> Thank you,
> Anthony
>
>
> Salut,
>
> still working on it. The cometd module currently has some issues and
> this is the code I want to backport. This is holding the release of
> 1.9.5 so it is my top priority right now to fix it and to release 1.9.5
> and 1.0.23.
>
> A+
>
> -- Jeanfrancois
>
> sgorrela wrote:
>> Hi Jeanfrancois,
>>
>> We haven't heard back from you on this. Is this still on your radar?
>>
>> Thanks,
>> Somesh
>>
>> sgorrela wrote:
>>> Hi Jeanfrancois,
>>>
>>> Could you please let us know if you have any update on
>>> grizzly1.0.23.jar.
>>>
>>> Thanks,
>>> Somesh
>>>
>>> Jeanfrancois Arcand-2 wrote:
>>>> Salut,
>>>>
>>>> sgorrela wrote:
>>>>> Hi Jean,
>>>>>
>>>> Jeanfrancois :-)
>>>>
>>>>> Sorry for the confusion.
>>>> No Problem :-)
>>>>
>>>> We are looking for inlcuding of
>>>>> DeliverResponse.setFinised to grizzly1.0.22.jar as we are using
>>>>> Glassfish
>>>>> V2. We have looked for other jar to see the implementation of this
>>>>> method.
>>>> OK it will be in 1.0.23 and I will also share a patch.
>>>>
>>>> Thanks!!
>>>>
>>>> -- Jeanfrancois
>>>>
>>>>
>>>>> Thanks,
>>>>> Somesh
>>>>>
>>>>>
>>>>>
>>>>> Jeanfrancois Arcand-2 wrote:
>>>>>> Salut,
>>>>>>
>>>>>> Jeanfrancois Arcand wrote:
>>>>>>> Salut,
>>>>>>>
>>>>>>> sgorrela wrote:
>>>>>>>> Hi Jean,
>>>>>>>>
>>>>>>>> Thanks much for your response. Its great to know that you are
>>>>>>>> implementihng
>>>>>>>> this today or tomorrow. We have tried for source code of the
>>>>>>>> DeliverResponse.setFinished in
>>>>>>>> grizzly-module.jar comes with GlassfishV3,
>>>>>>>> grizzly-module-1.9.0.jar
>>>>>>>> and
>>>>>>>> grizzly-cometd-webserver-1.8.1-SNAPSHOT.jar.
>>>>>>> I see. But you are looking for a version that works with GlassFish
>>>>>>> v2,
>>>>>>> right?
>>>>>> OK I confused myself :-) You are looking for a solution in GF v3?
>>>>>> It
>>>>>> should be there as of now. Take a look at this example:
>>>>>>
>>>>>> https://grizzly.dev.java.net/nonav/xref/com/sun/grizzly/bayeux/BayeuxExternalServlet.html
>>>>>>
>>>>>> It must have been included with 1.9.0 or the latest nightly of v3,
>>>>>> which
>>>>>> use 1.9.4. The complete demo an be downloaded from here:
>>>>>>
>>>>>> http://download.java.net/maven/2/com/sun/grizzly/samples/grizzly-cometd-bayeux/
>>>>>>
>>>>>> A+
>>>>>>
>>>>>> -- Jeanfrancois
>>>>>>
>>>>>>
>>>>>>> A+
>>>>>>>
>>>>>>> -- jeanfrancois
>>>>>>>
>>>>>>>
>>>>>>>> Thanks,
>>>>>>>> Somesh
>>>>>>>>
>>>>>>>>
>>>>>>>> Jeanfrancois Arcand-2 wrote:
>>>>>>>>> Salut,
>>>>>>>>>
>>>>>>>>> sgorrela wrote:
>>>>>>>>>> Hi Jean,
>>>>>>>>>>
>>>>>>>>>> I am sorry to bother you again. Do you any time frame by which
>>>>>>>>>> this
>>>>>>>>>> feature
>>>>>>>>>> can be implemented in 1.0.23. We are kind of struck and could
>>>>>>>>>> not
>>>>>>>>>> proceed
>>>>>>>>>> due to this.
>>>>>>>>> Today or tomorrow.
>>>>>>>>>
>>>>>>>>>> Also, could you please let us know which version of jar
>>>>>>>>>> contains
>>>>>>>>>> DeliverResponse.setFinished method so that our team look to try
>>>>>>>>>> of
>>>>>>>>>> work
>>>>>>>>>> around. We have downloaded 3 or 4 versions of grizzly jars and
>>>>>>>>>> could
>>>>>>>>>> not
>>>>>>>>>> find this method in them.
>>>>>>>>> You means 1.0.x or 1.9.x?
>>>>>>>>>
>>>>>>>>> Thanks
>>>>>>>>>
>>>>>>>>> -- Jeanfrancois
>>>>>>>>>
>>>>>>>>>> I appreciate your help.
>>>>>>>>>>
>>>>>>>>>> Thanks,
>>>>>>>>>> Somesh
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> Jeanfrancois Arcand-2 wrote:
>>>>>>>>>>> Salut,
>>>>>>>>>>>
>>>>>>>>>>> sgorrela wrote:
>>>>>>>>>>>> Hi Jean,
>>>>>>>>>>>>
>>>>>>>>>>>> I have submitted issue. Could you please suggest any work
>>>>>>>>>>>> around
>>>>>>>>>>>> move
>>>>>>>>>>>> ahead
>>>>>>>>>>>> with this issues.
>>>>>>>>>>> Unfortunately, there seems to be no workaround unless 1.0.23
>>>>>>>>>>> is
>>>>>>>>>>> released, with the backport inside it.
>>>>>>>>>>>
>>>>>>>>>>> Thanks
>>>>>>>>>>>
>>>>>>>>>>> -- Jeanfrancois
>>>>>>>>>>>
>>>>>>>>>>>> Thanks,
>>>>>>>>>>>> Somesh
>>>>>>>>>>>>
>>>>>>>>>>>> Jeanfrancois Arcand-2 wrote:
>>>>>>>>>>>>> Salut,
>>>>>>>>>>>>>
>>>>>>>>>>>>> sgorrela wrote:
>>>>>>>>>>>>>> Hi Jean,
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> We have tried based on Shing Wai's blog and it didn't work.
>>>>>>>>>>>>>> Could you
>>>>>>>>>>>>>> please
>>>>>>>>>>>>>> let me know how can I file this issue.
>>>>>>>>>>>>>> Thanks much for your help.
>>>>>>>>>>>>> Here:
>>>>>>>>>>>>>
>>>>>>>>>>>>> https://grizzly.dev.java.net/issues/
>>>>>>>>>>>>>
>>>>>>>>>>>>> Thanks
>>>>>>>>>>>>>
>>>>>>>>>>>>> -- Jeanfrancois
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>> Somesh
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Jeanfrancois Arcand-2 wrote:
>>>>>>>>>>>>>>> Salut,
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> sgorrela wrote:
>>>>>>>>>>>>>>>> Hi Jean,
>>>>>>>>>>>>>>> no middle name in Quebec :-) So Jeanfrancois :-)
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> We are having the same issue as described below and we
>>>>>>>>>>>>>>>> are
>>>>>>>>>>>>>>>> using
>>>>>>>>>>>>>>>> the
>>>>>>>>>>>>>>>> Glassfishv2 and grizzly1.0.22.jar which do not contain
>>>>>>>>>>>>>>>> deliverResponse.setFinished(true) method. Could you
>>>>>>>>>>>>>>>> please
>>>>>>>>>>>>>>>> suggest
>>>>>>>>>>>>>>>> any
>>>>>>>>>>>>>>>> alternate solution to overcome this problem.
>>>>>>>>>>>>>>> I guess I need to prepare a patch for both of you so you
>>>>>>>>>>>>>>> can
>>>>>>>>>>>>>>> at
>>>>>>>>>>>>>>> least test it. But the original blog from Shing Wai should
>>>>>>>>>>>>>>> work:
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> http://blogs.sun.com/swchan/entry/java_api_for_cometd
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> or does it fail? Let me know. If that doesn't work, then
>>>>>>>>>>>>>>> just
>>>>>>>>>>>>>>> file
>>>>>>>>>>>>>>> an issue and I will prepare a backport.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Thanks
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> -- Jeanfrancois
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Thanks,
>>>>>>>>>>>>>>>> Somesh
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Jeanfrancois Arcand-2 wrote:
>>>>>>>>>>>>>>>>> Salut,
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> MichaƂ Orzechowski wrote:
>>>>>>>>>>>>>>>>>> Hello,
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> I'm trying to develop simple app that:
>>>>>>>>>>>>>>>>>> 1. Allows clients to subscribe to a channel. The
>>>>>>>>>>>>>>>>>> index.html
>>>>>>>>>>>>>>>>>> page
>>>>>>>>>>>>>>>>>> is a client's page where new data should be published.
>>>>>>>>>>>>>>>>>> Client logic is implemented using Dojo Toolkit v
>>>>>>>>>>>>>>>>>> 1.1.1
>>>>>>>>>>>>>>>>>> (standard subscribe method)
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> 2. Publish new data using the servlet. The post.html
>>>>>>>>>>>>>>>>>> is
>>>>>>>>>>>>>>>>>> a
>>>>>>>>>>>>>>>>>> admin
>>>>>>>>>>>>>>>>>> page from witch I send data to the servlet.
>>>>>>>>>>>>>>>>>> Servlet's logic is implemented with Grizzly
>>>>>>>>>>>>>>>>>> Comet/Bayeux
>>>>>>>>>>>>>>>>>> (default GlassFish V3 components ...)
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Here is what i do:
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> 1. Open client page in browser A
>>>>>>>>>>>>>>>>>> 2. Open client page in browser B (tab 1)
>>>>>>>>>>>>>>>>>> 3. Open admin page in browser B (tab 2)
>>>>>>>>>>>>>>>>>> 4. Send data from admin page to servlet ...
>>>>>>>>>>>>>>>>>> .. and nothing happens .. clients aren't
>>>>>>>>>>>>>>>>>> notified
>>>>>>>>>>>>>>>>>> until i
>>>>>>>>>>>>>>>>>> open new client page in browser B in tab 3 (or browser
>>>>>>>>>>>>>>>>>> A
>>>>>>>>>>>>>>>>>> in
>>>>>>>>>>>>>>>>>> tab 2 - no
>>>>>>>>>>>>>>>>>> matter)!
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> It looks like server is holding the data and i
>>>>>>>>>>>>>>>>>> really
>>>>>>>>>>>>>>>>>> don't
>>>>>>>>>>>>>>>>>> know why. Its really strange and i hope maybe some
>>>>>>>>>>>>>>>>>> would
>>>>>>>>>>>>>>>>>> be
>>>>>>>>>>>>>>>>>> able to
>>>>>>>>>>>>>>>>>> help
>>>>>>>>>>>>>>>>>> me?
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Servlet code :
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> public class DataServlet extends HttpServlet {
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> CometContext context;
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> @Override