Uploaded image for project: 'Tuscany'
  1. Tuscany
  2. TUSCANY-2598

Patch to support zip protocol type

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Java-SCA-1.3
    • Java-SCA-1.3.2
    • None
    • None
    • Weblogic 9.2 Windows, Solaris

    Description

      Hey guys,

      Within weblogic, we're attetmpting to lookup a composite using the Node api, but the protocol that's returned when this is looked up starts "zip:" which is not covered by the transport code in either of NodeImpl.java or DefaultSCADomain.java, the following will modify this url appropriately in line with the other protocol code:

      } else if ("zip".equals(protocol)) {
      // zip contribution, remove the zip prefix and pad with file:
      String location = "file:"+url.substring(4, url.lastIndexOf("!/"));
      contributionURL = FileHelper.toFile(new URL(location)).toURI().toURL();

      Attachments

        Activity

          People

            aelder ant elder
            dave.sowerby Dave Sowerby
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: