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

21 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.

commenter

Thanks. It fixed my issue.

commenter

thank you soo much

commenter

Thanks Eric, it worked for me.

commenter

WOW, great stuff. really appreciating

commenter

THX, it worked for me too!

commenter

Thanks a lot, worked like charm.
I don’t necessarily have right credentials to look into these issues, but ended up in this situation. Exact same symptoms and reasons. /u01 got full and after UNIX team cleaned it up, weblogic was not starting.
Thanks

commenter

You are a champ, this article, brought my severup and running in 30 minutes

commenter

Thanks, this had me fix and running in 3 mins!! Thanks.

commenter

Awesome!! thanks for the help!!!!

[…] Server subsystem failed. Reason: java.lang … – Thanks a lot, worked like charm. I don’t necessarily have right credentials to look into these issues, but ended up in this situation. Exact same … […]

commenter

Thanks man!!!!!

commenter

Great post! We ran into the exact scenario you ran into. Luckily,I ran into your post and this fix worked like a charm. Thanks for posting! You saved me hours of troubleshooting.

commenter

After removing the replicas.prop, when I restart the server it is not creating the file properly. Is there anyway we can create it manually?

commenter

Is it a 0byte file after restart or does it contain any content ?

Becky Herrera | May 24th, 2016 at 12:49 pm
commenter

Thank you exactly what I needed!

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=""> <s> <strike> <strong>