[
https://issues.apache.org/jira/browse/TUSCANY-4039?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13478452#comment-13478452
]
Tom Desair commented on TUSCANY-4039:
-------------------------------------
I was able to solve this by adding the file
tuscany-sca-2.0-Beta3/featur/tuscany-sca-manifest.jar to the classpath when
executing.
You can also add it to the user library 'TUSCANY' you created in Eclipse during
the tutorial.
> Store Demo Example: No provider factory is registered for binding
> {http://tuscany.apache.org/xmlns/sca/1.1}binding.jsonrpc
> --------------------------------------------------------------------------------------------------------------------------
>
> Key: TUSCANY-4039
> URL: https://issues.apache.org/jira/browse/TUSCANY-4039
> Project: Tuscany
> Issue Type: Bug
> Components: Java SCA Demos
> Environment: Windows Vista (6.0, Build 6002, SP2), Eclipse Indigo
> (3.7.2), JRE 1.7.0_03-b05, Tuscany SCA 2.0 beta3
> Reporter: Bernhard Steppan
> Priority: Minor
>
> After starting the store demo example application (Launch.java) with Eclipse
> Indigo (3.7.2), Java 1.7 and Tuscany SCA 2.0 beta3 libs the following
> exception occurs:
> Starting ...
> Apr 12, 2012 11:43:22 AM org.apache.tuscany.sca.node.impl.NodeImpl start
> Information: Starting node: http://tuscany.apache.org/sca/1.1/nodes/default0
> domain: default
> Apr 12, 2012 11:43:22 AM org.apache.tuscany.sca.node.impl.NodeFactoryImpl
> loadContributions
> Information: Loading contribution:
> file:/C:/Users/bsteppan/WS/tuscany.examples.store/bin/
> Apr 12, 2012 11:43:24 AM
> org.apache.tuscany.sca.core.runtime.impl.EndpointReferenceBinderImpl []
> (EndpointReferenceCantBeMatched)
> Schwerwiegend: = Unable to match the endpoint reference
> (@31935086)EndpointReference: URI = Store#reference-binding(catalog/Catalog)
> WIRED_TARGET_FOUND_AND_MATCHED Target = (@6510814)Endpoint: URI =
> Catalog#service-binding(Catalog/Catalog) with the policy of the service to
> which it refers, matching process was No provider factory is registered for
> binding {http://tuscany.apache.org/xmlns/sca/1.1}binding.jsonrpc
> Exception in thread "main" java.lang.IllegalStateException:
> org.oasisopen.sca.ServiceRuntimeException: No provider factory is registered
> for binding {http://tuscany.apache.org/xmlns/sca/1.1}binding.jsonrpc
> at org.apache.tuscany.sca.node.impl.NodeImpl.start(NodeImpl.java:195)
> at launch.Launch.main(Launch.java:32)
> Caused by: org.oasisopen.sca.ServiceRuntimeException: No provider factory is
> registered for binding
> {http://tuscany.apache.org/xmlns/sca/1.1}binding.jsonrpc
> at
> org.apache.tuscany.sca.core.assembly.impl.RuntimeEndpointReferenceImpl.getBindingProvider(RuntimeEndpointReferenceImpl.java:557)
> at
> org.apache.tuscany.sca.core.runtime.impl.EndpointReferenceBinderImpl.bind(EndpointReferenceBinderImpl.java:354)
> at
> org.apache.tuscany.sca.core.runtime.impl.EndpointReferenceBinderImpl.bindBuildTime(EndpointReferenceBinderImpl.java:122)
> at
> org.apache.tuscany.sca.deployment.impl.DeployerImpl.matchEndpointReferences(DeployerImpl.java:824)
> at
> org.apache.tuscany.sca.deployment.impl.DeployerImpl.buildTimeReferenceBind(DeployerImpl.java:789)
> at
> org.apache.tuscany.sca.deployment.impl.DeployerImpl.build(DeployerImpl.java:597)
> at
> org.apache.tuscany.sca.deployment.impl.DeployerImpl.build(DeployerImpl.java:500)
> at
> org.apache.tuscany.sca.node.impl.NodeFactoryImpl.configureNode(NodeFactoryImpl.java:313)
> at org.apache.tuscany.sca.node.impl.NodeImpl.start(NodeImpl.java:140)
> ... 1 more
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira