wood burning stoves 2.0*
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 Murach's Java Servlets and JSP this week in the Servlets 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(Integer.java:436)
at java.lang.Integer.<init>(Integer.java:609)
at weblogic.ldap.EmbeddedLDAP.validateVDEDirectories(EmbeddedLDAP.java:1070)
at weblogic.ldap.EmbeddedLDAP.initialize(EmbeddedLDAP.java:197)
at weblogic.t3.srvr.T3Srvr.initializeHere(T3Srvr.java:816)
at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:670)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:344)
at weblogic.Server.main(Server.java:32)
Reason: java.lang.NumberFormatException: null

I tried to execute the deploy.sh program and got the message as given below.
ep-prdapp1(hyperion) # sh undeploy.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 java.net.ConnectException: t3://ep-prdapp1:10080: Destination unreachable; nested exception is:
java.net.ConnectException: Connection refused; No available router to destination]
at weblogic.jndi.internal.ExceptionTranslator.toNamingException(ExceptionTranslator.java:47)
at weblogic.jndi.WLInitialContextFactoryDelegate.toNamingException(WLInitialContextFactoryDelegate.java:618)
at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:306)
at weblogic.jndi.Environment.getContext(Environment.java:166)
at weblogic.jndi.Environment.getInitialContext(Environment.java:145)
at weblogic.management.deploy.utils.MBeanHomeTool.getMBeanHome(MBeanHomeTool.java:172)
at weblogic.Deployer.runBody(Deployer.java:709)
at weblogic.utils.compiler.Tool.run(Tool.java:146)
at weblogic.utils.compiler.Tool.run(Tool.java:103)
at weblogic.Deployer.runMain(Deployer.java:566)
at weblogic.Deployer.main(Deployer.java:549)
Caused by: java.net.ConnectException: t3://ep-prdapp1:10080: Destination unreachable; nested exception is:
java.net.ConnectException: Connection refused; No available router to destination
at weblogic.rjvm.RJVMFinder.findOrCreate(RJVMFinder.java:199)
at weblogic.rjvm.ServerURL.findOrCreateRJVM(ServerURL.java:125)
at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:296)
... 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
It is sorta covered in the JavaRanch Style Guide.
subject: Weblogic not starting
Similar Threads
java.net.ConnectException:No available router to destination
EJB creation failed
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.
Problem with remotely running the managed server...help neded?