Server subsystem failed. Reason: java.lang.NumberFormatException: null

Our admin server of the osb development environment failed to restart because of a full disk.
After cleaning up the admin server still wouldn’t start resulting in the next stack.

<Sep 28, 2012 10:18:16 AM CEST> <Critical> <WebLogicServer> <BEA-000386> <Server subsystem failed. Reason: java.lang.NumberFormatException: null
java.lang.NumberFormatException: null
        at java.lang.Integer.parseInt(Integer.java:454)
        at java.lang.Integer.parseInt(Integer.java:527)
        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)
        Truncated. see log file for complete stacktrace
>
<Sep 28, 2012 10:18:16 AM CEST> <Error> <WebLogicServer> <BEA-000383> <A critical service failed. The server will shut itself down>

Locate the file :

ORACLE_HOME/user_projects/domain/your_domaim_name/servers/AdminServer/data/ldap/conf/replicas.prop

.. and remove it

In our case the file got corrupted (0byte file).
Removing the file, the file will get recreated with something like the next content :

[weblogic@my_machine conf]$ cat replicas.prop
#Generated property file
#Fri Sep 28 10:27:06 CEST 2012
replica.num=1
replica.0.name=OSB-MS1
replica.0.base=dc\=OSB
replica.0.port=7003
replica.0.hostname=my_hostname
replica.0.masterurl=ldap\://my_hostname\:7001/
replica.0.masterid=AdminServer
replica.0.secure=0
replica.0.binddn=cn\=Admin
replica.0.consumerid=OSB-MS1
Share this Post:
Digg Google Bookmarks reddit Mixx StumbleUpon Technorati Yahoo! Buzz DesignFloat Delicious BlinkList Furl

6 Responses to “Server subsystem failed. Reason: java.lang.NumberFormatException: null”

commenter

thanks a ton for ur help. it really helped us in solving the number format exception.

commenter

Thanks Eric. It fixed my issue.

commenter

Thanks a million! Have been working with the vendor and nothing getting fixed…I am now back up and running!

commenter

Thank you It worked .

commenter

Thanks this worked.

commenter

Thanks Eric. It fixed my issue.

Leave a Reply:

Name (required):
Mail (will not be published) (required):
Website:
Comment (required):
XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>