Create OBR repository from command line

2015-12-20 Thread info
My current deployment strategy is as follows: - increase version number in build.gradle file - use SSH gradle plugin to SCP to target - use telnet to uninstall old version and install new version I'm hoping that using a OBR will make it easier. I would like to tell Felix to check if there are

Re: Uninstalled API bundle, yet implementation still resolves and starts

2015-11-04 Thread info
I 'solved' it by restarting the device. I rather don't, as I like solution where I can upgrade functionality without shutting down. Basically my structure is as follows: Bundle A: API Bundle S: Service (uses and provides some API implementation from A) Bundle X1..N: Provide functionality for S

Uninstalled API bundle, yet implementation still resolves and starts

2015-11-04 Thread info
I have an API bundle and and implementation bundle. I removed both the API and implementation, re-installed the implementation and started the implementation. To my suprise the framework was willing to start the bundle, even though the API isn't there anymore. It was present, so obviously

Re: Uninstalled API bundle, yet implementation still resolves and starts

2015-11-04 Thread info
Maybe I should also not that there are still started bundles that use the old API, I haven't updated them yet. But I thought that are all different classloaders, isolating from each other. Citeren i...@cuhka.com: Is this assumption incorrect?

Re: Deploying Jetty 9.3.5 in Felix

2015-11-02 Thread info
Thanks, I'll read the compendium too. Even though I've read the OSGi Core Release 5 Specification and several books on OSGi, and have produced some Eclipse plugins in the past I still run into things that I can't exactly understand, the specification hasn't made it to tacit knowledge yet.

Re: Bundle can't find its own classes: NoClassDefFoundError

2015-10-30 Thread info
I understand that it is difficult to tell without a stacktrace or other information. A classdefnotfound is a very strange exception to get. It looks as if it activated the bundle activator from the new bundle, then looking in an older version for the rest of the classes. Unlikely I guess.

Re: Bundle can't find its own classes: NoClassDefFoundError

2015-10-30 Thread info
Yes, indeed I'm using THE osgi plugin, and I didn't do any Bundle-Classpath editing, nor did bnd. Anyway, after 'ctrl-alt-del' of my Felix it all seems to be ok. While I still don't grasp while it occurs, what can make it hapen, I can continue. Maurice. Citeren Paulo Renato de Athaydes

Bundle can't find its own classes: NoClassDefFoundError

2015-10-30 Thread info
After a flying start with OSGi'ing my application I'm running into some amazements, or frustrations as I seem to spend more time managing OSGi than actually creating stuff... Anyway, my bundle resolves fine, but when it starts I get a NoClassDefFoundError on a class that is inside the

Re: Bundle can't find its own classes: NoClassDefFoundError

2015-10-30 Thread info
Maybe,but how can that happen? I'm using Gradle with the OSGi plugin, so AFAIK it is bnd that creates the Bundle-ClassPath entry. Also, my bundle is still quite small, so it only contains a single package. It manages to find the activator fine. Maurice. Citeren "Richard S. Hall"

Re: Bundle can't find its own classes: NoClassDefFoundError

2015-10-30 Thread info
I'll take a look, thx! Citeren Raymond Auge : It may serve you well to chose an alternative "osgi gradle plugin" (perhaps the official bnd gradle plugin [2]). Just sayin... - Ray - To unsubscribe,

Re: Deploying Jetty 9.3.5 in Felix

2015-10-29 Thread info
Minimal, as in I should be able to use websockets, and serve some static content. I'll take a look. Citeren Balázs Zsoldos : If you need the minimal set of jars with a HttpService, you can give a try to the everit-jetty-boot

Re: Deploying Jetty 9.3.5 in Felix

2015-10-29 Thread info
Downloaded Karaf 4.0.2, executed bin/karaf as per website instructions , no Gogo shell. I rather not go dig deeper holes. My goal is getting websockets running on a ARMv7 environment. Maurice. Citeren Daniel McGreal : You could use Karaf, if you don’t mind

BND issues: Caused by: java.lang.ClassNotFoundException: org.glassfish.tyrus.container.grizzly.server.GrizzlyServerContainer

2015-10-29 Thread info
I'm trying to create a bundle for the tyrus websocket implementation, and I'm stuck on the same issue that I have when not using my own bundle. When I start the server private final Server server; server = new Server("localhost", 8025, "/websocket", null, EchoEndpoint.class);

Deploying Jetty 9.3.5 in Felix

2015-10-29 Thread info
What is the easiest way to deploy Jetty 9.3.5 in to Felix? The documentation lists a few bundles that are necessary[1], but if I download the full tar distribution I find a whole lot more jars in its lib folder. I could extract those to the bundles folder of Felix, or do a install for

Re: WebSockets in Felix using Tyrus.

2015-10-28 Thread info
Oh well, getting Tyrus standalone-non-OSGi running was easy, but how on earth to get it running inside a OSGi environment is beyond my knowledge. Citeren i...@cuhka.com: I would like to use Tyrus[1] as my WebSocket implementation. In a non-OSGi standalone setup I got it up and running

WebSockets in Felix using Tyrus.

2015-10-28 Thread info
I would like to use Tyrus[1] as my WebSocket implementation. In a non-OSGi standalone setup I got it up and running fairly quick. However, I don't know how to get it running with the felix http service in OSGi. With the standalone setup one creates a specific 'container' for the