Ok, will try that.

Another question, any idea why a resource (a Java interface .class file) would not be found? I get the exception:

Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.501 sec <<< FA
ILURE!
test(innercomposite.InnerCompositeTestCase) Time elapsed: 0.471 sec <<< ERROR!

org.apache.tuscany.spi.loader.MissingResourceException: innercomposite.Source
Context stack trace: [application][SourceComponent]
at org.apache.tuscany.spi.loader.LoaderUtil.loadClass(LoaderUtil.java:73
)
at org.apache.tuscany.core.idl.java.InterfaceJavaLoader.load(InterfaceJa
vaLoader.java:76)
at org.apache.tuscany.core.idl.java.InterfaceJavaLoader.load(InterfaceJa
vaLoader.java:45)
at org.apache.tuscany.core.loader.LoaderRegistryImpl.load(LoaderRegistry
Impl.java:92)
at org.apache.tuscany.core.loader.ServiceLoader.load(ServiceLoader.java:
84)
at org.apache.tuscany.core.loader.ServiceLoader.load(ServiceLoader.java:
51)
at org.apache.tuscany.core.loader.LoaderRegistryImpl.load(LoaderRegistry
Impl.java:92)
at org.apache.tuscany.core.implementation.composite.CompositeLoader.load
(CompositeLoader.java:77)
at org.apache.tuscany.core.implementation.composite.CompositeLoader.load
(CompositeLoader.java:52)
at org.apache.tuscany.core.loader.LoaderRegistryImpl.load(LoaderRegistry
Impl.java:92)
at org.apache.tuscany.core.loader.LoaderRegistryImpl.load(LoaderRegistry
Impl.java:109)
at org.apache.tuscany.core.implementation.composite.CompositeComponentTy
peLoader.loadFromSidefile(CompositeComponentTypeLoader.java:65)

And I do have a Source.class file in package innercomposite, as far as I can tell. One guess I was trying to pursue was that the class loader may be wrong for some reason. Does that ring any bells?


----- Original Message ----- From: "Raymond Feng" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Wednesday, August 23, 2006 4:56 PM
Subject: Re: Can't load implementation.composite


Hi,

The attr is not in the spec. There are some discussions on this list on how to locate/resolve SCDL. For now, it's probably the simplest way to get your case working as I suggested.

Raymond



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to