Re: Custom Appender

2024-05-23 Thread Grzegorz Grzybek
service/4.5.0.SNAPSHOT, \ > jaas/4.5.0.SNAPSHOT, \ > deployer/4.5.0.SNAPSHOT, \ > diagnostic/4.5.0.SNAPSHOT, \ > wrap/2.6.14, \ > bundle/4.5.0.SNAPSHOT, \ > config/4.5.0.SNAPSHOT, \ > kar/4.5.0.SNAPSHOT > > On Tue, 21 May 2024 at

Re: Custom Appender

2024-05-21 Thread Grzegorz Grzybek
egards Grzegorz > > br, > Matthias > > On Tue, 21 May 2024 at 15:31, Grzegorz Grzybek > wrote: > >> The logs should contain an explanation. >> >> pax-logging-log4j2 (or your fragment) may contain some optional >> (resolution:=optional) imports which are sa

Re: Custom Appender

2024-05-21 Thread Grzegorz Grzybek
pax.logging/pax-logging-log4j2/2.2.7 = 8 > mvn\:org.ops4j.pax.logging/pax-logging-log4j2-extra/2.2.7 = 8 > mvn\:rahla/loki-appender/1.0.16-SNAPSHOT = 8 > mvn\:com.fasterxml.jackson.core/jackson-core/2.15.2 = 8 > > I debugged a bit during build process: > > Profile bootOverlay

Re: Custom Appender

2024-05-21 Thread Grzegorz Grzybek
af's FeatureService kicks in... regards Grzegorz Grzybek wt., 21 maj 2024 o 13:15 Matthias Leinweber napisał(a): > Hello Grzegorz, > > now connecting the dots which jboss fuse and your expert knowledge ;) > > Anyway I shaded the additional library and didn't add the import. Anyway,

Re: Custom Appender

2024-05-21 Thread Grzegorz Grzybek
by adding `!sun.nio.ch` if you're not really using it in your fragment. regards Grzegorz Grzybek wt., 21 maj 2024 o 10:58 Matthias Leinweber napisał(a): > I figured out that i added my logging stuff too late.: As a bundle > dependency in the assembly with a startup level which is too hi

Re: Custom Appender

2024-05-18 Thread Grzegorz Grzybek
: META-INF/org/apache/logging/log4j/core/config/plugins/Log4j2Plugins.dat=target/classes/META-INF/org/apache/logging/log4j/core/config/plugins/Log4j2Plugins.dat See: https://github.com/ops4j/org.ops4j.pax.logging/blob/main/pax-logging-samples/fragment-log4j2/pom.xml#L41-L77 regards Grzegorz Grzybek

Re: Custom Appender

2024-05-17 Thread Grzegorz Grzybek
Hello You can find a sample fragment here: https://github.com/ops4j/org.ops4j.pax.logging/tree/main/pax-logging-samples/fragment-log4j2 That's all there is ;( regards Grzegorz Grzybek pt., 17 maj 2024 o 16:26 Matthias Leinweber napisał(a): > Hello Karaf Team, > > is it possible to

Re: Jasypt Encryption Configuration in Apache Kara

2024-05-15 Thread Grzegorz Grzybek
ou can get the fragile data anyway... regards Grzegorz Grzybek > > Thanks in advance > > Best Regards > Jean-Luc > ---------- > *De :* Grzegorz Grzybek > *Envoyé :* mercredi 15 mai 2024 09:39 > *À :* user@karaf.apache.org > *Objet :* Re: Jasypt Encr

Re: Jasypt Encryption Configuration in Apache Kara

2024-05-15 Thread Grzegorz Grzybek
is the only way you can "hook-in" and do the encryption/decryption manually. kind regards Grzegorz Grzybek śr., 15 maj 2024 o 09:02 Jean-Luc . napisał(a): > Hello everyone, > I have recently set up Jasypt encryption with my Apache Karaf 4.4.1 > instance. I was able to success

Re: Race between fileinstall and configadmin?

2024-03-28 Thread Grzegorz Grzybek
Hello I can't check right now (Easter holidays) , but I can point you to similar (same?) issue: https://issues.apache.org/jira/browse/KARAF-7389 regards Grzegorz Grzybek czw., 28 mar 2024 o 06:23 Jean-Baptiste Onofré napisał(a): > Hi Jim > > We did some improvements of poten

Re: Karaf log4j conflict

2024-03-14 Thread Grzegorz Grzybek
ust pax-logging-log4j2) The 2nd approach look (maybe) more clever and I used it to make Jetty 9 bundles work with servlet-api 4 bundle (because a fragment added additional exports faking that servlet api 4 exports version 3 of the packages). I hope this helps. regards Grzegorz Grzybek śr., 13 mar

Re: Karaf log4j conflict

2024-03-12 Thread Grzegorz Grzybek
ndle really needs this package? is it implementing custom appenders/layouts/plugins? If so, it's better (and Pax Logging contains relevant examples) to create a fragment bundle attached to pax-logging-log4j2 bundle. regards Grzegorz Grzybek pon., 11 mar 2024 o 21:51 Will Hartung napisał(a): > I've been try

Re: Jetty(Jetty 9.4.52) vulnerability in Karaf 4.3.10

