aries-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Madhavan <mattmadha...@gmail.com>
Subject Re: Hello Bug/Issue with Aries Repository Generation Tool
Date Wed, 17 Aug 2011 18:45:45 GMT
Hi Emily,
Two questions.

   1. One whats the process of raising JIRA?
   2. Meanwhile I need to create a repository.xml for my local maven repo.
   How do I do that?

Thanks
Matt

On Wed, Aug 17, 2011 at 11:55 AM, Emily Jiang <emijiang6@googlemail.com>wrote:

> Hi Matt,
> I think you have hit a defect. This is caused due to the absence of the
> Transaction namespace handler bundle. Please raise a jira and I will get it
> fixed.
> Regards
> Emily
>
>
> On Wed, Aug 17, 2011 at 12:07 AM, Matt Madhavan <mattmadhavan@gmail.com>wrote:
>
>> Hello,
>> I'm trying to create a bundle repository out of a folder containing bunch
>> of bundles. I downloaded the Aries Repository Generation Tool and ran he
>> following command as specfied in:
>> http://aries.apache.org/documentation/tools/repositoryGenerator.html
>>
>> java -jar
>> org.apache.aries.application.tooling.repository.generator-0.1.0-SNAPSHOT.jar
>> c:\devtools\WAS_External_Repos\MyMavenLocalRepo.xml
>> file:///C:/NewWorkSpace/BankTestForIBMPSR/com.xxx.osgi.samples.bank/runner/bundles
>>
>> I'm getting the following exceptions. Any ideas please?
>>
>> I appreciate your help in advance!
>>
>> Thanks
>> Matt
>>
>> java.lang.reflect.InvocationTargetException
>>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>>         at java.lang.reflect.Method.invoke(Unknown Source)
>>         at
>> org.apache.aries.application.repository.generator.AriesRepositoryGene
>> rator.main(AriesRepositoryGenerator.java:202)
>> Caused by: java.io.IOException:
>> org.apache.aries.application.modelling.ModellerE
>> xception:
>> org.osgi.service.blueprint.container.ComponentDefinitionException: Uns
>> upported node namespace:
>> http://aries.apache.org/xmlns/transactions/v1.0.0
>>         at
>> org.apache.aries.application.resolver.obr.impl.RepositoryGeneratorImp
>> l.generateRepository(RepositoryGeneratorImpl.java:316)
>>         ... 5 more
>> Caused by: org.apache.aries.application.modelling.ModellerException:
>> org.osgi.se
>>  rvice.blueprint.container.ComponentDefinitionException: Unsupported node
>> namespa
>> ce: http://aries.apache.org/xmlns/transactions/v1.0.0
>>         at
>> org.apache.aries.application.modelling.impl.ModelledResourceManagerIm
>> pl.getServiceElements(ModelledResourceManagerImpl.java:123)
>>         at
>> org.apache.aries.application.modelling.impl.ModelledResourceManagerIm
>> pl.getModelledResource(ModelledResourceManagerImpl.java:146)
>>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>>         at java.lang.reflect.Method.invoke(Unknown Source)
>>         at
>> org.apache.aries.proxy.impl.ProxyHandler$1.invoke(ProxyHandler.java:5
>> 0)
>>         at
>> org.apache.aries.proxy.impl.DefaultWrapper.invoke(DefaultWrapper.java
>> :31)
>>         at
>> org.apache.aries.proxy.impl.ProxyHandler.invoke(ProxyHandler.java:78)
>>
>>         at $Proxy6.getModelledResource(Unknown Source)
>>         at
>> org.apache.aries.application.resolver.obr.impl.RepositoryGeneratorImp
>> l.generateRepository(RepositoryGeneratorImpl.java:309)
>>         ... 5 more
>> Caused by:
>> org.osgi.service.blueprint.container.ComponentDefinitionException: Un
>> supported node namespace:
>> http://aries.apache.org/xmlns/transactions/v1.0.0
>>         at
>> org.apache.aries.blueprint.container.Parser.getNamespaceHandler(Parse
>> r.java:1262)
>>         at
>> org.apache.aries.blueprint.container.Parser.getNamespaceHandler(Parse
>> r.java:1253)
>>         at
>> org.apache.aries.blueprint.container.Parser.decorateCustomNode(Parser
>> .java:1240)
>>         at
>> org.apache.aries.blueprint.container.Parser.handleCustomElements(Pars
>> er.java:1232)
>>         at
>> org.apache.aries.blueprint.container.Parser.parseBeanMetadata(Parser.
>> java:570)
>>         at
>> org.apache.aries.blueprint.container.Parser.parseBlueprintElement(Par
>> ser.java:393)
>>         at
>> org.apache.aries.blueprint.container.Parser.loadComponents(Parser.jav
>> a:326)
>>         at
>> org.apache.aries.blueprint.container.Parser.populate(Parser.java:277)
>>
>>         at
>> org.apache.aries.blueprint.container.ParserServiceImpl.validateAndPop
>> ulate(ParserServiceImpl.java:83)
>>         at
>> org.apache.aries.blueprint.container.ParserServiceImpl.parse(ParserSe
>> rviceImpl.java:70)
>>         at
>> org.apache.aries.blueprint.container.ParserServiceImpl.parse(ParserSe
>>
>>
>>
>>
>
>
> --
> Thanks
> Emily
> =================
> Emily Jiang
> ejiang@apache.org
>
>

Mime
View raw message