Please help! Unable to deploy and run examples in Fuse 4.2.0
treyvusa Mar 30, 2010 10:55 AMI just started to use Servicemix.
I built all examples according to:
apache-servicemix-4.2.0-fuse-01-00/docs/getting_started/index.html
and now I'm totally stuck with these two issues:
When I do:
features:install examples-cxf-osgi
I get:
karaf@root> features:install examples-cxf-osgi
Refreshing bundles org.ops4j.pax.web.pax-web-runtime (37)
Could not start bundle mvn:org.apache.geronimo.specs/geronimo-j2ee-connector_1.5_spec/2.0.0 in
feature(s) cxf-2.2.6-fuse-01-00, service mix-jms-2010.01.0-fuse-01-00, connector-4.2.0-fuse-01-00:
The bundle could not be resolved. Reason: Missing Constraint: Import-Package: javax.transaction.xa; version="0.0.0"
I also tried to deploy any of examples.
For example, when I copy either quartz.xml or groovy.xml from:
apache-servicemix-4.2.0-fuse-01-00\examples\simple
into deploy folder and do log:display it shows exception:
10:27:48,140 | ERROR | qtp-2054794838-7 | webconsole | ? ? | Cannot start
org.osgi.framework.BundleException: The bundle could not be resolved.
Reason: Missing Constraint: Import-Package: org.apache.servicemix.common.osgi; version="0.0.0"
at org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolverError(AbstractBundle.java:1313)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolutionFailureException(AbstractBundle.java:1297)
at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:309)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:280)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:272)
at org.apache.felix.webconsole.internal.core.BundlesServlet.doPost(BundlesServlet.java:237)
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:371)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:390)
at org.ops4j.pax.web.service.jetty.internal.HttpServiceServletHandler.handle(HttpServiceServletHandler.java:64)
at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
at org.ops4j.pax.web.service.jetty.internal.HttpServiceContext.handle(HttpServiceContext.java:111)
at org.ops4j.pax.web.service.jetty.internal.JettyServerHandlerCollection.handle(JettyServerHandlerCollection.java:64)
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
at org.mortbay.jetty.Server.handle(Server.java:326)
at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:938)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:755)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:218)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)
at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)
Please tell me what I'm missing