sexta-feira, 10 de abril de 2015

Weblogic com erros de Numberformating

Retirado de: http://www.programmingforliving.com/2012/08/weblogic-server-failed-during.html

We have been seeing frequent occurence of this issue recently with WLS 10.3. Hence I am re-posting it with the solution.

Exception: 
1
2
3
4
5
6
7
8
9
10
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)

Solution: 
  1. Edit bea_home/user_projects/domains/your_domain/servers/your_server/data/ldap/conf/replicas.prop

    Please note that you will have to replace bea_homeyour_domain and your_server with actual values of your weblogic server installation.
  2. Delete the content of the file and add the following 
    1
    replica.num=0
  3. Start the Server
E Não é que funciona?!


Sem comentários:

Enviar um comentário

O seu comentário será moderado! Não use palavras ofensivas pois será ignorado...