Not Able to start server with error “Server subsystem failed. Reason: java.lang.NumberFormatException: null”
ERROR:
<OSB_AdminServer> <[ACTIVE] ExecuteThread: ‘0’ for queue: ‘weblogic.kernel.Default (self-tuning)’> <<WLS Kernel>> <> <> <1518685844688> <BEA-002014> <IIOP subsystem enabled.>
<Critical> <WebLogicServer> <AdminServer> <Main Thread> <<WLS Kernel>> <> <> <1518685845062> <BEA-000386> <Server subsystem failed. Reason: java.lang.NumberFormatException: null
java.lang.NumberFormatException: null
at java.lang.Integer.parseInt(Integer.java:417)
at java.lang.Integer.parseInt(Integer.java:499)
at weblogic.ldap.EmbeddedLDAP.validateVDEDirectories(EmbeddedLDAP.java:1104)
at weblogic.ldap.EmbeddedLDAP.start(EmbeddedLDAP.java:242)
at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:263)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
>
<<WLS Kernel>> <> <> <1518685845114> <BEA-000365> <Server state changed to FAILED>
SOLUTION:
Take backup of replicas.prop from domain –> server –> admin server –> data –> ldap –> conf and restart the servers.
To fix the above error try the below:
Remove the ../domain-name/server/AdminServer/data/ldap/conf/replicas.prop file and restart the Admin server. It should work now.