We're hitting a similar problem with the deploy/ folder and can
reproduce with a vanilla distribution of Karaf 4.3.3.
On Mac OS w/ JDK 11:
tar zxvf apache-karaf-4.3.3.tar.gz && cd apache-karaf-4.3.3
cp /tmp/confd-telemetry-feature.xml deploy/
./bin/karaf clean
karaf@root()> feature:info confd-telemetry-auto
Feature not found
Similar test with Karaf 4.3.2 shows:
karaf@root()> feature:info confd-telemetry-auto
Feature confd-telemetry-auto 1.0.0
Feature configuration:
org.opennms.features.telemetry.listeners-single-port-flows
org.opennms.features.telemetry.listeners-JTI-Listener
org.opennms.features.telemetry.listeners-NXOS-Listener
...
Here's a reference to the feature file in question:
https://gist.github.com/j-white/1574f34cb94dc2d9166ae9805bd4ba3b
<https://gist.github.com/j-white/1574f34cb94dc2d9166ae9805bd4ba3b>
Thanks for all the effort in maintaining the distribution - looking
forward to getting R7 up and running with JDK 17!
Best,
Jesse
------------------------------------------------------------------------
*From:* Jean-Baptiste Onofre <[email protected]>
*Sent:* Tuesday, September 21, 2021 9:39 AM
*To:* [email protected] <[email protected]>
*Subject:* Re: FileInstaller with 4.3.3
WARNING: This email originated outside of NantHealth.
DO NOT CLICK links or attachments unless you recognize the sender and
are expecting this email.
________________________________
Yes, I tried both, no clean, clean as argument, clean in
config.properties.
All works fine.
Can you share some details about your test case and environment
(especially if you are on Windows or Unix) ?
Regards
JB
Le 21 sept. 2021 à 15:00, Matthias Leinweber
<[email protected]> a écrit :
For me it's a custom dist. Did you do a clean start?
Am Di., 21. Sept. 2021 um 14:28 Uhr schrieb Jean-Baptiste Onofre
<[email protected]>:
Hi,
I did several test and it works fine for me.
Here’s the very simplest test:
- Starting from Karaf 4.3.3 vanilla
- I put commons-lang-2.6.jar in the deploy folder (while Karaf is
stopped)
- then, I’m starting Karaf with bin/karaf
- When I checked the bundle:list:
54 │ Active │ 10 │ 2.6.7 │ OPS4J Pax Url - wrap:
55 │ Active │ 80 │ 2.6 │ Commons Lang
So, you can see commons-lang installed and active, meaning the
deployers deployed it from the deploy folder.
It works for me.
Can you elaborate a bit your test case ?
Is it a custom distribution ?
Regards
JB
> Le 20 sept. 2021 à 08:29, Paul Fraser <[email protected]> a écrit :
>
> Hi JB,
>
> Any result on this check?
>
> Paul Fraser
>
> On 17/9/21 9:55 pm, JB Onofré wrote:
>> I checked etc I will check deploy now.
>>
>> Regards
>> JB
>>
>>> Le 17 sept. 2021 à 12:29, Paul Fraser <[email protected]> a écrit :
>>>
>>> Hi JB,
>>>
>>> In my case the problem occurs using the deploy folder.
>>>
>>> Exact same code in 4.3.2 works, 4.3.3 does not install the
deploy folder files.
>>>
>>> Paul
>>>
>>>> On 17/9/21 7:04 pm, Jean-Baptiste Onofré wrote:
>>>> Hi,
>>>>
>>>> did you updated the etc location in etc/config.properties (in
the felix.fileinstall.dir property) ?
>>>>
>>>> I just tried and it works fine for me. Here's my test case:
>>>>
>>>> 1. I created etc/my.config.cfg containing foo=bar
>>>> 2. I'm starting karaf
>>>> 3. I can see the config loaded:
>>>>
>>>> karaf@root()> config:list "(service.pid=my.config)"
>>>>
>>>>
>>>>
>>>>
>>>> ----------------------------------------------------------------
>>>> Pid: my.config
>>>> BundleLocation: ?
>>>> Properties:
>>>> felix.fileinstall.filename =
file:/home/jbonofre/Workspace/karaf/assemblies/apache-karaf/target/apache-karaf-4.3.4-SNAPSHOT/etc/my.config.cfg
>>>> foo = bar
>>>> service.pid = my.config
>>>>
>>>> Can you share your test case ?
>>>>
>>>> Regards
>>>> JB
>>>>
>>>>
>>>>
>>>>> On 16/09/2021 14:31, Matthias Leinweber wrote:
>>>>> Hello,
>>>>>
>>>>> I am having a strange issue after I updated my assembly to
4.3.3. I am using a custom file installer location which I deploy
with a feature.
>>>>>
>>>>> The strange thing is that the folder is not processed
automatically at startup, but if I touch a single file in the folder
all others files get processed as well.
>>>>>
>>>>> Any ideas?
>>>>>
>>>>> br,
>>>>> Matthias
CONFIDENTIALITY NOTICE
This e-mail message and any attachments are only for the use
of the intended recipient and may contain information that is
privileged, confidential or exempt from disclosure under
applicable law. If you are not the intended recipient, any
disclosure, distribution or other use of this e-mail message
or attachments is prohibited. If you have received this e-mail
message in error, please delete and notify the sender
immediately. Thank you.