This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes BEA/Weblogic and the fly likes Weblogic not starting Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "Weblogic not starting" Watch "Weblogic not starting" New topic

Weblogic not starting

Shanavas Habeeb

Joined: Apr 18, 2011
Posts: 3

I am not able to start my weblogic server.
Its giving the below given error. Please help

<Apr 18, 2011 4:50:16 PM PDT> <Emergency> <WebLogicServer> <BEA-000342> <Unable to initialize the server: java.lang.NumberFormatException: null>
The WebLogic Server did not start up properly.
java.lang.NumberFormatException: null
at java.lang.Integer.parseInt(
at java.lang.Integer.<init>(
at weblogic.ldap.EmbeddedLDAP.validateVDEDirectories(
at weblogic.ldap.EmbeddedLDAP.initialize(
at weblogic.t3.srvr.T3Srvr.initializeHere(
at weblogic.t3.srvr.T3Srvr.initialize(
at weblogic.Server.main(
Reason: java.lang.NumberFormatException: null

I tried to execute the program and got the message as given below.
ep-prdapp1(hyperion) # sh


Your environment has been set.
Unable to connect to server t3://ep-prdapp1:10080 as user hyperion.
Reason: javax.naming.CommunicationException [Root exception is t3://ep-prdapp1:10080: Destination unreachable; nested exception is: Connection refused; No available router to destination]
at weblogic.jndi.internal.ExceptionTranslator.toNamingException(
at weblogic.jndi.WLInitialContextFactoryDelegate.toNamingException(
at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(
at weblogic.jndi.Environment.getContext(
at weblogic.jndi.Environment.getInitialContext(
at weblogic.Deployer.runBody(
at weblogic.Deployer.runMain(
at weblogic.Deployer.main(
Caused by: t3://ep-prdapp1:10080: Destination unreachable; nested exception is: Connection refused; No available router to destination
at weblogic.rjvm.RJVMFinder.findOrCreate(
at weblogic.rjvm.ServerURL.findOrCreateRJVM(
at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(
... 8 more

Check option -adminurl, -username and -password.
anandraj tadkal
Ranch Hand

Joined: Feb 22, 2011
Posts: 98

This is an issue with the replication of the Embedded LDAP updates and is defined by the replicas.prop property file.

Find user_domain \ user_server \ ldap \ conf \ replicas.prop, edit this file, deleted all the content and add the following text:
Replica.num = 0

Re-start the server.

Note: You can back up the replicas.prop file before editing it.


Follow us on facebook:
Shanavas Habeeb

Joined: Apr 18, 2011
Posts: 3
Hi Anandraj,

I tried this but still my wblogic is not starting.
We have independent weblogic instalation for our modules like one for planning, one for shared services, one for eas etc.

Just give more information the file replicas.prop was a blank file when I opened it.
Please help me.

Thanks and Regards
Shanavas NH.
Shanavas Habeeb

Joined: Apr 18, 2011
Posts: 3
Hi Anandraj,

I tried it as replica.num=0 without the space and it worked.
Thanks a lot for the help. I appreciate that.

Thanks and Regards
Shanavas N H
I agree. Here's the link:
subject: Weblogic not starting
Similar Threads available router to destination
Problem running ant script chapter 1 of ejb 3 in action with weblogic 10
i am unable to start and stop the weblogic server from eclipse 3.1.
EJB creation failed
Problem with remotely running the managed neded?