Can the SFTP protocol be used for rhq:url-file or rhq:url-archive in JON bundles?
Issue
- SFTP URL not possible in
rhq:url-fileorrhq:url-archive - sftp is not a valid URL.
-
Bundle creation fails:
java.lang.Exception:Failed to parse the bundle Ant script. -> org.apache.tools.ant.BuildException:URL specified by 'url' attribute [sftp://myuser:mysecret@example.com/files.zip] is malformed - it must be a valid URL. -
Can sftp be used as the protocol in the value for url?
Environment
- Red Hat JBoss Operations Network (ON) 3.1
- JBoss ON provisioning bundle
-
Bundle recipe that includes the
rhq:url-fileorrhq:url-archiveelement:... <rhq:deployment-unit name="files"> <rhq:url-archive url="sftp://myuser:mysecret@example.com/files.zip" exploded="true" /> </rhq:deployment-unit> ...
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
