RE: Custom Karaf hangs on first boot if containing folder is renamed

2023-04-05 Thread Maurice Betzel
The problem of hanging on boot after a folder rename still did not disappear. Leaving out pax-web install on boot only made the issue appear less frequent. Somewhere a thread gets deadlocked on first boot. Van: Maurice Betzel Verzonden: zaterdag 25 maart 2023 12:10 Aan: user@karaf.apache.org

RE: Custom Karaf hangs on first boot if containing folder is renamed

2023-03-25 Thread Maurice Betzel
Do you have the standard features in runtime scope (not compile scope) ? Yes, and I blacklisted all Pax Web related Karaf features using only the Pax-Web features down the line. eu.abeel.platform platform-framework ${project.version} kar compile

Re: Custom Karaf hangs on first boot if containing folder is renamed

2023-03-25 Thread Jean-Baptiste Onofré
This is "classic", it can happen due to "mistake" in the assembly. Do you have the standard features in runtime scope (not compile scope) ? org.apache.karaf.features standard 4.2.6 features xml compile The scope is

RE: Custom Karaf hangs on first boot if containing folder is renamed

2023-03-24 Thread Maurice Betzel
Steven, your comment inspired me to do some more experimentation, the issue is indeed intermittent on Linux as well. I could reduce it so far that if I add the upgraded feature pax-web-http-jetty version 8.0.18 to the boot features, it hangs like before but now also displays the following on

Re: Custom Karaf hangs on first boot if containing folder is renamed

2023-03-23 Thread Steven Huypens
For what it's worth, we faced an issue which this reminded me of. We concluded that the start order of bundles with the same start level depends on the full path of each bundle. As a result, renaming the karaf folder will have an impact on the boot procedure of your Karaf distro. We experienced

Re: Custom Karaf hangs on first boot if containing folder is renamed

2023-03-23 Thread Jean-Baptiste Onofré
OK, that's what I thought: it's windows platform related issue. As Apache contributor, I should have access to Windows ISO to test ;) Thanks, Regards JB On Thu, Mar 23, 2023 at 8:48 AM Maurice Betzel wrote: > JB, > > > > Good luck with your search. The Linux build does not display this

RE: Custom Karaf hangs on first boot if containing folder is renamed

2023-03-23 Thread Maurice Betzel
JB, Good luck with your search. The Linux build does not display this behavior btw. Van: Jean-Baptiste Onofré Verzonden: woensdag 22 maart 2023 09:44 Aan: user@karaf.apache.org Onderwerp: Re: Custom Karaf hangs on first boot if containing folder is renamed CAUTION: This email originated from

Re: Custom Karaf hangs on first boot if containing folder is renamed

2023-03-22 Thread Jean-Baptiste Onofré
Hi Maurice, It's highly possible that the problem is related to Windows platform, updating the path. I have to find a Windows to test it :) Regards JB On Tue, Mar 21, 2023 at 12:13 PM Maurice Betzel wrote: > Hi JB, > > > > I extracted the zip from the build, renamed the folder and deleted

RE: Custom Karaf hangs on first boot if containing folder is renamed

2023-03-21 Thread Maurice Betzel
Hi JB, I extracted the zip from the build, renamed the folder and deleted the data folder (which had nothing in it except the readme). The result is the same, the shell displays: platform.bat: KARAF_LOG doesn't exist: "C:\Users\User\Downloads\runtime5\bin\..\data\log" platform.bat: Creating

Re: Custom Karaf hangs on first boot if containing folder is renamed

2023-03-21 Thread Jean-Baptiste Onofré
Did you try to remove the data folder ? Not only Karaf is using caching, Felix FileInstall/ConfigAdmin does too. Regards JB On Mon, Mar 20, 2023 at 2:42 PM Maurice Betzel wrote: > Dear community, > > > > Having built several custom Karaf distributions the past 10 years, we now > face a

Custom Karaf hangs on first boot if containing folder is renamed

2023-03-20 Thread Maurice Betzel
Dear community, Having built several custom Karaf distributions the past 10 years, we now face a strange behavior not seen before. Environment is Windows 11 64bit, base Karaf version 4.4.3 with upgraded pax-web 8.0.17 component. If I extract the runtime ZIP after build and start it from the