My Oracle Support Banner

12c: Core Dump When Starting Report Server Created With Extra Space " " at the Beginning (Doc ID 2519803.1)

Last updated on MAY 11, 2023

Applies to:

Oracle Reports Developer - Version 12.2.1.4.0 and later
Oracle Forms for OCI - Version 12.2.1.4.0 and later
Information in this document applies to any platform.

Symptoms


The original Reports Server was created with a space in front of the Reports Server name:

For Example:

" rep_server1" and not "rep_server1":

createReportsServerInstance(instanceName=' rep_server1',machine='AdminServerMachine')

 

When attempting to start it up, the following errors are seen:

DOMAIN_HOME\bin>startComponent.cmd rep_server1
Starting system Component rep_server1 ...
Initializing WebLogic Scripting Tool (WLST) ...
Welcome to WebLogic Server Administration Scripting Shell
Type help() for help on available commands
Reading domain from DOMAIN_HOME

Please enter Node Manager password:
Connecting to Node Manager ...
<Mar 14, 2019 2:28:38 PM UTC> <Info> <Security> <BEA-090905> <Disabling the CryptoJ JCE Provider self-integrity check for better startup performance. To enable this check, specify -Dweblogic.security.allowCryptoJDefaultJCEVerification=true.>
<Mar 14, 2019 2:28:38 PM UTC> <Info> <Security> <BEA-090906> <Changing the default Random Number Generator in RSA CryptoJ from ECDRBG128 to HMACDRBG. To disable this change, specify -Dweblogic.security.allowCryptoJDefaultPRNG=true.>
<Mar 14, 2019 2:28:38 PM UTC> <Info> <Security> <BEA-090909> <Using the configured custom SSL Hostname Verifier implementation: weblogic.security.utils.SSLWLSHostnameVerifier$NullHostnameVerifier.>
Successfully Connected to Node Manager.
Starting server rep_server1 ...
This Exception occurred at Thu Mar 14 14:28:40 UTC 2019.
weblogic.nodemanager.NMException: Received error message from Node Manager Server: [ReportsServerComponent Server 'rep_server1' is either already running or in the process of starting/restarting]. Please check Node Manager log for details.
Error: Error occurred while performing nmStart : Error Starting server rep_server1 : Received error message from Node Manager Server: [ReportsServerComponent Server 'rep_server1' is either already running or in the process of starting/restarting]. Please check Node Manager log for details.
Use dumpStack() to view the full stacktrace :
Exiting WebLogic Scripting Tool.
Done

 

Once created though, it was not possible to successfully delete it via deleteReportsServerInstance and createReportsServerInstance did not work after that.

 

The below is seen in the DOMAIN_HOME\servers\AdminServer\logs\NodeManager.lo

...
Caused By: java.io.IOException: 
oracle.as.jmx.framework.util.MissingConfigurationFileException: The configuration at URI 
"DOMAIN_HOME\config\fmwconfig\components\ReportsServerComponent\rep_server1\rwserver.conf" cannot be loaded.
at 
oracle.reports.admin.cam.server.ReportsServerComponentManager.load(ReportsServerComponentManager.java:123)
at 
oracle.reports.admin.cam.server.ReportsServerComponentManager.preRegister(ReportsServerComponentManager.java:97)
...

 

When attempting to delete, the following is seen :

C:\Windows\system32>ORACLE_HOME\oracle_common\common\bin\wlst.cmd

Initializing WebLogic Scripting Tool (WLST) ...

Welcome to WebLogic Server Administration Scripting Shell

Type help() for help on available commands

wls:/offline> connect(userConfigFile='<DIR>\wlsuserconfig.secure',userKeyFile<DIR>\wlsuserkeyfile.secure',host='localhost',port='7001')
Connecting to t3://localhost:7001 with userid <WEBLOGIC_USER>...
Successfully connected to Admin Server "AdminServer" that belongs to domain "<DOMAIN_NAME>".

Warning: An insecure protocol was used to connect to the server.
To ensure on-the-wire security, the SSL port or Admin port should be used instead.

wls:/<DOMAIN_NAME>/serverConfig/> deleteReportsServerInstance(instanceName=' rep_server1',machine='AdminServerMachine')
Location changed to edit custom tree. This is a writable tree with No root.
For more help, use help('editCustom')

Traceback (innermost last):
 File "<console>", line 1, in ?
 File "/ORACLE_HOME/ReportsServerComponent/plugins/wlst/repserver-wlst-dependencies.jar!/wlstScriptDir/OracleReportsServer.py", line 32, in deleteReportsServerInstance
 File "/ORACLE_HOME/ReportsServerComponent/plugins/wlst/repserver-wlst-dependencies.jar!/wlstScriptDir/reports_server_handler.py", line 190, in reportsServer_createReportsServerInstance
 File "<iostream>", line 168, in cd
 File "<iostream>", line 553, in raiseWLSTException
WLSTException: Error occurred while performing cd : Attribute oracle.reports:Type=ReportsServerComponent,Name=ReportsServerComponentManager not found. Use ls('a') to view the attributes

 

...  and recreate it or any new report server, the following errors are seen: 

C:\Windows\system32>ORACLE_HOME\oracle_common\common\bin\wlst.cmd

Initializing WebLogic Scripting Tool (WLST) ...

Welcome to WebLogic Server Administration Scripting Shell

Type help() for help on available commands

wls:/offline> connect(userConfigFile='<DIR>\wlsuserconfig.secure',userKeyFile='<DIR>\wlsuserkeyfile.secure',host='localhost',port='7001')
Connecting to t3://localhost:7001 with userid <WEBLOGIC_USER>...
Successfully connected to Admin Server "AdminServer" that belongs to domain "<DOMAIN_NAME>".

Warning: An insecure protocol was used to connect to the server.
To ensure on-the-wire security, the SSL port or Admin port should be used instead.

wls:/<DOMAIN_NAME>/serverConfig/> createReportsServerInstance(instanceName='rep_server1',machine='AdminServerMachine')
Location changed to edit custom tree. This is a writable tree with No root.
For more help, use help('editCustom')

Traceback (innermost last):
 File "<console>", line 1, in ?
 File "/ORACLE_HOME/ReportsServerComponent/plugins/wlst/repserver-wlst-dependencies.jar!/wlstScriptDir/OracleReportsServer.py", line 22, in createReportsServerInstance
 File "/ORACLE_HOME/ReportsServerComponent/plugins/wlst/repserver-wlst-dependencies.jar!/wlstScriptDir/reports_server_handler.py", line 152, in reportsServer_createReportsServerInstance
 File "<iostream>", line 168, in cd
 File "<iostream>", line 553, in raiseWLSTException
WLSTException: Error occurred while performing cd : Attribute oracle.reports:Type=ReportsServerComponent,Name=ReportsServerComponentManager not found. Use ls('a') to view the attributes

 

Changes

 

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.