Enabling Comet
Before running a Comet-enabled application, you need to enable
Comet in your application server by adding a special property to the http-listener element of the domain.xml file.
The following steps tell you how to add this property.
-
Open domain-dir/config/domain.xml in
a text editor.
-
Add the following property in between the http-listener start and end tags:
<property name="cometSupport" value="true"/>
-
Save domain.xml and restart the server.