Osgi 2 « Development « Spring Q&A





1. Knopflerfish OSGi    forum.springsource.org

Hello all, Am new to OSGi and am looking for a detailed tutorial for using Spring DM with knopflerfish OSGi framework I prefer it on Equinex as it has a GUI ...

2. tomcat OSGI bundle versions    forum.springsource.org

tomcat OSGI bundle versions Hello, I am using spring-dm v1.1.1 as well as v1.2.m1 and they both provide tomcat v5.5.23. I need to find tomcat v5.5.26 as well as v5.5.27 bundles. ...

3. Required OSGi bundles for web deployment with Tomcat 6.0.18    forum.springsource.org

Required OSGi bundles for web deployment with Tomcat 6.0.18 Hi, I've spent quite a lot of time to figure out what's required to run webapps atop Apache Tomcat 6.0.18 within Spring-DM ...

4. A typo in OSGi's 3.5.4 Import-Package Header chapter?    forum.springsource.org

A typo in OSGi's 3.5.4 Import-Package Header chapter? Hi, I don't know where I could send the question and await a response so I'm sending here hoping it won't break any ...

5. Spring OSGI and Eclipse RCP startup problem    forum.springsource.org

Spring OSGI and Eclipse RCP startup problem First, let me start by saying that I already know the basics. I am using Eclipse RCP for my presentation layer and Spring plugins ...

6. bug? - Could not choose OSGi Library in Spring IDE    forum.springsource.org

My eclipse project file is generated by mvn eclipse:eclipse. Then I imported them into Spring IDE and enabled the Spring OSGi bundle project nature. My problem is, I could not choose/add ...

7. Provide Web content contributions to OSGi WAR bundle    forum.springsource.org

Provide Web content contributions to OSGi WAR bundle Hi, I have a Spring MVC based Web application residing in its own WAR bundle. I want to provide for third parties the ...

8. Spring rcp + OSGi (SpringDM)    forum.springsource.org

Spring rcp + OSGi (SpringDM) Hi, I am developing rcp application which contains modules: - dao - services - spring rcp client Application is started from usb stick Now I have ...

9. Easiest way to get spring-osgi-bundle-archetype installed ?    forum.springsource.org

Hi, Following these instructions: springsource.org/node/361 I try to use the spring-osgi-bundle-archetype using the following command: mvn -DremoteRepositories=http://s3.amazonaws.com/maven.springframework.org/milestone archetype:create -DarchetypeGroupId=org.springframework.osgi -DarchetypeArtifactId=spring-osgi-bundle-archetype -DarchetypeVersion= -DgroupId=org.spring -DartifactId=org.spring.test -Dversion=1.0.0 But the archetype cannot be resolved though ...





10. osgi dependicies    forum.springsource.org

osgi dependicies I am a noob to spring ws. I am having trouble getting spring ws bundles into knopflerfish (osgi implementation). I downloaded the spring ws zip that included all dependencies ...

11. Eclipse RCP extensions points vs. OSGI/SpringDM    forum.springsource.org

Eclipse RCP extensions points vs. OSGI/SpringDM Hello, I have some philosophical problems in using SpringDM in an eclipse RCP application. Usually to extend something within eclipse RCP I create an extension ...

12. Is there an Osgi test framework based on the TestContext Framework    forum.springsource.org

I want to be able to write and run my OSGi bundle tests using TestNG and was about to write an equivalent of the JUnit 3.8 test framework that exists. Since ...

13. spring-osgi-extender not starting with Felix    forum.springsource.org

spring-osgi-extender not starting with Felix I have finally been able to construct a "session" bundle with all hibernate dependencies. The "session" bundle is dependent on "datasource" bundle. So my bundle-context-osgi for ...

14. OSGi VS ServiceLoader (SPI)    forum.springsource.org

OSGi VS ServiceLoader (SPI) I'm new to OSGi (interested to spring-osgi) but before spending time to test spring-dm-server I would like to be sure to understand OSGi outcome. After comparing Java ...

15. org.osgi.framework.BundleException. Unable to start spring-osgi-extender    forum.springsource.org

