The karaf command works, but I don't want embedded karaf :)

On Fri, Jun 18, 2010 at 3:20 PM, khepel lak <khepe...@gmail.com> wrote:

> This is the only dependency I have in the pom:
>
> <dependency>
>  <artifactId>org.apache.felix.main</artifactId>
>  <groupId>org.apache.felix</groupId>
>  <version>2.0.1</version>
> </dependency>
>
> On Fri, Jun 18, 2010 at 3:14 PM, Guillaume Nodet <gno...@gmail.com> wrote:
>
>> Right, but if your main classloader (i.e. the one you launch felix
>> from) has a copy of the API, the same problem would happen.
>>
>> On Fri, Jun 18, 2010 at 15:07, khepel lak <khepe...@gmail.com> wrote:
>> > No,  org.osgi.core is not installed.
>> >
>> > Felix Remote Shell Console:
>> > ============================
>> >
>> > -START LEVEL 1
>> >   ID   State         Level  Name
>> > [   0] [Active     ] [    0] System Bundle (2.0.1)
>> > [  15] [Active     ] [    1] Apache Felix Bundle Repository (1.6.2)
>> > [  16] [Active     ] [    1] Apache Felix Remote Shell (1.0.4)
>> > [  17] [Active     ] [    1] Apache Felix Shell Service (1.4.2)
>> > [  31] [Active     ] [    1] Apache Commons Logging (1.1.1)
>> > [  32] [Active     ] [    1] Spring Beans (3.0.3.RELEASE)
>> > [  33] [Installed  ] [    1] spring-osgi-extender (1.2.1)
>> > [  34] [Active     ] [    1] Spring Core (3.0.3.RELEASE)
>> > [  35] [Active     ] [    1] AspectJ Tools (1.6.8.RELEASE)
>> > [  36] [Active     ] [    1] Spring AOP (3.0.3.RELEASE)
>> > [  37] [Active     ] [    1] Spring Context (3.0.3.RELEASE)
>> > [  38] [Active     ] [    1] spring-osgi-io (1.2.1)
>> > [  39] [Active     ] [    1] AOP Alliance API (1.0.0)
>> > [  40] [Active     ] [    1] spring-osgi-core (1.2.1)
>> > -> start 33
>> > java.lang.ClassCastException:
>> >
>> org.springframework.osgi.extender.internal.activator.ContextLoaderListener
>> > cannot be cast to org.osgi.framework.BundleActivator
>> > ->
>> >
>> >
>> >
>> > On Fri, Jun 18, 2010 at 2:50 PM, Richard S. Hall <he...@ungoverned.org
>> >wrote:
>> >
>> >>
>> >> On 6/18/10 6:19, khepel lak wrote:
>> >>
>> >>> I am not able to start the spring osgi extender 1.2.1 on felix 1.4,
>> 1.8
>> >>> and
>> >>> 2.0.1. I have installed and started all the required bundles, but when
>> I
>> >>> start the extender bundler I get this
>> >>> exception: java.lang.ClassCastException:
>> >>>
>> org.springframework.osgi.extender.internal.activator.ContextLoaderListener
>> >>> cannot be cast to org.osgi.framework.BundleActivator
>> >>>
>> >>>
>> >>
>> >> Are you installing the org.osgi.core bundle? If so, don't. It looks
>> like
>> >> you have two copies of the OSGi API classes in your configuration from
>> this
>> >> exception.
>> >>
>> >> -> richard
>> >>
>> >>
>> >>  Any idea what the problem could be?
>> >>>
>> >>> According to Spring:
>> >>> Requirements
>> >>>
>> >>> Spring DM 2.x:
>> >>>
>> >>>    - Java 1.5 (or greater)
>> >>>    - OSGi R4 (or greater) platform
>> >>>    (Spring DM is tested daily against Eclipse Equinox 3.5.x,
>> Knopflerfish
>> >>>    3.x and Apache Felix 2.x)
>> >>>    - Spring Framework 3.0.RC1 or greater
>> >>>
>> >>> Spring DM 1.x:
>> >>>
>> >>>    - Java 1.4 (or greater)
>> >>>    - OSGi R4 (or greater) platform
>> >>>    (Spring DM is tested daily against Eclipse Equinox 3.3.x,
>> Knopflerfish
>> >>>    2.2.x and Apache Felix 1.4.x)
>> >>>    - Spring Framework 2.5.6 or greater
>> >>>
>> >>>
>> >>>
>> >>
>> >> ---------------------------------------------------------------------
>> >> To unsubscribe, e-mail: users-unsubscr...@felix.apache.org
>> >> For additional commands, e-mail: users-h...@felix.apache.org
>> >>
>> >>
>> >
>>
>>
>>
>> --
>> Cheers,
>> Guillaume Nodet
>> ------------------------
>> Blog: http://gnodet.blogspot.com/
>> ------------------------
>> Open Source SOA
>> http://fusesource.com
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscr...@felix.apache.org
>> For additional commands, e-mail: users-h...@felix.apache.org
>>
>>
>

Reply via email to