Hmmm, this is interesting. I get a very similar exception trying to run the
helloworlswsclient sample (after renaming the test case so that it can be
run):
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running helloworld.HelloWorldWSClientTestCase
log4j:WARN No appenders could be found for logger
(org.apache.axiom.om.util.StAX
Utils).
log4j:WARN Please initialize the log4j system properly.
org.apache.tuscany.spi.component.TargetNotFoundException: Autowire target
not fo
und [org.apache.tuscany.spi.databinding.TransformerRegistry]
at
org.apache.tuscany.core.implementation.system.wire.SystemOutboundAuto
wire.getTargetService(SystemOutboundAutowire.java:86)
at
org.apache.tuscany.core.implementation.system.component.SystemWireObj
ectFactory.getInstance(SystemWireObjectFactory.java:40)
at
org.apache.tuscany.core.injection.MethodInjector.inject(MethodInjecto
r.java:46)
at
org.apache.tuscany.core.implementation.PojoAtomicComponent.createInst
ance(PojoAtomicComponent.java:123)
at
org.apache.tuscany.core.component.scope.ModuleScopeContainer.eagerIni
tComponents(ModuleScopeContainer.java:144)
at
org.apache.tuscany.core.component.scope.ModuleScopeContainer.onEvent(
ModuleScopeContainer.java:72)
at
org.apache.tuscany.spi.component.AbstractSCAObject.publish(AbstractSC
AObject.java:94)
at
org.apache.tuscany.core.implementation.composite.AbstractCompositeCom
ponent.publish(AbstractCompositeComponent.java:178)
at
org.apache.tuscany.core.implementation.composite.AbstractCompositeCom
ponent.start(AbstractCompositeComponent.java:117)
at org.apache.tuscany.test.SCATestCase.setUp(SCATestCase.java:66)
at
helloworld.HelloWorldWSClientTestCase.setUp(HelloWorldWSClientTestCas
e.java:27)
At first I thought it had to do with the databinding in particular. Now I'm
not so sure. Any ideas?
----- Original Message -----
From: "Venkata Krishnan" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Wednesday, September 27, 2006 7:38 AM
Subject: Samples on Tuscany Standalone
Hi Jeremy and others working on samples ... could you please help with
this
:)
I am trying to bring up the RMI samples and am trying to deploy a RMI
Service in one standalone tuscany runtime. Then I start another
standalone
that uses a RMI Reference to this RMI Service.
In this regard, could you please help me understand the following: -
- As first step I tried starting tuscany using the SCATestCase. I wrote a
test in the samples project, inheriting from SCATestCase (the usual stuff
that we do for unit testing). But then this fails during the maven build
with the following exception. I tried the Calculator sample and it works
fine. But then when I try including the rmi binding extension into this
sample's POM I end up with this exception. There is no other modification
I
am doing other than this change to the pom.
Here is what I added to the pom
<dependency>
<groupId>org.apache.tuscany.sca.services.bindings</groupId>
<artifactId>rmi</artifactId>
<version>1.0-incubator-M2-SNAPSHOT</version>
</dependency>
and here is what I got out a maven build of this..
org.apache.tuscany.spi.component.TargetNotFoundException: Autowire target
not fo
und [org.apache.tuscany.spi.loader.LoaderRegistry]
at
org.apache.tuscany.core.implementation.system.wire.SystemOutboundAuto
wire.getTargetService(SystemOutboundAutowire.java:86)
at
org.apache.tuscany.core.implementation.system.component.SystemWireObj
ectFactory.getInstance(SystemWireObjectFactory.java:40)
at org.apache.tuscany.core.injection.PojoObjectFactory.getInstance
(PojoO
bjectFactory.java:96)
at
org.apache.tuscany.core.implementation.PojoAtomicComponent.createInst
ance(PojoAtomicComponent.java:120)
at
org.apache.tuscany.core.component.scope.ModuleScopeContainer.eagerIni
tComponents(ModuleScopeContainer.java:144)
at
org.apache.tuscany.core.component.scope.ModuleScopeContainer.onEvent(
ModuleScopeContainer.java:72)
at org.apache.tuscany.spi.component.AbstractSCAObject.publish
(AbstractSC
AObject.java:94)
at
org.apache.tuscany.core.implementation.composite.AbstractCompositeCom
ponent.publish(AbstractCompositeComponent.java:178)
at
org.apache.tuscany.core.implementation.composite.AbstractCompositeCom
ponent.start(AbstractCompositeComponent.java:117)
at org.apache.tuscany.test.SCATestCase.setUp(SCATestCase.java:66)
Thanks
- Venkat
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]