Hi, well your issue is in the logs, there is no JndiCamelServletContextListener, cause there is no such thing in the OSGi-World.
Well to test the war abilities it's quite simple, take a look at the documentation [1] and [2]. And there are tons of samples about how to use Pax-Web at the Pax-Web samples [3], and how to deploy them in the Pax-Web iTests [4]. regards, Achim [1] - http://karaf.apache.org/manual/latest-2.3.x/users-guide/http.html [2] - http://karaf.apache.org/manual/latest-2.3.x/users-guide/web-applications.html [3] - https://github.com/ops4j/org.ops4j.pax.web/blob/master/samples/ [4] - https://github.com/ops4j/org.ops4j.pax.web/blob/master/itest/src/test/java/org/ops4j/pax/web/itest/WarIntegrationTest.java 2013/5/8 kasthuri rajan <[email protected]> > Yes the bundle is started with the bundle ID : 268 > > pls find below the log details > > org.ops4j.pax.web.pax-web-extender-war - 1.1.12 | Registration exception. > Skipping. > java.lang.ClassNotFoundException: > org.apache.camel.component.servletlistener.JndiCamelServletContextListener > at > > org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:501)[osgi-3.8.0.v20120529-1548.jar:] > at > > org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:421)[osgi-3.8.0.v20120529-1548.jar:] > at > > org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:412)[osgi-3.8.0.v20120529-1548.jar:] > at > > org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)[osgi-3.8.0.v20120529-1548.jar:] > at java.lang.ClassLoader.loadClass(ClassLoader.java:247)[:1.6.0_41] > at > > org.eclipse.osgi.internal.loader.BundleLoader.loadClass(BundleLoader.java:340)[osgi-3.8.0.v20120529-1548.jar:] > at > > org.eclipse.osgi.framework.internal.core.BundleHost.loadClass(BundleHost.java:229)[osgi-3.8.0.v20120529-1548.jar:] > at > > org.eclipse.osgi.framework.internal.core.AbstractBundle.loadClass(AbstractBundle.java:1212)[osgi-3.8.0.v20120529-1548.jar:] > at > > org.ops4j.pax.swissbox.core.BundleClassLoader.findClass(BundleClassLoader.java:176)[81:org.ops4j.pax.web.pax-web-extender-war:1.1.12] > at > > org.ops4j.pax.swissbox.core.BundleClassLoader.loadClass(BundleClassLoader.java:194)[81:org.ops4j.pax.web.pax-web-extender-war:1.1.12] > at java.lang.ClassLoader.loadClass(ClassLoader.java:247)[:1.6.0_41] > > Actually im trying to deploy any WAR file inside karaf 2.3.1 & to test the > same whether it is working or not. > > So pls let me know if there is any docs or tutorial regarding the same. > > Regards, > > Kasthuri rajan.k > > > > > > -- > View this message in context: > http://karaf.922171.n3.nabble.com/Facing-issues-while-deploying-a-WAR-file-tp4028568p4028597.html > Sent from the Karaf - Dev mailing list archive at Nabble.com. > -- Apache Karaf <http://karaf.apache.org/> Committer & PMC OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer & Project Lead OPS4J Pax for Vaadin <http://team.ops4j.org/wiki/display/PAXVAADIN/Home> Commiter & Project Lead blog <http://notizblog.nierbeck.de/>
