On 6/30/07, Pete Robbins <[EMAIL PROTECTED]> wrote:

Hi Travis. Could you post your .composite and .comonentType files
please. There may be a restriction of calling a Ruby component
directly from a C++ client... I'd need to check. Have you tried having
the client call initially into a C++ component which then invokes the
Ruby component?

Cheers,

On 30/06/07, Travis Vitek <[EMAIL PROTECTED]> wrote:
>
> I've been playing with Tuscany SCA for a few days and I've run into
> something that I believe should work but does not. As the subject
> indicates, I'm trying to invoke a local non-c++ service from a c++
> client via Tuscany SCA Native. I've scoured the documentation and
> haven't seen anything indicating that this is a known limitation,
> perhaps I'm doing something wrong?
>
> Here is the output I get when running the C++ client against a ruby
> service.
>
>        calculator_client: exception caught: Exception
>         Class:           SystemConfigurationException
>         Description:     Unable to load library:
> C:\build\tuscany\tuscany_sca_native-1.0-incubator-M3-bin\samples\RubyCal
> culator\deploy\sample.calculator/.dll, error: The specified module could
> not be found.
>
>         Origin:
>           File:
> ..\..\..\runtime\core\src\tuscany\sca\util\Library.cpp
>           Line:            144
>           Function:        tuscany::sca::util::Library::load
>         Path:
>           File:
> ..\..\..\runtime\extensions\cpp\src\tuscany\sca\cpp\CompositeContextImpl
> .cpp
>           Line:          101
>           Function:
> tuscany::sca::cpp::CompositeContextImpl::locateService
>
>
> Travis
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


--
Pete

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

Pete, this rings a bell. When I was building the PHP implementation I
remember that I had to put a C++ component in the sample in front of the PHP
component. I looked at the README and found some confirmation.

"The CPP Calculator component is used because
- The local CPP client can only talk directly to a CPP component"

I don't remember precisely why this is the case but I would guess that the
C++ client short cuts the invoker chain.

Simon

Reply via email to