My Oracle Support Banner

E-BIP/OAP/OAS/OAC: DataSourceConfig.sh for OAS 7.6 (2024) Errors Invalid application id, application id is null (Doc ID 3048766.1)

Last updated on NOVEMBER 06, 2024

Applies to:

BI Publisher (formerly XML Publisher) - Version 5.6.3 and later
Information in this document applies to any platform.

Symptoms

When using the datasourceconfig.sh utility which allows to pre-configuring data sources connections during a BI Publisher installations does not work when used with Oracle Analytic Server (OAS) 7.6 (2024) as it throws the following error message:

Error:

SEVERE: Marking BIP NotReady
Sep 04, 2024 1:25:07 AM oracle.xdo.servlet.GlobalContext init
SEVERE: An error occurred while marking BIP notReady : java.lang.IllegalStateException: Invalid application id, application id is null
Build Info: Oracle Analytics Publisher 12.2.7.6.1
XDO CMDLINE - GlobalContext init END.....

java.lang.NullPointerException
at oracle.xdo.servlet.ui.admin.datasource.DataSourceAdminUtil.getCurrentDataSource(DataSourceAdminUtil.java:192)
at oracle.xdo.internalapi.datasource.AbstractDataSourceService.getDataSource(AbstractDataSourceService.java:111)
at oracle.xdo.tools.config.datasource.DataSourceConfigCmdLineProcessor.getDataSource(DataSourceConfigCmdLineProcessor.java:139)
at oracle.xdo.tools.config.datasource.DataSourceConfigCmdLineProcessor.process(DataSourceConfigCmdLineProcessor.java:108)
at oracle.xdo.tools.config.datasource.DataSourceConfigServicesCmdLine.main(DataSourceConfigServicesCmdLine.java:132)

 

Steps to Reproduce

----------------------

1. Run the following commands as below editing XDO_CONFIG_HOME,BI_HOME,XDO_DOMAIN_HOME,JAVA_HOME and XDO_SERVER_CONFIG_DIR

     [oracle@hostname bipublisher]$ export XDO_CONFIG_HOME=/refresh/u01/Middleware/Oracle_Home/bi/clients/bipublisher/configservice
     [oracle@hostname bipublisher]$ export BI_HOME=/refresh/u01/Middleware/Oracle_Home/bi
     [oracle@hostname bipublisher]$ export XDO_DOMAIN_HOME=/refresh/u01/Middleware/Oracle_Home/user_projects/domains/bi
     [oracle@hostname bipublisher]$ export JAVA_HOME=/usr/java/jdk1.8.0-x64
     [oracle@hostname bipublisher]$ export XDO_SERVER_CONFIG_DIR=/refresh/u01/Middleware/Oracle_Home/user_projects/domains/bi/bidata/components/bipublisher
     [oracle@hostname bipublisher]$ cd /refresh/u01/Middleware/Oracle_Home/bi/clients/bipublisher/configservice/bin


2.   [oracle@hostname bin]$ ./datasourceconfig.sh jdbc create TEST JDBC_DRIVER_TYPE=ORACLE11G JDBC_DRIVER_CLASS=oracle.jdbc.OracleDriver JDBC_URL=<DB_CONNSTRING>  USE_SYSTEM_USER=false JDBC_USERNAME=<DATASOURCE_USER> JDBC_PASSWORD=<DATASOURCE_PASS> USE_PROXY_AUTHENTICATION=false USE_BACKUP_DATASOURCE=false ALLOWED_ROLES='BIContentAuthor,BIConsumer'

3.Above error is observed

 

Changes

 Upgrading to Oracle Analytic Server (OAS) 7.6 (2024)

Cause

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.