cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kasthurirajan <kasthuri_ra...@yahoo.com>
Subject Re: Facing issues while deploying a WAR file in Karaf 2.3.1
Date Mon, 06 May 2013 10:18:30 GMT
Pls find below the log details while deploying it in Karaf 2.3.1

org.apache.karaf.shell.console.MultiException: Error installing bundles:
	Unable to install bundle
webbundle: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]
	at
org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:474)[14:org.apache.karaf.shell.console:2.3.1]
	at
org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:400)[14:org.apache.karaf.shell.console:2.3.1]
	at
org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)[14:org.apache.karaf.shell.console:2.3.1]
	at
org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183)[14:org.apache.karaf.shell.console:2.3.1]
	at
org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120)[14:org.apache.karaf.shell.console:2.3.1]
	at
org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:89)[14:org.apache.karaf.shell.console:2.3.1]
	at
org.apache.karaf.shell.console.jline.Console.run(Console.java:174)[14:org.apache.karaf.shell.console:2.3.1]
	at java.lang.Thread.run(Thread.java:662)[:1.6.0_41]
Caused by: java.lang.Exception: Unable to install bundle
webbundle: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.osgi.InstallBundle.doExecute(InstallBundle.java:45)[24:org.apache.karaf.shell.osgi:2.3.1]
	... 11 more
Caused by: org.osgi.framework.BundleException: An error occurred trying to
read the bundle
	at
org.eclipse.osgi.internal.baseadaptor.BundleInstall.begin(BundleInstall.java:94)
	at
org.eclipse.osgi.framework.internal.core.Framework.installWorkerPrivileged(Framework.java:942)[osgi-3.8.0.v20120529-1548.jar:]
	at
org.eclipse.osgi.framework.internal.core.Framework$1.run(Framework.java:846)[osgi-3.8.0.v20120529-1548.jar:]
	at
org.eclipse.osgi.framework.internal.core.Framework$1.run(Framework.java:1)[osgi-3.8.0.v20120529-1548.jar:]
	at java.security.AccessController.doPrivileged(Native Method)[:1.6.0_41]
	at
org.eclipse.osgi.framework.internal.core.Framework.installWorker(Framework.java:905)[osgi-3.8.0.v20120529-1548.jar:]
	at
org.eclipse.osgi.framework.internal.core.Framework.installBundle(Framework.java:841)[osgi-3.8.0.v20120529-1548.jar:]
	at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.installBundle(BundleContextImpl.java:137)[osgi-3.8.0.v20120529-1548.jar:]
	at
org.apache.karaf.shell.osgi.InstallBundle.doExecute(InstallBundle.java:43)[24:org.apache.karaf.shell.osgi:2.3.1]
	... 11 more
Caused by: java.net.MalformedURLException: invalid url:
camel-example-servlet-tomcat-2.10.4.war!/ (java.net.MalformedURLException:
no protocol: camel-example-servlet-tomcat-2.10.4.war)
	at java.net.URL.<init>(URL.java:601)[:1.6.0_41]
	at java.net.URL.<init>(URL.java:464)[:1.6.0_41]
	at java.net.URL.<init>(URL.java:413)[:1.6.0_41]
	at
org.ops4j.pax.url.war.internal.AbstractConnection.extractJarListFromWar(AbstractConnection.java:358)
	at
org.ops4j.pax.url.war.internal.AbstractConnection.generateClassPathInstruction(AbstractConnection.java:214)
	at
org.ops4j.pax.url.war.internal.AbstractConnection.getInputStream(AbstractConnection.java:139)
	at
org.ops4j.pax.url.war.internal.WarConnection.getInputStream(WarConnection.java:33)
	at
org.eclipse.osgi.internal.baseadaptor.BundleInstall.begin(BundleInstall.java:56)[osgi-3.8.0.v20120529-1548.jar:]

################################################################

Also, Pls find below the log details while deploying it in Karaf 2.2.8

java.lang.NoClassDefFoundError:
org/osgi/service/deploymentadmin/DeploymentException
	at java.lang.Class.getDeclaredConstructors0(Native Method)[:1.6.0_41]
	at
java.lang.Class.privateGetDeclaredConstructors(Class.java:2398)[:1.6.0_41]
	at java.lang.Class.getConstructor0(Class.java:2708)[:1.6.0_41]
	at java.lang.Class.newInstance0(Class.java:328)[:1.6.0_41]
	at java.lang.Class.newInstance(Class.java:310)[:1.6.0_41]
	at
org.apache.felix.webconsole.internal.servlet.PluginHolder$InternalPlugin.doGetConsolePlugin(PluginHolder.java:761)[76:org.apache.karaf.webconsole.console:2.2.8]
	at
org.apache.felix.webconsole.internal.servlet.PluginHolder$Plugin.getConsolePlugin(PluginHolder.java:532)[76:org.apache.karaf.webconsole.console:2.2.8]
	at
org.apache.felix.webconsole.internal.servlet.PluginHolder.getLocalizedLabelMap(PluginHolder.java:242)[76:org.apache.karaf.webconsole.console:2.2.8]
	at
