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
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
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
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?
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.
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.
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
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
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"
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,
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
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
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);
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
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
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
16 matches
Mail list logo