users@glassfish.java.net

Enabeling Comet-Support in Glassfish-embedded

From: <forums_at_java.net>
Date: Sun, 1 Jan 2012 07:52:41 -0600 (CST)

Hey Guys,

I'm trying to enable Comet-Support in Glassfish-embedded. However whatever I
try I always get the Comet not yet enabled error whenever I deploy my WAR.
I've tried the following methods,

  1) Configured domain.xml with
     <http default-virtual-server="server" max-connections="250"
     comet-support-enabled="true">
  2) Using command runner to run the following:

runner.run("set",
"server-config.network-config.protocols.protocol.http-listener.http.comet-support-enabled=true");
3. Copied an working domain.xml from an working Glassfish server which
enabled Comet to my Glassfish-embedded

But every method I try it still doens't enable Comet-Support. So I'm
wondering what the correct method is for enabling comet-support?

Thanks in advance!


--
[Message sent by forum member 'rkokkelk']
View Post: http://forums.java.net/node/879037