Hi,

Im still getting the below exception while trying to deploy the WAR file.

org.apache.karaf.shell.console.MultiException: Error installing bundles:
        Unable to install bundle
war:mvn:org.apache.camel/camel-example-servlet-tomcat-2.10.4.war?Bundle-SymbolicName=org.apache.camel.camel-example-servlet-tomcat&Webapp-Context=/camel
        at
org.apache.karaf.shell.console.MultiException.throwIf(MultiException.java:91)
        at
org.apache.karaf.shell.osgi.InstallBundle.doExecute(InstallBundle.java:70)[24:org.apache.karaf.shell.osgi:2.3.1]
        at
org.apache.karaf.shell.console.OsgiCommandSupport.execute(OsgiCommandSupport.java:38)[14:org.apache.karaf.shell.console:2.3.1]
        at
org.apache.felix.gogo.commands.basic.AbstractCommand.execute(AbstractCommand.java:35)[14:org.apache.karaf.shell.console:2.3.1]
        at
org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:78)[14:org.apache.karaf.shell.console:2.3.1]

Can you pls let me know what is the exact command used for deploying a WAR
file in Karaf & also i have already installed the WAR features.

Installing feature war 2.3.1
Installing feature http-whiteboard 2.3.1
Found installed bundle: org.apache.karaf.shell.web_2.3.1 [78]
Found installed bundle: org.apache.karaf.management.mbeans.web_2.3.1 [79]
Found installed bundle: org.ops4j.pax.web.pax-web-jsp_1.1.12 [80]
Found installed bundle: org.ops4j.pax.web.pax-web-extender-war_1.1.12 [81]
Found installed bundle: org.ops4j.pax.web.pax-web-deployer_1.1.12 [82]
Found installed bundle: org.ops4j.pax.url.war_1.3.5 [83]
karaf@root> osgi:list |grep -i war
karaf@root> la|grep -i wrap
[   2] [Active     ] [            ] [       ] [    5] OPS4J Pax Url - wrap:
(1.3
.5)
[  44] [Active     ] [Created     ] [       ] [   30] Apache Karaf ::
Deployer :
: Wrap Non OSGi Jar (2.3.1)



--
View this message in context: 
http://karaf.922171.n3.nabble.com/Facing-issues-while-deploying-a-WAR-file-tp4028568p4028574.html
Sent from the Karaf - Dev mailing list archive at Nabble.com.

Reply via email to