5 Replies Latest reply on Oct 23, 2006 11:33 AM by starksm64

    Should VirtualFile.toURL() really return "vfsfile:/.."

    bill.burke

      I've developed a URL handler for VFS

      vfsfile:/foo/bar/ear.jar/war.war

      Works fine.

      My thought is that should VirtualFile.toURL() really return a "vfsfile" based url? I want to be able to use the VFS in Hibernate HEM which means that the "java.protocol.handler.pkgs" System property must be set to include the JBoss specific package that contains the VFS handler. I'm really worried that there will be issues with:

      * setting this system property reliably
      * having the sun classes find the handler class (URL uses Class.forName()).

      Thoughts?