Summary: | Quoter-Tutorial CIAO/tutorials/Quoter/Simple does not work | ||
---|---|---|---|
Product: | CIAO | Reporter: | Hendrik Pommrenke <pommrenke.h> |
Component: | Examples | Assignee: | DOC Center Support List (internal) <tao-support> |
Status: | NEW --- | ||
Severity: | normal | CC: | msmit, pommrenke.h, wotte |
Priority: | P3 | ||
Version: | 0.8.2 | ||
Hardware: | All | ||
OS: | Windows XP | ||
Bug Depends on: | 3972 | ||
Bug Blocks: |
Description
Hendrik Pommrenke
2011-01-14 09:07:13 CST
I think the correct instructions to run the tutorial code have to be as follows: (everything run from within the .\descriptors folder): - 1st console: perl runNodeDaemons.pl <enter> - 2nd console: dance_execution_manager -eior --node-map NodeMap.dat <enter> (a file called "ior" is generated) - 3rd console: dance_plan_launcher -xPlan.cdp -k file:\\ior <enter> The ior file is generated by the execution manager when you omit the blank after the -e option (This seems to be necessary for some options, while others allow blanks). But then the plan launcher fails with a TRANSIENT exception saying 'No usable profile in IOR.'. Below you see the full output (using ACE_LOG_LEVEL=10): (1672|1460) [LM_TRACE] - 18:18:24.397000 - PlanLauncher - initializing ORB (1672|1460) [LM_TRACE] - 18:18:24.429000 - PL options : " E:\dev\3rd-party\ACE_wrappers_5_8_2\TAO\CIAO\DAnCE\bin\dance_plan_launcher -xPlan.cdp -k file://ior (1672|1460) [LM_DEBUG] - 18:18:24.429000 - Plan_Launcher::parse_args - Using XML plan: Plan.cdp (1672|1460) [LM_DEBUG] - 18:18:24.429000 - Plan_Launcher::parse_args - Using ExecutionManager IOR: file://ior (1672|1460) [LM_DEBUG] - 18:18:24.429000 - Plan_Launcher - Parsing deployment plan (1672|1460) [LM_TRACE] - 18:18:24.429000 - XML_File_Intf::read_process_plan - Constructing DOM (1672|1460) [LM_TRACE] - 18:18:24.491000 - XML_File_Intf::read_process_plan - DOMElement pointer: 30962480 (1672|1460) [LM_TRACE] - 18:18:24.491000 - XML_File_Intf::read_process_plan - Parsing XML file with XSC (1672|1460) [LM_TRACE] - 18:18:24.507000 - XML_File_Intf::read_process_plan - Processing using config handlers (1672|1460) [LM_ERROR] - 18:18:26.554000 - Plan_Launcher_Base_Impl::prepare_plan - Caught StartError exception while invoking preparePlan: 6D382DAE-9024-4C4D-B91B-A0F9176AFACF, 2 errors executing oper ation: Distributor - CORBA exception starting preparePlan : system exception, ID 'IDL:omg.org/CORBA/TRANSIENT:1.0' OMG minor code (2), described as 'No usable profile in IOR.', completed = NO Broker - CORBA exception starting preparePlan : system exception, ID 'IDL:omg.org/CORBA/TRANSIENT:1.0' OMG minor code (2), described as 'No usable profile in IOR.', completed = NO (1672|1460) [LM_ERROR] - 18:18:26.554000 - Plan_Launcher::launch_plan - Deployment failed, exception: Caught StartError exception while invoking preparePlan: 6D382DAE-9024-4C4D-B91B-A0F9176AFACF, 2 er rors executing operation: Distributor - CORBA exception starting preparePlan : system exception, ID 'IDL:omg.org/CORBA/TRANSIENT:1.0' OMG minor code (2), described as 'No usable profile in IOR.', completed = NO Broker - CORBA exception starting preparePlan : system exception, ID 'IDL:omg.org/CORBA/TRANSIENT:1.0' OMG minor code (2), described as 'No usable profile in IOR.', completed = NO My guess is the run_NodeDaemons.pl script is wrong. could you please try with the run_test.pl script that should be in that directory? Yes, the run_test.pl works (except one error msg that the CIAO stock ain't there, but I guess that's part of the test scenario). So it's not only README.html that needs to be fixed, but also the "run_NodeDaemons.pl" script. I think it's really important that this tutorial works, as it's probably the first contact with CIAO for most users, and can be quite demotivating if nothing works as it should. Tue Jan 18 18:25:03 UTC 2011 Johnny Willemsen <jwillemsen@remedy.nl> * docs/Porting_Hints.txt: * docs/releasenotes/switch.html: * examples/BasicSP/README.html: * examples/BasicSP/RepoMan_Usage.html: * examples/Display/README.html: * examples/Display/descriptors/basicNodeDaemon.pl: * examples/Display/descriptors/run_NodeDaemons.pl: * examples/Hello/descriptors/run_NodeDaemons.pl: * examples/Hello/step-by-step.html: * tests/Bug_2130_Regression/descriptors/run_test.pl: * tutorials/Quoter/Simple/04.html: * tutorials/Quoter/Simple/README.html: Updated executable names and locations |