Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
Java-SCA-1.3
-
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();