yes Im using snapshot from today.
-- Ill file an issue
----- Original Message ----
From: Jeanfrancois Arcand <Jeanfrancois.Arcand_at_Sun.COM>
To: users_at_grizzly.dev.java.net
Sent: Monday, February 23, 2009 5:06:31 PM
Subject: Re: Grizzly 1.9.6 puzzler -- dump
Salut,
hum...are you using 1.9.6_SNAPSHOT? I know Hubert has fixed that issue, so just making sure. If yes, then file an issue :-) We will release 1.9.7 ASAP :-)
A+
-- Jeanfrancois
Richard Corsale wrote:
> I forgot to include the dump :) note that this only occurs with 1.9.6
> Feb 23, 2009 4:45:56 PM com.sun.grizzly.http.servlet.ServletAdapter service
> SEVERE: service exception:
> java.lang.ExceptionInInitializerError
> at com.sun.grizzly.http.servlet.ServletAdapter.service(ServletAdapter.java:273)
> at com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:165)
> at com.sun.grizzly.tcp.http11.GrizzlyAdapterChain.service(GrizzlyAdapterChain.java:185)
> at com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:165)
> at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:653)
> at com.sun.grizzly.comet.CometEngine.executeServlet(CometEngine.java:442)
> at com.sun.grizzly.comet.CometEngine.handle(CometEngine.java:365)
> at com.sun.grizzly.comet.CometAsyncFilter.doFilter(CometAsyncFilter.java:84)
> at com.sun.grizzly.arp.DefaultAsyncExecutor.invokeFilters(DefaultAsyncExecutor.java:156)
> at com.sun.grizzly.arp.DefaultAsyncExecutor.interrupt(DefaultAsyncExecutor.java:135)
> at com.sun.grizzly.arp.AsyncProcessorTask.doTask(AsyncProcessorTask.java:88)
> at com.sun.grizzly.http.TaskBase.run(TaskBase.java:189)
> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> at java.lang.Thread.run(Thread.java:619)
> Caused by: java.util.MissingResourceException: Can't find bundle for base name version, locale en_US
> at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:1521)
> at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1260)
> at java.util.ResourceBundle.getBundle(ResourceBundle.java:787)
> at com.sun.grizzly.util.Grizzly.<clinit>(Grizzly.java:56)
> ... 15 more
>
>
>
>
>
> ----- Original Message ----
> From: Richard Corsale <igf1_at_yahoo.com>
> To: users_at_grizzly.dev.java.net
> Sent: Monday, February 23, 2009 4:44:37 PM
> Subject: Grizzly 1.9.6 puzzler
>
> Ok when I include the 1.9.5 in my classpath, everything works fine. I upgraded to 1.9.6 and now It wont run a servlet that has been registered. I think the problem is centered around the RootFolder is this a known issue?
> --Richard
>
>
>
>
>
> ----- Original Message ----
> From: Jeanfrancois Arcand <Jeanfrancois.Arcand_at_Sun.COM>
> To: users_at_grizzly.dev.java.net
> Sent: Monday, February 23, 2009 10:30:07 AM
> Subject: Re: grizzly request return NULL for request.getPathInfo(); and request.getServletPath();
>
> Salut,
>
> looks like a bug. Can you file an issue with the war (not just the Servlet, I'm lazy :-)).
>
> Thanks!!!!
>
> -- Jeanfrancois
>
> Survivant 00 wrote:
>> When I enter this URL : http://localhost:8080/index.ftl
>>
>> httprequest return "" for request.getPathInfo(); and request.getServletPath();
>>
>> is it normal ?
>>
>> and I try to move the servlet into a war and change the path to http://localhost:8080/test2/index.ftl it still return NULL.
>>
>> if I put the same war into jetty, it works.
>>
>> here my testcase
>>
>> public static void main(String[] args) {
>> GrizzlyWebServerDeployer gws = new GrizzlyWebServerDeployer();
>>
>> try {
>> //args = new String[]{"-a","./web.xml"};
>> args = new String[]{"-a","C:/jetty-7.0.0.pre5/webapps/test2"};
>> // ready to launch
>> gws.init(args);
>> gws.launch();
>> } catch (Exception e){
>> e.printStackTrace();
>> }
>> }
>>
>> when web.xml
>>
>> <?xml version="1.0" encoding="UTF-8"?>
>> <web-app xmlns="http://java.sun.com/xml/ns/j2ee"
>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>> xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
>> version="2.4">
>> <display-name>FreeMarker</display-name>
>> <description>FreeMarker on Grizzly demo</description>
>> <servlet>
>> <servlet-name>freemarker</servlet-name>
>> <servlet-class>freemarker.ext.servlet.FreemarkerServlet</servlet-class>
>> <!-- FreemarkerServlet settings: -->
>> <init-param>
>> <param-name>TemplatePath</param-name>
>> <param-value>/</param-value>
>> </init-param>
>> <init-param>
>> <param-name>NoCache</param-name>
>> <param-value>true</param-value>
>> </init-param>
>> <init-param>
>> <param-name>Debug</param-name>
>> <param-value>true</param-value>
>> </init-param>
>> <init-param>
>> <param-name>ContentType</param-name>
>> <param-value>text/html</param-value>
>> </init-param>
>> <!-- FreeMarker settings: -->
>> <init-param>
>> <param-name>template_update_delay</param-name>
>> <param-value>0</param-value> <!-- 0 is for development only! Use higher value otherwise. -->
>> </init-param>
>> <init-param>
>> <param-name>default_encoding</param-name>
>> <param-value>ISO-8859-1</param-value>
>> </init-param>
>> <init-param>
>> <param-name>number_format</param-name>
>> <param-value>0.##########</param-value>
>> </init-param>
>> <load-on-startup>1</load-on-startup>
>> </servlet>
>> <servlet-mapping>
>> <servlet-name>freemarker</servlet-name>
>> <url-pattern>index.ftl</url-pattern>
>> </servlet-mapping>
>>
>> </web-app>
>>
>>
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_grizzly.dev.java.net
> For additional commands, e-mail: users-help_at_grizzly.dev.java.net
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_grizzly.dev.java.net
> For additional commands, e-mail: users-help_at_grizzly.dev.java.net
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_grizzly.dev.java.net
> For additional commands, e-mail: users-help_at_grizzly.dev.java.net
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_grizzly.dev.java.net
For additional commands, e-mail: users-help_at_grizzly.dev.java.net