You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@tuscany.apache.org by Pete Robbins <ro...@googlemail.com> on 2007/12/10 17:20:53 UTC
Re: Running Cpp BigBank
Hi,
These problems are usually caused by mismatches in Windows standard
class library or runtime dlls. For example if a std::string is passed
between a dll compiled/linked against the debug version and one built
with a non-debug version. Our binary release is a non-debug version.
It should be fairly simple to download and build the Tuscany source
with your compiler. You may neeed to re-build SDO as well as SCA.
Cheers,
On 30/11/2007, Максим Харичкин <mv...@mail.ru> wrote:
> Hello, I ask you about Cpp BigBank Sample [SCA Native Milestone release 3].
>
> 1. I downloaded and deployed binary release for Windows. After that I used Visual C++ 2005 for building source sample (in release mode) and then started the runclient.bat. The process was broken with this comment:
> "
> C:\Tuscany_SCA\samples\CppBigBank\deploy\bigbank.client>runclient.bat
> Using SCA installed at C:\Tuscany_SCA
> Using SDO installed at C:\Tuscany_SDO
> Using Axis2C installed at C:\axis2c
> Currency is : EURO
> Currency is : EURO
>
> This application has requested the Runtime to terminate it in an unusual way.
> Please contact the application's support team for more information.
> "
>
> 2. Then I downloaded and deployed sourse release for Windows. After that I used Visual C++ 2005 for building source sample (in debug mode) and started debugging with parameters.
>
> The process was broken, because it couldn't find dll libraries. I changed debugging properties in bigbank.client project (set Enviroment) and then the process was broken with this comment:
> "
> 804:1476 Unable to load composite: Instantiation of abstract type :http://www.osoa.org/xmlns/sca/1.0 Binding Exception
> Class: SystemConfigurationException
> Description: Composite not found: bigbank.account
> Origin:
> File: c:\tuscany_sca\runtime\core\src\tuscany\sca\model\modelloader.cpp
> Line: 328
> Function: tuscany::sca::model::ModelLoader::addComponent
> Path:
> File: c:\tuscany_sca\runtime\extensions\cpp\src\osoa\sca\compositecontext.cpp
> Line: 101
> Function: osoa::sca::CompositeContext::getCurrent
> "
>
> I have some questions:
>
> 1. Why this sample can't find dll libraries in debug mode?
> 2. Hou to run this sample in both cases?
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tuscany-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: tuscany-user-help@ws.apache.org
>
>
--
Pete