users@grizzly.java.net

Re: Enabling Comet in Glassfishv3 with new domain descriptor

From: Michał Orzechowski <michal.orzechowski_at_oneinfo.pl>
Date: Tue, 09 Jun 2009 22:08:08 +0200

Hi,

    Yes it is. I haven't seen the second one before, sorry.

Michal

Justin Lee pisze:
> The wiki actually says "enable-comet-support" in two different places
> for the record.
> Michał Orzechowski wrote:
>> Hi,
>>
>> Thanks you for the answer. However something strange happened. I
>> added the attribute to domain xml, so the line looked like this:
>>
>> <network-listener port="8080" protocol="http-listener-1"
>> transport="tcp" name="http-listener-1" thread-pool="http-thread-pool"
>> enable-comet-support="true" />
>>
>> but, after i started glassfish, domain.xml was rewritten (by
>> glassfish i suppose ..) and the "enable-comet" element disappeared!
>> This repeated several times so, this is
>> not a coincidence. After that a tried to add jvm-option using:
>>
>> asadmin create-jvm-options ”-Dv3.grizzly.enableCometSupport=true”
>>
>> and after running this command, element 'enable-comet-support="true"'
>> showed up in domain.xml in line:
>>
>> <http enable-comet-support="true" max-connections="250"
>> default-virtual-server="server" server-name="">
>>
>> So in the end, everything works fine, however, the information from
>> wiki is misleading. (I tried this on glassfish v3 b 47 and b50)
>>
>> Thanks
>> Michal
>>
>>
>> Jeanfrancois Arcand pisze:
>>> Salut,
>>>
>>> sorry for the delay, we were @ JavaOne. The element you are looking
>>> at is:
>>>
>>> network-config>network-listeners>network-listener#enable-comet-support
>>>
>>> The complete document can be found here:
>>>
>>> http://wiki.glassfish.java.net/Wiki.jsp?page=GrizzlyConfigOnePager
>>>
>>> Thanks
>>>
>>> -- Jeanfrancois
>>>
>>> Michał Orzechowski wrote:
>>>> Hi,
>>>>
>>>> I have red that there was a problem with enabling comet support in
>>>> glassfishv3 with new domain descriptor. Do you have any information
>>>> about this issue? I could not find anything in glassfish issue
>>>> tracker :( and I can not enable comet in b48 build. Part of my
>>>> domain descriptor responsible for that looks like this:
>>>>
>>>> <http header-buffer-length="8192" max-connections="250"
>>>> default-virtual-server="server"
>>>> server-name="" enable-comet-support="true" >
>>>>
>>>> Thanks,
>>>> Michal
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: users-unsubscribe_at_grizzly.dev.java.net
>>>> For additional commands, e-mail: users-help_at_grizzly.dev.java.net
>>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe_at_grizzly.dev.java.net
>>> For additional commands, e-mail: users-help_at_grizzly.dev.java.net
>>>
>>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe_at_grizzly.dev.java.net
>> For additional commands, e-mail: users-help_at_grizzly.dev.java.net
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_grizzly.dev.java.net
> For additional commands, e-mail: users-help_at_grizzly.dev.java.net
>
>