Jan 7th, 2009, 10:54 AM #1 schaeferc View Profile View Forum Posts Private Message Junior Member Join Date Jan 2009 Location Frankfurt, Germany Posts 18 org.osgi.framework.BundleException. Unable to start spring-osgi-extender Hi, ...

16. spring osgi extender 1.1.2 dependencies    forum.springsource.org

spring osgi extender 1.1.2 dependencies I think I have found a mistake in the packaging of spring-osgi-1.1.2-with-dependencies.zip. The extender bundle spring-osgi-extender-1.1.2.jar has in its MANIFEST.MF Code: Import-Package: org.apache.commons.logging,org.osgi.framework;version= "1.3",org.osgi.service.packageadmin;version="1.2",org.springframework .beans;version="2.5.4",org.springframework.beans.factory;version="2.5 .4",org.springframework.beans.factory.config;version="2.5.4",org.spri ...





17. Non-web Spring OSGi bundle start-up best practise    forum.springsource.org

Non-web Spring OSGi bundle start-up best practise Hello everyone, Please accept my apologies if I'm talking rubbish in this post, but at the moment I'm just an OSGi / Spring DM ...

18. [Portlet vs OSGI] Web Modularity Concept    forum.springsource.org

[Portlet vs OSGI] Web Modularity Concept Hi folks, I'm planning to refactor an open source application (http://www.icescrum.org, agile tool). I have in mind to make it extensible by providing a modular ...

19. OSGi Questions    forum.springsource.org

20. Use case for OSGi?    forum.springsource.org

Use case for OSGi? Hi, I've been reading about OSGi, but haven't yet done anything with it hands-on. There is a particular problem that needs solving, and my gut's telling me ...

21. RMI in OSGi with Spring DM    forum.springsource.org

RMI in OSGi with Spring DM This question has a connection to my questions in: http://forum.springframework.org/showthread.php?t=66182 since by solving that, maybe this problem is solved aswell, but I'll ask anyway, since ...

22. Multiple HibernateSessionFactories in OSGi    forum.springsource.org

Hello! Is it possible to have the same annotated class in two different session contexts while it is referenced by classes from each of these contexts? My setup is as follows: ...

23. osgi:set does not work properly?    forum.springsource.org

osgi:set does not work properly? I am using Spring dm Server 1.0.1 release but I am not able to get osgi:set to work as expected or am I missing something? If ...

24. Logging with OSGi and Spring DM    forum.springsource.org

It's hard to fix a problem without knowing what it is. What exactly is your issue? These being said, the samples in the distribution provide logging - you can use those ...

25. OSGI distribution    forum.springsource.org

If OSGI is used in application, it can be packed in to many modules like presentation module, Service module, DAO Module.each module can be deployed in OSGI container across network. Now ...

26. Osgi    forum.springsource.org

If OSGI is used in application, it can be packed in to many modules like presentation module, Service module, DAO Module.each module can be deployed in OSGI container across network. Now ...

27. Spring osgi web 1.1.0 release    forum.springsource.org

Hi, I want to use osgi web modules in my project. I have looked into Spring repo to download all required bundles for OSGi web modules. Only one released version is ...

28. Can't load web.context.ContextLoaderListener in osgi    forum.springsource.org

Hi, I'm trying to my wepapp in OSGI following the reference guide (Chapter 8.7). I put the following in the web.xml: org.springframework.web.context.ContextLoade rListener But the class to not accessable ...

29. ApplicationContext inside the OSGi-environment    forum.springsource.org

