Re: Bug or missing configuration?

2019-07-23 Thread David Jencks
How do you build your bundle?
Does it explicitly import the package of the missing class? (it needs to)

David Jencks

> On Jul 23, 2019, at 11:33 AM, djawaica  wrote:
> 
> Hello together,
> 
> I try to explain my problem as short as possible.
> 
> Context description:
> ---
> Karaf Versions: 4.1.7. , 4.2.0 and 4.2.6
> jdk Version: 1.8.0_161
> host os: windows 10
> 
> Use Case:
> -.
> 1.) starting karaf in server mode
> 2.) install feature scr for declarative service support   - feature:install
> scr
> 3.) install very simple bundle from local filesystem   - install
> file:///C:/../...jar
> 4.) start new installed bundle
> 
> How the installed bundle looks like and the resulting problem:
> --
> @Component(immediate = true)
> public final class Main {
>   @Activate
>   public void OnActivate() {
>   System.out.println("Main.OnActivate() ENTER");
>   try {
>   System.out.println(SSLContext.class.getName());
>   }catch (Exception e) {
>   e.printStackTrace();
>   }
>   System.out.println("Main.OnActivate() EXIT");
> }
> 
> The only output I get comes from the first System.out.println.
> The trial to access the SSLContext results in a NoClassDefFoundError:
> javax/net/ssl/SSLContext
> and the bundle changing into state "WAITING"
> 
> Has anybody an idea how to bring karaf class loader to find the class file,
> which is part of the runtime?
> java.home= (.set.to.)\jdk1.8.0_161\jre
> java.library.path=(.set.to.)\jdk1.8.0_161\bin;(.some.other.);(...)\apache-karaf-4.2.6\bin\..\lib;(...)\apache-karaf-4.2.6\bin\..\lib;.
> 
> Thankx a lot for all comments
> djawaica
> 
> 
> 
> 
> 
> --
> Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html



Bug or missing configuration?

2019-07-23 Thread djawaica
Hello together,

I try to explain my problem as short as possible.

Context description:
---
Karaf Versions: 4.1.7. , 4.2.0 and 4.2.6
jdk Version: 1.8.0_161
host os: windows 10

Use Case:
-.
1.) starting karaf in server mode
2.) install feature scr for declarative service support   - feature:install
scr
3.) install very simple bundle from local filesystem   - install
file:///C:/../...jar
4.) start new installed bundle

How the installed bundle looks like and the resulting problem:
--
@Component(immediate = true)
public final class Main {
@Activate
public void OnActivate() {
System.out.println("Main.OnActivate() ENTER");
try {
System.out.println(SSLContext.class.getName());
}catch (Exception e) {
e.printStackTrace();
}
System.out.println("Main.OnActivate() EXIT");
}

The only output I get comes from the first System.out.println.
The trial to access the SSLContext results in a NoClassDefFoundError:
javax/net/ssl/SSLContext
and the bundle changing into state "WAITING"

Has anybody an idea how to bring karaf class loader to find the class file,
which is part of the runtime?
java.home= (.set.to.)\jdk1.8.0_161\jre
java.library.path=(.set.to.)\jdk1.8.0_161\bin;(.some.other.);(...)\apache-karaf-4.2.6\bin\..\lib;(...)\apache-karaf-4.2.6\bin\..\lib;.

Thankx a lot for all comments
djawaica

 



--
Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html


Re: Adding Jackson to Karaf startup.properties file to enable JSON logging

2019-07-23 Thread Jean-Baptiste Onofré
Hi,

It's planned for this week. I'm merging the PR and I will open other PRs.

Stay tuned ! ;)

Regards
JB

