RE: Exporting an instance of a 3rd party library as service

2022-04-04 Thread Geoffrey Seanor
your consumer bundle import service and package? BR Karsten -Ursprüngliche Nachricht- Von: Geoffrey Seanor Gesendet: Montag, 4. April 2022 13:59 An: user@karaf.apache.org Betreff: RE: Exporting an instance of a 3rd party library as service Hi Karsten, You base bundle looks ok. My import

RE: Exporting an instance of a 3rd party library as service

2022-04-04 Thread Geoffrey Seanor
nd sub-packages? Regards Karsten Ursprüngliche Nachricht- Von: Geoffrey Seanor Gesendet: Montag, 4. April 2022 10:23 An: user@karaf.apache.org Betreff: RE: Exporting an instance of a 3rd party library as service Hi Karsten, Have you tried exporting interface org.jasypt.encryption.Stri

RE: Exporting an instance of a 3rd party library as service

2022-04-04 Thread Geoffrey Seanor
Hi Karsten, Have you tried exporting interface org.jasypt.encryption.StringEncryptor? I export this interface using a dedicated blueprint bundle and pass it the decryption password from the environment. This service is then used by pax-jdbc, and also referenced by other blueprint bundles which

RE: Karaf 4.3.0: Configuration override of management ports

2021-04-16 Thread Geoffrey Seanor
cautious when opening attachments or clicking links. *** Hi, I guess it works using org.apache.karaf.management.serviceUrl property directly right ? Let me check. Regards JB Le 15 avr. 2021 à 11:00, Geoffrey Seanor mailto:geoffrey.sea...@mufgsecurities.com>> a écrit : Hi all, I add

Karaf 4.3.0: Configuration override of management ports

2021-04-15 Thread Geoffrey Seanor
Hi all, I added the following to Karaf’s setenv.bat file (and the equivalent to the setenv shell script) as described in the docs: set KARAF_OPTS=^ -Dorg.apache.karaf.management.rmiRegistryPort=1730^ -Dorg.apache.karaf.management.rmiServerPort=44730 So instead of the default serviceUrl value:

Karaf 4.3.0: deploy folder scanner NPEs

2021-04-14 Thread Geoffrey Seanor
Hi all, On Karaf 4.3.0 I see the following error logged every few milliseconds: 2021-04-14T08:09:13,749 | ERROR | fileinstall-/[KARAF_HOME]/deploy | fileinstall | 15 - org.apache.felix.fileinstall - 3.6.8 | In main loop, we have serious trouble java.lang.NullPointerExceptio

Problems with Karaf build with profiles

2021-01-27 Thread Geoffrey Seanor
Hi, I have been creating a build based on Karaf v4.3.0 that uses profiles for provisioning and have used the karaf-profile-example sample as a reference. I hit a problem so tried building the examples locally but both the dynamic and static projects failed to build. The karaf-profile-example-