000036276 - RSA Authentication Manager 8.2 SP1 patch 6 Web Tier installation on Windows fails with error code "Java returned: -1"

Document created by RSA Customer Support Employee on May 17, 2018
Version 1Show Document
  • View in full screen mode

Article Content

Article Number000036276
Applies ToRSA Product Set: SecurID
RSA Product/Service Type: Authentication Manager
RSA Version/Condition: 8.2 SP1 patch 6
IssueAn RSA Authentication Manager 8.2 SP1 patch 6 Web Tier reinstall on Windows fails with the following errors:

Process exited with status: -1
xception in thread "main" : Java returned: -1

User-added image

In the Install_V8. log file, the following is seen:

Exception in thread "main" : Java returned: -1            
   at org.apache.tools.ant.taskdefs.Java.execute(Java.java:111)            
   at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)            
   at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)            
   at WeblogicSoftware.launchWeblogicCloneInstaller(WeblogicSoftware.groovy:146)            
   at WeblogicSoftware$launchWeblogicCloneInstaller.callCurrent(Unknown Source)            
   at WeblogicSoftware.install(WeblogicSoftware.groovy:38)            
   at WeblogicSoftware$install.call(Unknown Source)            
   at WebtierBootstrapper.installWeblogicSoftware(WebtierBootstrapper.groovy:44)            
   at WebtierBootstrapper.installAll(WebtierBootstrapper.groovy:37)            
   at com.rsa.plugins.install.GroovyInstallEngine.invokeScript(GroovyInstallEngine.groovy:68           
   at com.rsa.plugins.install.GroovyInstallEngine$_runTask_closure2.doCall(GroovyInstallEngine.groovy:57
   at com.rsa.plugins.install.GroovyInstallEngine.runTask(GroovyInstallEngine.groovy:56)            
   at com.rsa.plugins.install.GroovyInstallEngine$_runTasks_closure3.doCall(GroovyInstallEngine.groovy:106)            
   at com.rsa.plugins.install.GroovyInstallEngine.runTasks(GroovyInstallEngine.groovy:105) 
   at com.rsa.plugins.install.GroovyInstallEngine$runTasks.call(Unknown Source)            
   at com.rsa.plugins.install.CommandLineInstallEngine.main(CommandLineInstallEngine.groovy:40) Configuration step WebtierBootstrapper:installAll [FAILED]

Check the Clone Logs Errors located in C:\Webtier\install_logs  The file name will be similar to CLONE2017-12-05_11-43-09_2043453127.log, with a timestamp value based on when the log is created. 

SEVERE : Dec 5, 2017 12:28:59 PM - ERROR - CLONE-20218   Cloning is not successful.
SEVERE : Dec 5, 2017 12:28:59 PM - CAUSE - CLONE-20218   An internal operation failed.
SEVERE : Dec 5, 2017 12:28:59 PM - ACTION - CLONE-20218   Check clone log and error file for detailed information.
oracle.sysman.oii.oiii.OiiiInventoryDoesNotExistException: The inventory pointed at location C:\Program Files\Oracle\Inventory is not valid.       
   at oracle.sysman.oii.oiii.OiiiInstallAreaControl.initAreaControlWithAccessCheck(OiiiInstallAreaControl.java:1771)            
   at oracle.sysman.oii.oiii.OiiiInstallAreaControl.initAreaControl(OiiiInstallAreaControl.java:1744)
   at oracle.sysman.oii.oiic.OiicStandardInventorySession.initSession(OiicStandardInventorySession.java:301)
   at oracle.sysman.oii.oiic.OiicStandardInventorySession.initSession(OiicStandardInventorySession.java:240)
   at oracle.sysman.oii.oiic.OiicStandardInventorySession.initSession(OiicStandardInventorySession.java:189)
   at oracle.as.t2p.framework.cloner.binary.query.OraInventoryQuery.queryOraInventory(OraInventoryQuery.java:104)
   at oracle.as.t2p.framework.cloner.binary.query.OraInventoryQueryManager.queryInventory(OraInventoryQueryManager.java:193)            
   at oracle.as.t2p.framework.cloner.binary.OracleHomeApplyCloner.validateOracleHomeLocAndNameAgainstInventory(OracleHomeApplyCloner.java:130)      
   at oracle.as.t2p.framework.cloner.binary.OracleHomeApplyCloner.doClone(OracleHomeApplyCloner.java:300)     
   at oracle.as.t2p.framework.cloner.Cloner.doFinalClone(Cloner.java:65)            
   at oracle.as.t2p.framework.request.ApplyCloneRequest.applyArchive(ApplyCloneRequest.java:127)
   at oracle.as.t2p.framework.request.ApplyCloneRequest._clone(ApplyCloneRequest.java:62           
   at oracle.as.t2p.framework.process.CloningExecutionProcess.execute(CloningExecutionProcess.java:131)       
   at oracle.as.t2p.framework.process.CloningExecutionProcess.execute(CloningExecutionProcess.java:114)       
   at oracle.as.t2p.framework.client.CloningClient.executeT2PCommand(CloningClient.java:230) 
   at oracle.as.t2p.framework.client.CloningClient.main(CloningClient.java:106)

This is a C:\Webtier\install_logs\CLONE2017-12-05_11-43-09_2043453127.error:
SEVERE : Dec 5, 2017 1:34:36 PM - ERROR - CLONE-20262 Unable to clone the Oracle Home.
SEVERE : Dec 5, 2017 1:34:36 PM - CAUSE - CLONE-20262 The Oracle Home "C:/Webtier/appserver/wls" was already registered with the Oracle Inventory with the name "OracleHome".
SEVERE : Dec 5, 2017 1:34:36 PM - ACTION - CLONE-20262 Either provide a different inventory location or provide a different location for the new Oracle Home.
SEVERE : Dec 5, 2017 1:34:36 PM - ERROR - CLONE-20237 Restoring the sourceid "oraclehome@wls" has failed.
SEVERE : Dec 5, 2017 1:34:36 PM - CAUSE - CLONE-20237 An internal operation failed.
SEVERE : Dec 5, 2017 1:34:36 PM - ACTION - CLONE-20237 Check the clone log for more details.
SEVERE : Dec 5, 2017 1:34:36 PM - ERROR - CLONE-20218 Cloning is not successful.
SEVERE : Dec 5, 2017 1:34:36 PM - CAUSE - CLONE-20218 An internal operation failed.
SEVERE : Dec 5, 2017 1:34:36 PM - ACTION - CLONE-20218 Check clone log and error file for detailed information.
CauseThis error is generated if the Oracle directory was deleted by mistake or the directory is corrupted, possibly due to an Uninstall failure.
ResolutionThe issue is related to Oracle Home, so please confirm the following:
  1. If the Oracle home directory (C:\Program Files\Oracle\Inventory\ContentsXML) exists, please do the following:
    1. Inside the Webtier directory, run the uninstall again as the administrator.
    2. Delete any remaining Webtier directories, ensuring that there is nothing under \Program Files\RSA Security
    3. Please refer to knowledge article 000031079 - RSA Authentication Manager 8.x web tier status shows "Online, Reinstall Required" even after reinstalling with the new SP1 Patch 2 package  for any help with the uninstall and directory deletion process.
    4. With everything cleaned out, and the proper Oracle Home directory in place, run the Install files as an Administrator.
  2. If you do not find the Oracle directory, please create it in C:\Program Files\ so that Oracle\Inventory\ContentsXML exists under C:\Program Files