Hello Ivanhow,

I'm using aries 1.0.0. Here's the list of bundles I got with: $ ls
target/bundles/ | grep aries

org.apache.aries.blueprint.api-1.0.0.jar
org.apache.aries.blueprint.cm-1.0.0.jar
org.apache.aries.blueprint.core-1.0.0.jar
org.apache.aries.proxy.api-1.0.0.jar
org.apache.aries.proxy.impl-1.0.0.jar
org.apache.aries.transaction.manager-1.0.0.jar
org.apache.aries.util-1.0.0.jar

I've got them from karaf-2.3.0 system directory. I've added
transaction-manager, and dropped aries-jmx stuff.

Good luck,

p.s. My name is Ioan with capital i not L

On Mon, Nov 12, 2012 at 4:08 PM, Ivanhoe Abrahams
<[email protected]> wrote:
> Hi Loan
>
> Last time I checked Karaf was using 0.3 version of Aries.
> So are you saying that you had to downgrade to version 03. of Aries to get
> it to work? or are you still using  1.0.0 version of Aries?
> If you are still using  1.0.0 of Aries let me know,  because I ran into
> exactly the same issue.
> Although I too can get evrything to work  fine with 0.3 Aries I have trouble
> getting 1.0.0 to work
>
> Regards
> Ivanhoe
>
>
> On Mon, Nov 12, 2012 at 3:59 PM, Ioan Eugen Stan <[email protected]>
> wrote:
>>
>> Hello Chrisian,
>>
>> Thanks for the tip. I embedded all the dependencies that Karaf uses
>> and now I don't get any exceptions or errors.
>> I combined several aries artifacts that did not worked together and my
>> lack of knowledge with aries code-base stalled developemen.
>>
>> We'll probably migrate to use Karaf, but the launcher we have now is ok.
>>
>> Thanks,
>>
>> On Mon, Nov 12, 2012 at 2:49 PM, Christian Schneider
>> <[email protected]> wrote:
>> > Hi Ioan,
>> >
>> > in Apache Karaf there is one additional bundle:
>> > org.apache.aries.blueprint.core.compatibility 1.0.0
>> >
>> > I  guess this may be necessary to support the 1.0.0 blueprint ext
>> > namespace.
>> >
>> > Btw. If you have the choice try to use Karaf .. It is much simpler to
>> > setup than pure Felix.
>> >
>> > Christian
>> >
>> >
>> >
>> > On 11/12/2012 01:33 PM, Ioan Eugen Stan wrote:
>> >> Hello,
>> >>
>> >> I'm building an OSGI app with felix and blueprint  based on
>> >> aries-1.0.0 and I get the class cast exception which I pasted bellow.
>> >> I searched on the mailing list and found another discussion but no
>> >> apparent solution.
>> >>
>> >> I'm pretty new to OSGI, especially aries so could you please explain
>> >> what I'm doing wrong?
>> >>
>> >> 12.11.2012 12:57:33.689 *INFO* [Blueprint Extender: 3]
>> >> org.apache.aries.blueprint.container.BlueprintContainerImpl Bundle
>> >> com.axemblr.provisionr.engine is waiting for namespace handlers
>> >> [http://aries.apache.org/blueprint/xmlns/blueprint-ext/v1.0.0]
>> >> 12.11.2012 12:57:33.689 *INFO* [Blueprint Extender: 3]
>> >> org.apache.aries.blueprint.container.BlueprintContainerImpl Bundle
>> >> com.axemblr.provisionr.engine is waiting for namespace handlers
>> >> [http://aries.apache.org/blueprint/xmlns/blueprint-ext/v1.0.0]
>> >>
>> >> ERROR: Bundle org.apache.aries.blueprint.core [15] EventDispatcher:
>> >> Error during dispatch. (java.lang.ClassCastException:
>> >> org.apache.aries.blueprint.ext.impl.ExtNamespaceHandler cannot be cast
>> >> to org.apache.aries.blueprint.NamespaceHandler)
>> >> java.lang.ClassCastException:
>> >> org.apache.aries.blueprint.ext.impl.ExtNamespaceHandler cannot be cast
>> >> to org.apache.aries.blueprint.NamespaceHandler
>> >>         at
>> >> org.apache.aries.blueprint.namespace.NamespaceHandlerRegistryImpl.addingService(NamespaceHandlerRegistryImpl.java:101)
>> >>         at
>> >> org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:980)
>> >>
>> >> The list of aries dependencies I load into OSGi:
>> >>
>> >> org.apache.aries.blueprint-1.0.0.jar
>> >> org.apache.aries.blueprint.api-1.0.0.jar
>> >> org.apache.aries.blueprint.core-1.0.0.jar
>> >> org.apache.aries.proxy-1.0.0.jar
>> >> org.apache.aries.transaction.manager-1.0.0.jar
>> >> org.apache.aries.util-1.0.0.jar
>> >>
>> >> Thanks,
>> >>
>> >
>>
>>
>>
>> --
>> Ioan Eugen Stan / CTO / http://axemblr.com
>
>



-- 
Ioan Eugen Stan / CTO / http://axemblr.com
  • [no subject] Ioan Eugen Stan
    • Re: Christian Schneider
      • Re: Ioan Eugen Stan
        • Re: Ivanhoe Abrahams
          • Re: Ioan Eugen Stan
            • Re: Tom Mercelis

Reply via email to