OPSS - SOA Admin Server Fails With Security Exception Caused By: java.lang.RuntimeException: java.io.IOException: No such file or directory, Caused By: java.io.IOException: No such file or directory (Doc ID 2187373.1)

Last updated on OCTOBER 04, 2016

Applies to:

Oracle Platform Security for Java - Version 11.1.1.7.0 and later
Information in this document applies to any platform.

Symptoms

Unable start Admin Server, failing with the next error:  reports error " java.lang.RuntimeException: java.io.IOException: No such file or directory "

starting weblogic with Java version:
java version "1.6.0_81"
Java(TM) SE Runtime Environment (build 1.6.0_81-b08)
Java HotSpot(TM) 64-Bit Server VM (build 20.81-b05, mixed mode)
Starting WLS with line:

/u03/jdk1.6.0_81/bin/java -server -Xms2048m -Xmx2048m -XX:PermSize=256m -XX:MaxPermSize=512m -Dweblogic.Name=AdminServer -Djava.security.policy=/u03/soadev/Oracle/Middleware/wlserver_10.3/server/lib/weblogic.policy -Dweblogic.ProductionModeEnabled=true -Dweblogic.ProductionModeEnabled=true -da -Djava.security.debug=jpspolicy -Doracle.pki.debug=true -Dplatform.home=/u03/soadev/Oracle/Middleware/wlserver_10.3 -Dwls.home=/u03/soadev/Oracle/Middleware/wlserver_10.3/server -Dweblogic.home=/u03/soadev/Oracle/Middleware/wlserver_10.3/server -Dcommon.components.home=/u03/soadev/Oracle/Middleware/oracle_common -Djrf.version=11.1.1 -Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.Jdk14Logger -Ddomain.home=/u03/soadev/Oracle/Middleware/user_projects/domains/soa_domain -Djrockit.optfile=/u03/soadev/Oracle/Middleware/oracle_common/modules/oracle.jrf_11.1.1/jrocket_optfile.txt -Doracle.server.config.dir=/u03/soadev/Oracle/Middleware/user_projects/domains/soa_domain/config/fmwconfig/servers/AdminServer -Doracle.domain.config.dir=/u03/soadev/Oracle/Middleware/user_projects/domains/soa_domain/config/fmwconfig -Digf.arisidbeans.carmlloc=/u03/soadev/Oracle/Middleware/user_projects/domains/soa_domain/config/fmwconfig/carml -Digf.arisidstack.home=/u03/soadev/Oracle/Middleware/user_projects/domains/soa_domain/config/fmwconfig/arisidprovider -Doracle.security.jps.config=/u03/soadev/Oracle/Middleware/user_projects/domains/soa_domain/config/fmwconfig/jps-config.xml -Doracle.deployed.app.dir=/u03/soadev/Oracle/Middleware/user_projects/domains/soa_domain/servers/AdminServer/tmp/_WL_user -Doracle.deployed.app.ext=/- -Dweblogic.alternateTypesDirectory=/u03/soadev/Oracle/Middleware/oracle_common/modules/oracle.ossoiap_11.1.1,/u03/soadev/Oracle/Middleware/oracle_common/modules/oracle.oamprovider_11.1.1 -Djava.protocol.handler.pkgs=oracle.mds.net.protocol|oracle.fabric.common.classloaderurl.handler|oracle.fabric.common.uddiurl.handler|oracle.bpm.io.fs.protocol -Dweblogic.jdbc.remoteEnabled=true -da:org.apache.xmlbeans... -Dem.oracle.home=/u03/soadev/Oracle/Middleware/oracle_common -Djava.awt.headless=true -Djava.io.tmpdir=/tmp/soadev -Dcommon.components.home=/u03/soadev/Oracle/Middleware/oracle_common -Djrf.version=11.1.1 -Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.Jdk14Logger -Ddomain.home=/u03/soadev/Oracle/Middleware/user_projects/domains/soa_domain -Djrockit.optfile=/u03/soadev/Oracle/Middleware/oracle_common/modules/oracle.jrf_11.1.1/jrocket_optfile.txt -Doracle.server.config.dir=/u03/soadev/Oracle/Middleware/user_projects/domains/soa_domain/config/fmwconfig/servers/AdminServer -Doracle.domain.config.dir=/u03/soadev/Oracle/Middleware/user_projects/domains/soa_domain/config/fmwconfig -Digf.arisidbeans.carmlloc=/u03/soadev/Oracle/Middleware/user_projects/domains/soa_domain/config/fmwconfig/carml -Digf.arisidstack.home=/u03/soadev/Oracle/Middleware/user_projects/domains/soa_domain/config/fmwconfig/arisidprovider -Doracle.security.jps.config=/u03/soadev/Oracle/Middleware/user_projects/domains/soa_domain/config/fmwconfig/jps-config.xml -Doracle.deployed.app.dir=/u03/soadev/Oracle/Middleware/user_projects/domains/soa_domain/servers/AdminServer/tmp/_WL_user -Doracle.deployed.app.ext=/- -Dweblogic.alternateTypesDirectory=/u03/soadev/Oracle/Middleware/oracle_common/modules/oracle.ossoiap_11.1.1,/u03/soadev/Oracle/Middleware/oracle_common/modules/oracle.oamprovider_11.1.1 -Djava.protocol.handler.pkgs=oracle.mds.net.protocol|oracle.fabric.common.classloaderurl.handler|oracle.fabric.common.uddiurl.handler|oracle.bpm.io.fs.protocol -Dweblogic.jdbc.remoteEnabled=true -da:org.apache.xmlbeans... -Dem.oracle.home=/u03/soadev/Oracle/Middleware/oracle_common -Djava.awt.headless=true -Djava.io.tmpdir=/tmp/soadev -Djps.auth.debug=true -Djps.auth.debug=true -Djps.auth.debug.verbose=true -Dsoa.archives.dir=/u03/soadev/Oracle/Middleware/Oracle_SOA1/soa -Dsoa.oracle.home=/u03/soadev/Oracle/Middleware/Oracle_SOA1 -Dsoa.instance.home=/u03/soadev/Oracle/Middleware/user_projects/domains/soa_domain -Dtangosol.coherence.clusteraddress=227.7.7.9 -Dtangosol.coherence.clusterport=9778 -Dtangosol.coherence.log=jdk -Djavax.xml.soap.MessageFactory=oracle.j2ee.ws.saaj.soap.MessageFactoryImpl -Dweblogic.transaction.blocking.commit=true -Dweblogic.transaction.blocking.rollback=true -Djavax.net.ssl.trustStore=/u03/soadev/Oracle/Middleware/wlserver_10.3/server/lib/DemoTrust.jks -Dums.oracle.home=/u03/soadev/Oracle/Middleware/Oracle_SOA1 -da:org.apache.xmlbeans... -Dem.oracle.home=/u03/soadev/Oracle/Middleware/oracle_common -Djava.awt.headless=true -Djava.io.tmpdir=/tmp/soadev -Djps.auth.debug=true -Djps.auth.debug=true -Djps.auth.debug.verbose=true -Dsoa.archives.dir=/u03/soadev/Oracle/Middleware/Oracle_SOA1/soa -Dsoa.oracle.home=/u03/soadev/Oracle/Middleware/Oracle_SOA1 -Dsoa.instance.home=/u03/soadev/Oracle/Middleware/user_projects/domains/soa_domain -Dtangosol.coherence.clusteraddress=227.7.7.9 -Dtangosol.coherence.clusterport=9778 -Dtangosol.coherence.log=jdk -Djavax.xml.soap.MessageFactory=oracle.j2ee.ws.saaj.soap.MessageFactoryImpl -Dweblogic.transaction.blocking.commit=true -Dweblogic.transaction.blocking.rollback=true -Djavax.net.ssl.trustStore=/u03/soadev/Oracle/Middleware/wlserver_10.3/server/lib/DemoTrust.jks -Dums.oracle.home=/u03/soadev/Oracle/Middleware/Oracle_SOA1 -Dweblogic.management.discover=true -Dwlw.iterativeDev=false -Dwlw.testConsole=false -Dwlw.logErrorsToConsole=false   ......................................etc

