Please check the bug's comments: https://issues.apache.org/jira/browse/TUSCANY-4081
I've added information/"patches" Thanks 2013/10/30 Luciano Resende (JIRA) <dev@tuscany.apache.org> > > [ > https://issues.apache.org/jira/browse/TUSCANY-4081?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13809172#comment-13809172] > > Luciano Resende commented on TUSCANY-4081: > ------------------------------------------ > > If you have some changes to fix/enhance the OSGi bundles, it would be > great if you could provide them as patches. > > > distributed-osgi-dynamic running problem > > ---------------------------------------- > > > > Key: TUSCANY-4081 > > URL: https://issues.apache.org/jira/browse/TUSCANY-4081 > > Project: Tuscany > > Issue Type: Bug > > Components: Java SCA Demos > > Affects Versions: Java-SCA-2.0 > > Environment: Centos 2.6.32-279.5.2.el6.x86_64 > > java version "1.7.0_45" > > OpenJDK Runtime Environment (rhel-2.4.3.2.el6_4-x86_64 u45-b15) > > OpenJDK 64-Bit Server VM (build 24.45-b08, mixed mode) > > Reporter: Roman Davydov > > Priority: Blocker > > Labels: calculator, dynamic, osgi, sample, sca, tuscany > > > > Hello, please help somehow if you can. > > Problem is that I am not able to run distributed-osgi-dynamic sample to > test OSGI+SCA. I found this combination is very useful for the new big > project. But it is real blocker for me. I tried tuscany in old JDKs like > 1.5, 1.6. But I was not able to even start tuscany OSGI itself - not all > bundles were active.Finally, I've decided to try latest JDK, I fixed some > MANIFESTs and now all bundles are ACTIVE. Some of them are using > system.bundle for javax.xml.* and javax.activation. > > I have a problem but it appears in different variants for me. > > >>> Variant 1 (when I start "operations" bundle first and then > "calculator" - I suppose it is correct sequence): > > "operations" bundle starts smooth, but after starting "calculator" - the > following appears: > > SEVERE: Binding cannot be resolved: {http://sample}Calculator > > org.oasisopen.sca.ServiceRuntimeException: Binding cannot be resolved: { > http://sample}Calculator > > at > org.apache.tuscany.sca.osgi.remoteserviceadmin.impl.EndpointIntrospector.loadBindings(EndpointIntrospector.java:544) > > >>> Variant 2 (when I start "calculator" bundle first and then > "operations"): > > I am getting the following right after starting "calculator" bundle: > > SEVERE: > org.apache.tuscany.sca.assembly.builder.CompositeBuilderException: > Exception while building model { > http://docs.oasis-open.org/ns/opencsa/sca/200912} > > java.lang.IllegalStateException: > org.apache.tuscany.sca.assembly.builder.CompositeBuilderException: > Exception while building model { > http://docs.oasis-open.org/ns/opencsa/sca/200912} > > at > org.apache.tuscany.sca.node.impl.NodeImpl.start(NodeImpl.java:178) > > So, as I understand the xml schema is not located there anymore, just > point where to get correct schemas (url/file) ... > > --------------------------------------- > > Could you please help to figure out with it OR probably you have a fixed > and working sample... > > Thank you! > > > > -- > This message was sent by Atlassian JIRA > (v6.1#6144) > -- Best Regards, Roman Davydov, site: www.openvoip.co email: openvoip...@gmail.com cell: +1 (347) 637-8703 skype: openvoip.co