Error while starting WebLogic Server : java.lang.NumberFormatException: null

Last week I was working on WebLogic Server where Admin Server failed to start because Disk was 100% full. Admin Server failed to start after clearing some unwanted files from server with below error message

Error message in Admin Server log file $DOMAIN_HOME/servers/AdminServer/logs/AdminServer.log

<aug 13, 2010 2:49:51 PM BST> <Critical> <WebLogicServer> <BEA-000386>
<Server subsystem failed. Reason: java.lang.NumberFormatException: null
java.lang.NumberFormatException: null
at java.lang.Integer.parseInt(
at java.lang.Integer.parseInt(
at weblogic.ldap.EmbeddedLDAP.validateVDEDirectories(
at weblogic.ldap.EmbeddedLDAP.start(
Truncated. see log file for complete stacktrace


Since error was point to embedded LDAP server for weblogic so I compared files related to embedded ldap server ($DOMAIN_HOME/ servers/ AdminServer/ data/ ldap/) with one of our running weblogic instance and found that size of replicas.prop file was 0 byte.


-rw-r—– 1 oraowc dba 568 Aug 13 09:17 vde.prop
-rw-r—– 1 oraowc dba   0 Aug 13 09:17 mapping.cfg
-rw-r—– 1 oraowc dba   0 Aug 13 14:33 replicas.prop



Option 1 – Open

$DOMAIN_HOME/servers/AdminServer/data/ldap/conf/replicas.prop and add line


Option 2– Move file $DOMAIN_HOME/servers/AdminServer/data/ldap/conf/replicas.prop to replicas.prop.bak  (On Restart WebLogic Server will recreate this file)


Learn Oracle Weblogic Server Administration


Get 100 USD OFF + 100% Money Back Guarantee

Click here to get Early Bird Discounts

About the Author Atul Kumar

Oracle ACE, Author, Speaker and Founder of K21 Technologies & K21 Academy : Oracle Gold Partner specialising in Design, Implement, and Trainings.

follow me on:

Leave a Comment:

lyonn says August 23, 2010

Good post, It’s true, I change these file and my weblogic run fine.


mohan says May 11, 2011 [Security:090303]Authentication Failed: User localhost [Security:090295]caught unexpected exception
at Method)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
Truncated. see log file for complete stacktrace

mohan says May 11, 2011

can say how to run managed server…i am using weblogic 10.3.3. and oim 11g
i am getting authentication failure while starting managed server where as weblogic is starting normally

Atul Kumar says May 11, 2011

@ Mohan,

1. Did it ever work in past ?
2. Did you configure OIM server by running (first time)

If you have in $DOMAIN_HOME/servers/oim_server1/security then remove it and then start it using

$$DOMAIN_HOME/bin/ oim_server1 http://weblogicservername:7001

enter username and password when prompted

José Luis says May 17, 2011

Thanks you. I change these file and my weblogic start fine, good, my server not start because Disk was 100% full, and it created the empty file.

Mohankumar says May 19, 2011

where can i download OAM

Mohankumar says May 19, 2011

Hi..Atul Kumar

I have installed OAM with AD now i want to upgrade to OAM can u please provide me the doccument to upgade

Atul Kumar says May 19, 2011

@ Mohankumar,
Please leave comment under correct post (You can do this under any OAM post where as this is weblogic post)

Why are you installing OAM when latest in 10g is and in 11g its (why not to install directly)

Mohankumar says May 19, 2011


while installing oam Oracle Access Manager Identity Server

i am getting following error…
i am installing on ubuntu 10.10 can you please provide solution thank you

The product that you are about to install needs to be owned by a dedicated
user. Only root or the dedicated user may be able to start the service. Most
of the time the server is run as `root’ or `nobody’.

Enter the username the Identity server is running as [nobody] oamuser

Enter the Group for the above username [nobody] oamuser

Press 1 for Next, 2 for Previous, 3 to Cancel or 4 to Redisplay [1] 1

Sorry, invalid user `oamuser’ or invalid group `oamuser’.
Please check and enter again.

lucasynafuko says April 3, 2012

Hi Atul Kumar,
Thanks for your post, it was very helpfull !!

catalin says May 31, 2012

Thanks Kumar! It worked!

Radek says July 12, 2012

Thanks, it’working now

morenji says October 11, 2012

Thank you Atul! You saved my *utt this afternoon 😉

Giga says December 3, 2012

Just wanted to say Thank you very much :)

Filoteia says March 14, 2013

This post is very useful. it worked nicely! Thanks :)

Raja says May 19, 2013

Thanks YOU. You saved lot of TIME.

Jasmine says January 4, 2015

Hi Kumar,

Excellent articles… Thanks so much for your time in making this.

Manoj says May 14, 2016

Thanks its resolve my problem .web logic server working fine now.

Add Your Reply