[JavaPolicyProvider]: System Property [javax.net.ssl.trustStore => /u03/soadev/Oracle/Middleware/wlserver_10.3/server/lib/DemoTrust.jks]
Sep 22, 2016 9:37:09 AM oracle.security.jps.internal.common.util.XmlSchemaValidationUtil$StrictErrorHandler warning
WARNING: Invalid xml content was found. SchemaLocation: schemaLocation value = 'http://xmlns.oracle.com/oracleas/schema/11/jps-config-11_1.xsd' must have even number of URI's. Location: line 2 column 272.
Using OraclePKI Provider
javax.net.ssl.TrustManagerFactory supported
javax.net.ssl.KeyManagerFactory supported
Using OracleJSSE103 Provider
OracleKeyStoreSpi: Loading wallet from stream
OracleKeyStoreSpi: Keystore Loaded
OracleWallet: setKeyStore
OracleKeyStoreSpi: Loading wallet from stream
OracleKeyStoreSpi: Keystore Loaded
OracleKeyStoreSpi: creating new key store
OracleKeyStoreSpi: safe has 0 bags
OracleKeyStoreSpi: getCertificate alias "OU=Class 3 Public Primary Certification Authority,O=VeriSign\, Inc.,C=US"
OracleWallet: added cert bag
OracleKeyStoreSpi: getCertificate alias "OU=Class 2 Public Primary Certification Authority,O=VeriSign\, Inc.,C=US"
OracleWallet: added cert bag
OracleKeyStoreSpi: getCertificate alias "CN=GTE CyberTrust Global Root,OU=GTE CyberTrust Solutions\, Inc.,O=GTE Corporation,C=US"
OracleWallet: added cert bag
OracleKeyStoreSpi: getCertificate alias "OU=Class 1 Public Primary Certification Authority,O=VeriSign\, Inc.,C=US"
OracleWallet: added cert bag
OracleWallet: wallet has 1 safes
OracleWallet: wallet size 2856
Verifying wallet true
OracleWallet: created ALO 2933 bytes.
OracleWallet: saving sso (ALO) 2933 bytes.
OracleFileWalletImpl.saveSSOWallet: enter...
OracleFileWalletImpl.saveSSOWallet: System.getProperty(user.name)=soadev
OracleFileWalletImpl: Storing ESSO Wallet
Problem in loading OPSS security provider: null
<Sep 22, 2016 9:37:11 AM EDT> <Error> <Security> <BEA-090892> <The loading of OPSS java security policy provider failed due to exception, see the exception stack trace or the server log file for root cause. If still see no obvious cause, enable the debug flag -Djava.security.debug=jpspolicy to get more information. Error message: null>
<Sep 22, 2016 9:37:11 AM EDT> <Critical> <WebLogicServer> <BEA-000386> <Server subsystem failed. Reason: weblogic.security.SecurityInitializationException: The loading of OPSS java security policy provider failed due to exception, see the exception stack trace or the server log file for root cause. If still see no obvious cause, enable the debug flag -Djava.security.debug=jpspolicy to get more information. Error message: null
weblogic.security.SecurityInitializationException: The loading of OPSS java security policy provider failed due to exception, see the exception stack trace or the server log file for root cause. If still see no obvious cause, enable the debug flag -Djava.security.debug=jpspolicy to get more information. Error message: null
at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.loadOPSSPolicy(CommonSecurityServiceManagerDelegateImpl.java:1402)
at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initialize(CommonSecurityServiceManagerDelegateImpl.java:1022)
at weblogic.security.service.SecurityServiceManager.initialize(SecurityServiceManager.java:873)
at weblogic.security.SecurityService.start(SecurityService.java:141)
at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
Truncated. see log file for complete stacktrace
Caused By: java.lang.ExceptionInInitializerError
at oracle.security.pki.p.b(Unknown Source)
at oracle.security.pki.OracleWallet.saveAs(Unknown Source)
at oracle.security.jps.internal.credstore.ssp.CsfWalletManager.createWallet(CsfWalletManager.java:212)
at oracle.security.jps.internal.credstore.ssp.SspCredentialStore.doInit(SspCredentialStore.java:351)
at oracle.security.jps.internal.credstore.ssp.SspCredentialStore.<init>(SspCredentialStore.java:176)
Truncated. see log file for complete stacktrace
Caused By: java.lang.RuntimeException: java.io.IOException: No such file or directory
at oracle.security.pki.FileLocker.<clinit>(Unknown Source)
at oracle.security.pki.p.b(Unknown Source)
at oracle.security.pki.OracleWallet.saveAs(Unknown Source)
at oracle.security.jps.internal.credstore.ssp.CsfWalletManager.createWallet(CsfWalletManager.java:212)
at oracle.security.jps.internal.credstore.ssp.SspCredentialStore.doInit(SspCredentialStore.java:351)
Truncated. see log file for complete stacktrace
Caused By: java.io.IOException: No such file or directory
at java.io.UnixFileSystem.createFileExclusively(Native Method)
at java.io.File.checkAndCreate(File.java:1705)
at java.io.File.createTempFile0(File.java:1726)
at java.io.File.createTempFile(File.java:1838)
at oracle.security.pki.FileLocker.<clinit>(Unknown Source)
Truncated. see log file for complete stacktrace
>
<Sep 22, 2016 9:37:11 AM EDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FAILED>
<Sep 22, 2016 9:37:11 AM EDT> <Error> <WebLogicServer> <BEA-000383> <A critical service failed. The server will shut itself down>
<Sep 22, 2016 9:37:11 AM EDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FORCE_SHUTTING_DOWN>

 

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