<br><font size=2><tt> CoSMIC VERSION: 0.4.8</tt></font>
<br>
<br><font size=2><tt> HOST MACHINE and OPERATING SYSTEM:</tt></font>
<br><font size=2><tt> Intel(R) Pentium(R) M
1.86GHz </tt></font>
<br><font size=2><tt> Microsoft Windows XP Version
2002 Service Pack 1</tt></font>
<br>
<br><font size=2><tt> TOOL/AREA/CLASS/EXAMPLE AFFECTED:</tt></font>
<br><font size=2><tt> idl_to_picml produces
servant entryPoints as follows:</tt></font>
<br><font size=2><tt> createProxyComponentHome_Servant</tt></font>
<br><font size=2><tt> instead of using module
scope like this:</tt></font>
<br><font size=2><tt> create_MyProxyComponent_ProxyComponentHome_Servant</tt></font>
<br>
<br><font size=2><tt> THE PROBLEM AFFECTS EXECUTION</tt></font>
<br>
<br><font size=2><tt> SYNOPSIS:</tt></font>
<br><font size=2><tt> The Plan Launcher Dies
trying to find the nonexistent </tt></font>
<br><font size=2><tt> createProxyComponentHome_Servant
entry point.</tt></font>
<br>
<br><font size=2><tt> DESCRIPTION:</tt></font>
<br><font size=2><tt> REPEAT BY:</tt></font>
<br><font size=2><tt> SAMPLE FIX/WORKAROUND:</tt></font>
<br><font size=2><tt> RELATED FILES:</tt></font>
<br><font size=2><tt> I am re-posting this.
Original PRF/email trail follows:</tt></font>
<br>
<br><font size=2><tt>Sorry, I got excited that I knew how to solve your
problem and didn't read all</tt></font>
<br><font size=2><tt>the way to the end, where you say that you know how
to manually fix it :-)</tt></font>
<br>
<br><font size=2><tt>I don't know if it's a known bug; I've been able to
avoid using the GME tool</tt></font>
<br><font size=2><tt>for quite some time since I mostly mess around with
existing deployment plans.</tt></font>
<br><font size=2><tt> I'm sure the Vandy guys will reply as soon as
they can take a look.</tt></font>
<br>
<br><font size=2><tt>Matt</tt></font>
<br>
<br>
<br>
<br><font size=2><tt>Nicholas Grimes wrote:</tt></font>
<br><font size=2><tt>> Thanks Matt,</tt></font>
<br><font size=2><tt>> </tt></font>
<br><font size=2><tt>> I did change it in the model and moved on. Just
reporting the steps I did</tt></font>
<br><font size=2><tt>> to duplicate the bug. Is this a known bug that
will be fixed in a later</tt></font>
<br><font size=2><tt>> release ?</tt></font>
<br><font size=2><tt>> </tt></font>
<br><font size=2><tt>> </tt></font>
<br><font size=2><tt>> Nick</tt></font>
<br><font size=2><tt>> </tt></font>
<br><font size=2><tt>> </tt></font>
<br><font size=2><tt>>
</tt></font>
<br><font size=2><tt>> Matthew
Gillen
</tt></font>
<br><font size=2><tt>> <mgillen@bbn.com>
</tt></font>
<br><font size=2><tt>>
To </tt></font>
<br><font size=2><tt>> 04/25/2006
11:27 Nicholas Grimes
</tt></font>
<br><font size=2><tt>> AM
<Nicholas_Grimes@raytheon.com> </tt></font>
<br><font size=2><tt>>
cc </tt></font>
<br><font size=2><tt>>
cosmic-users@list.isis.vanderbilt.e </tt></font>
<br><font size=2><tt>>
du,
</tt></font>
<br><font size=2><tt>>
cosmic-dev@list.isis.vanderbilt.edu </tt></font>
<br><font size=2><tt>>
, Paul R Legault
</tt></font>
<br><font size=2><tt>>
<Paul_R_Legault@raytheon.com>, John </tt></font>
<br><font size=2><tt>>
M Slaby <john_m_slaby@raytheon.com> </tt></font>
<br><font size=2><tt>>
Subject </tt></font>
<br><font size=2><tt>>
Re: [cosmic-users] Incorrect method </tt></font>
<br><font size=2><tt>>
signature
</tt></font>
<br><font size=2><tt>>
</tt></font>
<br><font size=2><tt>>
</tt></font>
<br><font size=2><tt>>
</tt></font>
<br><font size=2><tt>>
</tt></font>
<br><font size=2><tt>>
</tt></font>
<br><font size=2><tt>>
</tt></font>
<br><font size=2><tt>> </tt></font>
<br><font size=2><tt>> </tt></font>
<br><font size=2><tt>> </tt></font>
<br><font size=2><tt>> </tt></font>
<br><font size=2><tt>> Hi Nicholas,</tt></font>
<br><font size=2><tt>> In your .cdp file you have this:</tt></font>
<br><font size=2><tt>> <location>ProxyComponent_svnt</location></tt></font>
<br><font size=2><tt>> <execParameter></tt></font>
<br><font size=2><tt>> <name>entryPoint</name></tt></font>
<br><font size=2><tt>> <value></tt></font>
<br><font size=2><tt>> <type></tt></font>
<br><font size=2><tt>> <kind>tk_string</kind></tt></font>
<br><font size=2><tt>> </type></tt></font>
<br><font size=2><tt>> <value></tt></font>
<br><font size=2><tt>> </tt></font>
<br><font size=2><tt>> <string>create_MyProxyComponent_ProxyComponentHome_Servant</string></tt></font>
<br><font size=2><tt>> </value></tt></font>
<br><font size=2><tt>> </value></tt></font>
<br><font size=2><tt>> </execParameter></tt></font>
<br><font size=2><tt>> </artifact></tt></font>
<br><font size=2><tt>> </tt></font>
<br><font size=2><tt>> The "create_MyProxyComponent_ProxyComponentHome_Servant"
string tells CIAO</tt></font>
<br><font size=2><tt>> what</tt></font>
<br><font size=2><tt>> function to look for. It looks like you have
the create function named:</tt></font>
<br><font size=2><tt>> "createProxyComponentHome_Impl"</tt></font>
<br><font size=2><tt>> </tt></font>
<br><font size=2><tt>> Those two strings need to match, so either change
the .cdp file or rename</tt></font>
<br><font size=2><tt>> your</tt></font>
<br><font size=2><tt>> function to match what's in the .cdp file.</tt></font>
<br><font size=2><tt>> </tt></font>
<br><font size=2><tt>> Matt</tt></font>
<br><font size=2><tt>> </tt></font>
<br><font size=2><tt>> Try moving the</tt></font>
<br><font size=2><tt>> </tt></font>
<br><font size=2><tt>> Nicholas Grimes wrote:</tt></font>
<br><font size=2><tt>>> CoSMIC VERSION: 0.4.5</tt></font>
<br><font size=2><tt>>></tt></font>
<br><font size=2><tt>>> HOST MACHINE and OPERATING
SYSTEM:</tt></font>
<br><font size=2><tt>>> i.e., which version
of Windows are you using. Windows XP, CentOS</tt></font>
<br><font size=2><tt>> 4.2</tt></font>
<br><font size=2><tt>>> TOOL/AREA/CLASS/EXAMPLE AFFECTED:</tt></font>
<br><font size=2><tt>>> [Particularly, which tool in CoSMIC is affected?
PICML or</tt></font>
<br><font size=2><tt>>> generate_component_mpc.pl</tt></font>
<br><font size=2><tt>>></tt></font>
<br><font size=2><tt>>> DOES THE PROBLEM AFFECT:</tt></font>
<br><font size=2><tt>>> COMPILATION?</tt></font>
<br><font size=2><tt>>> LINKING?</tt></font>
<br><font size=2><tt>>> EXECUTION? Incorrect
method signature</tt></font>
<br><font size=2><tt>>> OTHER</tt></font>
<br><font size=2><tt>>></tt></font>
<br><font size=2><tt>>> SYNOPSIS:</tt></font>
<br><font size=2><tt>>></tt></font>
<br><font size=2><tt>>> Note: I used “Building a Stock Quooter
with CoSMIC and Dance Tutorial</tt></font>
<br><font size=2><tt>> for</tt></font>
<br><font size=2><tt>>> guidance.</tt></font>
<br><font size=2><tt>>></tt></font>
<br><font size=2><tt>>> Modelling Side (Windows XP)</tt></font>
<br><font size=2><tt>>></tt></font>
<br><font size=2><tt>>> 1. Create ProxyComponent.idl</tt></font>
<br><font size=2><tt>>></tt></font>
<br><font size=2><tt>>> //ProxyComponent.idl,v 1.1 2006</tt></font>
<br><font size=2><tt>>> #include <Components.idl></tt></font>
<br><font size=2><tt>>> module MyProxyComponent</tt></font>
<br><font size=2><tt>>> {</tt></font>
<br><font size=2><tt>>></tt></font>
<br><font size=2><tt>>> interface Dummy {</tt></font>
<br><font size=2><tt>>> void DoNothing();</tt></font>
<br><font size=2><tt>>> };</tt></font>
<br><font size=2><tt>>> /**</tt></font>
<br><font size=2><tt>>> * @class ProxyCOmponent</tt></font>
<br><font size=2><tt>>> *</tt></font>
<br><font size=2><tt>>> * @brief component</tt></font>
<br><font size=2><tt>>> */</tt></font>
<br><font size=2><tt>>> component ProxyComponent supports
Dummy</tt></font>
<br><font size=2><tt>>> {</tt></font>
<br><font size=2><tt>>> attribute string theExecutable;</tt></font>
<br><font size=2><tt>>> attribute string theArg0;</tt></font>
<br><font size=2><tt>>> attribute string theArg1;</tt></font>
<br><font size=2><tt>>> attribute string theArg2;</tt></font>
<br><font size=2><tt>>> attribute string theArg3;</tt></font>
<br><font size=2><tt>>> attribute string theArg4;</tt></font>
<br><font size=2><tt>>> attribute string theArg5;</tt></font>
<br><font size=2><tt>>> attribute string theArg6;</tt></font>
<br><font size=2><tt>>> attribute string theArg7;</tt></font>
<br><font size=2><tt>>> attribute string theArg8;</tt></font>
<br><font size=2><tt>>> attribute string theArg9;</tt></font>
<br><font size=2><tt>>> attribute string theEnvironmentFile;</tt></font>
<br><font size=2><tt>>> };</tt></font>
<br><font size=2><tt>>></tt></font>
<br><font size=2><tt>>> /**</tt></font>
<br><font size=2><tt>>> * @class ProxyComponentHome</tt></font>
<br><font size=2><tt>>> *</tt></font>
<br><font size=2><tt>>> * @brief home for ProxyComponent
component</tt></font>
<br><font size=2><tt>>> */</tt></font>
<br><font size=2><tt>>> home ProxyComponentHome manages ProxyComponent</tt></font>
<br><font size=2><tt>>> {</tt></font>
<br><font size=2><tt>>> };</tt></font>
<br><font size=2><tt>>> };</tt></font>
<br><font size=2><tt>>></tt></font>
<br><font size=2><tt>>> 2. Create ProxyComponnent.cidl</tt></font>
<br><font size=2><tt>>></tt></font>
<br><font size=2><tt>>> #ifndef PROXYCOMPONENT_CIDL</tt></font>
<br><font size=2><tt>>> #define PROXYCOMPONENT_CIDL</tt></font>
<br><font size=2><tt>>> #include "ProxyComponent.idl"</tt></font>
<br><font size=2><tt>>> module MyProxyComponent</tt></font>
<br><font size=2><tt>>> {</tt></font>
<br><font size=2><tt>>> composition session ProxyComponent_Impl</tt></font>
<br><font size=2><tt>>> {</tt></font>
<br><font size=2><tt>>> home executor ProxyComponentHome_Exec</tt></font>
<br><font size=2><tt>>> {</tt></font>
<br><font size=2><tt>>> implements ProxyComponentHome;</tt></font>
<br><font size=2><tt>>> manages ProxyComponent_Exec;</tt></font>
<br><font size=2><tt>>> };</tt></font>
<br><font size=2><tt>>> };</tt></font>
<br><font size=2><tt>>> };</tt></font>
<br><font size=2><tt>>> #endif // !defined PROXYCOMPONENT_CIDL</tt></font>
<br><font size=2><tt>>></tt></font>
<br><font size=2><tt>>> 3. Run C:\Program Files\Microsoft Visual
Studio .NET</tt></font>
<br><font size=2><tt>>> 2003\Vc7\bin\VCVARS32.bat</tt></font>
<br><font size=2><tt>>></tt></font>
<br><font size=2><tt>>> 4 Run idl_to_picml -x ProxyComponent ProxyComponent.idl</tt></font>
<br><font size=2><tt>>></tt></font>
<br><font size=2><tt>>> 5. In GME, Create Project, PICML, D:\njg\env\ProxyComponent</tt></font>
<br><font size=2><tt>>></tt></font>
<br><font size=2><tt>>> 6 In GME Run File->Import XML d:\njg\env\ProxyComponent.xme</tt></font>
<br><font size=2><tt>>></tt></font>
<br><font size=2><tt>>> 7 In GME ComponentImplementations, Expand
ProxyComponentImplementation,</tt></font>
<br><font size=2><tt>>> ProxyComponent_svnt,</tt></font>
<br><font size=2><tt>>> entrypoin and note the value:
createProxyComponentHome_Servant</tt></font>
<br><font size=2><tt>>></tt></font>
<br><font size=2><tt>>> 8. Finish up the model details and
Generate FlattendDeploymentPlan with</tt></font>
<br><font size=2><tt>>> name PC_Plan.</tt></font>
<br><font size=2><tt>>></tt></font>
<br><font size=2><tt>>> Code Side (LINUX CENTOS)</tt></font>
<br><font size=2><tt>>></tt></font>
<br><font size=2><tt>>> 1. Put PC_Plan into descriptors folder, characterization
file</tt></font>
<br><font size=2><tt>>> ProxyComponent.wlgChar into characterization
folder. (Attached)</tt></font>
<br><font size=2><tt>>></tt></font>
<br><font size=2><tt>>> 2. Write the code for ProxyComponent_exec.(cpp
h) (Attached)</tt></font>
<br><font size=2><tt>>></tt></font>
<br><font size=2><tt>>> 3. Source the shell script to setup ACE/TAO/CIAO
environment.</tt></font>
<br><font size=2><tt>>></tt></font>
<br><font size=2><tt>>> 4. Create folder and put in ProxyComponent_exec.(cpp
h),</tt></font>
<br><font size=2><tt>> ProxyComponent.idl</tt></font>
<br><font size=2><tt>>> and ProxyComponent.cidl.</tt></font>
<br><font size=2><tt>>></tt></font>
<br><font size=2><tt>>> 5. Run $CIAO_ROOT/bin/cidlc ProxyComponent.cidl.</tt></font>
<br><font size=2><tt>>></tt></font>
<br><font size=2><tt>>> 6. Run $CIAO_ROOT/bin/generate_component_mpc.pl
ProxyComponent.</tt></font>
<br><font size=2><tt>>></tt></font>
<br><font size=2><tt>>> 7. Run $ACE_ROOT/bin/mwc.pl.</tt></font>
<br><font size=2><tt>>></tt></font>
<br><font size=2><tt>>> 8. Run gmake and fix bugs until a closure
is formed.</tt></font>
<br><font size=2><tt>>></tt></font>
<br><font size=2><tt>>> 3. Run Node Manager and Execution Manager
and Plan Launcher.</tt></font>
<br><font size=2><tt>>></tt></font>
<br><font size=2><tt>>> 4. Dies trying to find createProxyComponentHome_Servant.</tt></font>
<br><font size=2><tt>>></tt></font>
<br><font size=2><tt>>> (output):</tt></font>
<br><font size=2><tt>>></tt></font>
<br><font size=2><tt>>> Node Manager</tt></font>
<br><font size=2><tt>>></tt></font>
<br><font size=2><tt>>> Node Daemon Profile</tt></font>
<br><font size=2><tt>>> ------------------------------------</tt></font>
<br><font size=2><tt>>> Current Directory :</tt></font>
<br><font size=2><tt>>></tt></font>
<br><font size=2><tt>> /proj/CHSIRAD/BUILD_0/DRM/AIF/ComponentizedWLG/ComponentWLG/characterization</tt></font>
<br><font size=2><tt>> </tt></font>
<br><font size=2><tt>>> NodeDaemon Name : localhost</tt></font>
<br><font size=2><tt>>> NodeDaemon Port : 10000</tt></font>
<br><font size=2><tt>>> -ORBEndpoint iiop://localhost:10000 -s</tt></font>
<br><font size=2><tt>>></tt></font>
<br><font size=2><tt>> /proj/CHSIRAD/BUILD_0/DRM/Middleware/ACE_wrappers/TAO/CIAO/DAnCE/NodeApplicat</tt></font>
<br><font size=2><tt>ion/NodeApplicationCIAO_NodeManager</tt></font>
<br><font size=2><tt>> </tt></font>
<br><font size=2><tt>>> IOR:</tt></font>
<br><font size=2><tt>>></tt></font>
<br><font size=2><tt>> IOR:010000001900000049444c3a4349414f2f4e6f64654d616e616765723a312e30000000000</tt></font>
<br><font size=2><tt>10000000000000068000000010102000a0000006c6f63616c686f73740010271b00000014010f00</tt></font>
<br><font size=2><tt>525354ab234e447eab0e00000000000100000001000000000200000000000000080000000100000</tt></font>
<br><font size=2><tt>004f41540100000018000000010000000100010001000000010001050901010000000000</tt></font>
<br><font size=2><tt>> </tt></font>
<br><font size=2><tt>>> CIAO_NodeManager is running...</tt></font>
<br><font size=2><tt>>> *** Starting NodeApplication</tt></font>
<br><font size=2><tt>>> Running NodeApplication...</tt></font>
<br><font size=2><tt>>> (5358|3086887776) EXCEPTION, Container_Impl::install</tt></font>
<br><font size=2><tt>>></tt></font>
<br><font size=2><tt>>> user exception, ID 'IDL:Deployment/ImplEntryPointNotFound:1.0'</tt></font>
<br><font size=2><tt>>> (5358|3086887776) EXCEPTION, CIAO_NodeApplication::install
error</tt></font>
<br><font size=2><tt>>></tt></font>
<br><font size=2><tt>>> user exception, ID 'IDL:Deployment/ImplEntryPointNotFound:1.0'</tt></font>
<br><font size=2><tt>>></tt></font>
<br><font size=2><tt>>></tt></font>
<br><font size=2><tt>> *****************************************************************************</tt></font>
<br><font size=2><tt>**</tt></font>
<br><font size=2><tt>> </tt></font>
<br><font size=2><tt>>> Execution Manager</tt></font>
<br><font size=2><tt>>></tt></font>
<br><font size=2><tt>>> CIAO_ExecutionManager is running...</tt></font>
<br><font size=2><tt>>> (5351|3086882496) EXCEPTION, DomainApplicationManager_Impl::startLaunch</tt></font>
<br><font size=2><tt>>></tt></font>
<br><font size=2><tt>>> user exception, ID 'IDL:Deployment/StartError:1.0'</tt></font>
<br><font size=2><tt>>></tt></font>
<br><font size=2><tt>>></tt></font>
<br><font size=2><tt>> *****************************************************************************</tt></font>
<br><font size=2><tt>**</tt></font>
<br><font size=2><tt>> </tt></font>
<br><font size=2><tt>>> Plan Launcher</tt></font>
<br><font size=2><tt>>></tt></font>
<br><font size=2><tt>>> (5356|3086874304) Initializing the Xerces
runtime</tt></font>
<br><font size=2><tt>>> CIAO_PlanLauncher: start Launch application...</tt></font>
<br><font size=2><tt>>> EXCEPTION: StartError exception caught:</tt></font>
<br><font size=2><tt>>> SessionContainer::ciao_install_home, Entry
point</tt></font>
<br><font size=2><tt>>> createProxyComponentHome_Servant invalid
in dll ProxyComponent_svnt</tt></font>
<br><font size=2><tt>>> Deployment failed. Plan_Launcher exiting.</tt></font>
<br><font size=2><tt>>></tt></font>
<br><font size=2><tt>>></tt></font>
<br><font size=2><tt>> *****************************************************************************</tt></font>
<br><font size=2><tt>**</tt></font>
<br><font size=2><tt>> </tt></font>
<br><font size=2><tt>>> 5. Should be looking for</tt></font>
<br><font size=2><tt>> create_MyProxyComponent_ProxyComponentHome_Servant</tt></font>
<br><font size=2><tt>>> .</tt></font>
<br><font size=2><tt>>></tt></font>
<br><font size=2><tt>>> 6. Verify by running nm -o libProxyComponent_svnt.so
| grep Home_Servant</tt></font>
<br><font size=2><tt>>> and noting it finds</tt></font>
<br><font size=2><tt>>> create_MyProxyComponent_ProxyComponentHome_Servant
but not</tt></font>
<br><font size=2><tt>>> create_MyProxyComponent_ProxyComponentHome_Servant</tt></font>
<br><font size=2><tt>>></tt></font>
<br><font size=2><tt>>> Modelling side</tt></font>
<br><font size=2><tt>>></tt></font>
<br><font size=2><tt>>> 1. Change name in ArtifactContainer, redeploy.</tt></font>
<br><font size=2><tt>>></tt></font>
<br><font size=2><tt>>> Code Side</tt></font>
<br><font size=2><tt>>></tt></font>
<br><font size=2><tt>>> 1. Repeat test and it works.</tt></font>
<br><font size=2><tt>>></tt></font>
<br><font size=2><tt>>> (See attached file: ProxyComponent_exec.h)(See
attached file:</tt></font>
<br><font size=2><tt>>> ProxyComponent.cidl)(See attached file: ProxyComponent.idl)(See
attached</tt></font>
<br><font size=2><tt>>> file: ProxyComponent.wlgChar)(See attached
file: ProxyComponent_exec.cpp)</tt></font>
<br><font size=2><tt>>> (See attached file: PC_Plan.cdp)</tt></font>
<br><font size=2><tt>>></tt></font>
<br><font size=2><tt>>></tt></font>
<br><font size=2><tt>>></tt></font>
<br><font size=2><tt>>></tt></font>
<br><font size=2><tt>>></tt></font>
<br><font size=2><tt>>></tt></font>
<br><font size=2><tt>>></tt></font>
<br><font size=2><tt>>> ------------------------------------------------------------------------</tt></font>
<br><font size=2><tt>>></tt></font>
<br><font size=2><tt>>> _______________________________________________</tt></font>
<br><font size=2><tt>>> cosmic-users mailing list</tt></font>
<br><font size=2><tt>>> cosmic-users@list.isis.vanderbilt.edu</tt></font>
<br><font size=2><tt>>> http://list.isis.vanderbilt.edu/mailman/listinfo/cosmic-users</tt></font>
<br><font size=2><tt>> </tt></font>