Announcement Announcement Module
Collapse

Spring Dynamic Modules forum decommissioned in favor of Eclipse Gemini Blueprint

With the official first release of Eclipse Gemini Blueprint shipped, the migration of the Spring Dynamic Modules code base to the Eclipse Foundation, as part of the Gemini project, has been completed.

As such, this forum has been decommissioned in favour of the Eclipse Gemini forums.
See more
See less
Spring Dynamic Modules 2.0.0.M1 / OSGi 4.2 Blueprint Service RI Released Page Title Module
Move Remove Collapse
This is a sticky topic.
X
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Spring Dynamic Modules 2.0.0.M1 / OSGi 4.2 Blueprint Service RI Released

    Dear Spring community,

    I'm pleased to announce that Spring Dynamic Modules for OSGi(tm) Service Platforms (formerly known as Spring OSGi) 2.0.0 M1 final has been released.

    Downloads | JavaDocs | Reference Documentation | FAQ | Changelog

    The first release in the 2.x branch, M1 provides the first, complete OSGi 4.2 Blueprint Service Reference Implementation (RI).

    Other noticeable improvements:
    * migration to JDK 5 and Spring 3.x
    * updated documentation on Blueprint Service
    * enhanced tooling support
    * new service exporter/importer options
    * improved proxy performance and generation
    * importer support for collection of service references
    * faster shutdown algorithm

    and numerous enhancements and bug fixes. Please consult the changelog for detailed information.

    For using OSGi 4.2 Blueprint Service, JDK 5 or Spring 3 in an OSGi environment, we recommend Spring Dynamic Modules 2.0.0.M1!
    Note that compatibility with OSGi 4.0 and 4.1 platforms has been preserved (please consult the reference documentation for more details).

    Feedback and suggestions are welcome!

    Cheers,
    Costin Leau
    Lead, Spring Dynamic Modules
    Last edited by Costin Leau; Sep 28th, 2009, 06:27 AM.

  • #2
    Great job Costin !

    Could you post your plan about upcoming Spring DM 2.x releases ?

    I'd like to know if you plan to make easier integration testing between bundles ?

    http://static.springsource.org/osgi/...l/testing.html

    I.e. I know Felix has been working on a bundle auto discovery feature that removes the hassle to write/maintain config files describing dependencies at integration testing time.

    Thanks

    Fred

    Comment


    • #3
      Thanks Fred. Once we have something concrete, we'll share it with the world (it's the reason I joined Twitter after all). If you have any suggestions or ideas, please post them here or into JIRA.

      Cheers,

      Comment


      • #4
        installing spring bundles in server

        Hi Costin,

        Iam trying to install spring OSGI bundles in geronimo container. I was able to succesfully install all the bundles except spring-osgi-test. when i start that bundle iam seeing the below exception. Could you advise if iam missing something. Is it possible to install osgi test bundle.

        Below is the snippet for the installed spring osgi bundles.


        [ 251] [Active ] [ ] [ ] [ 60] Spring Beans (3.0.0.RELEASE)
        [ 252] [Active ] [ ] [ ] [ 60] Spring Core (3.0.0.RELEASE)
        [ 253] [Active ] [ ] [ ] [ 60] Spring Context (3.0.0.RELEASE)
        [ 254] [Active ] [ ] [ ] [ 60] Spring ASM (3.0.0.RELEASE)
        [ 255] [Active ] [ ] [ ] [ 60] Spring AOP (3.0.0.RELEASE)
        [ 256] [Active ] [ ] [ ] [ 60] AOP Alliance API (1.0.0)
        [ 257] [Active ] [ ] [ ] [ 60] Spring Expression Language (3.0.0.RELEASE)
        [ 258] [Active ] [ ] [ ] [ 60] Spring Test (3.0.0.RELEASE)
        [ 259] [Active ] [ ] [ ] [ 60] JUnit (3.8.2)
        [ 260] [Active ] [ ] [ ] [ 60] spring-osgi-core (1.2.1)
        [ 261] [Active ] [ ] [ ] [ 60] spring-osgi-io (1.2.1)
        [ 262] [Active ] [ ] [ ] [ 60] spring-osgi-annotation (1.2.1)
        [ 263] [Active ] [ ] [ ] [ 60] spring-osgi-extender (1.2.1)
        geronimo> start 264
        Error executing command: Exception in org.springframework.osgi.test.internal.support.Act ivator.start
        () of bundle org.springframework.osgi.test.
        geronimo>


        Detailed stacktrace

        org.osgi.framework.BundleException: Exception in org.springframework.osgi.test.internal.support.Act ivator.start() of bundle org.springframework.osgi.test.
        at org.eclipse.osgi.framework.internal.core.BundleCon textImpl.startActivator(BundleContextImpl.java:806 )
        at org.eclipse.osgi.framework.internal.core.BundleCon textImpl.start(BundleContextImpl.java:755)
        at org.eclipse.osgi.framework.internal.core.BundleHos t.startWorker(BundleHost.java:370)
        at org.eclipse.osgi.framework.internal.core.AbstractB undle.start(AbstractBundle.java:284)
        at org.eclipse.osgi.framework.internal.core.AbstractB undle.start(AbstractBundle.java:276)
        at org.apache.karaf.shell.osgi.StartBundle.doExecute( StartBundle.java:29)
        at org.apache.karaf.shell.osgi.BundlesCommand.doExecu te(BundlesCommand.java:49)
        at org.apache.karaf.shell.console.OsgiCommandSupport. execute(OsgiCommandSupport.java:38)
        at org.apache.felix.gogo.commands.basic.AbstractComma nd.execute(AbstractCommand.java:35)
        at org.apache.felix.gogo.runtime.shell.CommandProxy.e xecute(CommandProxy.java:50)
        at org.apache.felix.gogo.runtime.shell.Closure.execut e(Closure.java:229)
        at org.apache.felix.gogo.runtime.shell.Closure.execut eStatement(Closure.java:162)
        at org.apache.felix.gogo.runtime.shell.Pipe.run(Pipe. java:101)
        at org.apache.felix.gogo.runtime.shell.Closure.execut e(Closure.java:79)
        at org.apache.felix.gogo.runtime.shell.CommandSession Impl.execute(CommandSessionImpl.java:71)
        at org.apache.karaf.shell.console.jline.Console.run(C onsole.java:169)
        at java.lang.Thread.run(Thread.java:662)
        Caused by: java.lang.ExceptionInInitializerError
        at org.springframework.osgi.test.internal.support.Act ivator.start(Activator.java:45)
        at org.eclipse.osgi.framework.internal.core.BundleCon textImpl$1.run(BundleContextImpl.java:783)
        at java.security.AccessController.doPrivileged(Native Method)
        at org.eclipse.osgi.framework.internal.core.BundleCon textImpl.startActivator(BundleContextImpl.java:774 )
        ... 16 more
        Caused by: java.lang.IllegalStateException: spring-osgi-test.jar is not available on the boot class path; are you deploying the test frameworkas a bundle by any chance?
        at org.springframework.osgi.test.internal.holder.Hold erLoader.<init>(HolderLoader.java:61)
        at org.springframework.osgi.test.internal.holder.Hold erLoader.<clinit>(HolderLoader.java:47)
        ... 20 more
        Caused by: java.lang.ClassNotFoundException: org.springframework.osgi.test.internal.holder.Osgi TestInfoHolder
        at java.net.URLClassLoader$1.run(URLClassLoader.java: 202)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.j ava:190)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:3 07)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launche r.java:301)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:2 48)
        at org.springframework.osgi.test.internal.holder.Hold erLoader.<init>(HolderLoader.java:57)
        ... 21 more

        Comment


        • #5
          i just want learn something about java

          Comment

          Working...
          X