You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Roman Davydov (JIRA)" <de...@tuscany.apache.org> on 2013/11/15 22:55:20 UTC
[jira] [Commented] (TUSCANY-4081) distributed-osgi-dynamic running
problem
[ https://issues.apache.org/jira/browse/TUSCANY-4081?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13824143#comment-13824143 ]
Roman Davydov commented on TUSCANY-4081:
----------------------------------------
Anybody?! please...
> 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
> Attachments: tuscany.path.tgz
>
>
> 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)