Details
-
Bug
-
Resolution: Done
-
Major
-
jboss-fuse-6.2
-
%
-
Description
Deploying a WAR file on a Fabric child container with the profile feature-fabric-web doesn't work. The necessary bundles required for that are not installed, even though the feature-fabric-web profile contains the necessary features for that.
This issue doesn't occur on a root container.
After enabling TRACE logging on the child container I could see that the issue was this:
2015-08-27 11:48:51,667 | TRACE | nload-2-thread-1 | AbstractDownloadTask | 83 - io.fabric8.fabric-agent - 1.2.0.redhat-133 | Downloading [war:file:/home/user/.m2/repository/com/example/demo-webapp/0.0.1-SNAPSHOT/demo-webapp-0.0.1-SNAPSHOT.war] 2015-08-27 11:48:51,668 | DEBUG | nload-2-thread-1 | AbstractDownloadTask | 83 - io.fabric8.fabric-agent - 1.2.0.redhat-133 | Could not download [war:file:/home/user/.m2/repository/com/example/demo-webapp/0.0.1-SNAPSHOT/demo-webapp-0.0.1-SNAPSHOT.war] 2015-08-27 11:48:51,668 | TRACE | nload-2-thread-1 | AbstractDownloadTask | 83 - io.fabric8.fabric-agent - 1.2.0.redhat-133 | Reason [java.net.MalformedURLException: Unknown protocol: war] 2015-08-27 11:48:51,668 | DEBUG | nload-2-thread-1 | AbstractRetryableDownloadTask | 83 - io.fabric8.fabric-agent - 1.2.0.redhat-133 | Error downloading war:file:/home/user/.m2/repository/com/example/demo-webapp/0.0.1-SNAPSHOT/demo-webapp-0.0.1-SNAPSHOT.war: URL [war:file:/home/user/.m2/repository/com/example/demo-webapp/0.0.1-SNAPSHOT/demo-webapp-0.0.1-SNAPSHOT.war] could not be resolved.. Retrying in approx 52215 ms.
Attachments
Issue Links
- is related to
-
ENTESB-2831 support for webbundle protocol in Karaf install command
- Closed
-
ENTESB-3032 Unable To Deploy Standard WAR File That Includes Spring and CXF
- Closed