2024-03-03 Thread Grzegorz Grzybek
advice ;), CVE-2023-36478 is about HTTP/2 protocol and Pax Web 7 doesn't even include support for this part of Jetty. After you did scanning of jetty version, please scan Karaf it HTTP/2 protocol is enabled in the first place. kind regards Grzegorz Grzybek pon., 4 mar 2024 o 06:23 Chandan Singh

Re: Jetty(Jetty 9.4.52) vulnerability in Karaf 4.3.10

2024-02-22 Thread Grzegorz Grzybek
words - I don't have good answer... I just wanted to communicate that it's not an easy question ;) regards Grzegorz Grzybek czw., 22 lut 2024 o 13:47 Richard Hierlmeier napisał(a): > We did already a security scan, it detected CVE-2023-36478 and > CVE-2023-44487 > > Both CVEs are re

Re: Surprising Karaf logging interaction with BundleActivators after certain shutdown conditions

2023-11-30 Thread Grzegorz Grzybek
x-logging-api [7] | +- org.ops4j.pax.logging.pax-logging-api [7] +- org.apache.felix.configadmin [12] +- org.ops4j.pax.logging.pax-logging-api [7] If nothing works, please create KARAF or pax.logging issue. regards Grzegorz Grzybek czw., 30 lis 2023 o 17:40 Daniel Krügler napisał(a): > Hi, > >

Re: [UPDATE] Karaf WebConsole has issues with Karaf 4.4.4

2023-10-18 Thread Grzegorz Grzybek
. kind regards Grzegorz Grzybek śr., 18 paź 2023 o 07:43 Jean-Baptiste Onofré napisał(a): > Hey guys > > As we have new pax web releases now, I’m resuming fixes and upgrade in > preparation for releases. > > Regards > JB > > Le dim. 1 oct. 2023 à 18:39, Jean-Baptiste

Re: [UPDATE] Karaf WebConsole has issues with Karaf 4.4.4

2023-09-30 Thread Grzegorz Grzybek
I'll check it tomorrow, as Pax Web has itests related to WebConsole - I'll update the version in Pax Web itself and check. regards Grzegorz Grzybek niedz., 1 paź 2023 o 07:32 Jean-Baptiste Onofré napisał(a): > Hi guys, > > I created https://issues.apache.org/jira/browse/KARAF-7769

Re: Minho Qusetion

2023-09-18 Thread Grzegorz Grzybek
ng from javax to jakarta, where OSGi still lags behind this transition... Kubernetes made most of us think in terms of µservices. But not every problem/system requirement can be solved using this "architecture"... That's just random thought... regards Grzegorz Grzybek > > Sorry, probably out in left field for the discussion. :) > > -John >

Re: Building custom Karaf distribution with Karaf 4.4.4 not working

2023-09-18 Thread Grzegorz Grzybek
Hello Hmm, not much has changed between these: - https://repo1.maven.org/maven2/org/apache/karaf/features/specs/4.4.3/specs-4.4.3-features.xml - https://repo1.maven.org/maven2/org/apache/karaf/features/specs/4.4.4/specs-4.4.4-features.xml only the version... regards Grzegorz Grzybek pon., 18

Re: PAX JMS connection factory / connection is closed after 30 minutes

2023-07-13 Thread Grzegorz Grzybek
Thanks for the issue. I can't promise I'll have a look tomorrow, but it should be soon enough ;) regards Grzegorz Grzybek czw., 13 lip 2023 o 17:10 Ephemeris Lappis napisał(a): > Hello again ! > > Here is the new ticket : > https://github.com/ops4j/org.ops4j.pax.jms/issues/65. &g

Re: PAX JMS connection factory / connection is closed after 30 minutes

2023-07-13 Thread Grzegorz Grzybek
Hello pool.connectionIdleTimeout is something we can start with ;) At least the value matches your observation. And yest please create GH issue - it's easier to work on a problem on GitHub than on mailing list ;) regards Grzegorz Grzybek czw., 13 lip 2023 o 16:05 Ephemeris Lappis napisał

Re: PAX JMS connection factory / connection is closed after 30 minutes

2023-07-13 Thread Grzegorz Grzybek
Hello May I ask you to create an issue at https://github.com/ops4j/org.ops4j.pax.jms/issues ? Please attach the configuration, paste the logs and show which pax-jms version do you use. thanks in advance Grzegorz Grzybek czw., 13 lip 2023 o 12:42 Ephemeris Lappis napisał(a): > Hello. >

Re: Howto enable http2 in Karaf

2023-06-12 Thread Grzegorz Grzybek
Features with `http2` in their name of course (sorry). ~Grzegorz Grzybek pon., 12 cze 2023 o 09:54 Grzegorz Grzybek napisał(a): > Hello > > I never used HTTP/2 in Pax Web 7 (used in Karaf before 4.4), but I ensured > that it works (h2 and h2c) well (and consistently for > Jetty/

Re: Howto enable http2 in Karaf

2023-06-12 Thread Grzegorz Grzybek
regards Grzegorz Grzybek pon., 12 cze 2023 o 09:50 Richard Hierlmeier napisał(a): > > Has someone a good example how to enable http2 in Karaf 4.3? > > Regards > > Richard >

Re: same configuration registered with multiple PIDs in ManagedServiceFactory

2023-06-01 Thread Grzegorz Grzybek
("~")) { -cid.name = pid.substring(n + 1); -} +cid.name = pid.substring(n + 1); which ensures that both Karaf and felix.fileinstall operate on the same PID (and not only factory PID). let me prepare a PR. regards Grzegorz Grzybek śr., 31 maj 2023 o 17:47 Grzego

