Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Service Component Architecture (SCA) Tools » Tutorial has to be changed
Tutorial has to be changed [message #6162] Mon, 16 February 2009 14:03 Go to next message
Eclipse UserFriend
As finished modelling the Restaurant component from the tutorial I
wanted to test it. But I got an exception:

Exception in thread "main" org.osoa.sca.ServiceRuntimeException:
Reference not found for component reference: Component =
RestaurantServiceComponent Reference = menuReference

In the part of the tutorial where the references will be set, the names
are specified like (a..z)*Reference. But the annotated setters in the
implementation classes are called set(a..z)*Service. That's why the
exception is thrown. Please change the tutorial that both names match.

greets
Jan
Re: Tutorial has to be changed [message #6192 is a reply to message #6162] Mon, 16 February 2009 14:24 Go to previous messageGo to next message
Eclipse UserFriend
Jan Reimann a écrit :
> As finished modelling the Restaurant component from the tutorial I
> wanted to test it. But I got an exception:
>
> Exception in thread "main" org.osoa.sca.ServiceRuntimeException:
> Reference not found for component reference: Component =
> RestaurantServiceComponent Reference = menuReference
>
> In the part of the tutorial where the references will be set, the names
> are specified like (a..z)*Reference. But the annotated setters in the
> implementation classes are called set(a..z)*Service. That's why the
> exception is thrown. Please change the tutorial that both names match.
>
> greets
> Jan

Thanks Jan. I made the modifications [0].

Stephane Drapeau
Obeo

[0]:
http://wiki.eclipse.org/STP/SCA_Component/SCA_First_Steps_Wi th_Composite_Designer#References
Re: Tutorial has to be changed [message #574571 is a reply to message #6162] Mon, 16 February 2009 14:24 Go to previous messageGo to next message
Eclipse UserFriend
Jan Reimann a écrit :
> As finished modelling the Restaurant component from the tutorial I
> wanted to test it. But I got an exception:
>
> Exception in thread "main" org.osoa.sca.ServiceRuntimeException:
> Reference not found for component reference: Component =
> RestaurantServiceComponent Reference = menuReference
>
> In the part of the tutorial where the references will be set, the names
> are specified like (a..z)*Reference. But the annotated setters in the
> implementation classes are called set(a..z)*Service. That's why the
> exception is thrown. Please change the tutorial that both names match.
>
> greets
> Jan

Thanks Jan. I made the modifications [0].

Stephane Drapeau
Obeo

[0]:
http://wiki.eclipse.org/STP/SCA_Component/SCA_First_Steps_Wi th_Composite_Designer#References
Re: Tutorial has to be changed [message #792549 is a reply to message #574571] Tue, 07 February 2012 05:33 Go to previous messageGo to next message
Eclipse UserFriend
Stephane,

Help documentation distributed with Eclipse is not updated with these changes!

Hope you can change them too.

Thanks.

Regards,
Piram
Re: Tutorial has to be changed [message #836359 is a reply to message #792549] Wed, 04 April 2012 11:47 Go to previous message
Eclipse UserFriend
Hi,

Yes, you are right.
We need to update the samples (a little bit) and the documentation.
Previous Topic:Differences between SCA models
Next Topic:SOA application
Goto Forum:
  


Current Time: Sat Feb 15 17:57:08 GMT 2025

Powered by FUDForum. Page generated in 0.03611 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top