0 Replies Latest reply on Dec 16, 2008 8:16 AM by Stephan B

    Glassfish + URLRewrite ?

    Stephan B Newbie

      Hi everyone,


      I am running Seam 2.1.0.GA (on Tomcat6/Glassfish v3) and use URLRewrite to render my URLs. The inbound rules all work fine (tested), however, the outbound rules worry me (unit tested, they work fine in theory), especially the following ones:


      <outbound-rule>
        <from>^/(\w*)/(\w*).seam\?(.+)$</from>
        <to last="true">%{context-path}/$1/$2?$3</to>
      </outbound-rule>
      
      <outbound-rule>
        <from>^/(\w*)/(\w*).seam$</from>
        <to last="true">%{context-path}/$1/$2</to>
      </outbound-rule>
      
      <outbound-rule>
        <from>^/(\w*).seam\?(.+)$</from>
        <to last="true">%{context-path}/$1?$2</to>
      </outbound-rule>
      
      <outbound-rule>
        <from>^/(\w*).seam$</from>
        <to last="true">%{context-path}/$1</to>
      </outbound-rule>



      When I enable these rules and try to login I get an ViewExpiredException. Weird is also that this only happens from top level pages ({context}/about) but not pages in sub dirs ({context}/forms/fillout}


      Any suggestions? It used to work, at some point it broke, I am not sure how/when...


      --------------------------------
      The following shows up in log:


      WARNING: PWC4011: Unable to set request character encoding to UTF-8 from context /author, because request parameters have already been read, or ServletRequest.getReader() has already been called
      SEVERE: JSF1054: (Phase ID: RESTORE_VIEW 1, View ID: ) Exception thrown during phase execution: javax.faces.event.PhaseEvent[source=com.sun.faces.lifecycle.LifecycleImpl@5e066f43]
      SEVERE: ApplicationDispatcher[/author] PWC1231: Servlet.service() for servlet Faces Servlet threw exception
      javax.faces.application.ViewExpiredException: viewId:/author/about.seam - View /author/about.seam could not be restored.
              at com.sun.faces.lifecycle.RestoreViewPhase.execute(RestoreViewPhase.java:185)
              at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
              at com.sun.faces.lifecycle.RestoreViewPhase.doPhase(RestoreViewPhase.java:103)
              at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
              at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
              at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:431)
              at org.apache.catalina.core.ApplicationDispatcher.doInvoke(ApplicationDispatcher.java:885)
              at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:732)
              at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:554)
              at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:485)
              at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:377)
              at org.tuckey.web.filters.urlrewrite.NormalRewrittenUrl.doRewrite(NormalRewrittenUrl.java:195)
              at org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:159)
              at org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:141)
              at org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:90)
              at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:417)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:250)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:218)
              at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)
              at org.jboss.seam.web.IdentityFilter.doFilter(IdentityFilter.java:38)
              at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
              at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:73)
              at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)
              at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
              at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)
              at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
              at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:73)
              at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:177)
              at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:267)
              at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:380)
              at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:507)
              at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:56)
              at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
              at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:58)
              at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
              at org.jboss.seam.debug.hot.HotDeployFilter.doFilter(HotDeployFilter.java:51)
              at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
              at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:250)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:218)
              at org.apache.catalina.core.StandardWrapperValve.preInvoke(StandardWrapperValve.java:460)
              at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:139)
              at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:186)
              at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:719)
              at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:657)
              at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:96)
              at com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:98)
              at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:187)
              at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:719)
              at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:657)
              at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:651)
              at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1030)
              at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:142)
              at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:719)
              at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:657)
              at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:651)
              at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1030)
              at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:325)
              at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:242)
              at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:180)
              at com.sun.grizzly.http.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:633)
              at com.sun.grizzly.http.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:570)
              at com.sun.grizzly.http.DefaultProcessorTask.process(DefaultProcessorTask.java:827)
              at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:152)
              at com.sun.enterprise.v3.services.impl.GlassfishProtocolChain.executeProtocolFilter(GlassfishProtocolChain.java:71)
              at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:103)
              at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:89)
              at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76)
              at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:67)
              at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:56)
              at com.sun.grizzly.util.WorkerThreadImpl.processTask(WorkerThreadImpl.java:325)
              at com.sun.grizzly.util.WorkerThreadImpl.run(WorkerThreadImpl.java:184)
      INFO: 08:00:31,000 WARN  [ExceptionFilter] handling uncaught exception
      javax.servlet.ServletException: viewId:/author/about.seam - View /author/about.seam could not be restored.
              at javax.faces.webapp.FacesServlet.service(FacesServlet.java:270)
              at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:431)
              at org.apache.catalina.core.ApplicationDispatcher.doInvoke(ApplicationDispatcher.java:885)
              at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:732)
              at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:554)
              at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:485)
              at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:377)
              at org.tuckey.web.filters.urlrewrite.NormalRewrittenUrl.doRewrite(NormalRewrittenUrl.java:195)
              at org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:159)
              at org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:141)
              at org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:90)
              at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:417)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:250)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:218)
              at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)
              at org.jboss.seam.web.IdentityFilter.doFilter(IdentityFilter.java:38)
              at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
              at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:73)
              at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)
              at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
              at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)
              at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
              at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:73)
              at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:177)
              at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:267)
              at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:380)
              at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:507)
              at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:56)
              at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
              at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:58)
              at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
              at org.jboss.seam.debug.hot.HotDeployFilter.doFilter(HotDeployFilter.java:51)
              at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
              at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:250)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:218)
              at org.apache.catalina.core.StandardWrapperValve.preInvoke(StandardWrapperValve.java:460)
              at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:139)
              at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:186)
              at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:719)
              at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:657)
              at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:96)
              at com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:98)
              at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:187)
              at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:719)
              at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:657)
              at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:651)
              at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1030)
              at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:142)
              at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:719)
              at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:657)
              at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:651)
              at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1030)
              at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:325)
              at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:242)
              at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:180)
              at com.sun.grizzly.http.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:633)
              at com.sun.grizzly.http.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:570)
              at com.sun.grizzly.http.DefaultProcessorTask.process(DefaultProcessorTask.java:827)
              at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:152)
              at com.sun.enterprise.v3.services.impl.GlassfishProtocolChain.executeProtocolFilter(GlassfishProtocolChain.java:71)
              at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:103)
              at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:89)
              at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76)
              at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:67)
              at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:56)
              at com.sun.grizzly.util.WorkerThreadImpl.processTask(WorkerThreadImpl.java:325)
              at com.sun.grizzly.util.WorkerThreadImpl.run(WorkerThreadImpl.java:184)
      Caused by: javax.faces.application.ViewExpiredException: viewId:/author/about.seam - View /author/about.seam could not be restored.
              at com.sun.faces.lifecycle.RestoreViewPhase.execute(RestoreViewPhase.java:185)
              at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
              at com.sun.faces.lifecycle.RestoreViewPhase.doPhase(RestoreViewPhase.java:103)
              at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
              at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
              ... 67 more
      INFO: 08:00:31,002 WARN  [ExceptionFilter] exception root cause
      javax.faces.application.ViewExpiredException: viewId:/author/about.seam - View /author/about.seam could not be restored.
              at com.sun.faces.lifecycle.RestoreViewPhase.execute(RestoreViewPhase.java:185)
              at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
              at com.sun.faces.lifecycle.RestoreViewPhase.doPhase(RestoreViewPhase.java:103)
              at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
              at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
              at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:431)
              at org.apache.catalina.core.ApplicationDispatcher.doInvoke(ApplicationDispatcher.java:885)
              at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:732)
              at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:554)
              at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:485)
              at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:377)
              at org.tuckey.web.filters.urlrewrite.NormalRewrittenUrl.doRewrite(NormalRewrittenUrl.java:195)
              at org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:159)
              at org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:141)
              at org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:90)
              at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:417)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:250)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:218)
              at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)
              at org.jboss.seam.web.IdentityFilter.doFilter(IdentityFilter.java:38)
              at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
              at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:73)
              at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)
              at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
              at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)
              at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
              at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:73)
              at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:177)
              at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:267)
              at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:380)
              at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:507)
              at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:56)
              at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
              at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:58)
              at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
              at org.jboss.seam.debug.hot.HotDeployFilter.doFilter(HotDeployFilter.java:51)
              at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
              at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:250)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:218)
              at org.apache.catalina.core.StandardWrapperValve.preInvoke(StandardWrapperValve.java:460)
              at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:139)
              at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:186)
              at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:719)
              at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:657)
              at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:96)
              at com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:98)
              at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:187)
              at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:719)
              at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:657)
              at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:651)
              at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1030)
              at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:142)
              at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:719)
              at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:657)
              at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:651)
              at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1030)
              at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:325)
              at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:242)
              at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:180)
              at com.sun.grizzly.http.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:633)
              at com.sun.grizzly.http.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:570)
              at com.sun.grizzly.http.DefaultProcessorTask.process(DefaultProcessorTask.java:827)
              at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:152)
              at com.sun.enterprise.v3.services.impl.GlassfishProtocolChain.executeProtocolFilter(GlassfishProtocolChain.java:71)
              at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:103)
              at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:89)
              at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76)
              at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:67)
              at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:56)
              at com.sun.grizzly.util.WorkerThreadImpl.processTask(WorkerThreadImpl.java:325)
              at com.sun.grizzly.util.WorkerThreadImpl.run(WorkerThreadImpl.java:184)