Re: same configuration registered with multiple PIDs in ManagedServiceFactory

2023-05-31 Thread Grzegorz Grzybek
history, https://issues.apache.org/jira/browse/KARAF-7389 was needed to prevent reading half-written file. More - tomorrow (CEST) ;) regards Grzegorz Grzybek śr., 31 maj 2023 o 17:25 Jean-Baptiste Onofré napisał(a): > Good catch. > > I remember we investigated some race condition issues

Re: Frameworks dropping OSGi support

2023-05-31 Thread Grzegorz Grzybek
.html So it's still the beginning of the road... Not only there are not CMPN jakarta versions of the above specs, I have no idea about progress at RI side (Apache Aries). I hope this clears at least some of the confusion here. regards Grzegorz Grzybek śr., 31 maj 2023 o 13:32 Jochen Walz napisał(a): &

Re: Done. in the log file and features not installed

2023-05-10 Thread Grzegorz Grzybek
Hello The only thing I can think of is that some features during resolution/installation lead to refresh or worse - uninstallation, of pax-logging-logback or pax-logging-api bundle. Do you have earlier entries from the log? regards Grzegorz Grzybek śr., 10 maj 2023 o 13:29 Martin Zukal via user

Re: How to use Jakarta Restful WebService(OSGi 8.1) ?

2023-04-12 Thread Grzegorz Grzybek
/org/ops4j/pax/web/itest/AbstractControlledTestBase.java#L667-L725 I know this is rtfs approach to answer your question, but that's how it is ;) kind regards Grzegorz Grzybek śr., 12 kwi 2023 o 07:46 안정필 napisał(a): > Hi, Karaf Users and Developers. > I'm a user who likes karaf and osgi. >

Re: Should standard-n.n.n-feature.xml reference the minimum version of pax-web?

2023-02-25 Thread Grzegorz Grzybek
existing Pax Web features installed, it's not a matter of remove old + add new feature repo... Better start fresh. regards Grzegorz Grzybek sob., 25 lut 2023 o 17:04 Paul Spencer napisał(a): > Should standard-n.n.n-feature.xml reference the minimum version of pax-web > instead of the exact v

Re: How to use Pax Web 8.0.16 in karaf 4.4.3?

2023-02-24 Thread Grzegorz Grzybek
Hello Worked for me ;) Or at least after I added 8.0.16 feature repo, when you install pax-web feature the newer version will be used. regards Grzegorz Grzybek sob., 25 lut 2023 o 06:25 Jean-Baptiste Onofré napisał(a): > Do you have pax-web features installed ? You can "force"

Re: How to use Pax Web 8.0.16 in karaf 4.4.3?

2023-02-24 Thread Grzegorz Grzybek
Hello Just replace them ;) karaf@root()> feature:repo-remove mvn:org.ops4j.pax.web/pax-web-features/8.0.15/xml/features Removing features repository: mvn:org.ops4j.pax.web/pax-web-features/8.0.15/xml/features karaf@root()> feature:repo-add

Re: Serving static content with Jetty in Karaf 4.4

2023-02-24 Thread Grzegorz Grzybek
Hello The documentation, after release of Pax Web 8 is quite outdated... I was thinking about it since I started the refactoring, but you know... Feel free to contribute and/or to open a GitHub ticket. regards Grzegorz Grzybek pt., 24 lut 2023 o 14:35 Kevin Schmidt napisał(a): > Tha

Re: Serving static content with Jetty in Karaf 4.4

2023-02-23 Thread Grzegorz Grzybek
fig which I checked that works: /var/html/test /app true I hope this helps ;) regards Grzegorz Grzybek pt., 24 lut 2023

Re: PAX JMS & Camel consumer produce warnings

2023-02-13 Thread Grzegorz Grzybek
.com/jboss-fuse/karaf-quickstarts/blob/7.x.redhat-7-x/persistence/message-brokers/cm/org.ops4j.connectionfactory-artemis.cfg these are all part of Red Hat Fuse 7 quickstarts. I hope these will give you some hints, but anyway - please show more config/stacktraces. regards Grzegorz Grzybek wt., 14 lut

Re: [PROPOSAL] Create integration (ServiceMix like) distribution in Karaf OSGi runtime

2023-01-18 Thread Grzegorz Grzybek
Hello I don't know much about SMX distributions (except SMX bundles), but having a Karaf distro with ready-to-use Camel + CXF + ActiveMQ sounds like a good idea. regards Grzegorz Grzybek śr., 18 sty 2023 o 13:44 Jean-Baptiste Onofré napisał(a): > Hi guys, > > The ServiceMix

Re: Unable to start Pax-Web 8.0.6 by using PFX Certificate.

2023-01-18 Thread Grzegorz Grzybek
Hello Vamsikrishna Could you please send entire jetty.xml? You've only provided the fragment for SslContextFactory starting with: napisał(a): > Grzegorz Grzybek, > > Thank you so much for looking into this. > > What is you $KARAF_HOME/etc/org.ops4j.pax.web.cf

Re: Unable to start Pax-Web 8.0.6 by using PFX Certificate.

