Hi Gan,
<br>
<br>I did the tests you suggested and the deployment worked fine when the event sink and source are of the  same time. It appears that when the event sink is a subclass of the event source port the connection doesn't succeed. Below are the error messages I got when tryied to do that.
<br>
<br>
<br>1) Node Application
<br>
<br>(3492|3069847232) EXCEPTION, NodeApplication_Impl::finishLaunch
<br>
<br>user exception, ID 'IDL:omg.org/Components/InvalidConnection:1.0'
<br>NAM: entering DA
<br>NAM: first for loop: Comp1-idd
<br>NA_I: removing component Comp1-idd
<br>NAM: calling remove
<br>NA: shutdown
<br>Exiting NodeApplication...
<br>NAM: remove returned
<br>
<br>2) Execution Manager
<br>
<br>CIAO_ExecutionManager is running...
<br>CIAO (3253|3069830848) calling this->man_.is_plan_available()...
<br>CIAO (3253|3069830848) Plan wasn't already available
<br>CIAO (3253|3069830848) About to instantiate CIAO::DomainApplicationManager_Impl
<br>CIAO (3253|3069830848) Instantiated CIAO::DomainApplicationManager_Impl
<br>CIAO (3253|3069830848) About to init...
<br>CIAO (3253|3069830848) About to set uuid on DAM...
<br>CIAO (3253|3069830848) Bound DAM reference...
<br>(3253|3069830848) EXCEPTION, DomainApplicationManager_Impl::finishLaunch: Killing NodeApplications.
<br>
<br>system exception, ID 'IDL:omg.org/CORBA/UNKNOWN:1.0'
<br>Unknown vendor minor code id (0), minor code = 0, completed = YES
<br>
<br>3)
<br>
<br>(3457|3047413440) Initializing the Xerces runtime
<br>CIAO_PlanLauncher: start Launch application...
<br>[success]
<br>CIAO_PlanLauncher: finish Launch application...
<br>CORBA EXCEPTION: system exception, ID 'IDL:omg.org/CORBA/UNKNOWN:1.0'
<br>Unknown vendor minor code id (0), minor code = 0, completed = YES
<br>
<br>Deployment failed. Plan_Launcher exiting.
<br>
<br>Thank you.
<br>
<br>Santos
<br>---------[ Received Mail Content ]----------
<br>
<br> Subject : Re: [ciao-users] Deployment descriptor for external        component        connection
<br>
<br> Date : Wed, 01 Aug 2007 16:02:05 -0500
<br>
<br> From : Gan Deng <gan.deng@vanderbilt.edu>
<br>
<br> To : CIAO Users Mailing List <ciao-users@cse.wustl.edu>
<br>
<br>
<br>
<br>Santos,
<br>
<br>
<br>
<br>san tos wrote:
<br>
<br>> Hi,
<br>
<br>> 
<br>
<br>> It worked for a connection between a receptacle and a shared component 
<br>
<br>> facet when I included the artifact, instance and implementation clause 
<br>
<br>> of the shared component in the second descriptor. But I'm receiving an 
<br>
<br>> error "'IDL:Deployment/InvalidConnection:1.0'" when I try to connect 
<br>
<br>> Comp1 (shared component) and Comp2 through an Event Sink and Event 
<br>
<br>> Source like that:
<br>
<br>> 
<br>
<br>> 
<br>
<br>> comp1_comp2_evt
<br>
<br>> 
<br>
<br>> comp1_pub
<br>
<br>> EventPublisher
<br>
<br>> Comp1-idd
<br>
<br>> 
<br>
<br>> 
<br>
<br>> comp2_cons
<br>
<br>> EventConsumer
<br>
<br>> Comp2-idd
<br>
<br>> 
<br>
<br>> 
<br>
<br>> 
<br>
<br>> The event source port type is a subclass of the event sink port type, 
<br>
<br>> like that:
<br>
<br>> 
<br>
<br>> eventetype InfoEventBase {string name};
<br>
<br>> eventtype InfoEvent:InfoEventBase {};
<br>
<br>> 
<br>
<br>> component Comp1 {
<br>
<br>> publishes InfoEvent comp1_pub;
<br>
<br>> }
<br>
<br>> 
<br>
<br>> component Comp2 {
<br>
<br>> consumes InfoEventBase comp2_cons;
<br>
<br>> }
<br>
<br>> 
<br>
<br>> I don't know If the problem is because I can't connect the shared 
<br>
<br>> component using the event source and sink or if it has to do with the 
<br>
<br>> inheritance of the ports.
<br>
<br>
<br>
<br>It should work with event type connection as well, but we haven't tested 
<br>
<br>the inherited event types scenario. Could you please let me know, 
<br>
<br>without using shared component feature, whether your inherited event 
<br>
<br>type connection got deployed successfully or not?
<br>
<br>
<br>
<br>Thanks,
<br>
<br>Gan
<br>
<br>
<br>
<br>_______________________________________________
<br>
<br>ciao-users mailing list
<br>
<br>ciao-users@mail.cse.wustl.edu
<br>
<br>http://mail.cse.wustl.edu/mailman/listinfo/ciao-users
<br>
<br><br/>
<div>
<hr style="width:85%;margin-left:0px;text-align:left"/><br/>
<b>Get all the Hottest Artists on Your Cell Phone - Plus 10 Bonus Tones Today!</b><br/>
Find Your New Ringtone at <a href="http://www.lycos.playp.biz/mobringtones/Default.aspx?StoreFrontID=0006-0006-1005-0125" target="_blank"><u>Lycos Mobile</u></a>.
</div>