On 23/07/2019 17:35, Noobtube Account wrote:
> Hi JB,
> 
> Will you also be releasing decanter? We are interested in getting this fix: 
> https://github.com/apache/karaf-decanter/pull/93
> 
> Cheers! 
> 
> On Tue, 23 Jul 2019 at 7:09 pm, Jean-Baptiste Onofré  > wrote:
> 
> Hi,
> 
> FYI, there is an issue in pax-logging-log4j2-extra in 1.10.2.
> 
> I'm fixing and cutting a new release. A Karaf release will happen
> very soon.
> 
> Regards
> JB
> 
> On 08/06/2019 16:17, Noobtube Account wrote:
> > I'm trying to get JSON format logging enabled in Karaf. Trying to do
> > something similar to what's described
> > in https://ops4j1.jira.com/browse/PAXLOGGING-168
> >
> > On a fresh copy of Karaf 4.2.5 I've added to /etc/startup.properties: 
> >
> > mvn\:com.fasterxml.jackson.core/jackson-core/2.9.5 = 8
> > mvn\:com.fasterxml.jackson.core/jackson-annotations/2.9.5 = 8
> > mvn\:com.fasterxml.jackson.core/jackson-databind/2.9.5 = 8
> > mvn\:ch.qos.logback/logback-classic/1.2.2 = 8
> > mvn\:ch.qos.logback/logback-core/1.2.2 = 8
> > mvn\:ch.qos.logback.contrib/logback-json-core/0.1.5 = 8
> > mvn\:ch.qos.logback.contrib/logback-json-classic/0.1.5 = 8
> > mvn\:org.ops4j.pax.logging/pax-logging-logback/1.10.1 = 8
> >
> > The above jars have been added to the system folder. They look like: 
> > logback: https://pastebin.com/raw/60Pnu8f1
> > jackson: https://pastebin.com/raw/NkUqZrGS
> >
> > My etc/org.ops4j.pax.logging.cfg contains the line: 
> >
> org.ops4j.pax.logging.logback.config.file=${karaf.base}/etc/logback.xml
> >
> > The log back is the same one
> > from https://ops4j1.jira.com/browse/PAXLOGGING-168
> >
> > When I startup Karaf I get the following CNF error related to Jackson.
> > Shouldn't the startup.properties file make those classes available? 
> >
> > WARN in ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP@5c3aaee6 -
> > SizeAndTimeBasedFNATP is deprecated. Use SizeAndTimeBasedRollingPolicy
> > instead
> > WARN in ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP@5c3aaee6
> - For
> > more information see
> >
> http://logback.qos.ch/manual/appenders.html#SizeAndTimeBasedRollingPolicy
> > 00:14:49.839 [CM Configuration Updater (ManagedService Update:
> > pid=[org.ops4j.pax.logging])] ERROR org.apache.felix.configadmin -
> > [org.osgi.service.log.LogService,
> > org.knopflerfish.service.log.LogService,
> > org.ops4j.pax.logging.PaxLoggingService,
> > org.osgi.service.cm .ManagedService,
> id=15,
> > bundle=13/mvn:org.ops4j.pax.logging/pax-logging-logback/1.10.1]:
> > Unexpected problem updating configuration org.ops4j.pax.logging
> > java.lang.NoClassDefFoundError:
> com/fasterxml/jackson/databind/ObjectMapper
> > at
> >
> 
> ch.qos.logback.contrib.jackson.JacksonJsonFormatter.(JacksonJsonFormatter.java:41)
> > ~[?:?]
> > at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
> Method)
> > ~[?:?]
> > at
> >
> 
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
> > ~[?:?]
> > at
> >
> 
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
> > ~[?:?]
> > at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
> ~[?:?]
> > at java.lang.Class.newInstance(Class.java:442) ~[?:?]
> > at
> >
> 
> ch.qos.logback.core.joran.action.NestedComplexPropertyIA.begin(NestedComplexPropertyIA.java:121)
> > ~[?:?]
> > at
> >
> 
> ch.qos.logback.core.joran.spi.Interpreter.callBeginAction(Interpreter.java:269)
> > ~[?:?]
> > at
> >
> 
> ch.qos.logback.core.joran.spi.Interpreter.startElement(Interpreter.java:145)
> > ~[?:?]
> > at
> >
> 
> ch.qos.logback.core.joran.spi.Interpreter.startElement(Interpreter.java:128)
> > ~[?:?]
> > at ch.qos.logback.core.joran.spi.EventPlayer.play(EventPlayer.java:50)
> > ~[?:?]
> > at
> >
> 
> ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:165)
> > ~[?:?]
> > at
> >
> 
> ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:152)
> > ~[?:?]
> > at
> >
> 
> ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:110)
> > ~[?:?]
> > at
> >
> 
> ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:81)
> > ~[?:?]
> > at
> >
> 
> org.ops4j.pax.logging.logback.internal.PaxLoggingServiceImpl.configureLogback(PaxLoggingServiceImpl.java:325)
> > ~[?:?]
> > at
> >
> 
> 

