sa.setRootFolder(rootFolder);
sa.setResourcesContextPath(contextPath);
[main] Mon Apr 06 10:46:30 EDT 2009 [LE PLUS FIN]
com.sun.grizzly.http.servlet.deployer.GrizzlyWebServerDeployer deploy:sa
context=/jmaki-comet
[main] Mon Apr 06 10:46:30 EDT 2009 [LE PLUS FIN]
com.sun.grizzly.http.servlet.deployer.GrizzlyWebServerDeployer deploy:sa
servletPath=/words
[main] Mon Apr 06 10:46:30 EDT 2009 [LE PLUS FIN]
com.sun.grizzly.http.servlet.deployer.GrizzlyWebServerDeployer deploy:sa
alias=/jmaki-comet/words
[main] Mon Apr 06 10:46:30 EDT 2009 [LE PLUS FIN]
com.sun.grizzly.http.servlet.deployer.GrizzlyWebServerDeployer deploy:sa
rootFolder=C:/DOCUME~1/dionnese/LOCALS~1/Temp/jmaki-comet
[main] Mon Apr 06 10:46:31 EDT 2009 [LE PLUS FIN]
com.sun.grizzly.http.servlet.deployer.GrizzlyWebServerDeployer deploy:sa
context=/jmaki-comet
[main] Mon Apr 06 10:46:31 EDT 2009 [LE PLUS FIN]
com.sun.grizzly.http.servlet.deployer.GrizzlyWebServerDeployer deploy:sa
servletPath=/moderator
[main] Mon Apr 06 10:46:31 EDT 2009 [LE PLUS FIN]
com.sun.grizzly.http.servlet.deployer.GrizzlyWebServerDeployer deploy:sa
alias=/jmaki-comet/moderator
[main] Mon Apr 06 10:46:31 EDT 2009 [LE PLUS FIN]
com.sun.grizzly.http.servlet.deployer.GrizzlyWebServerDeployer deploy:sa
rootFolder=C:/DOCUME~1/dionnese/LOCALS~1/Temp/jmaki-comet
[http8080-WorkerThread(0)] Mon Apr 06 10:48:16 EDT 2009 [FIN]
com.sun.grizzly.tc
p.StaticResourcesAdapter service:File not found .\jmaki-comet\words
[SelectorThread-8080] Mon Apr 06 10:48:16 EDT 2009 [FIN]
com.sun.grizzly.Control
ler pollContext:pollContext(..) Context : com.sun.grizzly.NIOContext_at_1b1fbf4
[http8080-WorkerThread(0)] Mon Apr 06 10:48:16 EDT 2009 [FIN]
com.sun.grizzly.tc
p.StaticResourcesAdapter service:File not found
C:\DOCUME~1\dionnese\LOCALS~1\T
emp\jmaki-comet\jmaki-comet\words
2009/4/6 Jeanfrancois Arcand <Jeanfrancois.Arcand_at_sun.com>
>
>
> Survivant 00 wrote:
>
>> I try that for each SA
>> sa.setResourcesContextPath(rootFolder);
>>
>> but I still get this in the log :
>>
>> [http8080-WorkerThread(1)] Mon Apr 06 10:37:15 EDT 2009 [FIN]
>> com.sun.grizzly.tcp.StaticResourcesAdapter service:File not found
>> .\jmaki-comet\index.html
>>
>> It's the same result as if I let the default "".
>>
>
> What is the value of setRootFolder() ? You need to invoke both:
>
> setRootFolter("/win32/jmaki-comet/");
> setResourcesContextPath("/jmaki-comet")
>
> Does it help?
>
> A+
>
> --Jeanfrancois
>
>
>
>>
>>
>> 2009/4/6 Jeanfrancois Arcand <Jeanfrancois.Arcand_at_sun.com <mailto:
>> Jeanfrancois.Arcand_at_sun.com>>
>>
>> Salut,
>>
>> I think you need to invoke:
>>
>>
>> https://grizzly.dev.java.net/nonav/apidocs/com/sun/grizzly/tcp/StaticResourcesAdapter.html#setResourcesContextPath(java.lang.String)<https://grizzly.dev.java.net/nonav/apidocs/com/sun/grizzly/tcp/StaticResourcesAdapter.html#setResourcesContextPath%28java.lang.String%29>
>> <
>> https://grizzly.dev.java.net/nonav/apidocs/com/sun/grizzly/tcp/StaticResourcesAdapter.html#setResourcesContextPath%28java.lang.String%29
>> >
>>
>>
>> A+
>>
>> -- Jeanfrancois
>>
>>
>> Survivant 00 wrote:
>>
>> can someone tell me what wrong with that ? (File not found) (is
>> it a bug ?)
>>
>> I'm loading jmaki-sample in GWS.. and I have to following info
>> in the logs..
>>
>>
>> [main] Sat Apr 04 14:39:31 EDT 2009 [LE PLUS FIN]
>> com.sun.grizzly.http.servlet.deployer.GrizzlyWebServerDeployer
>> deploy:sa context=/jmaki-comet
>>
>> [main] Sat Apr 04 14:39:31 EDT 2009 [LE PLUS FIN]
>> com.sun.grizzly.http.servlet.deployer.GrizzlyWebServerDeployer
>> deploy:sa servletPath=/words
>>
>> [main] Sat Apr 04 14:39:31 EDT 2009 [LE PLUS FIN]
>> com.sun.grizzly.http.servlet.deployer.GrizzlyWebServerDeployer
>> deploy:sa alias=/jmaki-comet/words
>>
>> [main] Sat Apr 04 14:39:31 EDT 2009 [LE PLUS FIN]
>> com.sun.grizzly.http.servlet.deployer.GrizzlyWebServerDeployer
>> deploy:sa rootFolder=d:/Temp/tmp/jmaki-comet
>>
>> [main] Sat Apr 04 14:39:31 EDT 2009 [LE PLUS FIN]
>> com.sun.grizzly.http.servlet.deployer.GrizzlyWebServerDeployer
>> deploy:sa context=/jmaki-comet
>>
>> [main] Sat Apr 04 14:39:31 EDT 2009 [LE PLUS FIN]
>> com.sun.grizzly.http.servlet.deployer.GrizzlyWebServerDeployer
>> deploy:sa servletPath=/moderator
>>
>> [main] Sat Apr 04 14:39:31 EDT 2009 [LE PLUS FIN]
>> com.sun.grizzly.http.servlet.deployer.GrizzlyWebServerDeployer
>> deploy:sa alias=/jmaki-comet/moderator
>>
>> [main] Sat Apr 04 14:39:31 EDT 2009 [LE PLUS FIN]
>> com.sun.grizzly.http.servlet.deployer.GrizzlyWebServerDeployer
>> deploy:sa rootFolder=d:/Temp/tmp/jmaki-comet
>>
>> [main] Sat Apr 04 14:39:31 EDT 2009 [FIN]
>> com.sun.grizzly.http.SelectorThread initAlgorithm:Using
>> Algorithm: com.sun.grizzly.http.algorithms.NoParsingAlgorithm
>> ...
>>
>> [http8080-WorkerThread(0)] Sat Apr 04 14:40:11 EDT 2009 [FIN]
>> com.sun.grizzly.tcp.StaticResourcesAdapter service:File not
>> found .\jmaki-comet\words
>>
>> [http8080-WorkerThread(0)] Sat Apr 04 14:40:11 EDT 2009 [FIN]
>> com.sun.grizzly.tcp.StaticResourcesAdapter service:File not
>> found d:\Temp\tmp\jmaki-comet\jmaki-comet\words
>>
>> the web page is working perfectly..
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe_at_grizzly.dev.java.net
>> <mailto:dev-unsubscribe_at_grizzly.dev.java.net>
>> For additional commands, e-mail: dev-help_at_grizzly.dev.java.net
>> <mailto:dev-help_at_grizzly.dev.java.net>
>>
>>
>>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_grizzly.dev.java.net
> For additional commands, e-mail: dev-help_at_grizzly.dev.java.net
>
>