You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Hendy Irawan (JIRA)" <ji...@apache.org> on 2009/06/25 11:55:07 UTC

[jira] Updated: (GERONIMO-4711) Geronimo Blueprint throws org.osgi.service.blueprint.container.ComponentDefinitionException: Cound not create component instance

     [ https://issues.apache.org/jira/browse/GERONIMO-4711?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hendy Irawan updated GERONIMO-4711:
-----------------------------------

    Attachment: caterpillar-blueprint-bug-sampler.tar.bz2

Sample project to illustrate the problem.

Deploy the bundle on Felix Karaf.

> Geronimo Blueprint throws org.osgi.service.blueprint.container.ComponentDefinitionException: Cound not create component instance
> --------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: GERONIMO-4711
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4711
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>         Environment: Ubuntu 9.04, Sun JDK 6u10, Felix 1.8.0, Karaf SNAPSHOT, Blueprint SNAPSHOT
>            Reporter: Hendy Irawan
>         Attachments: caterpillar-blueprint-bug-sampler.tar.bz2
>
>
> Component should be Geronimo Blueprint, but I can't find it in the list.
> Relevant context of my Blueprint XML is as below. Do I write the XML correctly?
> <?xml version="1.0" encoding="UTF-8"?>
> <blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0">
>     <command-bundle xmlns="http://felix.apache.org/karaf/xmlns/gshell/v1.0.0">
>         <command name="ou/show">
>             <action factory-bean="qi4jApp" factory-method="createShowState">
>                 <property name="bundleContext" ref="blueprintBundleContext"/>
>                 <property name="project" ref="theProject" />
>             </action>
>         </command>
>     </command-bundle>
> 	<bean id="qi4jApp" class="com.openubiquity.caterpillar.Qi4jApp">
> 	</bean>
> 	
> 	<bean id="theProject" class="com.openubiquity.caterpillar.SpringProject">
>    		<property name="name" value="Caterpillar" />
>    		<property name="contextFiles">
>    			<list>
>    				<value>bundle-context-osgi.xml</value>
>    				<value>bundle-context.xml</value>
>    			</list>
>    		</property>
> 	</bean>
> 	
> </blueprint>
> BTW, what is the URL of Blueprint XSD ?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.