I think in order to do that you need FileInstall (
http://felix.apache.org/documentation/subprojects/apache-felix-file-install.html).
You need to configure it to watch the folder(s) you want via system
property `felix.fileinstall.dir`.
Then you can place a file `org.ops4j.pax.logging.cfg` in that f
Daniel,
We have these in our startup script:
-Dfelix.fileinstall.dir=../../conf \
-Dlog4j.configuration=file:../../conf/org.ops4j.pax.logging.cfg \
Not even sure anymore if we need them both, but it works perfectly.
Hope this helps,
Erwin
On Nov 29, 2017, at 11:42, daniel stieger
mailto:danie
Gentlemen,
i feel realy bad to ask such a beginner s question, but after 4 hours i m
giving up.
I just use a plain felix installation and added the config admin and the pax
logging framework (api + service). However, i have not found out how to
configure pax logging to use a file...
* p
Carsten,
Ugh… good point.
Well, case closed I guess? :-)
Thanks for your help Carsten.
Erwin
> On Nov 29, 2017, at 10:02, Carsten Ziegeler wrote:
>
> Hi,
>
> actually I think this is more or less ok. The events are posted from the
> same thread and event admin requires them to be delivered
Hi,
actually I think this is more or less ok. The events are posted from the
same thread and event admin requires them to be delivered in the order
they are posted. So if one listener is blocking, then delivery of all
other events initiated from the same thread are blocked.
Regards
Carsten
Car
Hi Erwin,
ah sorry, right :) I was reading modulo 10 instead of equals 10...
Yes, you're absolutely right in this case, that should not happen.
This looks like a problem in postEvent somewhere
Carsten
Erwin Hogeweg wrote
> Hi Carsten,
>
> Sorry, I think didn’t make myself clear.
>
> I am on
Hi Carsten,
Sorry, I think didn’t make myself clear.
I am only replacing ONE listener with a BlockingListener, and then I am
blocking ONE event delivery. So I do expect to loose ONE event, not 70k…
Or am I missing something?
Erwin
@Test
public void testEventing() throws Exception {
Thanks
I'm not sure if event admin could/should do anything in this case. Each
blocking listener takes away one thread from the thread pool. As soon as
you have as many blocking listeners as the pool has threads, event admin
will not deliver any event anymore
Regards
Carsten
Erwin Hogeweg wrot
Hi Carsten,
After analyzing a bunch of log files we found some evidence that suggested that
an EventAdminThread might be blocked.
I was able to duplicate it with a JUnit test. I created a BlockingListener with
extends Listener and override the handleEvent() method. As you can see below we
are
9 matches
Mail list logo