I'm just starting to try to build a Comet application and have hit a couple of problems.
I got the download which now seems to be JSAS9 (is this now the official Glassfish release?) and have separately downloaded the Comet jar for Grizzly.
Firstly when statring the Default Server, I get the following error:
[#|2007-05-21T10:30:53.583+0100|SEVERE|sun-appserver-pe9.0|javax.enterprise.tools.launcher|_ThreadID=10;_ThreadName=main;|launcher.jvmoptions_exception
com.sun.enterprise.admin.util.InvalidJvmOptionException: Invalid Jvm Option Files/Java/jdk1.5.0_06/jre/lib/ext;C:/Sun/AppServer/domains/domain1/lib/ext;C:/Sun/AppServer/javadb/lib. Option must start with -.
at com.sun.enterprise.admin.util.JvmOptionsElement.checkValidOption(JvmOptionsHelper.java:390)
at com.sun.enterprise.admin.util.JvmOptionsElement.<init>(JvmOptionsHelper.java:277)
at com.sun.enterprise.admin.util.JvmOptionsHelper.<init>(JvmOptionsHelper.java:66)
at com.sun.enterprise.tools.launcher.ProcessLauncher.buildInternalCommand(ProcessLauncher.java:596)
at com.sun.enterprise.tools.launcher.ProcessLauncher.buildCommand(ProcessLauncher.java:434)
at com.sun.enterprise.tools.launcher.ProcessLauncher.process(ProcessLauncher.java:234)
at com.sun.enterprise.tools.launcher.ProcessLauncher.main(ProcessLauncher.java:158)
I don't think I've changed anything that would affect the JVM options.
Secondly when starting the sample Comet app, I get
[#|2007-05-21T11:08:49.165+0100|SEVERE|sun-appserver-pe9.0|javax.enterprise.system.container.web|_ThreadID=14;_ThreadName=Thread-27;_RequestID=e227e55d-697d-4bde-80e6-45dbb054f62b;|WebModule[/examples]Servlet /examples threw load() exception
java.lang.NoClassDefFoundError: com/sun/enterprise/web/connector/grizzly/comet/CometHandler
at java.lang.Class.getDeclaredConstructors0(Native Method)
...
So I guess I'm not getting the Cometjar into the classpath. Can someone point me at the instructions for doing that?
Thanks
[Message sent by forum member 'gseel' (gseel)]
http://forums.java.net/jive/thread.jspa?messageID=218112