org.osgi.service.cm.ConfigurationException: null : null

Pentaho BI Platform Tracking | Alexander Schurman | 4 months ago
  1. 0

    After experiencing issues with Pentaho 6.1.0.3 with Karaf, started to test parameters as used to work as workaround in 6.0.1.3 with karaf.data environment variable. Parameter USED is described in the pentaho documentation here: https://help.pentaho.com/Documentation/6.1/0P0/100/Karaf_Performance_Tuning parameter used: pentaho.karaf.root.copy.dest.folder=<<random location in tmp folder >> Result was 90% of the executions failed (using SAMPLES) : attached image Errors like {code} DEBUG: KETTLE_HOME=/opt/pentaho DEBUG: PENTAHO_DI_JAVA_OPTIONS=-Xms512m -Xmx1024m -XX:MaxPermSize=256m DEBUG: INITIALDIR=/var/lib/jenkins/workspace/Pentaho-6.1-SP3-Samples/PDI_LOCATION/pdi-ee-client-6.1.0.3-223/TRANSFORM/samples/Analytic Query - Lead One Example.ktr DEBUG: BASEDIR=/opt/pentaho/pdi-ee-client-6.1.0.3-223 DEBUG: CURRENTDIR=. DEBUG: Karaf tmp folder in use /var/lib/jenkins/workspace/Pentaho-6.1-SP3-Samples/PDI_LOCATION/pdi-ee-client-6.1.0.3-223/TRANSFORM/samples/Analytic Query - Lead One Example.ktr WARNING: Using java from path DEBUG: _PENTAHO_JAVA_HOME= DEBUG: _PENTAHO_JAVA=java DEBUG: PENTAHO_INSTALLED_LICENSE_PATH= Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0 16:02:29,967 INFO [KarafInstance] ******************************************************************************* *** Karaf Instance Number: 1 at /tmp/pdi/10579/karaf/caches/pan/data-1 *** *** Karaf Port:8802 *** *** OSGI Service Port:9051 *** ******************************************************************************* 16:02:29,968 INFO [KarafBoot] Checking to see if org.pentaho.clean.karaf.cache is enabled Jul 15, 2016 4:02:31 PM org.apache.karaf.main.Main$KarafLockCallback lockAquired INFO: Lock acquired. Setting startlevel to 100 Updating configuration from org.ops4j.pax.logging.cfg Creating configuration from org.apache.activemq.server-default.cfg Creating configuration from org.pentaho.caching-default.cfg Updating configuration from org.ops4j.pax.url.mvn.cfg Updating configuration from org.apache.karaf.shell.cfg Creating configuration from org.apache.felix.fileinstall-deploy.cfg 2016/07/15 16:02:33 - General - Logging plugin type found with ID: CheckpointLogTable Refreshing GOE props... 2016-07-15 16:02:35 weka.gui.GenericObjectEditor registerEditors INFO: ---Registering Weka Editors--- 16:02:35,628 ERROR [BootFeaturesInstaller] Error Boot feature pentaho-yarn-obf not found 16:02:35,628 ERROR [BootFeaturesInstaller] Error Boot feature pdi-dataservice not found 16:02:35,632 ERROR [BootFeaturesInstaller] Error Boot feature pentaho-metaverse not found 16:02:35,633 ERROR [BootFeaturesInstaller] Error Boot feature pdi-data-refinery not found 16:02:35,633 ERROR [BootFeaturesInstaller] Error Boot feature pentaho-client-ee not found 16:02:35,634 ERROR [BootFeaturesInstaller] Error Boot feature pentaho-base not found Trying to add database driver (JDBC): RmiJdbc.RJDriver - Warning, not in CLASSPATH? Trying to add database driver (JDBC): jdbc.idbDriver - Warning, not in CLASSPATH? Trying to add database driver (JDBC): org.gjt.mm.mysql.Driver - Warning, not in CLASSPATH? Trying to add database driver (JDBC): com.mckoi.JDBCDriver - Warning, not in CLASSPATH? *ERROR* [org.osgi.service.cm.ManagedService, id=241, bundle=48/mvn:org.apache.aries.transaction/org.apache.aries.transaction.manager/1.1.1]: Updating configuration org.apache.aries.transaction caused a problem: null org.osgi.service.cm.ConfigurationException: null : null at org.apache.aries.transaction.internal.TransactionManagerService.<init>(TransactionManagerService.java:136) at org.apache.aries.transaction.internal.Activator.updated(Activator.java:63) at org.apache.felix.cm.impl.helper.ManagedServiceTracker.updateService(ManagedServiceTracker.java:148) at org.apache.felix.cm.impl.helper.ManagedServiceTracker.provideConfiguration(ManagedServiceTracker.java:81) at org.apache.felix.cm.impl.ConfigurationManager$ManagedServiceUpdate.provide(ConfigurationManager.java:1448) at org.apache.felix.cm.impl.ConfigurationManager$ManagedServiceUpdate.run(ConfigurationManager.java:1404) at org.apache.felix.cm.impl.UpdateThread.run(UpdateThread.java:103) at java.lang.Thread.run(Thread.java:745) Caused by: org.objectweb.howl.log.LogConfigurationException: Unable to obtain lock on /opt/pentaho/pdi-ee-client-6.1.0.3-223/system/karaf/caches/pan/data-1/txlog/transaction_1.log at org.objectweb.howl.log.LogFile.open(LogFile.java:191) at org.objectweb.howl.log.LogFileManager.open(LogFileManager.java:784) at org.objectweb.howl.log.Logger.open(Logger.java:304) at org.objectweb.howl.log.xa.XALogger.open(XALogger.java:893) at org.apache.aries.transaction.internal.HOWLLog.doStart(HOWLLog.java:233) at org.apache.aries.transaction.internal.TransactionManagerService.<init>(TransactionManagerService.java:133) ... 7 more [KnowledgeFlow] Loading properties and plugins... [KnowledgeFlow] Initializing KF... Refreshing GOE props... . . {code}

    Pentaho BI Platform Tracking | 4 months ago | Alexander Schurman
    org.osgi.service.cm.ConfigurationException: null : null
  2. 0

    There is a LogConfigurationException error:when running pan.sh or kitchen.sh: {noformat} *ERROR* [org.osgi.service.cm.ManagedService, id=241, bundle=47/mvn:org.apache.aries.transaction/org.apache.aries.transaction.manager/1.1.1]: Updating configuration org.apache.aries.transaction caused a problem: null org.osgi.service.cm.ConfigurationException: null : null at org.apache.aries.transaction.internal.TransactionManagerService.<init>(TransactionManagerService.java:136) at org.apache.aries.transaction.internal.Activator.updated(Activator.java:63) at org.apache.felix.cm.impl.helper.ManagedServiceTracker.updateService(ManagedServiceTracker.java:148) at org.apache.felix.cm.impl.helper.ManagedServiceTracker.provideConfiguration(ManagedServiceTracker.java:81) at org.apache.felix.cm.impl.ConfigurationManager$ManagedServiceUpdate.provide(ConfigurationManager.java:1448) at org.apache.felix.cm.impl.ConfigurationManager$ManagedServiceUpdate.run(ConfigurationManager.java:1404) at org.apache.felix.cm.impl.UpdateThread.run(UpdateThread.java:103) at java.lang.Thread.run(Thread.java:745) Caused by: org.objectweb.howl.log.LogConfigurationException: Unable to obtain lock on /home/alena/Pentaho/design-tools/data-integration/system/karaf/data/txlog/transaction_1.log at org.objectweb.howl.log.LogFile.open(LogFile.java:191) at org.objectweb.howl.log.LogFileManager.open(LogFileManager.java:784) at org.objectweb.howl.log.Logger.open(Logger.java:304) at org.objectweb.howl.log.xa.XALogger.open(XALogger.java:893) at org.apache.aries.transaction.internal.HOWLLog.doStart(HOWLLog.java:233) at org.apache.aries.transaction.internal.TransactionManagerService.<init>(TransactionManagerService.java:133) ... 7 more {noformat}

    Pentaho BI Platform Tracking | 9 months ago | Alena Karneichyk
    org.osgi.service.cm.ConfigurationException: null : null
  3. 0

    There is a LogConfigurationException error:when running pan.sh or kitchen.sh: {noformat} *ERROR* [org.osgi.service.cm.ManagedService, id=241, bundle=47/mvn:org.apache.aries.transaction/org.apache.aries.transaction.manager/1.1.1]: Updating configuration org.apache.aries.transaction caused a problem: null org.osgi.service.cm.ConfigurationException: null : null at org.apache.aries.transaction.internal.TransactionManagerService.<init>(TransactionManagerService.java:136) at org.apache.aries.transaction.internal.Activator.updated(Activator.java:63) at org.apache.felix.cm.impl.helper.ManagedServiceTracker.updateService(ManagedServiceTracker.java:148) at org.apache.felix.cm.impl.helper.ManagedServiceTracker.provideConfiguration(ManagedServiceTracker.java:81) at org.apache.felix.cm.impl.ConfigurationManager$ManagedServiceUpdate.provide(ConfigurationManager.java:1448) at org.apache.felix.cm.impl.ConfigurationManager$ManagedServiceUpdate.run(ConfigurationManager.java:1404) at org.apache.felix.cm.impl.UpdateThread.run(UpdateThread.java:103) at java.lang.Thread.run(Thread.java:745) Caused by: org.objectweb.howl.log.LogConfigurationException: Unable to obtain lock on /home/alena/Pentaho/design-tools/data-integration/system/karaf/data/txlog/transaction_1.log at org.objectweb.howl.log.LogFile.open(LogFile.java:191) at org.objectweb.howl.log.LogFileManager.open(LogFileManager.java:784) at org.objectweb.howl.log.Logger.open(Logger.java:304) at org.objectweb.howl.log.xa.XALogger.open(XALogger.java:893) at org.apache.aries.transaction.internal.HOWLLog.doStart(HOWLLog.java:233) at org.apache.aries.transaction.internal.TransactionManagerService.<init>(TransactionManagerService.java:133) ... 7 more {noformat}

    Pentaho BI Platform Tracking | 9 months ago | Alena Karneichyk
    org.osgi.service.cm.ConfigurationException: null : null
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.objectweb.howl.log.LogConfigurationException

      Unable to obtain lock on /opt/pentaho/pdi-ee-client-6.1.0.3-223/system/karaf/caches/pan/data-1/txlog/transaction_1.log

      at org.objectweb.howl.log.LogFile.open()
    2. HOWL logger
      XALogger.open
      1. org.objectweb.howl.log.LogFile.open(LogFile.java:191)
      2. org.objectweb.howl.log.LogFileManager.open(LogFileManager.java:784)
      3. org.objectweb.howl.log.Logger.open(Logger.java:304)
      4. org.objectweb.howl.log.xa.XALogger.open(XALogger.java:893)
      4 frames
    3. org.apache.aries
      Activator.updated
      1. org.apache.aries.transaction.internal.HOWLLog.doStart(HOWLLog.java:233)
      2. org.apache.aries.transaction.internal.TransactionManagerService.<init>(TransactionManagerService.java:133)
      3. org.apache.aries.transaction.internal.Activator.updated(Activator.java:63)
      3 frames
    4. Apache Felix Configuration Admin Service
      UpdateThread.run
      1. org.apache.felix.cm.impl.helper.ManagedServiceTracker.updateService(ManagedServiceTracker.java:148)
      2. org.apache.felix.cm.impl.helper.ManagedServiceTracker.provideConfiguration(ManagedServiceTracker.java:81)
      3. org.apache.felix.cm.impl.ConfigurationManager$ManagedServiceUpdate.provide(ConfigurationManager.java:1448)
      4. org.apache.felix.cm.impl.ConfigurationManager$ManagedServiceUpdate.run(ConfigurationManager.java:1404)
      5. org.apache.felix.cm.impl.UpdateThread.run(UpdateThread.java:103)
      5 frames
    5. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)
      1 frame