karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mauro Pagano (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (KARAF-4992) Slave cluster searches log on Master's log path.
Date Tue, 21 Feb 2017 13:44:44 GMT

    [ https://issues.apache.org/jira/browse/KARAF-4992?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15875982#comment-15875982
] 

Mauro Pagano commented on KARAF-4992:
-------------------------------------

On each node, as documentation, I have submitted the following commands:
  feature:repo-add cellar
  feature:install cellar
then I configured hazelcast.xml file as the one in attachment.
when the second node starts, it shows log errors.

the problem is that the property {karaf.data} of the second node, in etc/org.ops4j.pax.logging.cfg,
is resolved with the value of the first node.


> 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)

Mime
View raw message