That's a quite big problem and I'm not really aware of any way to
control the extender execution order.
The reason is that each extender can work synchronously or
asynchronously and there's no coordination between them, there's not
even a way to specify such a thing.
I can only see two ways out:
Hi
I just can second Guillaume here, there is only one more thing that
crosses my mind.
Pax Web needs to support Injecting OSGi Services into the Servlets,
see also [1].
But as usual this kind of stuff is needed much earlier then implemented :)
regards,
[1] -
Deploying hadoop in OSGi is not a simple task, and wether you use Gogo
or not isn't really the problem.
Gogo just enables you to install bundles using a command instead of
using the osgi api, but as I said, the problem isn't really here.
So Hadoop isn't OSGi ready at all. I worked on it a few
Thanks Guillaume and Achim... I will investigate the manual
synchronization route. Does Pax-web initialize each servlet
synchronously? If so, I can create a dummy servlet that initializes
before the main servlet that can wait for the initialization of the
Spring context.
I also found this post by
I think Peter's solution is a nice one, as spring (and blueprint) has
the ability to wait until all services are satisfied before actually
creating the full spring app.
That would only work if you need it that way though (i.e. spring app
started after the web app).
On Mon, Jun 25, 2012 at 4:14
Hi there,
I've started to work on a blueprint-based application, and basically the
subject already says what I'm looking for :-) I googled around a little bit and
found the following two blogposts that seem interesting:
Hi Gerald,
I suggest sticking to testing with pax-exam or even better using paxexam-karaf.
I have the following reasons for this :)
If you want to use blueprint jpa or something like this, I experienced
trouble with pojoSR not being capable of providing some needed
functionality for the jpa part
Hi folks,
I seem to have a strange issue with Karaf 2.2.7. I know eventadmin can
be installed as a feature (or as a boot feature), but if I deploy
org.apache.felix.eventadmin-1.2.14.jar into the deploy folder, I get a
strange restart behaviour.
Karaf seems to:
- Come up to the point I get
I'm looking at the second solution below (manual synchronization). The
Spring side is easy -- I can create a bean in the context with an
init-method attribute that therefore knows when the Spring context has
been created.
On the servlet side I have created a common servlet called
Hi all,
Is it possible to bind a jaxrs:server definition in a blueprint file to the
default karaf http service?
e.g. whenever I do something like the example below, it fails due to a port
conflict with the default service.
jaxrs:server id=myREST address=/${archiveRestPath}
I am getting this error
Caused by: java.lang.NoClassDefFoundError:
org/apache/thrift/transport/TTransportException
Caused by: java.lang.ClassNotFoundException:
org.apache.thrift.transport.TTransportException not found by
me.prettyprint.hector [193]
I have provided all the
The Karaf team is pleased to announce the release of Karaf version 2.2.8.
Apache Karaf is a small OSGi distribution which provides a ready to
use container for server side applications.
This release of Apache Karaf is based off of the 2.2.x series branch,
representing an update to Apache Karaf
On 06/25/2012 05:11 PM, David Jencks wrote:
On Jun 25, 2012, at 5:16 PM, ramesh chandra wrote:
I am getting this error
Caused by: java.lang.NoClassDefFoundError:
org/apache/thrift/transport/TTransportException
Caused by: java.lang.ClassNotFoundException:
13 matches
Mail list logo