Weblogic does not start and throw an exception: java.lang.NumberFormatException
<Critical> <WebLogicServer> <BEA-000386>
When i tried to start Weblogic Server , server did not work , and gave me an exception java.lang.NumberFormatException= null
<01/11/2015 6:17:36 AM UTC> <Notice> <LoggingService> <BEA-320401> <The log file has been rotated to /u02/Oracle/user_projects/domains/mcitucm_domain/servers/AdminServer/logs/AdminServer.log42150. Log messages will continue to be logged in /u02/Oracle/user_projects/domains/mcitucm_domain/servers/AdminServer/logs/AdminServer.log.> <01/11/2015 6:17:36 AM UTC> <Notice> <Log Management> <BEA-170019> <The server log file /u02/Oracle/user_projects/domains/mcitucm_domain/servers/AdminServer/logs/AdminServer.log is opened. All server side log events will be written to this file.> <01/11/2015 6:17:38 AM UTC> <Critical> <WebLogicServer> <BEA-000386> <Server subsystem failed. Reason: java.lang.NumberFormatException: null java.lang.NumberFormatException: null at java.lang.Integer.parseInt(Integer.java:417) at java.lang.Integer.parseInt(Integer.java:499) at weblogic.ldap.EmbeddedLDAP.validateVDEDirectories(EmbeddedLDAP.java:1104) at weblogic.ldap.EmbeddedLDAP.start(EmbeddedLDAP.java:242) at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64) Truncated. see log file for complete stacktrace > <01/11/2015 6:17:38 AM UTC> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FAILED> <01/11/2015 6:17:38 AM UTC> <Error> <WebLogicServer> <BEA-000383> <A critical service failed. The server will shut itself down> <01/11/2015 6:17:38 AM UTC> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FORCE_SHUTTING_DOWN>
This problem may happen because i changed some server configurations when server running and made a corruption if file replicas.prop in the server .
Solution : Remove this corrupted file , and let Weblogic auto generate this file again when server restart .1- Open your server which weblogic installed.2- go to this path$<YourDomain>/servers/AdminServer/data/ldap/conf
3- rename this file replicas.prop to old-replicas.prop4- restart Weblogic server .5- Smile every thing is Okay now ....
No comments:
Post a Comment