Hi,

Can we install a war using the feature command because I receive the
following message when I try to deploy a war ?

<feature name="reportincident-web">
 
<bundle>mvn:org.apache.camel.example/reportincident.web/1.0-SNAPSHOT</bundle>
</feature>

s...@root:features> install reportincident-web

Message returned :

ERROR CommandLineExecutionFailed:
org.apache.geronimo.gshell.command.CommandException:
java.lang.RuntimeException: URL
[mvn:org.apache.camel.example/reportincident.web/1.
0-SNAPSHOT] could not be resolved. (enable TRACE logging for details)

I see in the trace that the code tries to download a jar :

10:33:37,102 | TRACE | localShell       | Connection                       |
.pax.url.mvn.internal.Connection  189 |   Reason
[java.io.FileNotFoundException:
c:\.m2\repository\org\apache\camel\example\reportincident.web\1.0-SNAPSHOT\reportincident.web-1.0-SNAPSHOT.jar
(The system cannot find the file specified)]
1

It should be interesting to install a war though the feature command and why
not to use command like this :

    <feature name="reportincident-web">
    
<bundle>wrap:mvn:org.apache.camel.example/reportincident.web/1.0-SNAPSHOT?WebWebapp-Context=reportincidentWeb</bundle>
    </feature>

Regards,



-----
Charles Moulliard
SOA Architect

My Blog :  http://cmoulliard.blogspot.com/ http://cmoulliard.blogspot.com/  
-- 
View this message in context: 
http://www.nabble.com/Question-%3A-install-war-using-feature-on-SMX4---tp22800727p22800727.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to