0

我想在 glassfish 上启用彗星,尤其是彗星、巴约协议的实现。

在这篇文章之后: http: //docs.oracle.com/cd/E19798-01/821-1752/ghgxn/index.html

使用此命令时:

asadmin set server-config.network-config.protocols.protocol.http-1.http.comet-support-enabled="true"

我收到此错误:Command set failed.

更让我困惑的是这条线是什么意思:

Substitute the name of the protocol for http-1.

我试图替换http-1bayeux但也没有工作。

编辑:按照@perissf 的建议,我组装了这个war 文件,它在glassfish 上部署得很好,我正在使用Firebug 控制台,当我单击index.jsp 上的按钮时,没有任何输出。任何想法?

4

0 回答 0