Analytics Service Is Not Available: Datasource Could Not Be Found (Doc ID 1954448.1)

Last updated on JULY 20, 2017

Applies to:

Oracle WebCenter Portal - Version 11.1.1.4.0 and later
Information in this document applies to any platform.

Symptoms

Custom Portal has Analytic reports.  It returns the following expection when trying to access:

Analytics Service is not available: datasource could not be found.

 

WC_CustomPortal log shows:

<oracle.webcenter.analytics.model.dataprovider.ReportDataProvider> <BEA-000000> <Cannot get valid DB Provider
java.lang.ExceptionInInitializerError
       at com.plumtree.analytics.core.dao.jdbc.JdbcConnectionProvider.getInstance(JdbcConnectionProvider.java:44)
       at com.plumtree.analytics.core.db.impl.DBProviderFactory.getDBProvider(DBProviderFactory.java:20)
       at oracle.webcenter.analytics.model.dataprovider.ReportDataProvider.<clinit>(ReportDataProvider.java:49)
       at oracle.webcenter.analytics.model.dataprovider.DataProviderFactory.getReportDataProvider(DataProviderFactory.java:6)
       at oracle.webcenter.analytics.view.beans.AnalyticsConfig.getAnalyticsInstalled(AnalyticsConfig.java:79)
       at oracle.webcenter.analytics.view.beans.AnalyticsConfig.isAnalyticsInstalled(AnalyticsConfig.java:115)

...

Caused By: com.plumtree.analytics.core.exception.AnalyticsRuntimeException: Error obtaining datasource 'java:/comp/env/jdbc/ActivitiesDS'
       at com.plumtree.analytics.core.dao.jdbc.JdbcConnectionProvider.<init>(JdbcConnectionProvider.java:29)
       at com.plumtree.analytics.core.dao.jdbc.JdbcConnectionProvider.<init>(JdbcConnectionProvider.java:13)
       at com.plumtree.analytics.core.dao.jdbc.JdbcConnectionProvider$SingletonHolder.<clinit>(JdbcConnectionProvider.java:52)
       at com.plumtree.analytics.core.dao.jdbc.JdbcConnectionProvider.getInstance(JdbcConnectionProvider.java:44)
       at com.plumtree.analytics.core.db.impl.DBProviderFactory.getDBProvider(DBProviderFactory.java:20)
       at oracle.webcenter.analytics.model.dataprovider.ReportDataProvider.<clinit>(ReportDataProvider.java:49)

 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms