Tuesday, 24 January 2017

Error "java.lang.NegativeArraySizeException" while starting HTTPS 12c server

Error "java.lang.NegativeArraySizeException" while starting HTTPS 12c server


I got below error 
./startComponent.sh ohs1
Starting system Component ohs1 ...

Initializing WebLogic Scripting Tool (WLST) ...

Welcome to WebLogic Server Administration Scripting Shell

Type help() for help on available commands

Reading domain from /oracle/webserver/user_projects/domains/base_domain


Error: java.lang.NegativeArraySizeException

Exiting WebLogic Scripting Tool.

To fix it we need to go to 
cd $HOME
 there will be a hidden folder .wlst
Inside it file  nm-key-base_domain.props got corrupted, so delete it and re-run

Worked after that.

2 comments:

The purge process did not run because the Oprid configured to start the Process Scheduler did not have the required permissions to run the purge process.

  Purge process - Required permissions The PeopleSoft Oprid used to start the Process Scheduler, as defined in the Scheduler's psprcs.cf...