[
https://issues.apache.org/jira/browse/TUSCANY-4081?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Roman Davydov updated TUSCANY-4081:
-----------------------------------
Attachment: tuscany.path.tgz
This is diff archive, that contains all changed files by me in the original
tuscany-distribution-all-2.0.zip to get it working under java 1.7. I am not
sure that tuscany is working 100% correctly - I didn't test all aspects of it.
But I see that all bundles are started/activated...
To apply it - just get the original ZIP file
"tuscany-distribution-all-2.0.zip", unpack it, then replace appropriate files
from my archive "tuscany.path.tgz"...
> 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)