Resolver issues are reported in the log file. Have a look at the server.log with DEBUG
level.
--thomas
On Feb 26, 2013, at 10:51 AM, Jarkko Rantavuori <jarkko.rantavuori(a)iki.fi> wrote:
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
_______________________________________________
jboss-osgi-users mailing list
jboss-osgi-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-osgi-users
xxxxxxxxxxxxxxxxxxxxxxxxxxxx
Thomas Diesler
JBoss OSGi Lead
JBoss, a division of Red Hat
xxxxxxxxxxxxxxxxxxxxxxxxxxxx