OSGi bundle status doesn't match with the real state
----------------------------------------------------

                 Key: SMX4KNL-132
                 URL: https://issues.apache.org/activemq/browse/SMX4KNL-132
             Project: ServiceMix Kernel
          Issue Type: Bug
    Affects Versions: 1.0.0
         Environment: OS : Linux Debian
Kernel : 2.6.26
JDK : 1.6.0_01 (Sun)
ServiceMix : 4.0-m1
            Reporter: Jean-Baptiste Onofré
            Priority: Minor


When I deploy a bundle (using osgi install in the shell or putting in the 
deploy directory), if I go to the SMX shell, I can see :
[EMAIL PROTECTED]:/> osgi list
[...]
[  82] [Active     ] [   50] FSB :: Services :: OSGi :: Automatic Simulation 
(4.0)

So it seems that my bundle is correctly deployed.

But if I go to the log file (data/logs/servicemix.log), I can see an error in 
my bundle :
Caused by: java.io.FileNotFoundException: OSGi 
resource[classpath:META-INF/cxf/transport/nmr/cxf-transport-nmr.xml|bnd.id=82|bnd.sym=automatic-simulation-osgi-service]
 cannot be resolved to URL because it does not exist

To avoid to confuse people, it will be great that the osgi list in the SMX 
shell display error or inactive in place of active status.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to