War feature is well deployed ;-) karaf@root()> list -t 0 | grep -i pax [ 1] [ Active] [ 8] OPS4J Pax Logging - Service (1.7.0) [ 2] [ Active] [ 5] OPS4J Pax Url - aether: (1.5.2) [ 5] [ Active] [ 30] OPS4J Pax Url - Commons (1.5.2) [ 12] [ Active] [ 5] OPS4J Pax Url - Maven Commons (1.5.2) [ 24] [ Active] [ 8] OPS4J Pax Logging - API (1.7.0) [ 32] [ Active] [ 5] OPS4J Pax Swissbox :: Bnd Utils (1.5.1) [ 45] [ Active] [ 30] OPS4J Pax Swissbox :: Property (1.5.1) [ 47] [ Active] [ 5] OPS4J Pax Url - wrap: (1.5.2) [ 84] [ Active] [ 30] OPS4J Pax Swissbox :: OSGi Core (1.6.0) [ 85] [ Active] [ 30] OPS4J Pax Swissbox :: Optional JCL (1.6.0) [ 90] [ Active] [ 30] OPS4J Pax Web - API (3.0.0.M3) [ 91] [ Active] [ 30] OPS4J Pax Web - Service SPI (3.0.0.M3) [ 92] [ Active] [ 30] OPS4J Pax Web - Runtime (3.0.0.M3) [ 93] [ Active] [ 30] OPS4J Pax Web - Jetty (3.0.0.M3) [ 94] [ Active] [ 30] OPS4J Pax Web - Jsp Support (3.0.0.M3) [ 95] [ Active] [ 30] OPS4J Pax Web - Extender - Whiteboard (3.0.0.M3) [ 96] [ Active] [ 30] OPS4J Pax Web - Extender - WAR (3.0.0.M3) [ 97] [ Active] [ 30] OPS4J Pax Web - FileInstall Deployer (3.0.0.M3) [ 98] [ Active] [ 30] OPS4J Pax Url - war (1.4.2) [ 99] [ Active] [ 30] OPS4J Pax Url - Commons (1.4.2) [ 100] [ Active] [ 30] OPS4J Pax Swissbox :: Bnd Utils (1.6.0) [ 101] [ Active] [ 30] OPS4J Pax Swissbox :: Property (1.6.0)
On Tue, Jul 2, 2013 at 9:41 PM, Jean-Baptiste Onofré <[email protected]>wrote: > Hi Charles, > > did you installed war feature ? > > Regards > JB > > > On 07/02/2013 09:32 PM, Charles Moulliard wrote: > >> Hi, >> >> After deploying a war using deploy directory, I get this error message in >> log file : >> >> 2013-07-02 21:29:58,762 | ERROR | 3.0.0.RC1/deploy | fileinstall >> | 21 - org.apache.felix.fileinstall - 3.2.6 | Failed to >> install >> artifact: >> /Users/chmoulli/**MyApplications/apache-karaf-3.** >> 0.0.RC1/deploy/weld-login.war >> java.lang.**IllegalStateException: Unknown protocol: webbundle >> at >> org.apache.felix.framework.**URLHandlersStreamHandlerProxy.** >> toExternalForm(**URLHandlersStreamHandlerProxy.** >> java:481)[org.apache.felix.**framework-4.0.3.jar:] >> at >> org.apache.felix.framework.**URLHandlersStreamHandlerProxy.** >> toExternalForm(**URLHandlersStreamHandlerProxy.** >> java:474)[org.apache.felix.**framework-4.0.3.jar:] >> at java.net.URL.toExternalForm(**URL.java:901)[:1.6.0_51] >> at java.net.URL.toString(URL.**java:887)[:1.6.0_51] >> at >> org.apache.felix.fileinstall.**internal.DirectoryWatcher.** >> install(DirectoryWatcher.java:**940)[21:org.apache.felix.** >> fileinstall:3.2.6] >> at >> org.apache.felix.fileinstall.**internal.DirectoryWatcher.** >> install(DirectoryWatcher.java:**857)[21:org.apache.felix.** >> fileinstall:3.2.6] >> at >> org.apache.felix.fileinstall.**internal.DirectoryWatcher.** >> process(DirectoryWatcher.java:**483)[21:org.apache.felix.** >> fileinstall:3.2.6] >> at >> org.apache.felix.fileinstall.**internal.DirectoryWatcher.run(** >> DirectoryWatcher.java:291)[21:**org.apache.felix.fileinstall:**3.2.6] >> >> Is still webbundle protocol supported ? >> >> Regards, >> >> > -- > Jean-Baptiste Onofré > [email protected] > http://blog.nanthrax.net > Talend - http://www.talend.com > -- Charles Moulliard Apache Committer / Architect @RedHat Twitter : @cmoulliard | Blog : http://cmoulliard.blogspot.com
