"Luciano Resende" <[EMAIL PROTECTED]> wrote on 08/22/2007 01:14:45 PM:
> This seems like a bug on latest SVN code, and I'm also seeing this for
> other modules. Let me see if I can figure out what is causing this, as
> it's affecting me as well.
shall i open a jira issue for that?.
-Florian
> On 8/22/07, Florian Rosenberg <[EMAIL PROTECTED]> wrote:
> >
> > hi,
> >
> > I'm implementing a component type for running RESTful workflows (or
> > compositions - whatever you wanna call it) within SCA. The
implementation
> > worked fine but since I updated to the latest SVN head today it get the
> > following error message when running it. After some time of debugging I
> > couldn't really figure out what the problem is.
> >
> > This is the composite file is like this (the location indicates the
> > directory where to workflows are stored):)
> >
> > <component name="FeedAggregatorComponent">
> > <implementation.splice location="c:/somelocation/" ... " />
> > </component>
> >
> > Internally in the implementation calls, I register a service called
> > SpliceService as JavaInterfaceContract which is the business interface
for
> > talking to my engine. In my test program I have to following:
> >
> > public static void main(String[] args) throws IOException {
> > SCADomain scaDomain = SCADomain.newInstance
("FeedAggregator.composite"
> > );
> > SpliceService spliceService = scaDomain.getService
(SpliceService.class,
> > "FeedAggregatorComponent");
> >
> > spliceService.performReceive("samples/feeds3/"., "getFeeds",
> > "sortSample3", "text/plain");
> >
> > System.in.read();
> > scaDomain.close();
> > }
> >
> > The exception I receive is the following:
> > -----------------------------------------
> > Aug 22, 2007 12:17:38 PM
> > org.apache.tuscany.sca.assembly.builder.impl.CompositeBuilderImpl$1
problem
> > WARNING: [WARNING] No implementation for component:
FeedAggregatorComponent
> > null
> >
> > Exception in thread "main" org.osoa.sca.ServiceRuntimeException: The
> > component doesn't have exactly one service
> > at
> > org.apache.tuscany.sca.core.component.ComponentContextImpl.
> createSelfReference
> > (
> > ComponentContextImpl.java:135)
> > at
> > org.apache.tuscany.sca.host.embedded.impl.DefaultSCADomain.
> getServiceReference
> > (
> > DefaultSCADomain.java:377)
> > at
> > org.apache.tuscany.sca.host.embedded.impl.DefaultSCADomain.getService(
> > DefaultSCADomain.java:321)
> > at com.ibm.sca.implementation.splice.SpliceScaTester.main(
> > SpliceScaTester.java:17)
> >
> >
> > Any pointer are appreciated.
> >
> > Thanks,
> > -Florian
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
>
> --
> Luciano Resende
> Apache Tuscany Committer
> http://people.apache.org/~lresende
> http://lresende.blogspot.com/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]