Eclipse add plugin development
I have installed Eclipse Helios. how can i add to it plug-in development functionallity (to be able to create OSGi bundles) ...
I have installed Eclipse Helios. how can i add to it plug-in development functionallity (to be able to create OSGi bundles) ...
I changed my Java SE (right button click on project Configure -> Convert to Plug-in Projects) to plug -in, but when i try to run it - it run as Eclipse application, how to start it as OSGi? Thanks! ...
Hi, I have a maven project which library should also be an OSGi bundle with an declarative service. I added the OSGI-INF folder with the service.xml inside src/java/resources which will be added to the jar. But: When I start the project as equinox project, where I want to check if the service is loaded, I get the error that the OSGI-INF...
I have two projects: One "pure" maven project and another PDE project which I build with maven3/tycho. Now I would like to use some of the bundles that I build from the PDE project (using maven 3) in the pure maven project. My first idea was to use maven3 to deploy the bundles to a nexus server and then read them from the server with t...
I try to run OSGi plug in in Eclipse. It is empty bundle, but eclipse always send me errors There are my console messages http://pastebin.com/dqQfpQhd What is wrong? ...
when i see the avaliable commands on the karaf console.there is no "features:" commands. Are their only osgi bundles in 4.2 or did i download sumthing else @Claszen thank you for the answer but it did not work. i downloaded the 66.54 mb zip file meant for windows. and on running the servicemix.bat the following error's prop up before t...
I have a bunch of eclipse plugins that depend on a bundle that contains some third-party jar/dll resources, and exports the packages those resources contain. When I export and drop all this into eclipse/plugins, the plugins work perfectly. However, when I make a new plugin dependent on my resource bundle in this new workspace, I can't s...
Hi folks, I've been having problems configuring an ActiveMQ broker through an xBean-parsed external XML file. At this point, ANY help, tips, pointers, hints or even cheering-up are appreciated. Here's my issue: I'm trying to use an external .xml file to configure a broker. I have the following code in my spring bundle context: <bean i...
Is there a way to use Endpoint.publish() in an OSGi bundle to publish a web service? When I run the code from the command line it works, but the same code in a bundle activator produces the following exceptions: Caused by: com.sun.xml.internal.ws.server.ServerRtException: [failed to localize] cannot.load.wsdl(file:/C:/ws/project/org.pro...
We are currently researching OSGI at work and I need to provide a proof of concept on its use with spring dm and spring-ws in the appropriate application server(tomcat / jetty).Does anyone have a example or a tutorial or any links that can help in my research? I have for the past dew days been looking for some samples on how to implemen...
Hi, I try to install a bundle in an OSGi environment (FUSE ESB) but do not manage to get it resolved. The error message is: The bundle could not be resolved. Reason: Package uses conflict: Import-Package: de.foo.bar; version="0.0.0" My bundle imports the package de.foo.bar. The bundle which exports the package de.foo.bar does this wi...
I'm using Apache Karaf as an OSGi container. Karaf have url wrapper which can install bundles directly from maven repository > install mvn:com.farpost.billing/background-service/2.2-SNAPSHOT Bundle ID: 139 All works just fine. But I want to start several bundles from given source. This make sense if new bundle occasionally broke produ...
Currently I have the DLL files (rfid.dll;cpl.dll;rfidtx.dll;) at the root of my bundle. I make a Utility Bundle to hold the jna.jar, and export com.sun.jna, com.sun.jna.ptr as services. The Manifest for the bundle in question looks something like this: Manifest-Version: 1.0 Bundle-ManifestVersion: 2 Bundle-Name: ServiceImpl Bundle-Sym...
Hello, I'm trying to send objects from bundles over a dedicated communication bundle to an other framework. For communication I use Java standard serialization (with ObjectStreams) over TCP/IP. Communication flow is the following: A sender-bundle will pass serializable objects to a transmit-sender which will serialize the objects and ...
I am doing a gradle/OSGi build.... I have the OSGi bundle building fine, but want to automate the bundle deployment. I don't think there is a gradle task for this, so this becomes a groovy question. To deploy to an osgi container you do the following: 1) telnet to the OSGi container port 2) send ss command to list the bundles 3) pars...
i would like to import a package rather than require bundle in a manifest and have all bundles that require the former package inherit the imported package. I am assuming that it is possible to set visibility: reexport, but Eclipse does not complain if i had this option... ...
Hello everybody, I’m a beginner with the technologies OSGi and JMX, so I have some questions and I hope to have answers. I want to recover the OSGi Log object for display logs on my console eclipse and then display them on a jsp page. Haw can I access to Log OSGi bundle via the JMX’ Object MBeanServerConnection? Haw can I have LogEn...
I try to figure out a start with Apache ServiceMix 4.2 Sadly the tutorials on the homesite seem pretty much outdated ... with 4.2 the services seem to be started out of the box and be configured with karaf, while the tutorials talk about copying files into a "hotdeploy" folder that doesn't exist anymore in 4.2 ... Can someone point me ...
I have a Java application. I created a OSGi bundle and in Activator.start i added MyMain Class.main() .Application started but it have a problem with DB connection. 'java.sql.SQLException: An attempt by a client to checkout a Connection has timed out.' If i start my application as an application it works fine. What is wrong? Thanks a l...
I am using Eclipse 3.6 product export to build an Equinox-based OSGi application. I would like to be able to configure some of my plugins to deploy exploded instead of as JARs. Is there a way to do this? ...