Redeploying Atmosphere on Glassfish v3.x
It took me half a day to figure out, why redeploying a Atmosphere war bundle always fails with a stacktrace. Atmosphere packages, e.g. the jersey into the war archive. This behavior could be changed by setting a JVM environment variable in Glassfish.
In the GF admin console, going to:
Configuration->JVM Settings
switch to the JVM Options tab and add this option:
-Dcom.sun.enterprise.overrideablejavaxpackages =javax.ws.rs,javax.ws.rs.core,javax.ws.rs.ext
And could you provide other settings for right configuration of Glassfish for executing atmosphere examples? For example, I know about -Dv3.grizzly.cometSupport=true
in domain.xml.
May be there is anything else?
Very interesting information!Perfect just what I was searching for!