org.apache.felix.webconsole.internal.servlet.OsgiManager.service(OsgiManager.java:420)[76:org.apache.karaf.webconsole.console:2.2.8]
	at
org.apache.felix.webconsole.internal.servlet.OsgiManager.service(OsgiManager.java:384)[76:org.apache.karaf.webconsole.console:2.2.8]
	at
org.apache.felix.webconsole.internal.KarafOsgiManager.doService(KarafOsgiManager.java:67)[76:org.apache.karaf.webconsole.console:2.2.8]
	at
org.apache.felix.webconsole.internal.KarafOsgiManager$1.run(KarafOsgiManager.java:47)[76:org.apache.karaf.webconsole.console:2.2.8]
	at java.security.AccessController.doPrivileged(Native Method)[:1.6.0_41]
	at javax.security.auth.Subject.doAs(Subject.java:396)[:1.6.0_41]
	at
org.apache.felix.webconsole.internal.KarafOsgiManager.service(KarafOsgiManager.java:45)[76:org.apache.karaf.webconsole.console:2.2.8]
	at
org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:547)[63:org.eclipse.jetty.servlet:7.5.4.v20111024]
	at
org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:480)[63:org.eclipse.jetty.servlet:7.5.4.v20111024]
	at
org.ops4j.pax.web.service.jetty.internal.HttpServiceServletHandler.doHandle(HttpServiceServletHandler.java:70)[73:org.ops4j.pax.web.pax-web-jetty:1.0.11]
	at
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119)[61:org.eclipse.jetty.server:7.5.4.v20111024]
	at
org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:520)[62:org.eclipse.jetty.security:7.5.4.v20111024]
	at
org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:227)[61:org.eclipse.jetty.server:7.5.4.v20111024]
	at
org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:941)[61:org.eclipse.jetty.server:7.5.4.v20111024]
	at
org.ops4j.pax.web.service.jetty.internal.HttpServiceContext.doHandle(HttpServiceContext.java:117)[73:org.ops4j.pax.web.pax-web-jetty:1.0.11]
	at
org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:409)[63:org.eclipse.jetty.servlet:7.5.4.v20111024]
	at
org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:186)[61:org.eclipse.jetty.server:7.5.4.v20111024]
	at
org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:875)[61:org.eclipse.jetty.server:7.5.4.v20111024]
	at
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117)[61:org.eclipse.jetty.server:7.5.4.v20111024]
	at
org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:149)[61:org.eclipse.jetty.server:7.5.4.v20111024]
	at
org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:110)[61:org.eclipse.jetty.server:7.5.4.v20111024]
	at
org.eclipse.jetty.server.Server.handle(Server.java:349)[61:org.eclipse.jetty.server:7.5.4.v20111024]
	at
org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:441)[61:org.eclipse.jetty.server:7.5.4.v20111024]
	at
org.eclipse.jetty.server.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:919)[61:org.eclipse.jetty.server:7.5.4.v20111024]
	at
org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:582)[57:org.eclipse.jetty.http:7.5.4.v20111024]
	at
org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:218)[57:org.eclipse.jetty.http:7.5.4.v20111024]
	at
org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:51)[61:org.eclipse.jetty.server:7.5.4.v20111024]
	at
org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:586)[56:org.eclipse.jetty.io:7.5.4.v20111024]
	at
org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:44)[56:org.eclipse.jetty.io:7.5.4.v20111024]
	at
org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:598)[55:org.eclipse.jetty.util:7.5.4.v20111024]
	at
org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:533)[55:org.eclipse.jetty.util:7.5.4.v20111024]
	at java.lang.Thread.run(Thread.java:662)[:1.6.0_41]
Caused by: java.lang.ClassNotFoundException:
org.osgi.service.deploymentadmin.DeploymentException not found by
org.apache.karaf.webconsole.console [76]
	at
org.apache.felix.framework.ModuleImpl.findClassOrResourceByDelegation(ModuleImpl.java:787)
	at org.apache.felix.framework.ModuleImpl.access$400(ModuleImpl.java:71)
	at
org.apache.felix.framework.ModuleImpl$ModuleClassLoader.loadClass(ModuleImpl.java:1768)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:247)[:1.6.0_41]
	... 40 more
2013-05-06 15:41:52,660 | INFO  | qtp7717566-76    | AdminPlugin                     
| 77 - org.apache.karaf.webconsole.admin - 2.2.8 | Admin plugin activated
2013-05-06 15:41:52,662 | WARN  | qtp7717566-76    | /                               
| 55 - org.eclipse.jetty.util - 7.5.4.v20111024 |
org.ops4j.pax.web.service.spi.model.ServletModel-5: Failed to instantiate
plugin org.apache.felix.webconsole.internal.compendium.ComponentsServlet
java.lang.NoClassDefFoundError: org.apache.felix.scr.ScrService not found by
org.apache.karaf.webconsole.console [76]
	at
org.apache.felix.webconsole.internal.compendium.ComponentsServlet.class$(ComponentsServlet.java:74)[76:org.apache.karaf.webconsole.console:2.2.8]
	at
