How to debug indirect OSGi dependencies? (AS7.2.0.alpha)
by Jarkko Rantavuori
Hi,
Trying to deploy my app, I get
[standalone@localhost:9999 /] deploy my-app.war
{"JBAS014653: Composite operation failed and was rolled back. Steps that
failed:
" => {"Operation step-2" => {"JBAS014879: One or more services were unable
to st
art due to one or more indirect dependencies not being available." =>
{"Services
that were unable to start:" => ["jbosgi.bundle.my-app.\"1.0.0.SNAPSHO
T\".bid88.RESOLVED","jboss.deployment.unit.\"my-app.war\".FIRST_MODULE
_USE"],"Services that may be the cause:" =>
["jboss.module.service.\"deployment.
my-service-1.0-SNAPSHOT.jar\".main","jboss.module.spec.service.\"deplo
yment.my-service-1.0-SNAPSHOT.jar\".main"]}}}}
Now, my-service-1.0-SNAPSHOT is running just fine:
[standalone@localhost:9999 /]
/subsystem=osgi:read-children-resources(child-type
=bundle,include-runtime=true)
...
"78" => {
"id" => 78L,
"location" => "my-service-1.0-SNAPSHOT.jar",
"startlevel" => 1,
"state" => "ACTIVE",
"symbolic-name" => "my-service",
"type" => "bundle",
"version" => "1.0.0.SNAPSHOT"
},
so do you have any hints as to how can I debug what's wrong? There is the
same info in the log also, nothing more. I've also checked that manifests
should match:
Import-Package:
my.service.service.v1;version="[0.0,1.0)",my.service.ws.client;version="[0.0,1.0)"
Export-Package:
my.service.service.v1;version="0.1",my.service.ws.client;version="0.1"
Br,
-Jarkko
10 years, 10 months
Fwd: [Karaf] Obtain a JBoss AS instance with Apache Karaf
by Julio Carlos Barrera Juez
I resend my mail to this list, it seems better here.
---------- Forwarded message ----------
From: Julio Carlos Barrera Juez <juliocarlos.barrera(a)i2cat.net>
Date: 11 March 2013 16:42
Subject: [Karaf] Obtain a JBoss AS instance with Apache Karaf
To: jboss-user(a)lists.jboss.org
How can I add Apache Karaf inside JBoss AS 7? I have written a forum thread
about my tries https://community.jboss.org/message/801941. I tried
configuring JBoss subsystem adding Apache Karaf capabilities and
depenendencies and it did not work. Moreover I tried to build JBoss AS7
using modular options with Karaf, and it did not work.
11 years, 1 month