2023-01-13 Thread Grzegorz Grzybek
wed = true #org.ops4j.pax.web.ssl.session.enabled = true so you can use it for SSL configuration. Next week I'll check what's the actual problem with your config - see here for follow-up: https://github.com/ops4j/org.ops4j.pax.web/issues/1821 regards Grzegorz Grzybek pt., 13 sty 2023 o 15:31 Vamsikr

Re: Unable to start Pax-Web 8.0.6 by using PFX Certificate.

2023-01-12 Thread Grzegorz Grzybek
Hello What is you $KARAF_HOME/etc/org.ops4j.pax.web.cfg configuration? (please remove the password values). regards Grzegorz Grzybek czw., 12 sty 2023 o 20:14 Vamsikrishna Koka napisał(a): > Hi Team, > > I have migrated karaf version 4.4.1 and OpenJDK 11 also. Tried to using &

Re: Pax Web 8: how to use fragment bundles with pax-web-http-whiteboard

2023-01-11 Thread Grzegorz Grzybek
Hi śr., 11 sty 2023 o 22:22 Jochen Walz napisał(a): > ... and with the custom ServletContextHelper, it works. Thanks for the > hint! > I'm glad Pax Web 8 is prepared for such scenarios ;) regards Grzegorz Grzybek > > Regards > Jochen > > > Am 11. Januar 2023 14

Re: Pax Web 8: how to use fragment bundles with pax-web-http-whiteboard

2023-01-11 Thread Grzegorz Grzybek
't exist, I either must try myself, or just accept a > bit of "overweight" and continue using WAB. > > Regards > Jochen > > Am 11. Januar 2023 12:28:35 MEZ schrieb Grzegorz Grzybek < > gr.grzy...@gmail.com>: >> >> Hello >> >> With Pax Web 8, fragment

Re: Pax Web 8: how to use fragment bundles with pax-web-http-whiteboard

2023-01-11 Thread Grzegorz Grzybek
Web 8+. Whiteboard is not an implementation of Web Application specification and while bundles can register Whiteboard services into the same target web context, it's not possible that two bundles register resources for the same mapping to create kind of _overlay_. regards Grzegorz Grzybek śr.,

Re: Happy new year 2023!

2023-01-01 Thread Grzegorz Grzybek
Happy New Year everyone! I wish you all new inspirations, new hopes and new achievements in coming 2023. kind regards Grzegorz Grzybek niedz., 1 sty 2023 o 06:41 Jean-Baptiste Onofré napisał(a): > Hi everyone, > > On behalf of the Apache Karaf team, I wish you all a very happy

Re: Jetty Config

2022-12-13 Thread Grzegorz Grzybek
T size configuration) So without hacks like wrapping felix.webconsole (to provide it with special wrapping HttpService instance) you simply can't adjust the context path used by felix.webconsole... kind regards Grzegorz Grzybek wt., 13 gru 2022 o 09:39 Matthias Leinweber napisał(a): > Hello

Re: Unable to create default RequestDispatcher

2022-11-16 Thread Grzegorz Grzybek
hoping to use it's functionality getServletContext().getNamedDispatcher("default").include(req, resp); } } the test checks the behavior on three runtimes (Jetty, Tomcat, Undertow). regards Grzegorz Grzybek śr., 16 lis 2022 o 14:57 Prashanth Ettaboina napisał(a): > Hi Grzegorz, >

Re: Unable to create default RequestDispatcher

2022-11-16 Thread Grzegorz Grzybek
ered, but with empty mapping - so you can't invoke it, but you can get a named dispatcher for it. I'm going to release Pax Web 8.0.13 today. Thanks Prashanth for the report! regards Grzegorz Grzybek śr., 16 lis 2022 o 12:21 Grzegorz Grzybek napisał(a): > Hello Prashanth > > I've a

Re: Unable to create default RequestDispatcher

2022-11-16 Thread Grzegorz Grzybek
'm working on a fix. regards Grzegorz Grzybek śr., 16 lis 2022 o 12:02 Prashanth Ettaboina napisał(a): > Hi Grzegorz, > > Thank you for your response. > I have gone through your explanation; I have seen that "/" is overriding > the default servlet. Thank you for letting

Re: [VOTE] Adopt new Apache Karaf "generic" logo

2022-11-15 Thread Grzegorz Grzybek
Hello I like it as generic Karaf logo - I have no idea about the font replacements, alignments and other design-related things. Simply +1 ;) regards Grzegorz Grzybek wt., 15 lis 2022 o 09:57 Jean-Baptiste Onofré napisał(a): > Hi guys, > > As discussed on the other thread, here

Re: Unable to create default RequestDispatcher

2022-11-15 Thread Grzegorz Grzybek
"helloboard" servlet mapped to "/". I'll check in Servlets specification how this should behave, but for now this looks like this is the reason. If you don't add this servlet, named dispatcher should work. regards Grzegorz Grzybek wt., 15 lis 2022 o 15:38 Prashanth Ettabo

Re: Unable to create default RequestDispatcher

2022-11-15 Thread Grzegorz Grzybek
d. Please share your entire WAB if possible. regards Grzegorz Grzybek wt., 15 lis 2022 o 13:56 Grzegorz Grzybek napisał(a): > Ah - so you're installing a WAR/WAB? Can you give some details under > https://github.com/ops4j/org.ops4j.pax.web/issues/1794 ? > > Or if you don't us

