Configuration of Forms and Reports 11.1.2.2.0 on Solaris Fails Starting Up WLS_FORMS

Configuration of Forms and Reports 11.1.2.2.0 on Solaris Fails Starting Up WLS_FORMS

Configuration of Forms and Reports 11.1.2.2.0 on Solaris Fails Starting Up WLS_FORMS

Titleimage

Posted by Patrick Hamou on 2017:09:05 21:16:13

APPLIES TO:

Oracle Fusion Middleware - Version 11.1.2.2.0 and later
Oracle WebLogic Server - Version 10.3.5 to 10.3.5
Oracle Solaris on SPARC (64-bit)

SYMPTOMS

The installation of Forms and Reports 11.1.2.2.0 fails while running the Configuration Wizard, just at the step where WLS_FORMS is started:

The <domain home>/servers/WLS_FORMS/logs/WLS_FORMS.log file contains the following exception:

java.lang.ExceptionInInitializerError
java.lang.ExceptionInInitializerError
at weblogic.rjvm.LocalRJVM.getLocalRJVM(LocalRJVM.java:72)
at weblogic.rjvm.JVMID.(JVMID.java:373)
at weblogic.rjvm.JVMID.setLocalID(JVMID.java:239)
at weblogic.rjvm.RJVMService.setJVMID(RJVMService.java:48)
at weblogic.rjvm.RJVMService.start(RJVMService.java:30)
at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
Caused By: java.security.ProviderException: Error parsing configuration
at sun.security.pkcs11.Config.getConfig(Config.java:71)
at sun.security.pkcs11.SunPKCS11.(SunPKCS11.java:110)
at sun.security.pkcs11.SunPKCS11.(SunPKCS11.java:86)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
at sun.security.jca.ProviderConfig$2.run(ProviderConfig.java:224)
at sun.security.jca.ProviderConfig$2.run(ProviderConfig.java:206)
at java.security.AccessController.doPrivileged(Native Method)
at sun.security.jca.ProviderConfig.doLoadProvider(ProviderConfig.java:206)
at sun.security.jca.ProviderConfig.getProvider(ProviderConfig.java:187)
at sun.security.jca.ProviderList.getProvider(ProviderList.java:232)
at sun.security.jca.ProviderList$3.get(ProviderList.java:147)
at sun.security.jca.ProviderList$3.get(ProviderList.java:142)
at java.util.AbstractList$Itr.next(AbstractList.java:358)
at java.security.SecureRandom.getPrngAlgorithm(SecureRandom.java:542)
at java.security.SecureRandom.getDefaultPRNG(SecureRandom.java:187)
at java.security.SecureRandom.(SecureRandom.java:155)
at weblogic.rjvm.LocalRJVM.(LocalRJVM.java:90)
at weblogic.rjvm.LocalRJVM.(LocalRJVM.java:28)
at weblogic.rjvm.LocalRJVM$LocalRJVMMaker.(LocalRJVM.java:31)
at weblogic.rjvm.LocalRJVM.getLocalRJVM(LocalRJVM.java:72)
at weblogic.rjvm.JVMID.(JVMID.java:373)
at weblogic.rjvm.JVMID.setLocalID(JVMID.java:239)
at weblogic.rjvm.RJVMService.setJVMID(RJVMService.java:48)
at weblogic.rjvm.RJVMService.start(RJVMService.java:30)
at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)

Caused By: sun.security.pkcs11.ConfigurationException: Unknown keyword 'useEcX963Encoding', line 15

CAUSE

The issue has been reported in Bug 18511809 ORACLE FORMS AND REPORTS INSTALLATION FAILS WHILE STARTING MANAGED SERVER

SOLUTION

1. Perform the binaries installation of Forms 11.1.2.2.0 but do not run the Configuration Wizard at this stage. The following may help:

Note:946023.1 How To Restart a FMW 11g Instance Configuration After Resolving an Error or Failure

2. Workaround:

As a TEMPORARY workaround, manually edit the \jre\lib\security\java.security to remove the SunPKCS11 provider to disable a statically configured PKCS#11 provider and replace the PKCS#11 provider with the SUN provider:

from:

security.provider.1=sun.security.pkcs11.SunPKCS11
${java.home}/lib/security/sunpkcs11-solaris.cfg
security.provider.2=sun.security.provider.Sun
security.provider.3=sun.security.rsa.SunRsaSign
...

to:

security.provider.1=sun.security.provider.Sun
security.provider.2=sun.security.rsa.SunRsaSign
...

Note, it has to have provider.1 provider.2 and so on.

You will need to perform this same workaround if you ever update your JDK. If you need a permanent solution, please open a Service Request to ask for a patch to apply between the install and config phases.


3. Run the Configuration Wizard.

REFERENCES

NOTE:1450179.1 - Managed Servers of a Portal, Forms, Reports, Discoverer Installation Fail to Start with Java 7 with the Error "Unknown keyword 'useEcX963Encoding'"
NOTE:1578744.1 - Configuration of Discoverer 11.1.1.7.0 When WLS uses 1.7 JDK - Fail to Start Managed Process WLS_DISCO
BUG:18511809 - ORACLE FORMS AND REPORTS INSTALLATION FAILS WHILE STARTING MANAGED SERVER

Return to Blog