java.lang.IllegalArgumentException: Datasource dbcp.numActive not found

Atlassian JIRA | S.Ruffin | 1 year ago
  1. 0

    I just installed jira 6.4.5 in my environment connecting to an Oracle database. I can configure it and it seems all fine (can create projects and issues) but I have right from the beginning the following message in the log: 2015-09-28 16:23:41,360 jira-monitoring-plugin ERROR [jira.plugins.monitor.MetricsCollectorTask] Error running task java.lang.IllegalArgumentException: Datasource dbcp.numActive not found at org.rrd4j.core.Sample.setValue(Sample.java:63) at com.atlassian.jira.plugins.monitor.database.ConnectionPoolGraph.setDatasourceValues(ConnectionPoolGraph.java:45) at com.atlassian.jira.plugins.monitor.rrd4j.RrdUpdater.addSample(RrdUpdater.java:76) at com.atlassian.jira.plugins.monitor.MetricsCollectorTask.doRun(MetricsCollectorTask.java:52) at com.atlassian.jira.plugins.monitor.MetricsCollectorTask.run(MetricsCollectorTask.java:41) at java.util.TimerThread.mainLoop(Unknown Source) at java.util.TimerThread.run(Unknown Source) 2015-09-28 16:23:51,360 jira-monitoring-plugin ERROR [jira.plugins.monitor.MetricsCollectorTask] Error running task java.lang.IllegalArgumentException: Datasource dbcp.numActive not found at org.rrd4j.core.Sample.setValue(Sample.java:63) at com.atlassian.jira.plugins.monitor.database.ConnectionPoolGraph.setDatasourceValues(ConnectionPoolGraph.java:45) at com.atlassian.jira.plugins.monitor.rrd4j.RrdUpdater.addSample(RrdUpdater.java:76) at com.atlassian.jira.plugins.monitor.MetricsCollectorTask.doRun(MetricsCollectorTask.java:52) at com.atlassian.jira.plugins.monitor.MetricsCollectorTask.run(MetricsCollectorTask.java:41) at java.util.TimerThread.mainLoop(Unknown Source) at java.util.TimerThread.run(Unknown Source) 2015-09-28 16:24:01,360 jira-monitoring-plugin ERROR [jira.plugins.monitor.MetricsCollectorTask] Error running task java.lang.IllegalArgumentException: Datasource dbcp.numActive not found at org.rrd4j.core.Sample.setValue(Sample.java:63) at com.atlassian.jira.plugins.monitor.database.ConnectionPoolGraph.setDatasourceValues(ConnectionPoolGraph.java:45) at com.atlassian.jira.plugins.monitor.rrd4j.RrdUpdater.addSample(RrdUpdater.java:76) at com.atlassian.jira.plugins.monitor.MetricsCollectorTask.doRun(MetricsCollectorTask.java:52) at com.atlassian.jira.plugins.monitor.MetricsCollectorTask.run(MetricsCollectorTask.java:41) at java.util.TimerThread.mainLoop(Unknown Source) at java.util.TimerThread.run(Unknown Source) an entry is added every 10 seconds in the log. And if I try to access the Database monitoring in the Add-ons tab I get a full screen of errors, starting with: 2015-09-28 16:23:41,360 jira-monitoring-plugin ERROR [jira.plugins.monitor.MetricsCollectorTask] Error running task java.lang.IllegalArgumentException: Datasource dbcp.numActive not found at org.rrd4j.core.Sample.setValue(Sample.java:63) at com.atlassian.jira.plugins.monitor.database.ConnectionPoolGraph.setDatasourceValues(ConnectionPoolGraph.java:45) at com.atlassian.jira.plugins.monitor.rrd4j.RrdUpdater.addSample(RrdUpdater.java:76) at com.atlassian.jira.plugins.monitor.MetricsCollectorTask.doRun(MetricsCollectorTask.java:52) at com.atlassian.jira.plugins.monitor.MetricsCollectorTask.run(MetricsCollectorTask.java:41) at java.util.TimerThread.mainLoop(Unknown Source) at java.util.TimerThread.run(Unknown Source) 2015-09-28 16:23:51,360 jira-monitoring-plugin ERROR [jira.plugins.monitor.MetricsCollectorTask] Error running task java.lang.IllegalArgumentException: Datasource dbcp.numActive not found at org.rrd4j.core.Sample.setValue(Sample.java:63) at com.atlassian.jira.plugins.monitor.database.ConnectionPoolGraph.setDatasourceValues(ConnectionPoolGraph.java:45) at com.atlassian.jira.plugins.monitor.rrd4j.RrdUpdater.addSample(RrdUpdater.java:76) at com.atlassian.jira.plugins.monitor.MetricsCollectorTask.doRun(MetricsCollectorTask.java:52) at com.atlassian.jira.plugins.monitor.MetricsCollectorTask.run(MetricsCollectorTask.java:41) at java.util.TimerThread.mainLoop(Unknown Source) at java.util.TimerThread.run(Unknown Source) 2015-09-28 16:24:01,360 jira-monitoring-plugin ERROR [jira.plugins.monitor.MetricsCollectorTask] Error running task java.lang.IllegalArgumentException: Datasource dbcp.numActive not found at org.rrd4j.core.Sample.setValue(Sample.java:63) at com.atlassian.jira.plugins.monitor.database.ConnectionPoolGraph.setDatasourceValues(ConnectionPoolGraph.java:45) at com.atlassian.jira.plugins.monitor.rrd4j.RrdUpdater.addSample(RrdUpdater.java:76) at com.atlassian.jira.plugins.monitor.MetricsCollectorTask.doRun(MetricsCollectorTask.java:52) at com.atlassian.jira.plugins.monitor.MetricsCollectorTask.run(MetricsCollectorTask.java:41) at java.util.TimerThread.mainLoop(Unknown Source) at java.util.TimerThread.run(Unknown Source) Obviously there is something wrong in my environment, but what? Thanks to have a look into that. S. Ruffin

    Atlassian JIRA | 1 year ago | S.Ruffin
    java.lang.IllegalArgumentException: Datasource dbcp.numActive not found
  2. 0

    I just installed jira 6.4.5 in my environment connecting to an Oracle database. I can configure it and it seems all fine (can create projects and issues) but I have right from the beginning the following message in the log: 2015-09-28 16:23:41,360 jira-monitoring-plugin ERROR [jira.plugins.monitor.MetricsCollectorTask] Error running task java.lang.IllegalArgumentException: Datasource dbcp.numActive not found at org.rrd4j.core.Sample.setValue(Sample.java:63) at com.atlassian.jira.plugins.monitor.database.ConnectionPoolGraph.setDatasourceValues(ConnectionPoolGraph.java:45) at com.atlassian.jira.plugins.monitor.rrd4j.RrdUpdater.addSample(RrdUpdater.java:76) at com.atlassian.jira.plugins.monitor.MetricsCollectorTask.doRun(MetricsCollectorTask.java:52) at com.atlassian.jira.plugins.monitor.MetricsCollectorTask.run(MetricsCollectorTask.java:41) at java.util.TimerThread.mainLoop(Unknown Source) at java.util.TimerThread.run(Unknown Source) 2015-09-28 16:23:51,360 jira-monitoring-plugin ERROR [jira.plugins.monitor.MetricsCollectorTask] Error running task java.lang.IllegalArgumentException: Datasource dbcp.numActive not found at org.rrd4j.core.Sample.setValue(Sample.java:63) at com.atlassian.jira.plugins.monitor.database.ConnectionPoolGraph.setDatasourceValues(ConnectionPoolGraph.java:45) at com.atlassian.jira.plugins.monitor.rrd4j.RrdUpdater.addSample(RrdUpdater.java:76) at com.atlassian.jira.plugins.monitor.MetricsCollectorTask.doRun(MetricsCollectorTask.java:52) at com.atlassian.jira.plugins.monitor.MetricsCollectorTask.run(MetricsCollectorTask.java:41) at java.util.TimerThread.mainLoop(Unknown Source) at java.util.TimerThread.run(Unknown Source) 2015-09-28 16:24:01,360 jira-monitoring-plugin ERROR [jira.plugins.monitor.MetricsCollectorTask] Error running task java.lang.IllegalArgumentException: Datasource dbcp.numActive not found at org.rrd4j.core.Sample.setValue(Sample.java:63) at com.atlassian.jira.plugins.monitor.database.ConnectionPoolGraph.setDatasourceValues(ConnectionPoolGraph.java:45) at com.atlassian.jira.plugins.monitor.rrd4j.RrdUpdater.addSample(RrdUpdater.java:76) at com.atlassian.jira.plugins.monitor.MetricsCollectorTask.doRun(MetricsCollectorTask.java:52) at com.atlassian.jira.plugins.monitor.MetricsCollectorTask.run(MetricsCollectorTask.java:41) at java.util.TimerThread.mainLoop(Unknown Source) at java.util.TimerThread.run(Unknown Source) an entry is added every 10 seconds in the log. And if I try to access the Database monitoring in the Add-ons tab I get a full screen of errors, starting with: 2015-09-28 16:23:41,360 jira-monitoring-plugin ERROR [jira.plugins.monitor.MetricsCollectorTask] Error running task java.lang.IllegalArgumentException: Datasource dbcp.numActive not found at org.rrd4j.core.Sample.setValue(Sample.java:63) at com.atlassian.jira.plugins.monitor.database.ConnectionPoolGraph.setDatasourceValues(ConnectionPoolGraph.java:45) at com.atlassian.jira.plugins.monitor.rrd4j.RrdUpdater.addSample(RrdUpdater.java:76) at com.atlassian.jira.plugins.monitor.MetricsCollectorTask.doRun(MetricsCollectorTask.java:52) at com.atlassian.jira.plugins.monitor.MetricsCollectorTask.run(MetricsCollectorTask.java:41) at java.util.TimerThread.mainLoop(Unknown Source) at java.util.TimerThread.run(Unknown Source) 2015-09-28 16:23:51,360 jira-monitoring-plugin ERROR [jira.plugins.monitor.MetricsCollectorTask] Error running task java.lang.IllegalArgumentException: Datasource dbcp.numActive not found at org.rrd4j.core.Sample.setValue(Sample.java:63) at com.atlassian.jira.plugins.monitor.database.ConnectionPoolGraph.setDatasourceValues(ConnectionPoolGraph.java:45) at com.atlassian.jira.plugins.monitor.rrd4j.RrdUpdater.addSample(RrdUpdater.java:76) at com.atlassian.jira.plugins.monitor.MetricsCollectorTask.doRun(MetricsCollectorTask.java:52) at com.atlassian.jira.plugins.monitor.MetricsCollectorTask.run(MetricsCollectorTask.java:41) at java.util.TimerThread.mainLoop(Unknown Source) at java.util.TimerThread.run(Unknown Source) 2015-09-28 16:24:01,360 jira-monitoring-plugin ERROR [jira.plugins.monitor.MetricsCollectorTask] Error running task java.lang.IllegalArgumentException: Datasource dbcp.numActive not found at org.rrd4j.core.Sample.setValue(Sample.java:63) at com.atlassian.jira.plugins.monitor.database.ConnectionPoolGraph.setDatasourceValues(ConnectionPoolGraph.java:45) at com.atlassian.jira.plugins.monitor.rrd4j.RrdUpdater.addSample(RrdUpdater.java:76) at com.atlassian.jira.plugins.monitor.MetricsCollectorTask.doRun(MetricsCollectorTask.java:52) at com.atlassian.jira.plugins.monitor.MetricsCollectorTask.run(MetricsCollectorTask.java:41) at java.util.TimerThread.mainLoop(Unknown Source) at java.util.TimerThread.run(Unknown Source) Obviously there is something wrong in my environment, but what? Thanks to have a look into that. S. Ruffin

    Atlassian JIRA | 1 year ago | S.Ruffin
    java.lang.IllegalArgumentException: Datasource dbcp.numActive not found
  3. 0

    Spring+Hibernate+Tomcat - BeanInstantiationException

    Stack Overflow | 1 year ago | user2340345
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in com.di.ps.urls.core.jpa.config.UrlConfig: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean]: Factory method 'entityManagerFactoryBean' threw exception; nested exception is java.lang.IllegalArgumentException: DataSource must not be null
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Configuring Spring Batch with java. Exception: DataSource is null

    Stack Overflow | 2 years ago | HenioJR
    java.lang.IllegalArgumentException: DataSource must not be null.
  6. 0

    Spring Data repositories with multiple databases – Scattercode

    co.uk | 8 months ago
    java.lang.IllegalArgumentException: DataSource must not be null

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      Datasource dbcp.numActive not found

      at org.rrd4j.core.Sample.setValue()
    2. RRD4J
      Sample.setValue
      1. org.rrd4j.core.Sample.setValue(Sample.java:63)
      1 frame
    3. com.atlassian.jira
      MetricsCollectorTask.run
      1. com.atlassian.jira.plugins.monitor.database.ConnectionPoolGraph.setDatasourceValues(ConnectionPoolGraph.java:45)
      2. com.atlassian.jira.plugins.monitor.rrd4j.RrdUpdater.addSample(RrdUpdater.java:76)
      3. com.atlassian.jira.plugins.monitor.MetricsCollectorTask.doRun(MetricsCollectorTask.java:52)
      4. com.atlassian.jira.plugins.monitor.MetricsCollectorTask.run(MetricsCollectorTask.java:41)
      4 frames
    4. Java RT
      TimerThread.run
      1. java.util.TimerThread.mainLoop(Unknown Source)
      2. java.util.TimerThread.run(Unknown Source)
      2 frames