[ 
https://issues.apache.org/jira/browse/FELIX-3451?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13254157#comment-13254157
 ] 

Clement Escoffier commented on FELIX-3451:
------------------------------------------

Hi,

I think it's just an issue in your metadata:
<instance component="comanche.requestHandler">
         <property name="instance.name" value="mytest123"/>
</instance>

Then I get:
instance name="comanche.backend-0" state="invalid" bundle="11" 
component.type="comanche.backend"
        [...]
        services
                service architecture.instance="mytest123" 
factory.name="architecture" instance.name="architecture-6" 
objectclass="[org.apache.felix.ipojo.architecture.Architecture]" service.id="11"
        containedinstances
                instance name="mytest123" state="invalid" bundle="11" 
component.type="comanche.requestHandler"
                [...]


                
> "instance.name" attribute not recognized
> ----------------------------------------
>
>                 Key: FELIX-3451
>                 URL: https://issues.apache.org/jira/browse/FELIX-3451
>             Project: Felix
>          Issue Type: Bug
>          Components: iPOJO
>    Affects Versions: ipojo-composite-1.8.2
>         Environment: Mac OS X Lion 10.7.3, Java 1.6.0_31, System Bundle 
> (4.0.2), Apache Felix Bundle Repository (1.6.6), Apache Felix iPOJO 
> (1.9.0.SNAPSHOT), Apache Felix iPOJO API (1.7.0.SNAPSHOT), Apache Felix iPOJO 
> Arch Command (1.7.0.SNAPSHOT), Apache Felix iPOJO Composite (1.9.0.SNAPSHOT), 
> Apache Felix Shell Service (1.4.2), Apache Felix Shell TUI (1.4.1)
>            Reporter: Fabio Lattario Fonseca
>            Priority: Minor
>              Labels: composite, instance, ipojo, name, newbie, xml
>             Fix For: ipojo-composite-1.8.2
>
>         Attachments: comanche_iPOJO_composite.tgz
>
>
> When using the attribute "instance.name" to give a name for a component 
> instance inside a composite, the name is not being assigned properly. On the 
> other hand, if the deprecated attribute "name" is used, the instance gets the 
> right name.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to