Uploaded image for project: 'Tuscany'
  1. Tuscany
  2. TUSCANY-4081

distributed-osgi-dynamic running problem

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Blocker
    • Resolution: Unresolved
    • Java-SCA-2.0
    • None
    • Java SCA Demos
    • 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)
    • Patch Available

    Description

      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!

      Attachments

        1. tuscany.path.tgz
          1.67 MB
          Roman Davydov

        Activity

          People

            Unassigned Unassigned
            openvoipco Roman Davydov
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: