Hi all,

I'm looking at the possibility of enhancing the Apache Aries
implementation so that it could become an implementation of the
updated OSGi-JMX spec (RFC 169 in [1]).

As a starting point I was running the unmodified implementation
against the OSGi JMX TCK to see where we stand :)
With that I'm currently getting 14 errors (and 94 passes), where the
problems are either 'Invalid CompositeType' or 'Invalid TabularType'
ones (see below for two examples).

  <test name='testAddInformation'
class='org.osgi.test.cases.jmx.junit.ProvisioningServiceMBeanTestCase'>
<error 
name='testAddInformation(org.osgi.test.cases.jmx.junit.ProvisioningServiceMBeanTestCase)'
type='java.lang.IllegalArgumentException: Invalid CompositeType
[javax.management.openmbean.CompositeType(name=Property,items=((itemName=Key,itemType=javax.management.openmbean.SimpleType(name=java.lang.String)),(itemName=Type,itemType=javax.management.openmbean.SimpleType(name=java.lang.String)),(itemName=Value,itemType=javax.management.openmbean.SimpleType(name=java.lang.String))))]'>
  <test name='testConfigurationGetBundleLocation'
class='org.osgi.test.cases.jmx.junit.ConfigurationAdminMBeanTestCase'>
<error 
name='testConfigurationGetBundleLocation(org.osgi.test.cases.jmx.junit.ConfigurationAdminMBeanTestCase)'
type='java.io.IOException: Invalid TabularType
[javax.management.openmbean.TabularType(name=Properties,rowType=javax.management.openmbean.CompositeType(name=Property,items=((itemName=Key,itemType=javax.management.openmbean.SimpleType(name=java.lang.String)),(itemName=Type,itemType=javax.management.openmbean.SimpleType(name=java.lang.String)),(itemName=Value,itemType=javax.management.openmbean.SimpleType(name=java.lang.String)))),indexNames=(Key))]'>

Are these errors known/expected or has anyone been able to run Aries
JMX successfully against the OSGi TCK?

Thanks,

David

[1] http://www.osgi.org/download/osgi-early-draft-2011-05.pdf

Reply via email to