I am getting the following ComponentNotFoundException from the
Connector:

C:\Devt\tuscany-sbox\sandbox\isilval\notification\samples\remote-consumer>java
-
jar \Devt\tuscany-distr\bin\launcher.jar
target\tuscany-notification-remote-cons
umer-sample-2.0-alpha-incubating-SNAPSHOT.jar
*** sourceURI: [/test/composite/], targetURI:
[/test/composite/TrafficAdvisoryNo
tificationComponent#TrafficAdvisoryNotificationService]
Mar 15, 2007 1:09:30 PM
org.apache.tuscany.runtime.standalone.host.StandaloneRun
timeImpl$StandaloneMonitor runError
SEVERE: Source not found
Source : /test/composite/
Target :
/test/composite/org.apache.tuscany.core.builder.ComponentNotFoundExcept
ion
       at org.apache.tuscany.core.builder.ConnectorImpl.connect(
ConnectorImpl.j
ava:206)
       at org.apache.tuscany.core.builder.ConnectorImpl.connect(
ConnectorImpl.j
ava:144)
       at org.apache.tuscany.core.deployer.DeployerImpl.deploy(
DeployerImpl.jav
a:147)
       at
org.apache.tuscany.runtime.standalone.host.StandaloneRuntimeImpl.depl
oyAndRun(StandaloneRuntimeImpl.java:79)
       at org.apache.tuscany.launcher.Main.main(Main.java:84)

From the trace, the connector is looking for "/test/composite" as the source
component in which to look for TrafficAdvisoryNotificationCompositeService
(the
composite service to wire). But it's not clear to me why the connector does
not
look for TrafficAdvisoryNotificationRemoteConsumerComposite instead or in
addition.

Here's the scdl for TrafficAdvisoryNotificationRemoteConsumerComposite:

http://rafb.net/p/HX3UD077.html

which also includes the componentType being used.

Notice that the line starting with "***" is the output of a print in the
connector at
line 205, right before the exception is thrown.

Any ideas?

Reply via email to