Re: Adding Jackson to Karaf startup.properties file to enable JSON logging

2019-07-23 Thread Noobtube Account
Hi JB,

Will you also be releasing decanter? We are interested in getting this fix:
https://github.com/apache/karaf-decanter/pull/93

Cheers!

On Tue, 23 Jul 2019 at 7:09 pm, Jean-Baptiste Onofré 
wrote:

> Hi,
>
> FYI, there is an issue in pax-logging-log4j2-extra in 1.10.2.
>
> I'm fixing and cutting a new release. A Karaf release will happen very
> soon.
>
> Regards
> JB
>
> On 08/06/2019 16:17, Noobtube Account wrote:
> > I'm trying to get JSON format logging enabled in Karaf. Trying to do
> > something similar to what's described
> > in https://ops4j1.jira.com/browse/PAXLOGGING-168
> >
> > On a fresh copy of Karaf 4.2.5 I've added to /etc/startup.properties:
> >
> > mvn\:com.fasterxml.jackson.core/jackson-core/2.9.5 = 8
> > mvn\:com.fasterxml.jackson.core/jackson-annotations/2.9.5 = 8
> > mvn\:com.fasterxml.jackson.core/jackson-databind/2.9.5 = 8
> > mvn\:ch.qos.logback/logback-classic/1.2.2 = 8
> > mvn\:ch.qos.logback/logback-core/1.2.2 = 8
> > mvn\:ch.qos.logback.contrib/logback-json-core/0.1.5 = 8
> > mvn\:ch.qos.logback.contrib/logback-json-classic/0.1.5 = 8
> > mvn\:org.ops4j.pax.logging/pax-logging-logback/1.10.1 = 8
> >
> > The above jars have been added to the system folder. They look like:
> > logback: https://pastebin.com/raw/60Pnu8f1
> > jackson: https://pastebin.com/raw/NkUqZrGS
> >
> > My etc/org.ops4j.pax.logging.cfg contains the line:
> > org.ops4j.pax.logging.logback.config.file=${karaf.base}/etc/logback.xml
> >
> > The log back is the same one
> > from https://ops4j1.jira.com/browse/PAXLOGGING-168
> >
> > When I startup Karaf I get the following CNF error related to Jackson.
> > Shouldn't the startup.properties file make those classes available?
> >
> > WARN in ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP@5c3aaee6 -
> > SizeAndTimeBasedFNATP is deprecated. Use SizeAndTimeBasedRollingPolicy
> > instead
> > WARN in ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP@5c3aaee6 - For
> > more information see
> >
> http://logback.qos.ch/manual/appenders.html#SizeAndTimeBasedRollingPolicy
> > 00:14:49.839 [CM Configuration Updater (ManagedService Update:
> > pid=[org.ops4j.pax.logging])] ERROR org.apache.felix.configadmin -
> > [org.osgi.service.log.LogService,
> > org.knopflerfish.service.log.LogService,
> > org.ops4j.pax.logging.PaxLoggingService,
> > org.osgi.service.cm.ManagedService, id=15,
> > bundle=13/mvn:org.ops4j.pax.logging/pax-logging-logback/1.10.1]:
> > Unexpected problem updating configuration org.ops4j.pax.logging
> > java.lang.NoClassDefFoundError:
> com/fasterxml/jackson/databind/ObjectMapper
> > at
> >
> ch.qos.logback.contrib.jackson.JacksonJsonFormatter.(JacksonJsonFormatter.java:41)
> > ~[?:?]
> > at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> > ~[?:?]
> > at
> >
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
> > ~[?:?]
> > at
> >
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
> > ~[?:?]
> > at java.lang.reflect.Constructor.newInstance(Constructor.java:423) ~[?:?]
> > at java.lang.Class.newInstance(Class.java:442) ~[?:?]
> > at
> >
> ch.qos.logback.core.joran.action.NestedComplexPropertyIA.begin(NestedComplexPropertyIA.java:121)
> > ~[?:?]
> > at
> >
> ch.qos.logback.core.joran.spi.Interpreter.callBeginAction(Interpreter.java:269)
> > ~[?:?]
> > at
> >
> ch.qos.logback.core.joran.spi.Interpreter.startElement(Interpreter.java:145)
> > ~[?:?]
> > at
> >
> ch.qos.logback.core.joran.spi.Interpreter.startElement(Interpreter.java:128)
> > ~[?:?]
> > at ch.qos.logback.core.joran.spi.EventPlayer.play(EventPlayer.java:50)
> > ~[?:?]
> > at
> >
> ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:165)
> > ~[?:?]
> > at
> >
> ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:152)
> > ~[?:?]
> > at
> >
> ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:110)
> > ~[?:?]
> > at
> >
> ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:81)
> > ~[?:?]
> > at
> >
> org.ops4j.pax.logging.logback.internal.PaxLoggingServiceImpl.configureLogback(PaxLoggingServiceImpl.java:325)
> > ~[?:?]
> > at
> >
> org.ops4j.pax.logging.logback.internal.PaxLoggingServiceImpl.updated(PaxLoggingServiceImpl.java:258)
> > ~[?:?]
> > at
> >
> org.ops4j.pax.logging.logback.internal.PaxLoggingServiceImpl$1ManagedPaxLoggingService.updated(PaxLoggingServiceImpl.java:471)
> > ~[?:?]
> > at
> >
> org.apache.felix.cm.impl.helper.ManagedServiceTracker.updated(ManagedServiceTracker.java:189)
> > ~[9:org.apache.felix.configadmin:1.9.14]
> > at
> >
> org.apache.felix.cm.impl.helper.ManagedServiceTracker.updateService(ManagedServiceTracker.java:152)
> > [9:org.apache.felix.configadmin:1.9.14]
> > at
> >
> org.apache.felix.cm.impl.helper.ManagedServiceTracker.provideConfiguration(ManagedServiceTracker.java:85)
> > [9:org.apache.felix.configadmin:1.9.14]
> > at
> 

Re: 4.2.6 on windows: unable to find karaf.log

2019-07-23 Thread Jean-Baptiste Onofré
Thanks for the update.

Let me test that and add folder creation if needed.

Regards
JB

On 23/07/2019 12:24, Steinar Bang wrote:
>> Jean-Baptiste Onofré :
> 
>> Hi Steinar,
>> I think the issue is in karaf.bat about KARAF_LOG variable setting.
> 
>> Let me create the Jira to fix that.
> 
> Hm... not sure what script I'm running, when I'm starting from cygwin bash
> shell with just
>  bin/karaf
> ...?
> 
> Anyway, when I set KARAF_LOG it worked, in that data/log/karaf.log was
> created, but when I did a test and stopped karaf, deleted the data
> director, and restarted karaf, then karaf failed to start because
> KARAF_LOG pointed to a non-existing directory.
> 
> When I manually created the log directory, using
>  mkdir -p data/log
> and then did
>  bin/karaf
> then karaf started and created a data/log/karaf.log file.
> 
> 
> 
> 
> 
> 
> 

-- 
Jean-Baptiste Onofré
jbono...@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com


Re: 4.2.6 on windows: unable to find karaf.log

2019-07-23 Thread Steinar Bang
> Jean-Baptiste Onofré :

> Hi Steinar,
> I think the issue is in karaf.bat about KARAF_LOG variable setting.

> Let me create the Jira to fix that.

Hm... not sure what script I'm running, when I'm starting from cygwin bash
shell with just
 bin/karaf
...?

Anyway, when I set KARAF_LOG it worked, in that data/log/karaf.log was
created, but when I did a test and stopped karaf, deleted the data
director, and restarted karaf, then karaf failed to start because
KARAF_LOG pointed to a non-existing directory.

When I manually created the log directory, using
 mkdir -p data/log
and then did
 bin/karaf
then karaf started and created a data/log/karaf.log file.









Re: Adding Jackson to Karaf startup.properties file to enable JSON logging

2019-07-23 Thread Jean-Baptiste Onofré
Hi,

FYI, there is an issue in pax-logging-log4j2-extra in 1.10.2.

I'm fixing and cutting a new release. A Karaf release will happen very soon.

Regards
JB

On 08/06/2019 16:17, Noobtube Account wrote:
> I'm trying to get JSON format logging enabled in Karaf. Trying to do
> something similar to what's described
> in https://ops4j1.jira.com/browse/PAXLOGGING-168
> 
> On a fresh copy of Karaf 4.2.5 I've added to /etc/startup.properties: 
> 
> mvn\:com.fasterxml.jackson.core/jackson-core/2.9.5 = 8
> mvn\:com.fasterxml.jackson.core/jackson-annotations/2.9.5 = 8
> mvn\:com.fasterxml.jackson.core/jackson-databind/2.9.5 = 8
> mvn\:ch.qos.logback/logback-classic/1.2.2 = 8
> mvn\:ch.qos.logback/logback-core/1.2.2 = 8
> mvn\:ch.qos.logback.contrib/logback-json-core/0.1.5 = 8
> mvn\:ch.qos.logback.contrib/logback-json-classic/0.1.5 = 8
> mvn\:org.ops4j.pax.logging/pax-logging-logback/1.10.1 = 8
> 
> The above jars have been added to the system folder. They look like: 
> logback: https://pastebin.com/raw/60Pnu8f1
> jackson: https://pastebin.com/raw/NkUqZrGS
> 
> My etc/org.ops4j.pax.logging.cfg contains the line: 
> org.ops4j.pax.logging.logback.config.file=${karaf.base}/etc/logback.xml
> 
> The log back is the same one
> from https://ops4j1.jira.com/browse/PAXLOGGING-168
> 
> When I startup Karaf I get the following CNF error related to Jackson.
> Shouldn't the startup.properties file make those classes available? 
> 
> WARN in ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP@5c3aaee6 -
> SizeAndTimeBasedFNATP is deprecated. Use SizeAndTimeBasedRollingPolicy
> instead
> WARN in ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP@5c3aaee6 - For
> more information see
> http://logback.qos.ch/manual/appenders.html#SizeAndTimeBasedRollingPolicy
> 00:14:49.839 [CM Configuration Updater (ManagedService Update:
> pid=[org.ops4j.pax.logging])] ERROR org.apache.felix.configadmin -
> [org.osgi.service.log.LogService,
> org.knopflerfish.service.log.LogService,
> org.ops4j.pax.logging.PaxLoggingService,
> org.osgi.service.cm.ManagedService, id=15,
> bundle=13/mvn:org.ops4j.pax.logging/pax-logging-logback/1.10.1]:
> Unexpected problem updating configuration org.ops4j.pax.logging
> java.lang.NoClassDefFoundError: com/fasterxml/jackson/databind/ObjectMapper
> at
> ch.qos.logback.contrib.jackson.JacksonJsonFormatter.(JacksonJsonFormatter.java:41)
> ~[?:?]
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> ~[?:?]
> at
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
> ~[?:?]
> at
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
> ~[?:?]
> at java.lang.reflect.Constructor.newInstance(Constructor.java:423) ~[?:?]
> at java.lang.Class.newInstance(Class.java:442) ~[?:?]
> at
> ch.qos.logback.core.joran.action.NestedComplexPropertyIA.begin(NestedComplexPropertyIA.java:121)
> ~[?:?]
> at
> ch.qos.logback.core.joran.spi.Interpreter.callBeginAction(Interpreter.java:269)
> ~[?:?]
> at
> ch.qos.logback.core.joran.spi.Interpreter.startElement(Interpreter.java:145)
> ~[?:?]
> at
> ch.qos.logback.core.joran.spi.Interpreter.startElement(Interpreter.java:128)
> ~[?:?]
> at ch.qos.logback.core.joran.spi.EventPlayer.play(EventPlayer.java:50)
> ~[?:?]
> at
> ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:165)
> ~[?:?]
> at
> ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:152)
> ~[?:?]
> at
> ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:110)
> ~[?:?]
> at
> ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:81)
> ~[?:?]
> at
> org.ops4j.pax.logging.logback.internal.PaxLoggingServiceImpl.configureLogback(PaxLoggingServiceImpl.java:325)
> ~[?:?]
> at
> org.ops4j.pax.logging.logback.internal.PaxLoggingServiceImpl.updated(PaxLoggingServiceImpl.java:258)
> ~[?:?]
> at
> org.ops4j.pax.logging.logback.internal.PaxLoggingServiceImpl$1ManagedPaxLoggingService.updated(PaxLoggingServiceImpl.java:471)
> ~[?:?]
> at
> org.apache.felix.cm.impl.helper.ManagedServiceTracker.updated(ManagedServiceTracker.java:189)
> ~[9:org.apache.felix.configadmin:1.9.14]
> at
> org.apache.felix.cm.impl.helper.ManagedServiceTracker.updateService(ManagedServiceTracker.java:152)
> [9:org.apache.felix.configadmin:1.9.14]
> at
> org.apache.felix.cm.impl.helper.ManagedServiceTracker.provideConfiguration(ManagedServiceTracker.java:85)
> [9:org.apache.felix.configadmin:1.9.14]
> at
> org.apache.felix.cm.impl.ConfigurationManager$ManagedServiceUpdate.provide(ConfigurationManager.java:1113)
> [9:org.apache.felix.configadmin:1.9.14]
> at
> org.apache.felix.cm.impl.ConfigurationManager$ManagedServiceUpdate.run(ConfigurationManager.java:1069)
> [9:org.apache.felix.configadmin:1.9.14]
> at org.apache.felix.cm.impl.UpdateThread.run0(UpdateThread.java:138)
> [9:org.apache.felix.configadmin:1.9.14]
> at 

Re: Karaf 4.2.x: ConfigRepository.update changes config file location

2019-07-23 Thread Jean-Baptiste Onofré
Cool !

Thanks !

Regards
JB

On 23/07/2019 08:18, jochenw wrote:
> Hi JB,
> 
> KARAF-6363
> 
> Thanks!
> 
> Jochen
> 
> 
> 
> --
> Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html
> 

-- 
Jean-Baptiste Onofré
jbono...@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com


Re: 4.2.6 on windows: unable to find karaf.log

2019-07-23 Thread Jean-Baptiste Onofré
Hi Steinar,

I think the issue is in karaf.bat about KARAF_LOG variable setting.

Let me create the Jira to fix that.

Regards
JB

On 23/07/2019 00:12, Steinar Bang wrote:
> I've unpacked an apache karaf 4.2.6 binary zip on a windows laptop, and
> started it with the usual
>  bin/karaf debug
> 
> Karaf starts and runs fine, but there is no data\log\karaf.log
> 
> Is karaf.log disabled ny defaulton 4.2.6?  Or does it end up somewhere
> other than data\log?
> 
> Thanks!
> 
> 
> - Steinar
> 

-- 
Jean-Baptiste Onofré
jbono...@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com


Re: Karaf 4.2.x: ConfigRepository.update changes config file location

2019-07-23 Thread jochenw
Hi JB,

KARAF-6363

Thanks!

Jochen



--
Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html