Hi,

Could you also post the exception in log when deploy the war failed?
-------------
Freeman(Yue) Fang

Red Hat, Inc. 
FuseSource is now part of Red Hat
Web: http://fusesource.com | http://www.redhat.com/
Twitter: freemanfang
Blog: http://freemanfang.blogspot.com
http://blog.sina.com.cn/u/1473905042
weibo: @Freeman小屋

On 2013-5-3, at 下午8:50, kasthurirajan wrote:

> Hello All,
> 
> Im trying to depoly a WAR file in karaf 2.3.1 but im getting the below
> exception.. The WAR file is placed under the deploy folder.
> 
> karaf@root> osgi:install -s
> webbundle:camel-example-servlet-tomcat-2.10.4.war?Bu
> ndle-SymbolicName=org.apache.camel.camel-example-servlet-tomcat&Webapp-Context=/
> camel
> Bundle IDs:
> Error executing command: Error installing bundles:
>        Unable to install bundle
> webbundle:camel-example-servlet-tomcat-2.10.4.w
> ar?Bundle-SymbolicName=org.apache.camel.camel-example-servlet-tomcat&Webapp-Cont
> ext=/camel
> 
> I have also modified the Manifest file accordingly in the WAR file but still
> not able to deploy the same.
> 
> Bundle-ManifestVersion: 2
> Bundle-Name: camel-example-servlet-tomcat
> Bundle-SymbolicName: org.apache.camel.camel-example-servlet-tomcat
> Bundle-Version: 2.10.4
> Bundle-ClassPath:
> .,WEB-INF/classes,lib/commons-logging-1.1.1.jar,lib/camel-http-2.10.4.jar,lib/aopalliance-1.0.jar,lib/camel-core-2.10.4.jar,lib/camel-servlet-2.10.4,lib/camel-spring-2.10.4,lib/commons-codec-1.6,lib/commons-httpclient-3.1,lib/slf4j-api-1.6.6,lib/spring-aop-3.0.7.RELEASE,lib/spring-asm-3.0.7.RELEASE,lib/spring-beans-3.0.7.RELEASE,lib/spring-context-3.0.7.RELEASE,lib/spring-core-3.0.7.RELEASE,lib/spring-expression-3.0.7.RELEASE,lib/spring-tx-3.0.7.RELEASE,lib/spring-web-3.0.7.RELEASE
> Import-Package: javax.servlet,javax.servlet.http
> 
> Regards,
> 
> Kasthuri rajan 
> 
> 
> 
> --
> View this message in context: 
> http://cxf.547215.n5.nabble.com/Facing-issues-while-deploying-a-WAR-file-in-Karaf-2-3-1-tp5727134.html
> Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to