dev@grizzly.java.net

Re: StaticResourcesAdapter service:File not found

From: Survivant 00 <survivant00_at_gmail.com>
Date: Mon, 6 Apr 2009 10:39:04 -0400

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 "".



2009/4/6 Jeanfrancois Arcand <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>
>
> 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
> For additional commands, e-mail: dev-help_at_grizzly.dev.java.net
>
>