You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Simon Laws (JIRA)" <de...@tuscany.apache.org> on 2008/09/24 12:33:46 UTC
[jira] Updated: (TUSCANY-2598) Patch to support zip protocol type
[ https://issues.apache.org/jira/browse/TUSCANY-2598?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Simon Laws updated TUSCANY-2598:
--------------------------------
Fix Version/s: Java-SCA-1.3.2
Change to fixed in 1.3.2
> Patch to support zip protocol type
> -----------------------------------
>
> Key: TUSCANY-2598
> URL: https://issues.apache.org/jira/browse/TUSCANY-2598
> Project: Tuscany
> Issue Type: Bug
> Affects Versions: Java-SCA-1.3
> Environment: Weblogic 9.2 Windows, Solaris
> Reporter: Dave Sowerby
> Assignee: ant elder
> Fix For: Java-SCA-1.3.2
>
>
> 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();
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.