AIX下无法启动weblogic,版本为WebLogic Server 8.1 SP3,错误信息如下:
<Mar 5, 2006 10:30:57 AM GMT+08:00> <Critical> <WebLogicServer> <BEA-000364> <Server failed during initialization. Exception:java.lang.NumberFormatException: null
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:1069)
at weblogic.ldap.EmbeddedLDAP.initialize(EmbeddedLDAP.java:196)
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)
>
<Mar 5, 2006 10:30:57 AM GMT+08:00> <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:1069)
at weblogic.ldap.EmbeddedLDAP.initialize(EmbeddedLDAP.java:196)
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
***************************************************************************
解决方法如下
找到user_domain\user_server\ldap\conf\replicas.prop ,编辑这个文件,删除掉所有的内容并且添加以下内容:
replica.num=0
这个文件会随weblogic正常启动而被修改,其中记录有正常启动所存储的信息
<Mar 5, 2006 10:30:57 AM GMT+08:00> <Critical> <WebLogicServer> <BEA-000364> <Server failed during initialization. Exception:java.lang.NumberFormatException: null
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:1069)
at weblogic.ldap.EmbeddedLDAP.initialize(EmbeddedLDAP.java:196)
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)
>
<Mar 5, 2006 10:30:57 AM GMT+08:00> <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:1069)
at weblogic.ldap.EmbeddedLDAP.initialize(EmbeddedLDAP.java:196)
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
***************************************************************************
解决方法如下
找到user_domain\user_server\ldap\conf\replicas.prop ,编辑这个文件,删除掉所有的内容并且添加以下内容:
replica.num=0
这个文件会随weblogic正常启动而被修改,其中记录有正常启动所存储的信息