Hi,
yes Pax-Web does provide the full stack, HttpService WhiteBoard and
WebExtender.
Sorry for advertising ...
regards, Achim
2015-12-08 12:16 GMT+01:00 Carsten Ziegeler :
> Hi,
>
> the Felix Http implementation does not support webapp bundles. In order
> to get them working you would need to
Hi,
as you're using a servicemix rebundled version of Quarz, either check if
there is already a never version available
which already does address your issue. Or file an issue at the servicemix
project which addresses your issue to have
certain bundle marked as optional import.
regards, Achim
Hi Sten,
yes, Karaf does have an improved shell as those enhancements have been
declined in the past.
But if you want to have a much more minimal approach, did you try out the
minimal distribution of Karaf.
Or even better did you try to create a custom Karaf based on this?
In the end based on Kara
ut and in, Confluence is not showing my any
> ability to edit any wiki pages :-)
>
>
> On Sat, Aug 15, 2015 at 12:34 PM, Achim Nierbeck
> wrote:
> > Benson,
> >
> > got a link?
> >
> > regards, Achim
> >
> > 2015-08-15 18:32 GMT+02:00 Benso
gt; --benson
>
>
> On Sat, Aug 15, 2015 at 12:24 PM, Achim Nierbeck
> wrote:
> > Hi Benson,
> >
> > just did give you the access to confluence.
> > Regarding Pax - Exam pull request, if it's good we'll give you access to
> > the repo :-)
>
e in my pull request in pax-exam?
> >
> >
> > On Sat, Aug 15, 2015 at 12:09 PM, Achim Nierbeck
> > wrote:
> >> Hi,
> >>
> >> usually you need two bundles for pax-logging.
> >> One is the pax-logging-service, the other one is t
Hi,
usually you need two bundles for pax-logging.
One is the pax-logging-service, the other one is the pax-logging-api
bundle.
Btw. talking of elderly documentation, if you see improvements for the
documentation feel free to improve it.
OPS4j is a very open community. Like you find an issue you f
Hi Alex,
may I answer a couple of your questions.
1) it's Apache Aries, not Felix :-)
2) I think Christian Schneider worked on something similar transforming JEE
Annotations to a blueprint structure, but I'm not sure how
"production-ready" it is, as I never used it. But I'm sure he'll give some
f
Thanks everyone. I believe Pedro's blog shows how to correctly do this.
> It looks like using BND simply is not an option.
>
> From: Achim Nierbeck bcanh...@googlemail.com>>
> Date: Thursday, June 25, 2015 at 3:57 AM
> To: "users@felix.apache.org<mailto:users@felix.
doh' this isn't Karafs fault ...
if you want to install two bundles that are no osgi bundles you have the
convenience of installing those non-osgi bundles with the wrap url handler.
So what does the wrap-URL-Handler mean, it'll grab the maven artifact and
do an automatic osgi bundling to it. How d
d later, pax web will standardize on undertow. Is that understanding of
> mine correct?
>
> Thanks
> Frank
>
>
> On 6/19/15, 10:41 AM, "Achim Nierbeck" wrote:
>
> >Hi,
> >
> >first of all Pax-Web 5.0.0-SNAPSHOT and Pax-Web 5.0.0.Mx are different.
&
Hi,
first of all Pax-Web 5.0.0-SNAPSHOT and Pax-Web 5.0.0.Mx are different.
The Mx ones are the undertow branches which unfortunately got the version
and are completely different to the other versions of Pax-Web.
One big difference that branch is missing the well-known Whiteboard
Extender of the r
Hi Ray,
even though it might be a bit off-topic, but you started it ;)
I encourage everyone to step up and join the OSGi Alliance to get this work
> progressing faster. To a very large degree this is the limiting factor for
> why spec progression is slow).
For someone like me who only works on
p.
>
> -Nick Baker
>
> On 4/14/15, 7:31 AM, "Achim Nierbeck" wrote:
>
> >Hi,
> >
> >nope it's actually Pax-Web 5.0 M1 and M2 (from the pax-web-undertow
> >branch)
> >which uses undertow only. And it's none of the fabric8 developers i
Hi,
nope it's actually Pax-Web 5.0 M1 and M2 (from the pax-web-undertow branch)
which uses undertow only. And it's none of the fabric8 developers it's
Harald Wellmann, who also takes care of the Pax Exam.
Right now I'm trying to find a way of having undertow as the third
supported container for p
mentions " Take
> a look on the user guide.". I had to google to actually find that user
> guide.
>
> Thanks
> Johan
>
> On 25/02/15 08:35, Achim Nierbeck wrote:
> > Hi,
> >
> > just for information. If you combine Karaf with the Karaf subproject
Hi,
just for information. If you combine Karaf with the Karaf subproject Cave
you receive a OBR server.
This way you can use a Karaf+Cave server as a central OBR server. It'll
automatically convert all maven coordinates to OBR.
Together with the OBR resolver in Karaf (as additional bundle) you can
Hi Christian,
you need to use the following instead:
<_dsannotations>*
this will do the trick. I can't remember when they changed it but this is
what works for me.
regards, Achim
2015-02-07 11:07 GMT+01:00 Christian Schneider :
> Hi all
> I am trying to use scr annotations (org.osgi.servic
> report the errors you get.
>
> Regards,
> Neil
>
> > On 17 Dec 2014, at 12:51, Achim Nierbeck
> wrote:
> >
> > Any reason not to stick to Karaf as your container as it uses Felix as
> its
> > framework?
> > Otherwise you'll need to re-assemble the com
Any reason not to stick to Karaf as your container as it uses Felix as its
framework?
Otherwise you'll need to re-assemble the complete stack that is used inside
Karaf.
So you'll need to add the blueprint bundles first, those can be found at
the Aries Project.
Now you'll need to make sure you have
ll be impossible.
>
> I don't want to put the test classes into the production bundles which
> is why I'm trying to load them dynamically when the system is under
> test.
>
>
> On Fri, 2014-12-12 at 08:38 +0100, Achim Nierbeck wrote:
> > Hi,
> >
>
Hi,
just one quick question/hint.
You are aware of the Pax Exam Testframework?
I think with it you are able to do what you are looking for.
regards, Achim
2014-12-12 6:41 GMT+01:00 Dean Schulze :
>
> I have an OSGI app consisting of several bundles. In order to do
> functional testing I want
Hi Sandro,
besides the java classes a couple of extra files like spring.xml and
blueprint.xml are also scanned for class references.
But afaik JSPs aren't scanned yet. This would be a new requirement for it.
regards, Achim
2014-10-27 16:49 GMT+01:00 Sandro Boehme :
> Hello,
>
> as I understand
The question is,
how do you reference these constants?
Where an how do you use them?
regards, Achim
2014-10-14 9:14 GMT+02:00 rsteppac2 :
> Hi Achim,
>
> the class in question is an interface containing only string constants.
>
> Thanks!
> Ralf
>
>
>
> --
> View this message in context:
> http:/
How do you access this class?
By some kind of reflection?
If you don't instantiate the class bnd is not able to find it as it does
analyze the bytecode.
regards, Achim
2014-10-14 9:05 GMT+02:00 rsteppac2 :
> Maybe I should add that the bundle containing the class
> ch.vivates.ams.camel.compoment
Hi,
Just as a little hint, you might want to check the servicemix project,
because it already converted lots of 3rd party projects. It might happen
that it's already available as osgi bundle. Besides that the servicemix
project does use the maven shade plugin for conversion.
Regards, Achim
sent
Hi,
you might want to take a look at a project and it's pom on how to best use
Pax-Exam. [1]
But those questions are probably better placed at the ops4j mailinglist :)
regards, Achim
[1] -
https://github.com/ops4j/org.ops4j.pax.web/blob/master/pax-web-itest/pax-web-itest-container/pax-web-itest-
Take a look at ops4j pax-exam it'll give everything you want for
integration testing.
AFAIK the felix project also uses it and they found a way of using
cobertura for code-coverage testing also :)
regards, Achim
2013/9/16 Roland
> Hello Felix/OSGi-experts.
>
> First I wrote some JUnit testcase
You'll find a couple of those dependencies at the servicemix project.
Just look for re-packaged org.apache.servicemix bundles at maven central.
For example at [1].
regards, Achim
[1] -
http://search.maven.org/#artifactdetails%7Corg.apache.servicemix.bundles%7Corg.apache.servicemix.bundles.commons
On behalf of the Pax team I'd like to chime in her :)
You're able to combine Pax-Logging with the Felix configuration Admin
service, and with that you're able to stick to the log4j properties like
configuration.
A working sample is to check out the Apache Karaf project that uses Felix
as it's OSGi
Hi
to my understanding there should be some java 7 compiled OSGi jars
available at maven central.
regards, Achim
2012/11/21 Neil Bartlett
> I can't comment on the roadmap question... however I can answer part of
> your question. The suggested way of running OSGi on Java 7 is to just run
> it!
Hi,
just the other day we had a similar discussion at ops4j.
Now the OPS4j base jars support spi with a little SafeServiceLoader
which might fit your need. Take a look at [1]
regards, Achim
[1] - http://team.ops4j.org/wiki/display/base/Base
2012/9/8 Martin Lichtin :
> Hi David
>
> Thanks! I
Hi,
yes Pax Logging does use Configuration Admin Service for configuring
the underlying Log4j logging, see also [1].
regards, Achim
[1] - http://team.ops4j.org/wiki/display/paxlogging/Pax+Logging
2012/8/14 Felix Meschberger :
> Hi
>
> It looks like Pax Logging needs the OSGi Configuration Ad
d deployment, is that not true?
I'm repeating myself, I suggest taking a look at Apache Karaf it uses
Felix as the
OSGi Framework and it'll give you a lot of other extra features that
come very handy
when migrating a application to the osgi world.
>
> Thanks,
>
> E
>
>
And if you want to have some more stuff like JAAS or Logging out of
the box working for you
use Apache Karaf which uses Felix as the OSGi framework and brings
along everything you need for Pax Web :)
regards, Achim
2012/6/15 Allen Lau :
> Unless you really need to embed Felix, why not run the Fel
Hi,
let me pick this up :)
yes you need to take the full stack of pax-web. And JSP is suppoted by Pax Web
especially if you use Web Application Bundles
I suggest taking a look at [1].
If you think something is missing feel free to add a feature request at [2]
or just get in contact with the ops4j
Then take a look at pax-web it's one of the available containers for WAB ...
2012/5/2 Jochen Wiedmann
> I may be misunderstanding you, Neil. But, I do see the WAB having the role
> of a
> packaged web application, whereas I am thinking about the container that
> runs
> the WAB.
>
> Thanks,
>
> J
+1, forgot to mention this :)
2012/5/2 Neil Bartlett
> Why not just create a Web Application Bundle (WAB)?
>
> If you read the Web Container chapter from the OSGi Enterprise 4.2
> specification, you will see how a WAR-type artefact can be mapped to a
> bundle, with WEB-INF/classes and WEB-INF/li
my suggestion,
first try something that is already present in the OSS ecosystem, if
this doesn't fit your needs either adapt your needs or help improve
the OSS part.
regarding your needs of a OSGi compatible webcontainer, there is the
Felix Approach for the HTTP-Service and there is for example Pa
Just to give a little hint here,
Karaf where it seemed to work does use Pax-Web [1]
regards, Achim
[1] - http://team.ops4j.org/wiki/display/paxweb/Pax+Web
2012/4/17 Felix Meschberger :
> Hi,
>
> Do you Web Application Bundle support available in your framework ?
>
> Apache Felix itself does not
Hi Ivanhoe,
unfortunately I don't have much time at hand right now and
by just "staring" at it I didn't see anything :)
So I just can give you some hints that might help you to get started.
Take a look at all those samples that are available at the pax-web
project [1].
Another thing, I might sug
Hi Ivanhoe,
yep pax-web does :)
regards, Achim
2012/2/9 Ivanhoe Abrahams
> Hi Felix
>
> Thanks for your reply
> I think maybe I will try the pax-web implementation? Wonder if they offer
> this functionality, will look.
> thanks again.
>
> Regards
> Ivanhoe
>
> On Thu, Feb 9, 2012 at 11:55 AM,
gt;>> org.apache.felix.framework.**ServiceRegistry.**
>>> unregisterServices(ServiceReg
>>> istry.java:191)
>>> at org.apache.felix.framework.**Felix.stopBundle(Felix.java:**2386)
>>> at
>>> org.apache.felix.framework.**Felix.setActiveStartLevel(**
>>> Felix.java:1214)
>>> at
>&g
Well I might jump in on the karaf part :)
you need a cfg file which reflects the pid of the EventAdmin Service.
org.apache.felix.eventadmin.impl.EventAdmin.cfg (taking a look at the
ServicePID this seems to be it :) )
and yes the etc folder is the right place it'll be picked up by the
fileinstal
think there is some interference with some
> >>>>> security layer somewhere.
> >>>>>
> >>>>> On Tuesday 11 October 2011 06:15 PM, Jean-Philippe Clement wrote:
> >>>>>>
> >>>>>> I'm not too sure Geronimo is full
swer on that (still on pax-exam 1.x;
shame
on
me), but for non-native container the "only-remote-debugging" thing is
definitely true. Since the itests does not run in the same "container"
as
your unit-tests you'll have to work with the remote debugger.
I hope this helps.
K
quot;container"
as
your unit-tests you'll have to work with the remote debugger.
I hope this helps.
Kind regards,
Andreas
Thanks in advance!
Matt
--
--
*Achim Nierbeck*
Apache Karaf<http://karaf.apache.org/>
o
figure out what each of the PAX tools do or how to use them(hence
the blog posts).
-John
Quoting john.dun...@exceter.com:
Bother. That sounds eerily like the junit runner I'm half way through
writing...
Quoting Achim Nierbeck:
well, if you are in need of help, just ask :-) someon
nd their confluence wiki is very broken(macro
>>> errors) at the moment, so it's difficult, at least for me, to
>>> figure out what each of the PAX tools do or how to use them(hence
>>> the blog posts).
>>>
>>> -John
>>>
>>>
sely enough. Like I said before, I wasn't
> trying to be offensive or dismissive in any way. It was just my off the cuff
> impression.
>
> Quoting Achim Nierbeck :
>
>> interesting, since I only see "one" extra pax exam annotation,
>> all others are of junit
interesting, since I only see "one" extra pax exam annotation,
all others are of junit 4.
but this is just my 2 cents :-)
Am 21.08.2011 04:18, schrieb john.dun...@exceter.com:
>
> https://github.com/tonit/Learn-PaxExam/blob/master/lesson-junit/src/test/java/org/ops4j/pax/exam/lesson3/LessonTest.j
ice" for OSGI apps. I was also looking for some support to
>> hook
>> > and trace service interactions, which could justify some of this, but
>> there
>> > is nothing like this.
>> >
>> > -Integration testing is difficult due to all the wiring require
iginal Message-----
> From: Achim Nierbeck [mailto:bcanh...@googlemail.com]
> Sent: Thursday, July 28, 2011 6:05 PM
> To: users@felix.apache.org
> Subject: Re: PAX web and felix
>
> Bruce,
>
> You just found a bug in the 1.1.0 version of pax web :-)
>
> But I can tell yo
Oh
another thing I forgot to mention you need a servlet-api bundle like
org.apache.geronimo.specs/geronimo-servlet_2.5_spec/1.1.2
regards, Achim
Am 29.07.2011 00:51, schrieb Achim Nierbeck:
Bruce,
I just gave it a try and I have to admit together with those bundles
it doesn't work :(
f you do
or don't get the same problem, I would be facinated either way.
Thanks Achim,
Bruce
-Original Message-----
From: Achim Nierbeck [mailto:bcanh...@googlemail.com]
Sent: Thursday, July 28, 2011 10:33 AM
To: users@felix.apache.org
Subject: Re: PAX web and felix
Hi
could you try
> -Original Message-
> From: Bruce Hartman [mailto:bhart...@westell.com]
> Sent: Thursday, July 28, 2011 9:39 AM
> To: users@felix.apache.org
> Subject: RE: PAX web and felix
>
> Thanks. Has anyone else had problems running the Felix Web console with the
> newer versio
error,
> please notify the sender by replying to this message, and then delete it from
> your system. Thank you.
>
> -
> To unsubscribe, e-mail: users-unsubscr...@felix.apa
I might be naive, but I think this would be a great feature for felix.
Often this is a real downside for using fragments that they don't get
attached because the host bundle
is already started, so you start tuning with startlevels which for me is
just a bad workaround.
Would this be a possible enha
> To unsubscribe, e-mail: users-unsubscr...@felix.apache.org
> For additional commands, e-mail: users-h...@felix.apache.org
>
>
--
--
*Achim Nierbeck*
Apache Karaf <http://karaf.apache.org/> Committer & PMC
OPS4J Pax Web <h
Well the wrap URL Handler works out of the box in Karaf
because pax-url-wrap is provided by standard.
If you want to use the wrap URL Handler in your own
Felix/Equinox based OSGi runtime you need to install the
pax-url-wrap bundle also.
regards, Achim
Am 10.06.2011 21:20, schrieb mvangeert...@c
script that can only
>>> install the bundles. Then I ll tell user to issue START commands from the
>>> shell manually before using the additional gogo commands of my
>>> applicaiton.
>>>
>>> Is my strategy of launching incorrect? Is there another way of deploying
>>> and
>>> launching my bun
niele Dellafiore:
> On Thu, Apr 21, 2011 at 11:45 AM, Achim Nierbeck
> wrote:
>
>> Daniele,
>>
>> there is also pax-wicket, this might help you with developing wicket apps.
>> :)
>> And as far as I know the maven-bundle-plugin 2.3.4 is much more
>> s
Daniele,
there is also pax-wicket, this might help you with developing wicket apps. :)
And as far as I know the maven-bundle-plugin 2.3.4 is much more
suitable for creating
war archives with manifest information.
regards, achim
2011/4/21 Daniele Dellafiore :
> On Thu, Apr 21, 2011 at 9:48 AM, Da
You are right, if you don't need to a whiteboard extension is also possible.
Pax WEB also provides this for Servlets and JSPs.
regards, Achim
2011/4/7 Justin Edelson :
> Why write a web.xml at all?
> http://felix.apache.org/site/apache-felix-http-service.html#ApacheFelixHTTPService-UsingtheWhiteb
Hi Peter,
there is already some documentation at Pax Web
http://wiki.ops4j.org/display/paxweb/OSGi-fy+your+WAR
but as usual, it surely could need some improvements :)
regards, Achim
> Create a WAB with bndtools (look at bnd -wab and -wablib). Then setup a run
> environment with a web containe
Hi Daniele,
I wouldn't say you that pax-web is only for wars.
You can do what you request quite easily. Deploy your depending
jars/bundles in the osgi container
deploy your war and reference those bundles via the manifest, this is
called web application bundle, where Pax-web does quite a good job
oops, must have missed that :)
2011/4/5 Guillaume Nodet :
> Yeah, I agree. In Karaf, we've enhanced the config commands so that
> you can actually edit a configuration based on the zookeeper file it
> uses, so that should help too.
>
> On Tue, Apr 5, 2011 at 17:36, A
t; And the ConfigurationAdmin API gives no way to set the PID anyway, so
> not sure how we could do that. The API only allow the creation of a
> new factory configuration given its factory PID or the modification of
> an existing configuration.
>
> On Tue, Apr 5, 2011 at 09:01, Achim
ally guarantee a new unique PID if you can give it ...
>
> @Carlos:
> Not sure about the meta-type, but I suppose it should use the factory
> pid instead of factory based configurations?
>
> On Mon, Apr 4, 2011 at 22:59, Achim Nierbeck wrote:
>> Hi Guillaume,
>>
>&
Hi Guillaume,
just because out of curiosity, where in the spec is it defined how the
PID is generated?
I just found the following in the current 4.2 spec:
When a Configuration object for a Managed Service Factory is created
(ConfigurationAdmin.createFactoryConfiguration), a new unique PID is
cre
Hi
I have a question about the configuration admin service and it's
behavior if running together with the
metatype service. I always thought that if those two services are
running, the default configuration
for a managed service can be configured through the metatype service,
and therefore through
Since Karaf 2.1. the system Bundles are hidden when using list, use la
instead :)
2010/12/9 ilde...@gmail.com
> Ummm, this is strange. From web console I can see Pax logging up and
> running, id 3 and 4.
>
> My list command start with this:
>
> ka...@root> list
> START LEVEL 100 , List Threshold
Just to give you one more opportunity.
Use Blueprint, or Spring-DM (guess two opportunities :) )
These frameworks make sure that your bundle isn't loaded until your
configuration is available.
greetings, Achim
2010/11/19 Felix Meschberger
> Hi,
>
> There is another glitch: the Configuration Adm
Hi,
why don't you use the newer version of Karaf 2.1.
But even with Karaf 1.6 blueprint is already awailable therefore you don't
need Spring DM 2.0.
Spring DM 2.0 won't work with Karaf because of the already available
blueprint implementation.
Concerning 1.6 it is a geronimo based one, and since 2.
application. (Just like in normal webcontainers)
>
>
> On 10/14/2010 03:58 PM, Achim Nierbeck wrote:
>
>> You might also take a look at PAX-Logging, to me it looks like it would be
>> the one you are searching for :)
>>
>> 2010/10/14 Michael Hess
>>
>&g
You might also take a look at PAX-Logging, to me it looks like it would be
the one you are searching for :)
2010/10/14 Michael Hess
> > Hello,
> >
> > We have the following problem:
> >
> >
> > Multiple bundles run on osgi, each of them has a log file. If bundle X
> calls
> > bundle Y and a warn
But only if you sign it.
2010/10/8 Karl Pauls
> Yes, the policy is made possible by the policy bundle in that example.
> It is not a standard thing. You might consider buying the book :-)
>
> regards,
>
> Karl
>
> On Fri, Oct 8, 2010 at 2:00 PM, Achim Nierbeck
> wro
No, I didn't should I?
2010/10/8 Karl Pauls
> Did you install the policy bundle from the example as well?
>
> regards,
>
> Karl
>
> On Fri, Oct 8, 2010 at 12:40 PM, Achim Nierbeck
> wrote:
> > I found a link to [1]. And tried like in the example to use a
&g
; Karl
>
> On Fri, Oct 8, 2010 at 9:13 AM, Achim Nierbeck
> wrote:
> > I now tried two ways of configuring security within the karaf server. One
> > taking equinox, after setting the right properties and the policy file it
> > did work. With Felix I think I do have an
es, it should be ok,
> since the launcher is outside the osgi framework.
>
> On Mon, Oct 4, 2010 at 15:06, Achim Nierbeck >wrote:
>
> > Hi, thanks for the first answer, you are right I don't have a lot of osgi
> > security knowledge.
> > One thing though that cross
stem.Exit.
>
> Assuming you don't have a lot of osgi security knowledge I can try to
> write a more detailed mail about how to do this tonight...
>
> regards,
>
> Karl
>
> On Mon, Oct 4, 2010 at 12:45 PM, Achim Nierbeck
> wrote:
> > Hi,
> >
> &
Hi,
I asked this question in the karaf user mailing list but they told me this
would be the better place to ask :)
I have a special Problem I would like to solve with the SecurityManger. But
first the Problem I'm facing:
I have a bundle containing a third party legacy library I have to use.
This L
82 matches
Mail list logo