users@grizzly.java.net

Re: removeCometHandler Error

From: Oleksiy Stashok <Oleksiy.Stashok_at_Sun.COM>
Date: Wed, 27 May 2009 17:16:59 +0200

Hi Umar,

please try to specify grizzly-framework jar in domain.xml->java-config
element->classpath-prefix attribute like here:

<java-config classpath-prefix="/path-to-jarfile" classpath-
suffix=""......

Hope this will help.

WBR,
Alexey.

On May 27, 2009, at 5:41 , Umar Farman wrote:

> Dear Jeanfrancois,
>
> Hope you are fine. I did as you said, i.e, referenced the jar file
> in domain.xml
>
> >search for java-options and add the path to the
> >grizzly-framework-http-1.0.29.jar to it so it replace the default
> >grizzly that ship with GF v2ur2.
>
> What my domain.xml looks like is:
>
> <!-- various required jvm-options -->
> <jvm-options>-XX:MaxPermSize=192m</jvm-options>
> <jvm-options>-client</jvm-options>
> <jvm-options>-Djava.endorsed.dirs=${com.sun.aas.installRoot}/
> lib/endorsed</jvm-options>
> <jvm-options>-Djava.security.policy=$
> {com.sun.aas.instanceRoot}/config/server.policy</jvm-options>
> <jvm-options>-Djava.security.auth.login.config=$
> {com.sun.aas.instanceRoot}/config/login.conf</jvm-options>
> <jvm-options>-Dsun.rmi.dgc.server.gcInterval=3600000</jvm-
> options>
> <jvm-options>-Dsun.rmi.dgc.client.gcInterval=3600000</jvm-
> options>
> <jvm-options>-Xmx512m</jvm-options>
> <jvm-options>-Djavax.net.ssl.keyStore=$
> {com.sun.aas.instanceRoot}/config/keystore.jks</jvm-options>
> <jvm-options>-Djavax.net.ssl.trustStore=$
> {com.sun.aas.instanceRoot}/config/cacerts.jks</jvm-options>
> <jvm-options>-Djava.ext.dirs=$
> {com.sun.aas.javaRoot}/lib/ext${path.separator}$
> {com.sun.aas.javaRoot}/jre/lib/ext${path.separator}$
> {com.sun.aas.instanceRoot}/lib/ext${path.separator}$
> {com.sun.aas.derbyRoot}/lib</jvm-options>
> <jvm-options>-
> Djdbc.drivers=org.apache.derby.jdbc.ClientDriver</jvm-options>
> <jvm-options>-
> Djavax
> .management
> .builder
> .initial
> =
> com
> .sun.enterprise.admin.server.core.jmx.AppServerMBeanServerBuilder</
> jvm-options>
> <jvm-options>-
> Dcom
> .sun
> .enterprise
> .config
> .config_environment_factory_class
> =
> com
> .sun
> .enterprise.config.serverbeans.AppserverConfigEnvironmentFactory</
> jvm-options>
> <jvm-options>-Dcom.sun.enterprise.taglibs=appserv-
> jstl.jar,jsf-impl.jar</jvm-options>
> <jvm-options>-Dcom.sun.enterprise.taglisteners=jsf-impl.jar</
> jvm-options>
> <jvm-options>-Dcom.sun.enterprise.web.connector.grizzly=/
> home/ufarman/grizzly-framework-http-1.0.29.jar</jvm-options>
> <jvm-options>-XX:NewRatio=2</jvm-options>
>
> The second last line is where I referenced grizzly jar file. I hope
> the way I'm doing this is correct.
>
> Please let me know if this is the right way.
>
> Trying this, I'm still getting the same old error.
>
> Thanks for your quick replies.
>
> Regards
> Umar Farman
> Software Engineer
> PakVista Technologies Co. (Pvt) Ltd.
> Office No.18, 3rd Floor, Select Center,
> F-11 Markaz - Islamabad.
> Office: +92 51 831 4504-5
> Cell : +92 3333 525 4003
> URL: www.pakvistatech.com <http://www.pakvistatech.com/>