You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by "suresh.polagani" <su...@gmail.com> on 2013/06/20 07:54:39 UTC

Servicemix bundle problem

Hai.. When i am installing / updating jar file in Apache Karaf it shows an
error like the following

HTTP ERROR 500

Problem accessing /system/console/bundles. Reason:

    Bundle-SymbolicName header missing, cannot install bundle

Caused by:

java.io.IOException: Bundle-SymbolicName header missing, cannot install
bundle
	at
org.apache.felix.webconsole.internal.core.BundlesServlet.installBundle(BundlesServlet.java:1536)
	at
org.apache.felix.webconsole.internal.core.BundlesServlet.installBundles(BundlesServlet.java:1481)
	at
org.apache.felix.webconsole.internal.core.BundlesServlet.doPost(BundlesServlet.java:264)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:713)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
	at
org.apache.felix.webconsole.internal.servlet.OsgiManager.service(OsgiManager.java:437)
	at
org.apache.felix.webconsole.internal.servlet.OsgiManager.service(OsgiManager.java:384)
	at
org.apache.felix.webconsole.internal.KarafOsgiManager.doService(KarafOsgiManager.java:67)
	at
org.apache.felix.webconsole.internal.KarafOsgiManager$1.run(KarafOsgiManager.java:47)
	at java.security.AccessController.doPrivileged(Native Method)
	at javax.security.auth.Subject.doAs(Subject.java:396)
	at
org.apache.felix.webconsole.internal.KarafOsgiManager.service(KarafOsgiManager.java:45)
	at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:538)
	at
org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:478)
	at
org.ops4j.pax.web.service.jetty.internal.HttpServiceServletHandler.doHandle(HttpServiceServletHandler.java:70)
	at
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119)
	at
org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:480)
	at
org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:225)
	at
org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:937)
	at
org.ops4j.pax.web.service.jetty.internal.HttpServiceContext.doHandle(HttpServiceContext.java:116)
	at
org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:406)
	at
org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:183)
	at
org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:871)
	at
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117)
	at
org.ops4j.pax.web.service.jetty.internal.JettyServerHandlerCollection.handle(JettyServerHandlerCollection.java:72)
	at
org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:110)
	at org.eclipse.jetty.server.Server.handle(Server.java:346)
	at
org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:589)
	at
org.eclipse.jetty.server.HttpConnection$RequestHandler.content(HttpConnection.java:1065)
	at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:823)
	at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:220)
	at org.eclipse.jetty.server.HttpConnection.handle(HttpConnection.java:411)
	at
org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:535)
	at
org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:40)
	at
org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:529)
	at java.lang.Thread.run(Thread.java:619)

how can i rectify this error any one can give me solution plzzz.

Thank you



--
View this message in context: http://servicemix.396122.n5.nabble.com/Servicemix-bundle-problem-tp5717037.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Re: Servicemix bundle problem

Posted by "suresh.polagani" <su...@gmail.com>.
Hi.. Thanks for ur response. I am new to this activiti. Can u give me an
sample activiti workfolw.



--
View this message in context: http://servicemix.396122.n5.nabble.com/Servicemix-bundle-problem-tp5717037p5717039.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Re: Servicemix bundle problem

Posted by Freeman Fang <fr...@gmail.com>.
Hi,

Please elaborate how you install this bundle, and also ensure the jar is already a valid OSGi bundle, that said, should have expected OSGi metadata headers in MANIFEST.MF
-------------
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-6-20, at 下午1:54, suresh.polagani wrote:

> Hai.. When i am installing / updating jar file in Apache Karaf it shows an
> error like the following
> 
> HTTP ERROR 500
> 
> Problem accessing /system/console/bundles. Reason:
> 
>    Bundle-SymbolicName header missing, cannot install bundle
> 
> Caused by:
> 
> java.io.IOException: Bundle-SymbolicName header missing, cannot install
> bundle
> 	at
> org.apache.felix.webconsole.internal.core.BundlesServlet.installBundle(BundlesServlet.java:1536)
> 	at
> org.apache.felix.webconsole.internal.core.BundlesServlet.installBundles(BundlesServlet.java:1481)
> 	at
> org.apache.felix.webconsole.internal.core.BundlesServlet.doPost(BundlesServlet.java:264)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:713)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
> 	at
> org.apache.felix.webconsole.internal.servlet.OsgiManager.service(OsgiManager.java:437)
> 	at
> org.apache.felix.webconsole.internal.servlet.OsgiManager.service(OsgiManager.java:384)
> 	at
> org.apache.felix.webconsole.internal.KarafOsgiManager.doService(KarafOsgiManager.java:67)
> 	at
> org.apache.felix.webconsole.internal.KarafOsgiManager$1.run(KarafOsgiManager.java:47)
> 	at java.security.AccessController.doPrivileged(Native Method)
> 	at javax.security.auth.Subject.doAs(Subject.java:396)
> 	at
> org.apache.felix.webconsole.internal.KarafOsgiManager.service(KarafOsgiManager.java:45)
> 	at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:538)
> 	at
> org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:478)
> 	at
> org.ops4j.pax.web.service.jetty.internal.HttpServiceServletHandler.doHandle(HttpServiceServletHandler.java:70)
> 	at
> org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119)
> 	at
> org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:480)
> 	at
> org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:225)
> 	at
> org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:937)
> 	at
> org.ops4j.pax.web.service.jetty.internal.HttpServiceContext.doHandle(HttpServiceContext.java:116)
> 	at
> org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:406)
> 	at
> org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:183)
> 	at
> org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:871)
> 	at
> org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117)
> 	at
> org.ops4j.pax.web.service.jetty.internal.JettyServerHandlerCollection.handle(JettyServerHandlerCollection.java:72)
> 	at
> org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:110)
> 	at org.eclipse.jetty.server.Server.handle(Server.java:346)
> 	at
> org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:589)
> 	at
> org.eclipse.jetty.server.HttpConnection$RequestHandler.content(HttpConnection.java:1065)
> 	at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:823)
> 	at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:220)
> 	at org.eclipse.jetty.server.HttpConnection.handle(HttpConnection.java:411)
> 	at
> org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:535)
> 	at
> org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:40)
> 	at
> org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:529)
> 	at java.lang.Thread.run(Thread.java:619)
> 
> how can i rectify this error any one can give me solution plzzz.
> 
> Thank you
> 
> 
> 
> --
> View this message in context: http://servicemix.396122.n5.nabble.com/Servicemix-bundle-problem-tp5717037.html
> Sent from the ServiceMix - User mailing list archive at Nabble.com.