Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cosmos-dev] Starting DC outside eclipse

I’m trying to start the Data Collector using OSGi outside eclipse.  I’m having some trouble and looking for some help.

First of all, in order to get all the bundles to become ‘ACTIVE’ in OSGi I had to add some things to some of the bundles

Specifically, for org.eclipse.cosmos.dc.spec, I was getting an unresolved symbol for org.w3c.dom.Node

I added the org.w3c.dom package directly to the bundle and then it found it.

Similar situation for sample.components.

 

Stranger situation for org.eclipse.cosmos.dc.mgmt.wsdm, I got an unresolved symbol javax.management.IntrospectionException, which comes from the java sdk rt.jar

I added the rt.jar from my JAVA_HOME directly to the bundle and it found it.

 

I don’t think I should have to do this, I’m wondering what the magic is that eclipse does to not have this problem.

 

With all the unresolved symbol references taken care of, now during initialization I get this

 

Entry bundleentry://62/OSGI-INF/Advertisement/advertisement-consumer.xml

java.lang.LinkageError: Class org/w3c/dom/Document violates loader constraints

 

Anybody seen anything like this before?

 


Back to the top