weblogic集群无法启动,提示java.lang.NumberFormatException

我有两台weblogic9.2做的集群A,B,A是主服务器,B是受管服务器,后来通过脚本启动weblogic服务,A服务启动异常,经查后台的日志文件发现报错消息如下:

  

WebLogic Server throws java.lang.NumberFormatException: null from the Embedded LDAP
Posted on November 24, 2010 by maclean
Applies to:

Oracle Weblogic Server – Version: 9.0 to 10.3
Oracle Weblogic Server – Version: 9.0 to 10.3]
Information in this document applies to any platform.
Symptoms

The following exception appears on startup on the admin server. The admin server then fails to start up.
####<17-Jul-2009 10:24:02 o'clock GMT> <Critical> <WebLogicServer> <silvermoon> <AdminServer> <Main Thread> <<WLS Kernel>> <> <> <1227111442502> <BEA-000386> <Server subsystem failed. Reason: java.lang.NumberFormatException: null
java.lang.NumberFormatException: null
at java.lang.Integer.parseInt(Integer.java:415)
at java.lang.Integer.parseInt(Integer.java:497)
at weblogic.ldap.EmbeddedLDAP.validateVDEDirectories(EmbeddedLDAP.java:1035)
at weblogic.ldap.EmbeddedLDAP.start(EmbeddedLDAP.java:212)
at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
Cause

This is something that happens infrequently and is the result of a corrupted file in the embedded LDAP. It can be caused when your system is starting to run low on disk space
Solution

There are two ways to fix this issue:

1) Delete the file /servers/<server_name>/data/ldap/config/replicas.prop

OR

2) Alter the replicas.prop file and add ‘replica.num=0′ to it.

Related posts:

    Java.Lang.Outofmemoryerror: Alloclargeobjectorarray When Deploying War
    Deadlock Detected On An Application Written In Cocoon Framework

This entry was posted in Uncategorized and tagged JAVA.LANG.NUMBERFORMATEXCEPTION, LDAP, WEBLOGIC. Bookmark the permalink.
← IndexOutOfBoundsException When Booting Managed Servers into Cluster in WebLogic Server (WLS)

 

通过上述的日志消息以及从网上找的一些资料,发现有两个办法可以解决

1) Delete the file /servers/<server_name>/data/ldap/config/replicas.prop

OR

2) Alter the replicas.prop file and add ‘replica.num=0′ to it.

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值