Analytics Service Is Not Available: Datasource Could Not Be Found When Accessing Spaces Directly Through Individual Cluster Nodes Of The Weblogic Cluster (Doc ID 1399137.1)

Last updated on NOVEMBER 22, 2016

Applies to:

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

Symptoms

In a High Availability environment with Analytics configured,  users who access the nodes directly may see the following error in the Analytics task flows:
Analytics Service is not available: datasource could not be found.

The WC_Spaces managed server logs will report the following:

[SomeTimeStamp][WC_Spaces-02] [ERROR] [] [oracle.webcenter.analytics.model.dataprovider.ReportDataProvider] [tid: [ACTIVE].ExecuteThread: '16' for queue: 'weblogic.kernel.Default (self-tuning)'] [ecid: 304c7fd7372488af:5737cce4:130aeb65411:-7ffe-0000000000001317,0] [APP: webcenter#11.1.1.4.0] Cannot get valid DB Provider[
java.lang.ExceptionInInitializerError
...
Caused by: com.plumtree.analytics.core.exception.AnalyticsRuntimeException: Error obtaining datasource 'java:/comp/env/jdbc/ActivitiesDS'
...
Caused by: javax.naming.NameNotFoundException: remaining name: /comp/env/jdbc/ActivitiesDS



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