You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "dust lee (JIRA)" <ji...@apache.org> on 2013/05/22 03:38:20 UTC

[jira] [Created] (SM-2201) drool install error

dust lee created SM-2201:
----------------------------

             Summary: drool install error
                 Key: SM-2201
                 URL: https://issues.apache.org/jira/browse/SM-2201
             Project: ServiceMix
          Issue Type: Bug
          Components: servicemix-drools
         Environment: windows
            Reporter: dust lee
             Fix For: archetypes-2013.01


when install have some errors:

karaf@root> features:install servicemix-drools
Refreshing bundles org.springframework.core (75), org.apache.xbean.spring (82), org.springframework.context.support (70)
*ERROR* Configuration for org.ops4j.pax.web has already been used for service [org.osgi.service.cm.ManagedService, id=253, bundle=119] and will now also be give
n to [org.osgi.service.cm.ManagedService, id=320, bundle=119]
ERROR: Bundle org.drools.api [204] Error stopping bundle. (java.lang.IllegalStateException: The service registration is no longer valid.)
java.lang.IllegalStateException: The service registration is no longer valid.
        at org.apache.felix.framework.ServiceRegistrationImpl.getReference(ServiceRegistrationImpl.java:93)
        at org.drools.osgi.api.Activator$DroolsServiceTracker.removedService(Activator.java:123)
        at org.osgi.util.tracker.ServiceTracker$Tracked.customizerRemoved(ServiceTracker.java:922)
        at org.osgi.util.tracker.AbstractTracked.untrack(AbstractTracked.java:351)
        at org.osgi.util.tracker.ServiceTracker.close(ServiceTracker.java:403)
        at org.drools.osgi.api.Activator.stop(Activator.java:72)
        at org.apache.felix.framework.util.SecureAction.stopActivator(SecureAction.java:651)
        at org.apache.felix.framework.Felix.stopBundle(Felix.java:2278)
        at org.apache.felix.framework.Felix.uninstallBundle(Felix.java:2377)
        at org.apache.felix.framework.BundleImpl.uninstall(BundleImpl.java:995)
        at org.apache.karaf.features.internal.FeaturesServiceImpl.installFeatures(FeaturesServiceImpl.java:379)
        at org.apache.karaf.features.internal.FeaturesServiceImpl.installFeature(FeaturesServiceImpl.java:283)
        at org.apache.karaf.features.internal.FeaturesServiceImpl.installFeature(FeaturesServiceImpl.java:279)
        at org.apache.karaf.features.command.InstallFeatureCommand.doExecute(InstallFeatureCommand.java:62)
        at org.apache.karaf.features.command.FeaturesCommandSupport.doExecute(FeaturesCommandSupport.java:39)
        at org.apache.karaf.shell.console.OsgiCommandSupport.execute(OsgiCommandSupport.java:38)
        at org.apache.felix.gogo.commands.basic.AbstractCommand.execute(AbstractCommand.java:35)
        at org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:78)
        at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:474)
        at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:400)
        at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)
        at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183)
        at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120)
        at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:89)
        at org.apache.karaf.shell.console.jline.Console.run(Console.java:173)
        at java.lang.Thread.run(Thread.java:619)
Error executing command: Could not start bundle mvn:org.apache.servicemix/servicemix-drools/2013.01 in feature(s) servicemix-drools-2013.01: Uses constraint vio
lation. Unable to resolve module servicemix-drools [213.0] because it is exposed to package 'org.drools.event' from modules org.drools.core [206.0] and org.droo
ls.api [204.0] via two dependency chains.

Chain 1:
  servicemix-drools [213.0]
    import: (&(package=org.drools.event)(version>=5.5.0))
     |
    export: package=org.drools.event
  org.drools.core [206.0]

Chain 2:
  servicemix-drools [213.0]
    import: (&(package=org.drools.event)(version>=5.5.0))
     |
    export: package=org.drools.event
  org.drools.api [204.0]
karaf@root>

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira