[ https://issues.apache.org/jira/browse/KARAF-4992?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16019810#comment-16019810 ]
Rocco Lagrotteria commented on KARAF-4992: ------------------------------------------ Hello [~jbonofre], I get the same issue configuring cellar in tcp/in mode. Here my steps: _node A_: {code} karaf@root()> repo-add cellar Adding feature url mvn:org.apache.karaf.cellar/apache-karaf-cellar/RELEASE/xml/features karaf@root()> feature:install cellar karaf@root()> logout {code} - configuring node A tcp/ip settings in _etc/hazelcast.xml_ _node B_: {code} karaf@root()> repo-add cellar Adding feature url mvn:org.apache.karaf.cellar/apache-karaf-cellar/RELEASE/xml/features karaf@root()> feature:install cellar karaf@root()> logout {code} - checking node B _etc/org.ops4j.pax.logging.cfg_: *replaced by node A configuration, ${karaf.data} placeholder is exploded in node A value!* The workaround of adding {{org.ops4j.pax.logging}} to blacklist in {{etc/org.apache.karaf.cellar.groups.cfg}} works. > Slave cluster searches log on Master's log path. > ------------------------------------------------ > > Key: KARAF-4992 > URL: https://issues.apache.org/jira/browse/KARAF-4992 > Project: Karaf > Issue Type: Bug > Components: cellar-config, cellar-features > Affects Versions: cellar-4.0.3 > Environment: Two karaf deployed on different network: > - master 10.100.80.* > - slave 10.100.60.* > Reporter: Mauro Pagano > Assignee: Jean-Baptiste Onofré > Attachments: hazelcast.xml > > > log4j:ERROR setFile(null,true) call failed. > java.io.FileNotFoundException: > /home/m.pagano/apache-karaf-4.0.8/data/log/karaf.log (File o directory non > esistente) > at java.io.FileOutputStream.open0(Native Method) > at java.io.FileOutputStream.open(FileOutputStream.java:270) > at java.io.FileOutputStream.<init>(FileOutputStream.java:213) > at java.io.FileOutputStream.<init>(FileOutputStream.java:133) > at org.apache.log4j.FileAppender.setFile(FileAppender.java:294) > at > org.apache.log4j.RollingFileAppender.setFile(RollingFileAppender.java:207) > at org.apache.log4j.FileAppender.activateOptions(FileAppender.java:165) > at > org.apache.log4j.config.PaxPropertySetter.activate(PaxPropertySetter.java:372) > at > org.apache.log4j.config.PaxPropertySetter.setProperties(PaxPropertySetter.java:199) > at > org.apache.log4j.config.PaxPropertySetter.setProperties(PaxPropertySetter.java:108) > at > org.apache.log4j.PaxLoggingConfigurator.parseAppender(PaxLoggingConfigurator.java:193) > at > org.apache.log4j.PropertyConfigurator.parseCategory(PropertyConfigurator.java:735) > at > org.apache.log4j.PropertyConfigurator.configureRootCategory(PropertyConfigurator.java:615) > at > org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:502) > at > org.apache.log4j.PaxLoggingConfigurator.doConfigure(PaxLoggingConfigurator.java:72) > at > org.ops4j.pax.logging.service.internal.PaxLoggingServiceImpl.updated(PaxLoggingServiceImpl.java:214) > at > org.ops4j.pax.logging.service.internal.PaxLoggingServiceImpl$1ManagedPaxLoggingService.updated(PaxLoggingServiceImpl.java:362) > at > org.apache.felix.cm.impl.helper.ManagedServiceTracker.updated(ManagedServiceTracker.java:189) > at > org.apache.felix.cm.impl.helper.ManagedServiceTracker.updateService(ManagedServiceTracker.java:152) > at > org.apache.felix.cm.impl.helper.ManagedServiceTracker.provideConfiguration(ManagedServiceTracker.java:85) > at > org.apache.felix.cm.impl.ConfigurationManager$UpdateConfiguration.run(ConfigurationManager.java:1772) > at org.apache.felix.cm.impl.UpdateThread.run0(UpdateThread.java:141) > at org.apache.felix.cm.impl.UpdateThread.run(UpdateThread.java:109) > at java.lang.Thread.run(Thread.java:745) > log4j:ERROR setFile(null,true) call failed. > java.io.FileNotFoundException: > /home/m.pagano/apache-karaf-4.0.8/data/security/audit.log (File o directory > non esistente) > at java.io.FileOutputStream.open0(Native Method) > at java.io.FileOutputStream.open(FileOutputStream.java:270) > at java.io.FileOutputStream.<init>(FileOutputStream.java:213) > at java.io.FileOutputStream.<init>(FileOutputStream.java:133) > at org.apache.log4j.FileAppender.setFile(FileAppender.java:294) > at > org.apache.log4j.RollingFileAppender.setFile(RollingFileAppender.java:207) > at org.apache.log4j.FileAppender.activateOptions(FileAppender.java:165) > at > org.apache.log4j.config.PaxPropertySetter.activate(PaxPropertySetter.java:372) > at > org.apache.log4j.config.PaxPropertySetter.setProperties(PaxPropertySetter.java:199) > at > org.apache.log4j.config.PaxPropertySetter.setProperties(PaxPropertySetter.java:108) > at > org.apache.log4j.PaxLoggingConfigurator.parseAppender(PaxLoggingConfigurator.java:193) > at > org.apache.log4j.PropertyConfigurator.parseCategory(PropertyConfigurator.java:735) > at > org.apache.log4j.PropertyConfigurator.parseCatsAndRenderers(PropertyConfigurator.java:639) > at > org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:504) > at > org.apache.log4j.PaxLoggingConfigurator.doConfigure(PaxLoggingConfigurator.java:72) > at > org.ops4j.pax.logging.service.internal.PaxLoggingServiceImpl.updated(PaxLoggingServiceImpl.java:214) > at > org.ops4j.pax.logging.service.internal.PaxLoggingServiceImpl$1ManagedPaxLoggingService.updated(PaxLoggingServiceImpl.java:362) > at > org.apache.felix.cm.impl.helper.ManagedServiceTracker.updated(ManagedServiceTracker.java:189) > at > org.apache.felix.cm.impl.helper.ManagedServiceTracker.updateService(ManagedServiceTracker.java:152) > at > org.apache.felix.cm.impl.helper.ManagedServiceTracker.provideConfiguration(ManagedServiceTracker.java:85) > at > org.apache.felix.cm.impl.ConfigurationManager$UpdateConfiguration.run(ConfigurationManager.java:1772) > at org.apache.felix.cm.impl.UpdateThread.run0(UpdateThread.java:141) > at org.apache.felix.cm.impl.UpdateThread.run(UpdateThread.java:109) > at java.lang.Thread.run(Thread.java:745) > log4j:ERROR setFile(null,true) call failed. > java.io.FileNotFoundException: > /home/m.pagano/apache-karaf-4.0.8/data/log/karaf.log (File o directory non > esistente) > at java.io.FileOutputStream.open0(Native Method) > at java.io.FileOutputStream.open(FileOutputStream.java:270) > at java.io.FileOutputStream.<init>(FileOutputStream.java:213) > at java.io.FileOutputStream.<init>(FileOutputStream.java:133) > at org.apache.log4j.FileAppender.setFile(FileAppender.java:294) > at > org.apache.log4j.RollingFileAppender.setFile(RollingFileAppender.java:207) > at org.apache.log4j.FileAppender.activateOptions(FileAppender.java:165) > at > org.apache.log4j.config.PaxPropertySetter.activate(PaxPropertySetter.java:372) > at > org.apache.log4j.config.PaxPropertySetter.setProperties(PaxPropertySetter.java:199) > at > org.apache.log4j.config.PaxPropertySetter.setProperties(PaxPropertySetter.java:108) > at > org.apache.log4j.PaxLoggingConfigurator.parseAppender(PaxLoggingConfigurator.java:193) > at > org.apache.log4j.PropertyConfigurator.parseCategory(PropertyConfigurator.java:735) > at > org.apache.log4j.PropertyConfigurator.configureRootCategory(PropertyConfigurator.java:615) > at > org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:502) > at > org.apache.log4j.PaxLoggingConfigurator.doConfigure(PaxLoggingConfigurator.java:72) > at > org.ops4j.pax.logging.service.internal.PaxLoggingServiceImpl.updated(PaxLoggingServiceImpl.java:214) > at > org.ops4j.pax.logging.service.internal.PaxLoggingServiceImpl$1ManagedPaxLoggingService.updated(PaxLoggingServiceImpl.java:362) > at > org.apache.felix.cm.impl.helper.ManagedServiceTracker.updated(ManagedServiceTracker.java:189) > at > org.apache.felix.cm.impl.helper.ManagedServiceTracker.updateService(ManagedServiceTracker.java:152) > at > org.apache.felix.cm.impl.helper.ManagedServiceTracker.provideConfiguration(ManagedServiceTracker.java:85) > at > org.apache.felix.cm.impl.ConfigurationManager$UpdateConfiguration.run(ConfigurationManager.java:1772) > at org.apache.felix.cm.impl.UpdateThread.run0(UpdateThread.java:141) > at org.apache.felix.cm.impl.UpdateThread.run(UpdateThread.java:109) > at java.lang.Thread.run(Thread.java:745) > log4j:ERROR setFile(null,true) call failed. > java.io.FileNotFoundException: > /home/m.pagano/apache-karaf-4.0.8/data/security/audit.log (File o directory > non esistente) > at java.io.FileOutputStream.open0(Native Method) > at java.io.FileOutputStream.open(FileOutputStream.java:270) > at java.io.FileOutputStream.<init>(FileOutputStream.java:213) > at java.io.FileOutputStream.<init>(FileOutputStream.java:133) > at org.apache.log4j.FileAppender.setFile(FileAppender.java:294) > at > org.apache.log4j.RollingFileAppender.setFile(RollingFileAppender.java:207) > at org.apache.log4j.FileAppender.activateOptions(FileAppender.java:165) > at > org.apache.log4j.config.PaxPropertySetter.activate(PaxPropertySetter.java:372) > at > org.apache.log4j.config.PaxPropertySetter.setProperties(PaxPropertySetter.java:199) > at > org.apache.log4j.config.PaxPropertySetter.setProperties(PaxPropertySetter.java:108) > at > org.apache.log4j.PaxLoggingConfigurator.parseAppender(PaxLoggingConfigurator.java:193) > at > org.apache.log4j.PropertyConfigurator.parseCategory(PropertyConfigurator.java:735) > at > org.apache.log4j.PropertyConfigurator.parseCatsAndRenderers(PropertyConfigurator.java:639) > at > org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:504) > at > org.apache.log4j.PaxLoggingConfigurator.doConfigure(PaxLoggingConfigurator.java:72) > at > org.ops4j.pax.logging.service.internal.PaxLoggingServiceImpl.updated(PaxLoggingServiceImpl.java:214) > at > org.ops4j.pax.logging.service.internal.PaxLoggingServiceImpl$1ManagedPaxLoggingService.updated(PaxLoggingServiceImpl.java:362) > at > org.apache.felix.cm.impl.helper.ManagedServiceTracker.updated(ManagedServiceTracker.java:189) > at > org.apache.felix.cm.impl.helper.ManagedServiceTracker.updateService(ManagedServiceTracker.java:152) > at > org.apache.felix.cm.impl.helper.ManagedServiceTracker.provideConfiguration(ManagedServiceTracker.java:85) > at > org.apache.felix.cm.impl.ConfigurationManager$UpdateConfiguration.run(ConfigurationManager.java:1772) > at org.apache.felix.cm.impl.UpdateThread.run0(UpdateThread.java:141) > at org.apache.felix.cm.impl.UpdateThread.run(UpdateThread.java:109) > at java.lang.Thread.run(Thread.java:745) > log4j:ERROR setFile(null,true) call failed. > java.io.FileNotFoundException: > /home/m.pagano/apache-karaf-4.0.8/data/log/karaf.log (File o directory non > esistente) > at java.io.FileOutputStream.open0(Native Method) > at java.io.FileOutputStream.open(FileOutputStream.java:270) > at java.io.FileOutputStream.<init>(FileOutputStream.java:213) > at java.io.FileOutputStream.<init>(FileOutputStream.java:133) > at org.apache.log4j.FileAppender.setFile(FileAppender.java:294) > at > org.apache.log4j.RollingFileAppender.setFile(RollingFileAppender.java:207) > at org.apache.log4j.FileAppender.activateOptions(FileAppender.java:165) > at > org.apache.log4j.config.PaxPropertySetter.activate(PaxPropertySetter.java:372) > at > org.apache.log4j.config.PaxPropertySetter.setProperties(PaxPropertySetter.java:199) > at > org.apache.log4j.config.PaxPropertySetter.setProperties(PaxPropertySetter.java:108) > at > org.apache.log4j.PaxLoggingConfigurator.parseAppender(PaxLoggingConfigurator.java:193) > at > org.apache.log4j.PropertyConfigurator.parseCategory(PropertyConfigurator.java:735) > at > org.apache.log4j.PropertyConfigurator.configureRootCategory(PropertyConfigurator.java:615) > at > org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:502) > at > org.apache.log4j.PaxLoggingConfigurator.doConfigure(PaxLoggingConfigurator.java:72) > at > org.ops4j.pax.logging.service.internal.PaxLoggingServiceImpl.updated(PaxLoggingServiceImpl.java:214) > at > org.ops4j.pax.logging.service.internal.PaxLoggingServiceImpl$1ManagedPaxLoggingService.updated(PaxLoggingServiceImpl.java:362) > at > org.apache.felix.cm.impl.helper.ManagedServiceTracker.updated(ManagedServiceTracker.java:189) > at > org.apache.felix.cm.impl.helper.ManagedServiceTracker.updateService(ManagedServiceTracker.java:152) > at > org.apache.felix.cm.impl.helper.ManagedServiceTracker.provideConfiguration(ManagedServiceTracker.java:85) > at > org.apache.felix.cm.impl.ConfigurationManager$ManagedServiceUpdate.provide(ConfigurationManager.java:1461) > at > org.apache.felix.cm.impl.ConfigurationManager$ManagedServiceUpdate.run(ConfigurationManager.java:1417) > at org.apache.felix.cm.impl.UpdateThread.run0(UpdateThread.java:141) > at org.apache.felix.cm.impl.UpdateThread.run(UpdateThread.java:109) > at java.lang.Thread.run(Thread.java:745) > log4j:ERROR setFile(null,true) call failed. > java.io.FileNotFoundException: > /home/m.pagano/apache-karaf-4.0.8/data/security/audit.log (File o directory > non esistente) > at java.io.FileOutputStream.open0(Native Method) > at java.io.FileOutputStream.open(FileOutputStream.java:270) > at java.io.FileOutputStream.<init>(FileOutputStream.java:213) > at java.io.FileOutputStream.<init>(FileOutputStream.java:133) > at org.apache.log4j.FileAppender.setFile(FileAppender.java:294) > at > org.apache.log4j.RollingFileAppender.setFile(RollingFileAppender.java:207) > at org.apache.log4j.FileAppender.activateOptions(FileAppender.java:165) > at > org.apache.log4j.config.PaxPropertySetter.activate(PaxPropertySetter.java:372) > at > org.apache.log4j.config.PaxPropertySetter.setProperties(PaxPropertySetter.java:199) > at > org.apache.log4j.config.PaxPropertySetter.setProperties(PaxPropertySetter.java:108) > at > org.apache.log4j.PaxLoggingConfigurator.parseAppender(PaxLoggingConfigurator.java:193) > at > org.apache.log4j.PropertyConfigurator.parseCategory(PropertyConfigurator.java:735) > at > org.apache.log4j.PropertyConfigurator.parseCatsAndRenderers(PropertyConfigurator.java:639) > at > org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:504) > at > org.apache.log4j.PaxLoggingConfigurator.doConfigure(PaxLoggingConfigurator.java:72) > at > org.ops4j.pax.logging.service.internal.PaxLoggingServiceImpl.updated(PaxLoggingServiceImpl.java:214) > at > org.ops4j.pax.logging.service.internal.PaxLoggingServiceImpl$1ManagedPaxLoggingService.updated(PaxLoggingServiceImpl.java:362) > at > org.apache.felix.cm.impl.helper.ManagedServiceTracker.updated(ManagedServiceTracker.java:189) > at > org.apache.felix.cm.impl.helper.ManagedServiceTracker.updateService(ManagedServiceTracker.java:152) > at > org.apache.felix.cm.impl.helper.ManagedServiceTracker.provideConfiguration(ManagedServiceTracker.java:85) > at > org.apache.felix.cm.impl.ConfigurationManager$ManagedServiceUpdate.provide(ConfigurationManager.java:1461) > at > org.apache.felix.cm.impl.ConfigurationManager$ManagedServiceUpdate.run(ConfigurationManager.java:1417) > at org.apache.felix.cm.impl.UpdateThread.run0(UpdateThread.java:141) > at org.apache.felix.cm.impl.UpdateThread.run(UpdateThread.java:109) > at java.lang.Thread.run(Thread.java:745) > 2017-02-21 11:05:44.327:INFO::paxweb-config-1-thread-1: Logging initialized > @105648ms -- This message was sent by Atlassian JIRA (v6.3.15#6346)