Re: Unable to create default RequestDispatcher

2022-11-15 Thread Grzegorz Grzybek
Ah - so you're installing a WAR/WAB? Can you give some details under https://github.com/ops4j/org.ops4j.pax.web/issues/1794 ? Or if you don't use Github, please share: - information about the WAR you're installing - some logs from Karaf when you install the WAR regards Grzegorz Grzybek wt

Re: Unable to create default RequestDispatcher

2022-11-14 Thread Grzegorz Grzybek
amples.config.commands.web.TestServlet │ / │ /s1/*│ Whiteboard │ (osgi.http.whiteboard.context.name =default) And there's no "defaul" servlet in "/" context. "default" servlet is installed by default only for WAB scenarios (WAR). regards Grzegorz Grzybek pon., 14 lis 2022

Re: Unable to create default RequestDispatcher

2022-11-14 Thread Grzegorz Grzybek
/1794 to track this problem - please give me ~1 day to find the reason of the problem. kind regards Grzegorz Grzybek pon., 14 lis 2022 o 14:56 Prashanth Ettaboina napisał(a): > Hi Team, > > I have updated my KARAF version from 4.2.15 to 4.4.1 and Java from 8 to 11 > in my application. &g

Re: Unable to load custom web.xml for Pax Web in Karaf (4.4.1)

2022-11-10 Thread Grzegorz Grzybek
Hi OK - please then change "helloboard" to "/helloboard" in your Web-ContextPath manifest header. context path without slash is wrong according to specification. regards Grzegorz Grzybek czw., 10 lis 2022 o 15:25 Prashanth Ettaboina napisał(a): > Hi Grzybek, > >

Re: Unable to load custom web.xml for Pax Web in Karaf (4.4.1)

2022-11-10 Thread Grzegorz Grzybek
ew commands like "web:servlet-list", "web:wab-list" or "web:context-list". regards Grzegorz Grzybek > > Can anyone please look at it. > > Thanks, > Prashanth Ettaboina, >

Re: [DISCUSS] Adopt new Karaf logo

2022-11-07 Thread Grzegorz Grzybek
Grzegorz Grzybek pon., 7 lis 2022 o 13:20 Jean-Baptiste Onofré napisał(a): > Hi guys, > > Thanks all for your feedback. > > Regarding your comments (it seems cloud logo doesn't convince > everyone), and to represent more the generic aspect of karaf (as > umbrella project),

Re: webconsole and pax-web-http-tomcat

2022-11-04 Thread Grzegorz Grzybek
to be released soon, so please give me few days to prepare new 8.0.x release of Pax Web. kind regards Grzegorz Grzybek pt., 4 lis 2022 o 11:12 Martin Zukal via user napisał(a): > Hi, > > Thanks for your hint to use mvn:io.hawt/hawtio-osgi/2.15.0/war web > application for testing. It wou

Re: 'http:list' command missing in Karaf 4.4.2

2022-11-04 Thread Grzegorz Grzybek
fragments, SCIs, ...) about installed WAR/WAB - web:context-list - information about contexts kind regards Grzegorz Grzybek pt., 4 lis 2022 o 09:38 Oliver Fürniß napisał(a): > I believe I have found the replacement. > > feature:install pax-web-karaf > > web:servlet-list > &g

Re: org.eclipse.jetty.rewrite.handler.RewriteHandler not found by org.ops4j.pax.web.pax-web-jetty

2022-11-04 Thread Grzegorz Grzybek
pt., 4 lis 2022 o 08:10 Oliver Fürniß napisał(a): > Thanks GG, > > 'feature:install pax-web-jetty-extras' solved it! :-) > That was a quick one ;) regards Grzegorz Grzybek > > Regards, > Oliver > > > Am Fr., 4. Nov. 2022 um 08:03 Uhr schrieb Grzegorz Gr

Re: org.eclipse.jetty.rewrite.handler.RewriteHandler not found by org.ops4j.pax.web.pax-web-jetty

2022-11-04 Thread Grzegorz Grzybek
Hello This issue should be fixed by https://github.com/ops4j/org.ops4j.pax.web/issues/1712 - please install "pax-web-jetty-extras" feature to get access to the rewrite handler ;) regards Grzegorz Grzybek pt., 4 lis 2022 o 07:51 Oliver Fürniß napisał(a): > Hi, > > I'm try

Re: webconsole and pax-web-http-tomcat

2022-11-03 Thread Grzegorz Grzybek
()): if (ok) { getServletContext().setAttribute (Globals.RESOURCES_ATTR, getResources()); so looks like "ok" is false ;) please increase logging for "org.ops4j.pax.web.extender.war" logger to see what may be wrong. regards Grzegorz Grzybek czw., 3 lis 2022 o 14

Re: webconsole and pax-web-http-tomcat

2022-11-03 Thread Grzegorz Grzybek
I'm sure I've added enough customization, but maybe something's wrong with Tomcat upgrade? Give me few hours (I have urgent tasks to do..) regards Grzegorz Grzybek czw., 3 lis 2022 o 14:34 Martin Zukal via user napisał(a): > Hi, > > Thanks a lot! I finally got rid off the jetty

Re: startupFeatures vs. bootFeatures when building custom karaf distribution

2022-11-03 Thread Grzegorz Grzybek
org.apache.karaf.features.core bundle as startup bundle. You're using "framework-logback" variant of this feature and *it has to be kept as startupFeature*. regards Grzegorz Grzybek czw., 3 lis 2022 o 12:35 Martin Zukal via user napisał(a): > Hello, > > To be honest

Re: webconsole and pax-web-http-tomcat

2022-11-03 Thread Grzegorz Grzybek
Ah - I forgot about "war"... It's defined as: pax-web-http-war which again leads to Jetty. You need "pax-web-war" feature, which doesn't enforce any particular runtime, so you have to use one explicitly - like pax-web-http-tomcat. regards Grzegorz Grzybek

Re: Issue with org.eclipse.jetty.security.jaspi/9.4.46.v20220331 in KARAF 4.4.1

2022-11-03 Thread Grzegorz Grzybek
Hmm, did you attach something? I see like missing picture in your email... regards Grzegorz Grzybek czw., 3 lis 2022 o 11:25 Vamshi Krishna (External) < vamkris...@blackberry.com> napisał(a): > Hi Grzegorz Grzybek, > > > > Thank you for looking into this. > > >

Re: webconsole and pax-web-http-tomcat

2022-11-03 Thread Grzegorz Grzybek
notated classes being discovered. I still hope that removing pax-web-http-jetty (by not including "http" feature) will solve your problem. regards Grzegorz Grzybek czw., 3 lis 2022 o 10:36 Martin Zukal via user napisał(a): > Hello and thank you for a quick response! > > So

Re: webconsole and pax-web-http-tomcat

2022-11-03 Thread Grzegorz Grzybek
n't claim that the problem is only at your side - maybe Pax Web didn't anticpate some setup and I'd be happy to help solving this problem. kind regards Grzegorz Grzybek czw., 3 lis 2022 o 09:46 Martin Zukal via user napisał(a): > Hello everyone, > I am experiencing strange behavior with webco

Re: [DISCUSS] Adopt new Karaf logo

2022-11-02 Thread Grzegorz Grzybek
Hello I have absolutely no knowledge on logo design, but I simply like this one ;) Blue color gives me calm and the squares give me tech vibes. Nothing more needed ;) +1! regards Grzegorz Grzybek wt., 1 lis 2022 o 14:11 Jean-Baptiste Onofré napisał(a): > Hi guys, > > as

Re: WebSocketServerFactory: class not found

2022-10-22 Thread Grzegorz Grzybek
raf/Jetty/WebSocket example/test had to be @Ignored because it's Jetty 9 specific. regards Grzegorz Grzybek > > Regards > JB > > On Sat, Oct 22, 2022 at 8:56 AM Grzegorz Grzybek > wrote: > > > > Hello > > > > Also remember that Karaf 4.4.x uses Pax Web 8 and

Re: WebSocketServerFactory: class not found

2022-10-22 Thread Grzegorz Grzybek
rd example for websocket registration. Karaf's "examples/karaf-websocket-example" is kind of proprietary (works with Jetty only - explicitly extending org.eclipse.jetty.websocket.servlet.WebSocketServlet servlet) and such servlet isn't even available in Jetty 10. kind regards Grzegorz Gr

Re: XADataSource and Aries TM

2022-10-21 Thread Grzegorz Grzybek
:=active > These effectively mean that your "my-test-26-karaf-s-db" Karaf feature "provides data sources" - without specifying their names... That's bringing effectively zero information (IMO)... I simply wouldn't treat <_removeheaders>Import-Service as dirty

Re: XADataSource and Aries TM

2022-10-21 Thread Grzegorz Grzybek
s a capability, > or, at the opposite, avoid its checking to let it deploy and install > our bundles that seem to be able to resolve the wrapping service (that > what it does if the Camel bundle is already installed and the wrapper > provides the service after ... > Did you try to

Re: XADataSource and Aries TM

2022-10-21 Thread Grzegorz Grzybek
at-7-11-x/persistence/camel-xa regards Grzegorz Grzybek pt., 21 paź 2022 o 09:38 Ephemeris Lappis napisał(a): > Hello. > > I don't really understand how I can manage my XADataSource/DataSource > with this example, and I think the resolution exception comes from > another reason

Re: XADataSource and Aries TM

2022-10-20 Thread Grzegorz Grzybek
red from this very bundle itself!) is simply wrong. Fortunately maven-bundle-plugin (and bnd itself) has option to "fix" this - I always use (especially for data source / JPA) bundles this header: <_removeheaders>Import-Service this way, the bundle won't contain it and (OSGi) resolver wo

Re: XADataSource and Aries TM

2022-10-20 Thread Grzegorz Grzybek
:javax.validation/validation-api/1.1.0.Final-redhat-1 mvn:org.apache.geronimo.components/geronimo-connector/3.1.1 mvn:org.apache.aries.transaction/org.apache.aries.transaction.jdbc/2.1.3 And the "wrapping" is done by org.apache.aries.transaction.jdbc. Are you thinking about

Re: Issue karaf 4.4.1 with org.eclipse.jetty.security.jaspi

2022-10-06 Thread Grzegorz Grzybek
jetty" feature from Pax Web or "jetty" feature from Karaf itself (which actually includes Pax Web's "pax-web-jetty" feature). kind regards Grzegorz Grzybek czw., 6 paź 2022 o 13:39 Vamsikrishna Koka napisał(a): > > Hi Team, > > I have tried with plain KARAF 4.

Re: Isolation in Karaf/OSGI

2022-09-02 Thread Grzegorz Grzybek
n I safely assume that a function in bundle B can ONLY > call functions in bundle A that are exported. I take here a security perspective on the notion of isolation. > No, you can't assume that. kind regards Grzegorz Grzybek > > Thanks for your answer, > > Best, > > -- Jaap > >

Re: Need web whiteboard debugging tips

2022-08-30 Thread Grzegorz Grzybek
/server/whiteboard Your HTTP 404 for http://localhost:8181/frontend-karaf-demo/ request is related to lack of "welcome files" registered to the context. There's no default here. regards Grzegorz Grzybek pon., 29 sie 2022 o 19:44 Steinar Bang napisał(a): > >>>>> Steinar

Re: PAX-WEB does not register servlet

2022-08-22 Thread Grzegorz Grzybek
Whiteboard specification. Also what the specification assumes is that if you don't specify the name of the servlets, its FQCN should be used instead... regards Grzegorz Grzybek pon., 22 sie 2022 o 08:32 Richard Hierlmeier napisał(a): > Hi Thomas and Grzegorz, > > I cannot say whether this p

Re: PAX-WEB does not register servlet

2022-08-16 Thread Grzegorz Grzybek
Hello If you set DEBUG logging level for org.ops4j.pax.web logger, you should see A LOT of information about how servlets are discovered and registered into the runtime. Without the logs, I can't tell much - especially if (as you've mentioned) it's sporadic problem... regards Grzegorz Grzybek

Re: Session cookie configuration in http white board

2022-07-29 Thread Grzegorz Grzybek
ing with PAX-WEB 8 :) > I'm glad to hear that! You got my github star ;) regards Grzegorz Grzybek > > Thank you > > Richard > > Am Do., 14. Juli 2022 um 16:47 Uhr schrieb Grzegorz Grzybek < > gr.grzy...@gmail.com>: > >> >> >> czw., 14 lip 20

Re: Pax-Web - org.ops4j.pax.web.ssl.ciphersuites.excluded

2022-07-25 Thread Grzegorz Grzybek
somewhere here in the SSLConnectionSocketFactoryBuilder: https://github.com/ops4j/org.ops4j.pax.web/blob/web-8.0.6/pax-web-itest/pax-web-itest-utils/src/main/java/org/ops4j/pax/web/itest/utils/client/Hc5TestClient.java#L277 regards Grzegorz Grzybek > > Regards > >Richard > > > Am Mo., 25. Juli 2022 u

Re: Pax-Web - org.ops4j.pax.web.ssl.ciphersuites.excluded

2022-07-25 Thread Grzegorz Grzybek
t.java regards Grzegorz Grzybek > > Regards > Richard > > > Am Mo., 18. Juli 2022 um 15:16 Uhr schrieb Martin Lichtin via user < > user@karaf.apache.org>: > >> Has anyone used Pax-Web settings >> >> org.ops4j.pax.web.ssl.ciphersuites.excluded= >

Re: Pax-Web - org.ops4j.pax.web.ssl.ciphersuites.excluded

2022-07-25 Thread Grzegorz Grzybek
xps, but I was wrong. So in theory, it should work... regards Grzegorz Grzybek pon., 18 lip 2022 o 15:15 Martin Lichtin via user napisał(a): > Has anyone used Pax-Web settings > > org.ops4j.pax.web.ssl.ciphersuites.excluded= > org.ops4j.pax.web.ssl.ciphersuites.included= > &g

Re: Logging service 1.5.0 not exported in karaf 4.4.1 (Was: Building with the karaf 4.4.0 BOM: missing osgi.cmpn)

2022-07-15 Thread Grzegorz Grzybek
1.5,2)" generated by maven-bundle-plugin... regards Grzegorz Grzybek pt., 15 lip 2022 o 13:04 Steinar Bang napisał(a): > >>>>> Jean-Baptiste Onofré : > > > On Wed, May 25, 2022 at 5:02 PM Steinar Bang wrote: > > >> >>>>> Jean-Baptiste O

Re: Session cookie configuration in http white board

2022-07-14 Thread Grzegorz Grzybek
4j1.jira.com/browse/PAXWEB-1123 was the main reason I decided to refactor Pax Web ;) regards Grzegorz Grzybek > > Richard > > Am Do., 14. Juli 2022 um 15:42 Uhr schrieb Grzegorz Grzybek < > gr.grzy...@gmail.com>: > >> >> >> czw., 14 lip 2022 o 15

Re: Session cookie configuration in http white board

2022-07-14 Thread Grzegorz Grzybek
ax/web/itest/container/war/AbstractWabWhiteboardConflictIntegrationTest.java#L55-L69>[1] - it's a filter registration, but the principle is the same. regards Grzegorz Grzybek === [1]: https://github.com/ops4j/org.ops4j.pax.web/blob/web-8.0.6/pax-web-itest/pax-web-itest-container/pax-web-itest-conta

Re: Session cookie configuration in http white board

2022-07-14 Thread Grzegorz Grzybek
ned in the Servlets specification itself) regards Grzegorz Grzybek > > Richard > > Am Mo., 27. Juni 2022 um 16:15 Uhr schrieb Grzegorz Grzybek < > gr.grzy...@gmail.com>: > >> Hi >> >> >> pon., 27 cze 2022 o 16:04 Richard Hierlmeier >> napisał(a): >

Re: Custom Karaf 4.2.16 with pax-jdbc 1.5.3

2022-07-04 Thread Grzegorz Grzybek
/1.5.0/xml/features This will add a / element to etc/org.apache.karaf.features.xml. Then you can simply use your 1.5.3 version of features. regards Grzegorz Grzybek pon., 4 lip 2022 o 08:27 Oliver Fürniß napisał(a): > Good morning, > > Karaf 4.2.16 embeds pax-jdbc 1.5.0. I w

Re: Session cookie configuration in http white board

2022-06-27 Thread Grzegorz Grzybek
answer more precisely, I'd have to check your current configuration - what WAB are you deploying and what are the registration properties of the HttpWhiteboard servlet. Only then I could check (going back to Karaf 4.3.7) what may be the issue related to context configuration... regards Grzegorz Gr

Re: Session cookie configuration in http white board

2022-06-27 Thread Grzegorz Grzybek
s per associated ServletContextHelper > So even if two whiteboard servlets are registered to the same target servlet context, but using different ServletContextHelper, they'll use different session configuration. kind regards Grzegorz Grzybek pon., 27 cze 2022 o 11:33 Richard Hierlmeier

Re: pax-web-jetty configuration issue

2022-05-24 Thread Grzegorz Grzybek
Thanks for checking would you mind adding this comment to https://github.com/ops4j/org.ops4j.pax.web/issues/1720 ? And btw - you're using pax-web-http-jetty, right? I'm pretty sure that uninstalling a bundle cleans up the context... But I'll check once again regards Grzegorz Grzybek > >

Re: pax-web-jetty configuration issue

2022-05-23 Thread Grzegorz Grzybek
9](R 239.1)] > osgi.wiring.package; > (&(osgi.wiring.package=org.ops4j.pax.web.service)(version>=8.0.4.SNAPSHOT))] > Ah yes... Wouldn't be a problem for you if you simply clone the project and build it using `mvn clean install -DskipTests`? It should be a moment ;) regards Grzegorz Gr

Re: pax-web-jetty configuration issue

2022-05-23 Thread Grzegorz Grzybek
road of "bigger surprise". I'm going to fix #1720 by simply taking all security information (regardless of the originating OSGi context) and add/remove them to/from the target _physical context_. Please expect a fix soon (I hope today) and a release in near future (most probably this w

Re: pax-web-jetty configuration issue

2022-05-20 Thread Grzegorz Grzybek
4j.pax.web/issues/1720 to track this. regards Grzegorz Grzybek pt., 20 maj 2022 o 09:45 Gerald Kallas - mailbox.org napisał(a): > Hi Grzegorz, > > seems to me rather a pay-jetty issue than a karaf one. May be I miss > something in the configuration for concurrent security claims? > &g

Re: [HEADS UP] Preparing Karaf runtime 4.3.3 release

2021-08-24 Thread Grzegorz Grzybek
- ${karaf.etc}/tomcat-server.xml - ${karaf.etc}/undertow.xml org.apache.karaf.jaas.boot.principal.UserPrincipal org.apache.karaf.jaas.boot.principal.RolePrincipal I maintain a todo.txt file[1], where you can track my progress. kind regards Grzegorz

Re: [PROPOSAL] Disable autoRefresh on features service by default and simple optional features service

2021-01-08 Thread Grzegorz Grzybek
narios, where Karaf is used as "application server" and switch it to autoRefresh=false in µservices / custom distro / single start mode. And looking forward Karaf 5 and new feature mechanism, I'd rather turn autoRefresh off in Karaf 5... regards Grzegorz Grzybek pt., 8 sty 2021

Re: Happy Christmas

2020-12-27 Thread Grzegorz Grzybek
Too late for Christmas wishes, but I'd like to wish you all happy New Year - the year without face masks, the year of Linux on Desktop™, Karaf 5, Pax Web 8 and Half Life 3 ;) Let us all forget about 2020 asap! kind regards Grzegorz Grzybek czw., 24 gru 2020 o 19:01 Geaaru napisał(a): > Ha

Re: Blog about what's new in Apache Karaf 4.3.0

2020-11-09 Thread Grzegorz Grzybek
Thanks JBO - this looks cool and gives nice summary! regards Grzegorz Grzybek pon., 9 lis 2020 o 17:03 Jean-Baptiste Onofre napisał(a): > Hi guys, > > I did a quick blog post about what’s new in Apache Karaf 4.3.0: > > http://blog.nanthrax.net/?p=1038 <http://blog.nanthrax.ne

Re: HTTPS with Karaf 4.2.9 and underpinning undertow web server

2020-09-03 Thread Grzegorz Grzybek
nt: curl/7.69.1 < Date: Thu, 03 Sep 2020 05:59:31 GMT < * Connection #0 to host localhost left intact Hello 1 kind regards Grzegorz Grzybek pt., 7 sie 2020 o 11:53 Gerald Kallas napisał(a): > Hi, > > I tried this out but it doesnt work properly. (keystore and truststore are > t

  1   2   >