Hi Paul, My apps were working with one folder. I tried to switch to 2 folders because I kind of need it. But I got the above mentioned issues. It's a runtime issue. All the bundles are active (which should be active).
Andrei On Tue, Oct 19, 2021 at 11:30 AM Paul Stanley < [email protected]> wrote: > Hi Andrei, > > If a bundle is marked as installed, it usually means that there is an > issue resolving its dependencies, these will be highlighted in the > webconsole. > You've also go to consider that the startup ordering will be random, as > you are using multiple deplorers. > Each of the deplorers has the power to stop and restart any other bundle > that has already been started in the system. > Perhaps you should consider using a single deploy folder? > > Cheers > Paul > > > > From: "Andrei Petru Mura" <[email protected]> > To: [email protected] > Date: 19/10/2021 07:39 > Subject: Re: Multiple deploy directories in Karaf > ------------------------------ > > > > I tried this. And it worked, only that some issues arise related to > dependencies. Sometimes, the dependencies aren't found at runtime, although > they are installed. > > On Fri, Oct 15, 2021 at 9:30 AM Jean-Baptiste Onofré <*[email protected]* > <[email protected]>> wrote: > > Hi, > > Yes and no ;) > > Several folders is possible via the configuration in etc/config.properties. > > It's not possible via a factory. > > In your case, you should create etc/org.apache.felix.fileinstall-foo.cfg > with a single directory. > > Regards > JB > > On 14/10/2021 10:12, Andrei Petru Mura wrote: > > From Apache Felix documentation page > > ( > *https://felix.apache.org/documentation/subprojects/apache-felix-file-install.html* > <https://felix.apache.org/documentation/subprojects/apache-felix-file-install.html> > > < > *https://felix.apache.org/documentation/subprojects/apache-felix-file-install.html* > <https://felix.apache.org/documentation/subprojects/apache-felix-file-install.html>>), > > > I get this: > > > > |felix.fileinstall.dir| > > > > > > > > ./load > > > > > > > > The name of the directory to watch. Several directories can be specified > > by using a comma separated list. > > > > If I try to do this in Apache Karaf 4.3.3, I should go to > > ${karaf.home}/etc/org.apache.felix.fileinstall-deploy.cfg and edit: > > > > felix.fileinstall.dir = ${karaf.base}/deploy > > > > to something like: > > felix.fileinstall.dir = > > ${karaf.base}/deploy,${karaf.base}/custom-deploy > > > > But I get this in the log: > > > > Root path does not exist: > > > /edited/path/apache-karaf-4.3.3/deploy:/edited/path/apache-karaf-4.3.3/custom-deploy > > > > Is this possible in Apache Karaf? > > > > Thanks, > > Andrei > >
