Uploaded image for project: 'Tapestry'
  1. Tapestry
  2. TAPESTRY-2607

Warning on grid reorder

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 5.0.14
    • Fix Version/s: None
    • Component/s: tapestry-core
    • Labels:
      None
    • Environment:
      WinXP

      Description

      The colon in the URL is giving Jetty (and perhaps Tomcat) fits, as it tries to see if there's a physical file for the URL and the file system doesn't like it, because colons are meaningful to Windows. I don't see this on Mac or Linux.

      Possible workaround would be to log this with DEBUG, not WARN.

      Each time i reorder a grid by clicking on a column, i get the following
      >> warning :
      >>
      >> [WARN] ResourceCache Alias request of
      >> 'file:/F:/Steph/workspace/mailings/src/main/webapp/clients.grid.columns:sort/description'
      >> for
      >> 'file:/F:/Steph/workspace/mailings/src/main/webapp/clients.grid.columns:sort/description'
      >> [WARN] Credential EXCEPTION
      >> java.io.IOException: Syntaxe du nom de fichier, de répertoire ou de
      >> volume incorrecte
      >> at java.io.WinNTFileSystem.canonicalize0(Native Method)
      >> at java.io.Win32FileSystem.canonicalize(Win32FileSystem.java:396)
      >> at java.io.File.getCanonicalPath(File.java:559)
      >> at org.mortbay.util.FileResource.getAlias(FileResource.java:176)
      >> at org.mortbay.http.ResourceCache.getResource(ResourceCache.java:250)
      >> at org.mortbay.http.HttpContext.getResource(HttpContext.java:2118)
      >> at
      >> org.mortbay.jetty.servlet.WebApplicationContext.getResource(WebApplicationContext.java:785)
      >> at
      >> org.mortbay.jetty.servlet.ServletHandler.getResource(ServletHandler.java:735)
      >> at
      >> org.mortbay.jetty.servlet.ServletHandler$Context.getResource(ServletHandler.java:1082)
      >> at
      >> org.apache.tapestry.internal.services.ContextImpl.getResource(ContextImpl.java:43)
      >> at $Context_119ded1b2a2.getResource($Context_119ded1b2a2.java)
      >> at $Context_119ded1b209.getResource($Context_119ded1b209.java)
      >> at
      >> org.apache.tapestry.internal.services.StaticFilesFilter.service(StaticFilesFilter.java:56)
      >> at
      >> $RequestHandler_119ded1b20d.service($RequestHandler_119ded1b20d.java)
      >> at
      >> org.apache.tapestry.internal.services.CheckForUpdatesFilter$2.invoke(CheckForUpdatesFilter.java:93)
      >> at
      >> org.apache.tapestry.internal.services.CheckForUpdatesFilter$2.invoke(CheckForUpdatesFilter.java:84)
      >> at
      >> org.apache.tapestry.ioc.internal.util.ConcurrentBarrier.withRead(ConcurrentBarrier.java:77)
      >> at
      >> org.apache.tapestry.internal.services.CheckForUpdatesFilter.service(CheckForUpdatesFilter.java:106)
      >> at
      >> $RequestHandler_119ded1b20d.service($RequestHandler_119ded1b20d.java)
      >> at
      >> $RequestHandler_119ded1b205.service($RequestHandler_119ded1b205.java)
      >> at
      >> org.apache.tapestry.services.TapestryModule$12.service(TapestryModule.java:935)
      >> at
      >> org.apache.tapestry.internal.services.IgnoredPathsFilter.service(IgnoredPathsFilter.java:62)
      >> at
      >> $HttpServletRequestFilter_119ded1b204.service($HttpServletRequestFilter_119ded1b204.java)
      >> at
      >> $HttpServletRequestHandler_119ded1b206.service($HttpServletRequestHandler_119ded1b206.java)
      >> at
      >> $HttpServletRequestHandler_119ded1b203.service($HttpServletRequestHandler_119ded1b203.java)
      >> at
      >> org.apache.tapestry.TapestryFilter.doFilter(TapestryFilter.java:168)
      >> at
      >> org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821)
      >> at
      >> org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:198)
      >> at
      >> org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:75)
      >> at
      >> org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821)
      >> at
      >> org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:471)
      >> at
      >> org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568)
      >> at org.mortbay.http.HttpContext.handle(HttpContext.java:1530)
      >> at
      >> org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:633)
      >> at org.mortbay.http.HttpContext.handle(HttpContext.java:1482)
      >> at org.mortbay.http.HttpServer.service(HttpServer.java:909)
      >> at org.mortbay.http.HttpConnection.service(HttpConnection.java:820)
      >> at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:986)
      >> at org.mortbay.http.HttpConnection.handle(HttpConnection.java:837)
      >> at
      >> org.mortbay.http.SocketListener.handleConnection(SocketListener.java:245)
      >> at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
      >> at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)

        Attachments

          Activity

            People

            • Assignee:
              hlship Howard Lewis Ship
              Reporter:
              mge Michael Gerzabek
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 5m
                5m
                Remaining:
                Remaining Estimate - 5m
                5m
                Logged:
                Time Spent - Not Specified
                Not Specified