Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-8332

Cannot add deploy directory on Windows network share

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • No Release
    • JBossAS-5.1.0.GA
    • Web (Tomcat) service
    • None
    • Workaround Exists
    • Hide

      Map the network share to a drive letter, and point to that instead.

      Show
      Map the network share to a drive letter, and point to that instead.
    • Hide

      1) create a Windows network share such as "shared" on a machine
      2) move a web application to that share, such as jmx-console.war
      3) edit $PROFILE/conf/bootstrap/profile.xml to add "file:////127.0.0.1/shared" in applicationURIs
      4) start JBoss

      Show
      1) create a Windows network share such as "shared" on a machine 2) move a web application to that share, such as jmx-console.war 3) edit $PROFILE/conf/bootstrap/profile.xml to add "file:////127.0.0.1/shared" in applicationURIs 4) start JBoss

    Description

      Adding a new deployment directory on a UNC path (i.e. Windows file share) does not work.

      TomcatDeployment currently converts the url in String form to a path by using new URL(stringUrl).getPath(), rather than simply chopping off the leading file:, and this causes problems with deployments accessed via Windows UNC paths because of the URL classes bad handling of those. The issue can also be fixed by solving JBVFS-160 so the URL string gets generated with extra slashes.

      Attachments

        Issue Links

          Activity

            People

              rmaucher Remy Maucherat
              rhn-support-jlivings James Livingston (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: