users@grizzly.java.net

Re: Grizzly standalone Server not serving pages

From: Sebastien Dionne <survivant00_at_gmail.com>
Date: Sat, 3 Jul 2010 18:03:28 -0400

Try with grizzly Deployer please

On Jul 3, 2010 5:34 PM, "Pilla Gurumurty Patrudu" <pgpatrudu_at_gmail.com>
wrote:
> Hi All,
>
> I tried cometd in glassfish v3; It worked pretty well. This link explained
> the story :
>
http://jfarcand.wordpress.com/2007/02/02/gcometd-introducing-the-cometd-framework-and-its-bayeux-protocol-support-in-grizzly/
>
> comet servlets & cometd (zero java code) including glassfish tweaking for
> comet support plus some customization to dojo scripts, took just about 2
> days.
> *I thought running on a standalone Grizzly would be a breeze.* But got
> stumped here.
> The server starts pretty well; but does not serve any pages.
>
> Please suggest a solution.
>
> Thanks & Regards
> P G Patrudu
>
>
>
--------------------------------------------------------------------------------------------------------------------------
> *request :*
> http://localhost:8080/grizzly-cometd-bayeux-1.9.9/index.html
>
>
--------------------------------------------------------------------------------------------------------------------------
> *response :*
> Not Found
> ------------------------------
> Grizzly
>
>
>
--------------------------------------------------------------------------------------------------------------------------
> *server startup :*
>
>
> C:\Documents and Settings\rayinfo\Desktop\GRIZZLY>java -jar
> grizzly-webserver-1.
> 9.18-k.jar -a grizzly-cometd-bayeux-1.9.9.war
> Jul 3, 2010 4:46:19 PM com.sun.grizzly.standalone.StandaloneMainUtil
> appendWarCo
> ntentToClassPath
> INFO: Servicing resources from:
> C:\DOCUME~1\rayinfo\LOCALS~1\Temp\grizzly-cometd
> -bayeux-1.9.9
> Jul 3, 2010 4:46:19 PM com.sun.grizzly.webserver.WebServer
> createSelectorThread
> INFO: Starting Grizzly WebServer with support for Comet, Bayeux, Servlet
and
> Sta
> tic Resources
> Jul 3, 2010 4:46:19 PM com.sun.grizzly.http.SelectorThread
> displayConfiguration
> INFO:
> Grizzly running on Windows XP-5.1 under JDK version: 1.6.0_20-Sun
> Microsystems
> Inc.
> port: 8080
> Thread Pool: StatsThreadPool[name=Grizzly-8080, min-threads=5,
> max-thre
> ads=5, max-queue-size=4096, is-shutdown=false, port=8080]
> Read Selector: -1
> ByteBuffer size: 8192
> maxHttpHeaderSize: 8192
> sendBufferSize: 131072
> maxKeepAliveRequests: 256
> keepAliveTimeoutInSeconds: 30
> Static File Cache enabled: true
> Static resources directory:
> C:\DOCUME~1\rayinfo\LOCALS~1\Temp\grizzly-c
> ometd-bayeux-1.9.9
> Adapter : com.sun.grizzly.tcp.http11.GrizzlyAdapterChain
> Asynchronous Request Processing enabled: true
> Jul 3, 2010 4:46:19 PM com.sun.grizzly.Controller logVersion
> INFO: Starting Grizzly Framework 1.9.18-k - Sat Jul 03 16:46:19 IST 2010
> Jul 3, 2010 4:46:19 PM com.sun.grizzly.standalone.StandaloneMainUtil$1
> listen
> INFO: Server started in 392 milliseconds.