My Oracle Support Banner

Failed to start standalone reports server (Doc ID 2686919.1)

Last updated on SEPTEMBER 03, 2020

Applies to:

Oracle Forms - Version 10.1.2.3.0 to 12.2.1.4.0 [Release 10.1.2.3 to 12.2]
Information in this document applies to any platform.

Symptoms

 

1. WLS Admin Server and Node Manager can be started successfully. WLS Version 12.2.1.2, Forms and Reports version 12.2.1.2 

2. OHS Started successfully.

3. startComponent 'repsvr12c01' standalone reports server
nodemanger windows output following error message: 
oracle.security.jps.service.keystore.KeyStoreServiceException

More detailed error message as below: 

D:\Oracle\Middleware\Oracle_Home\user_projects\domains\wls_opus\reports\bin>D:\Oracle\Middleware\Oracle_Home\oracle_common\jdk\bin\java -version

java version "1.8.0_101"
Java(TM) SE Runtime Environment (build 1.8.0_101-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.101-b13, mixed mode)

D:\Oracle\Middleware\Oracle_Home\user_projects\domains\wls_opus\reports\bin>myrwserver server=repsvr12c01
Starting Reports 12c Server...

D:\Oracle\Middleware\Oracle_Home\user_projects\domains\wls_opus\reports\bin>set COMPONENT_NAME=repsvr12c01

D:\Oracle\Middleware\Oracle_Home\user_projects\domains\wls_opus\reports\bin>set COMPONENT_CONFIG_PATH=D:\Oracle\Middleware\Oracle_Home\user_projects\domains\wls_opus\config\fmwconfig\components\ReportsServerComponent\repsvr12c01

D:\Oracle\Middleware\Oracle_Home\user_projects\domains\wls_opus\reports\bin>set REPORTS_CLASSPATH=D:\Oracle\Middleware\Oracle_Home\reports\jlib\rwbuilder.jar;D:\Oracle\Middleware\Oracle_Home\reports\jlib\rwrun.jar;D:\Oracle\Middleware\Oracle_Home\jlib\zrclient.jar

D:\Oracle\Middleware\Oracle_Home\user_projects\domains\wls_opus\reports\bin>D:\Oracle\Middleware\Oracle_Home\oracle_common\jdk\bin\java -cp D:\Oracle\Middleware\Oracle_Home\reports\jlib\rwbuilder.jar;D:\Oracle\Middleware\Oracle_Home\reports\jlib\rwrun.jar;D:\Oracle\Middleware\Oracle_Home\jlib\zrclient.jar oracle.reports.server.RWServer server=repsvr12c01 ORACLE_HOME=D:\Oracle\Middleware\Oracle_Home showui=yes
Jun 28, 2020 10:38:18 am oracle.security.jps.internal.keystore.file.FileKeyStoreManager openKeyStore
Warning: The file-based keystore could not be opened. the reason:
oracle.security.jps.service.keystore.KeyStoreServiceException: Unable to perform encryption operation
at oracle.security.jps.internal.keystore.util.CryptoUtil.decrypt(CryptoUtil.java:593)
at oracle.security.jps.internal.keystore.util.CryptoUtil.decodeAliasWithEncryptedContent(CryptoUtil.java:675)
at oracle.security.jps.internal.keystore.util.CryptoUtil.decryptPrivateKey(CryptoUtil.java:891)
at oracle.security.jps.internal.keystore.config.jaxb.adapters.PrivateKeyAdapter.unmarshal(PrivateKeyAdapter.java:63)
at oracle.security.jps.internal.keystore.config.jaxb.KeyPair.retrievePrivateKey(KeyPair.java:113)
at oracle.security.jps.internal.keystore.util.KeyStoreServiceUtil.getDemoCAKey(KeyStoreServiceUtil.java:641)
at oracle.security.jps.internal.keystore.util.KeyStoreServiceUtil.getDemoCAKey(KeyStoreServiceUtil.java:613)
at oracle.security.jps.internal.keystore.file.FileKeyStoreManager.openKeyStore(FileKeyStoreManager.java:456)
at oracle.security.jps.internal.keystore.file.FileKeyStoreManager.openKeyStore(FileKeyStoreManager.java:408)
at oracle.security.jps.internal.keystore.file.FileKeyStoreServiceImpl.doInit(FileKeyStoreServiceImpl.java:148)
at oracle.security.jps.internal.keystore.file.FileKeyStoreServiceImpl.start(FileKeyStoreServiceImpl.java:990)
at oracle.security.opss.internal.runtime.ServiceContextImpl.start(ServiceContextImpl.java:220)
at oracle.security.opss.internal.runtime.ServiceContextManagerImpl.createContext(ServiceContextManagerImpl.java:615)
at oracle.security.opss.internal.runtime.ServiceContextManagerImpl.initBootstrap(ServiceContextManagerImpl.java:174)
at oracle.security.opss.internal.runtime.ServiceContextManagerImpl.initBootstrap(ServiceContextManagerImpl.java:154)
at oracle.security.jps.internal.config.OpssCommonStartup$3.run(OpssCommonStartup.java:354)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.security.jps.internal.config.OpssCommonStartup.preStart(OpssCommonStartup.java:307)
at oracle.security.jps.JpsStartup.preStart(JpsStartup.java:276)
at oracle.security.jps.JpsStartup.start(JpsStartup.java:205)
at oracle.reports.server.RWServer.initSecuritySettings(RWServer.java:1312)
at oracle.reports.server.RWServer.startServer(RWServer.java:601)
at oracle.reports.server.RWServer.main(RWServer.java:204)
Caused by: java.security.InvalidKeyException: Illegal key size
at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1039)
at javax.crypto.Cipher.implInit(Cipher.java:805)
at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
at javax.crypto.Cipher.init(Cipher.java:1396)
at javax.crypto.Cipher.init(Cipher.java:1327)
at oracle.security.jps.internal.keystore.util.CryptoUtil.decrypt(CryptoUtil.java:570)
... 22 more

Jun 28, 2020 10:38:18 am oracle.security.jps.internal.config.OpssCommonStartup preStart
Message: Jps failed to start.
REP-50125: An internal exception error occurred: oracle.security.jps.JpsException: JPS-06514: The file-based keystore could not be opened. the reason:。

4. Tried to visit URL: 

http://localhost:9002/reports/rwservlet?server=repsvr2&desformat=PDF&report=prl_rp2_pp_dn&p_bill_id=7109

REP-51002: Failed bind to Reports server repsvr2

Changes

 newly installed Forms and Reports 12.2.1.3 

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.