org.apache.felix.webconsole.internal.compendium.ComponentsServlet.<clinit>(ComponentsServlet.java:74)[76:org.apache.karaf.webconsole.console:2.2.8]
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)[:1.6.0_41]
	at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)[:1.6.0_41]
	at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)[:1.6.0_41]
	at
java.lang.reflect.Constructor.newInstance(Constructor.java:513)[:1.6.0_41]
	at java.lang.Class.newInstance0(Class.java:357)[:1.6.0_41]
	at java.lang.Class.newInstance(Class.java:310)[:1.6.0_41]
	at
org.apache.felix.webconsole.internal.servlet.PluginHolder$InternalPlugin.doGetConsolePlugin(PluginHolder.java:761)[76:org.apache.karaf.webconsole.console:2.2.8]
	at
org.apache.felix.webconsole.internal.servlet.PluginHolder$Plugin.getConsolePlugin(PluginHolder.java:532)[76:org.apache.karaf.webconsole.console:2.2.8]
	at
org.apache.felix.webconsole.internal.servlet.PluginHolder.getLocalizedLabelMap(PluginHolder.java:242)[76:org.apache.karaf.webconsole.console:2.2.8]
	at
org.apache.felix.webconsole.internal.servlet.OsgiManager.service(OsgiManager.java:420)[76:org.apache.karaf.webconsole.console:2.2.8]
	at
org.apache.felix.webconsole.internal.servlet.OsgiManager.service(OsgiManager.java:384)[76:org.apache.karaf.webconsole.console:2.2.8]
	at
org.apache.felix.webconsole.internal.KarafOsgiManager.doService(KarafOsgiManager.java:67)[76:org.apache.karaf.webconsole.console:2.2.8]
	at
org.apache.felix.webconsole.internal.KarafOsgiManager$1.run(KarafOsgiManager.java:47)[76:org.apache.karaf.webconsole.console:2.2.8]
	at java.security.AccessController.doPrivileged(Native Method)[:1.6.0_41]
	at javax.security.auth.Subject.doAs(Subject.java:396)[:1.6.0_41]
	at
org.apache.felix.webconsole.internal.KarafOsgiManager.service(KarafOsgiManager.java:45)[76:org.apache.karaf.webconsole.console:2.2.8]
	at
org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:547)[63:org.eclipse.jetty.servlet:7.5.4.v20111024]
	at
org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:480)[63:org.eclipse.jetty.servlet:7.5.4.v20111024]
	at
org.ops4j.pax.web.service.jetty.internal.HttpServiceServletHandler.doHandle(HttpServiceServletHandler.java:70)[73:org.ops4j.pax.web.pax-web-jetty:1.0.11]
	at
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119)[61:org.eclipse.jetty.server:7.5.4.v20111024]
	at
org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:520)[62:org.eclipse.jetty.security:7.5.4.v20111024]
	at
org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:227)[61:org.eclipse.jetty.server:7.5.4.v20111024]
	at
org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:941)[61:org.eclipse.jetty.server:7.5.4.v20111024]
	at
org.ops4j.pax.web.service.jetty.internal.HttpServiceContext.doHandle(HttpServiceContext.java:117)[73:org.ops4j.pax.web.pax-web-jetty:1.0.11]
	at
org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:409)[63:org.eclipse.jetty.servlet:7.5.4.v20111024]
	at
org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:186)[61:org.eclipse.jetty.server:7.5.4.v20111024]
	at
org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:875)[61:org.eclipse.jetty.server:7.5.4.v20111024]
	at
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117)[61:org.eclipse.jetty.server:7.5.4.v20111024]
	at
org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:149)[61:org.eclipse.jetty.server:7.5.4.v20111024]
	at
org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:110)[61:org.eclipse.jetty.server:7.5.4.v20111024]
	at
org.eclipse.jetty.server.Server.handle(Server.java:349)[61:org.eclipse.jetty.server:7.5.4.v20111024]
	at
org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:441)[61:org.eclipse.jetty.server:7.5.4.v20111024]
	at
org.eclipse.jetty.server.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:919)[61:org.eclipse.jetty.server:7.5.4.v20111024]
	at
org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:582)[57:org.eclipse.jetty.http:7.5.4.v20111024]
	at
org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:218)[57:org.eclipse.jetty.http:7.5.4.v20111024]
	at
org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:51)[61:org.eclipse.jetty.server:7.5.4.v20111024]
	at
org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:586)[56:org.eclipse.jetty.io:7.5.4.v20111024]
	at
org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:44)[56:org.eclipse.jetty.io:7.5.4.v20111024]
	at
org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:598)[55:org.eclipse.jetty.util:7.5.4.v20111024]
	at
org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:533)[55:org.eclipse.jetty.util:7.5.4.v20111024]






--
View this message in context: http://cxf.547215.n5.nabble.com/Facing-issues-while-deploying-a-WAR-file-in-Karaf-2-3-1-tp5727134p5727264.html
Sent from the cxf-user mailing list archive at Nabble.com.

Mime
View raw message