ApplicationContext inside the OSGi-environment Hello again. This question ties back to a previous thread I have created (http://forum.springframework.org/showthread.php?t=66182) where I could not seem to explain my question in a good way. ...

30. How to verify startup of bundles with OSGi testing?    forum.springsource.org

How to verify startup of bundles with OSGi testing? Hi, I am encountering problems with starting up multiple bundles so my idea is to write a small sentinel test that will ...

31. SpringSource OSGi tooling and Maven    forum.springsource.org

SpringSource OSGi tooling and Maven Hi Christian, I was wondering if you could respond to a couple of threads regarding SpringSource's and Sonatype's tooling compatibility from the m2eclipse (the Sonatype Maven ...

32. Spring Dynamic Modules + OSGi in network devices    forum.springsource.org

Spring Dynamic Modules + OSGi in network devices Hi. Spring Dynamic Modules has given a sense to one of the objetives of OSGi, that is, OSGi in Enterprise Development (analogue to ...

33. Using in OSGi    forum.springsource.org

Hi I'm struggling to use spring tag library in my OSGi bundle. In manifest, apart from others, I have: Code: Import-Package: org.springframework.web.servlet.tags;version="[2.5.0,4.0.0)" In my welcome.jsp page, I have: Code: <%@ taglib ...

34. OSGi-fied WAR starting successfully but unable to connect in browser    forum.springsource.org

Hi guys, OK, it took me months to get this far. I finally have a large web application starting up within an OSGi environment. It has several bundles that have services ...

35. Scope of component-scan in OSGi bundles?    forum.springsource.org

Scope of component-scan in OSGi bundles? Hello! I'm developing an application encompassing multiple OSGi modules powered by Spring DM. I use annotation-based component detection and component scanning: Code: Each ...

36. org.springframework.osgi.test.internal.TestRunnerS ervice    forum.springsource.org

This class is an "internal" class and yet it is used as service interface. This causes all sorts of problems for me since I am unable to obtain a service reference; ...

37. Error in running Spring OSGi Web extender bundle in Felix    forum.springsource.org

Error in running Spring OSGi Web extender bundle in Felix I am trying to run Spring DM web jars in the Felix container. But when trying to start spring-osgi-web-extender I am ...

38. Osgi in Spring RMI    forum.springsource.org

Osgi and Spring RMI Hi all, I'm new to spring DM (and osgi in general) and would need an expert to review the approach I took setting up RMI remoting in ...

39. Problems downloading SpringIDE (specifically OSGI packages)    forum.springsource.org

Problems downloading SpringIDE (specifically OSGI packages) An error occurred while collecting items to be installed No repository found containing: org.aspectj.ajde/osgi.bundle/1.6.4.20090304172355 No repository found containing: org.aspectj.runtime/osgi.bundle/1.6.4.20090304172355 No repository found containing: org.aspectj.weaver/osgi.bundle/1.6.4.20090304172355 No ...

40. Deployment to non-OSGI container    forum.springsource.org

Deployment to non-OSGI container We have to deploy our Web application to non-OSGI containers (e.g. WebSphere, WebLogic). My understanding is that we need to use something like Equinox servlet bridge (and ...

41. Using OSGi in a "plug-in" webapplication; management of resources    forum.springsource.org

Using OSGi in a "plug-in" webapplication; management of resources Hello, I am trying to understand the concepts how OSGi manages resources (like .html, .txt, ... files). I want to make a ...

42. Reloading modified Spring DM/OSGi bundles in Eclipse workspace    forum.springsource.org

Reloading modified Spring DM/OSGi bundles in Eclipse workspace I use Spring DM 1.2.0 in Eclipse 3.4.2 PDE to develop and test several interconnected service bundles. As I know from my previous ...

43. Problem when using update from osgi console (equinox)    forum.springsource.org

I have a service registered in project A that is referenced in project B. All is done with spring osgi namespaces. When i start both projects the dependencies work fine. But ...

44. OSGi / Spring-DM Project support    forum.springsource.org

Are there plans to support OSGi / Spring-DM Roo projects? For me it is desirable to have modular web applications and not only to build as WAR but also to build ...

45. OSGi dependencies on Spring Framework    forum.springsource.org

OSGi dependencies on Spring Framework Spring Integration (SI) depends on Spring Framework 2.5 and doesn't yet support Spring Framework 3.0. Meanwhile the committers are open to making minor changes so folks ...

46. osgi:list update without restarting    forum.springsource.org

We have a response handling system and want each response will be handled with separate bundle. It is done because we want other developers can write plugins to handle responses in ...

47. org.springframework.osgi.extender not active    forum.springsource.org

org.springframework.osgi.extender not active Hi All, I ran into this problem yesterday, I am relatively new to Spring DM and OSGi, but trying to build solid background through reading books, docs and ...

48. What Spring-DM version should I used to OSGi Blueprint support?    forum.springsource.org

Hi David, Spring DM 2.0 will be the reference implementation of OSGi Blueprint Service (RFC 124) specification. As far as I understood, you'll be able to choose to the 1.2 configuration ...

49. How OSGi system bundle works?    forum.springsource.org

How OSGi system bundle works? Hi, I have a basic question regarding OSGi. I am using equinox as OSGi container. I have few of my application bundles. These get started when ...

50. SpringDM and Normal OSGi seamless merge    forum.springsource.org

Hi I have a setup which uses springDM for registering services to OSGi service registry.(called producer bundles) The user of these services are set of osgi bundles(equinox) based. In the activator ...

51. Guidance on writing library to be used in OSGi & non-OSGI enviroment    forum.springsource.org

Guidance on writing library to be used in OSGi & non-OSGI enviroment Hi, I am writing a library for use in OSGi & non-OSGi environment. I believe that there will be ...

52. Newbie question: Errors in spring-osgi samples?    forum.springsource.org

Newbie question: Errors in spring-osgi samples? I am getting errors when I try to build two of the four samples in the spring-osgi-1.2.0 release. for "simple-service", I am executing "mvn install ...

53. Sharing library Spring OSGi    forum.springsource.org

hi In my application all the jars we converted to bundles using bnd. But i don't want to do this with util jara. As they don't have any service to expose. ...

54. OSGi Compendium Configuration Admin XML problem    forum.springsource.org

Oct 28th, 2009, 11:59 AM #1 quailster View Profile View Forum Posts Private Message Junior Member Join Date Oct 2009 Posts 2 OSGi Compendium Configuration Admin XML problem I am having ...

55. OSGi Manifest Exports and Imports    forum.springsource.org

Hello I'm confused about OSGi Manifest Exports and Imports and how they relate to Spring Integration services. I'm looking at the Spring Integration 103 Samples Just Add OSGi blog entry. The ...

56. Spring OSGI web extender not 'active'    forum.springsource.org

Nov 2nd, 2009, 01:56 PM #1 iwudh8u View Profile View Forum Posts Private Message Junior Member Join Date Nov 2009 Posts 4 Spring OSGI web extender not 'active' Hi, I have ...

57. Is there a trick to getting castor to play well in osgi?    forum.springsource.org

Is there a trick to getting castor to play well in osgi? I'm using dm server 2 (CI-476 but I don't think that matters atm), spring oxm 3.0.0.RC1, and castor 1.2.0 ...

58. spring-osgi-test 1.2.0 & log4j.osgi-1.2.15-SNAPSHOT    forum.springsource.org

spring-osgi-test 1.2.0 & log4j.osgi-1.2.15-SNAPSHOT I'm trying to use spring-osgi-test v 1.2.0 and I'm unable to find the log4j.osgi-1.2.15-SNAPSHOT dependency. I tried searching for it at http://www.springsource.com/repository/ and can't find it. I've ...

59. Trouble using osgi:list    forum.springsource.org

Trouble using osgi:list Hi all, I'm having some trouble referencing a list of services. I have an api bundle that exports an interface (lets say IService) and implementation bundles (lets say ...

60. Spring OSGi Testing & JAXP Classpath    forum.springsource.org

I seem to be experiencing some strange behavior with Spring OSGi testing that I can't seem to pinpoint. I have a module which uses Xerces as it's JAXP impl for XML ...

61. org.osgi.framework budle dependency not resolved    forum.springsource.org

62. Dynamic OSGi bundle dependencies?    forum.springsource.org

Dynamic OSGi bundle dependencies? Hi, I'm a little confused as to how services are wired together with OSGi and Spring DM. Let's say I have a bundle called GoodMovieLister and another ...

63. Wrapping existing ApplicationContext implementation with OSGi-specific one?    forum.springsource.org

Wrapping existing ApplicationContext implementation with OSGi-specific one? Hi! I'm currently writing an OSGi plugin for Grails. Grails has two different implementations of an (Web)ApplicationContext based on GenericApplicationContext (beans are not loaded ...

64. OSGI Extender Listener    forum.springsource.org

Hi, Is there anyway I could listen to when the extender completes the scanning and creation of context for a osgi bundle and further if it was successful or has errors. ...

65. Spring ResourceServlet in OSGi environment    forum.springsource.org

Mar 3rd, 2010, 05:24 AM #1 equil View Profile View Forum Posts Private Message Junior Member Join Date Mar 2010 Posts 2 Spring ResourceServlet in OSGi environment Hello everybody. I develop ...

66. Spring ResourceServlet in OSGi environment    forum.springsource.org

Mar 4th, 2010, 09:07 AM #1 equil View Profile View Forum Posts Private Message Junior Member Join Date Mar 2010 Posts 2 Spring ResourceServlet in OSGi environment // Moved from web ...

67. how to use btrace in osgi & spring dm    forum.springsource.org

I used to btrace as trace tool before,after use spring dm,btrace can not work. It always throw ClassNotDef exception. anyone can help me?

68. Server Side OSGI (Equinox) + Spring DM    forum.springsource.org

Server Side OSGI (Equinox) + Spring DM Reading the Spring-DM documentation I have come to the conclusion that it is possible to have a web application (WAR) implemented in terms of ...

69. Development environment for OSGi and Spring DM based project    forum.springsource.org

Development environment for OSGi and Spring DM based project I am in search of some comparison details between (Eclipse PDE) VS (Eclipse+PAX+Maven) approaches for OSGi development environment. Though I know that ...

70. My idea is     forum.springsource.org

hi, spring-dm community. i'm interesting enterprise osgi and spring dm. now testing sample app, idea suddenly ocurr to declare OSGi service. now for using exported service in Spring DM, Code:

71. Default error channel - with multiple bundles -OSGi ?    forum.springsource.org

Default error channel - with multiple bundles -OSGi ? We are using SI in the following manner with Spring DM server. We have a bundle(framework bundle) which defines connection factories for ...

72. How to import org.springframework.osgi.test package    forum.springsource.org

Hi all. I installed STS 2.3.2 release. I wanna write bundle project and test. but I can't import org.springframework.osgi.test, so I can't create the extende class of org.springframework.osgi.test.AbstractConfigurable BundleCreatorTests. How to ...

73. spring-dm inside a non-osgi application    forum.springsource.org

spring-dm inside a non-osgi application I'm using spring-dm as a inside osgi container,which means my master bundle is not a actually bundle and is not managed by osgi container. so my ...

74. Reverse Engineer Spring-OSGi configuration file    forum.springsource.org

First of all sorry if this is not the correct thread to put this question on I m a new bea to spring dm. I m working on a such a ...

75. Spring DM in OSGI?    forum.springsource.org

hi, I have a project, it run in Eclipse is very well. I have exported all Plugin-project in jar. and then let them with equinox in OSGI-Environment run. The status of ...

76. sprng osgi test doesn't resolved all testCases as bundle import    forum.springsource.org

sprng osgi test doesn't resolved all testCases as bundle import Hi: spring-osig-test will automatically resolve the class referenced by the TestCase as the import-package while launching the TestCase as bundle; But ...

77. WMQ OSGi bundles?    forum.springsource.org

WMQ OSGi bundles? We would like to create a project in STS (Version: 2.3.2.RELEASE Build Id: 201003230009) as follows: 1. Maven dependency management. We like to use pom.xml + mvn to ...

78. Passing an to as a constructor argument    forum.springsource.org

Passing an to as a constructor argument All, I'm attempting to pass a service reference as a . However, springDM is giving me an error stating my service reference isn't ...

79. Using spring with Equinox OSGI    forum.springsource.org

Dec 19th, 2010, 03:40 PM #1 nirorlev View Profile View Forum Posts Private Message Junior Member Join Date Dec 2010 Posts 1 Using spring with Equinox OSGI Please, any direction can ...