• Find us:
    +1-669-900-5138   |   +44-203-372-5553
  • Free Newsletter

    Get Latest Updates

  • Make Training Enquiry


    Company

  • Categories

  • Archive

  • Error while starting WebLogic Server : java.lang.NumberFormatException: null

    Posted by "" in "troubleshooting, weblogic" on 2010-08-16

    Last week I was working on WebLogic Server where Admin Server failed to start because Disk was 100% full. Admin Server failed to start after clearing some unwanted files from server with below error message

    Error message in Admin Server log file $DOMAIN_HOME/servers/AdminServer/logs/AdminServer.log

    __________________
    <aug 13, 2010 2:49:51 PM BST> <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:1035)
            at weblogic.ldap.EmbeddedLDAP.start(EmbeddedLDAP.java:212)
            at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
            Truncated. see log file for complete stacktrace

    _________________

    Since error was point to embedded LDAP server for weblogic so I compared files related to embedded ldap server ($DOMAIN_HOME/ servers/ AdminServer/ data/ ldap/) with one of our running weblogic instance and found that size of replicas.prop file was 0 byte.

     $DOMAIN_HOME/servers/AdminServer/data/ldap/conf

    -rw-r—– 1 oraowc dba 568 Aug 13 09:17 vde.prop
    -rw-r—– 1 oraowc dba   0 Aug 13 09:17 mapping.cfg
    -rw-r—– 1 oraowc dba   0 Aug 13 14:33 replicas.prop

    .

    Fix:

    Option 1 - Open

     $DOMAIN_HOME/servers/AdminServer/data/ldap/conf/replicas.prop and add line
    replica.num=0

    or

    Option 2- Move file $DOMAIN_HOME/servers/AdminServer/data/ldap/conf/replicas.prop to replicas.prop.bak  (On Restart WebLogic Server will recreate this file)

    Related Posts for Learn WebLogic with Us


    1. Oracle WebLogic Installation Steps
    2. Domain , Administration & Managed Server, Cluster in Oracle WebLogic
    3. Create Domain in Oracle WebLogic
    4. Oracle WebLogic Server – Startup/Shutdown
    5. Oracle WebLogic Server 10g R3 10.3 is out now
    6. Deploy Application on Oracle WebLogic Server
    7. Cluster Architecture : Oracle WebLogic Server
    8. Start WebLogic Server on Linux on port 80, 443 <= 1024
    9. JDBC (Java DataBase Connectivity ) in Oracle WebLogic – Overview
    10. WebLogic Server JDBC for Database connection : Step by Step
    11. Security in Oracle WebLogic : Realm, Security Provider, Authentication, Authorization, Users
    12. Deploy ADF application to Oracle WebLogic Server
    13. Node Manager in Oracle WebLogic Server
    14. Configure Oracle HTTP Server infront of Oracle WebLogic Server mod_wl_ohs
    15. How to install weblogic server on 64 bit O.S. (Linux /Solaris) ?
    16. Oracle WebLogic Login Issue : Password is not correct (Password Lock Policy)
    17. Oracle WebLogic Server : Node Manager in nutshell
    18. Certification : 1Z0-108 Oracle WebLogic Server 10g System Administrator Certified Expert
    19. How to integrate WebLogic with Oracle Internet Directory for Login : Authentication
    20. opatch, adpatch and now “smart update” (BSU) to apply weblogic patches
    21. Disater Recovery documentation for Oracle WebLogic Server 11g (Fusion Middleware)
    22. Authentication Providers in #WebLogic – Oracle Access Manager Identity Assertion for Single Sign-On and OAM Authenticator
    23. Error while starting WebLogic Server : java.lang.NumberFormatException: null
    24. #WebLogic startup prompting from username password : boot.properties
    25. BEA-000286 : Failed to invoke startup class “JRF Startup Class” oracle.jrf.wls.JRFStartup
    26. WebLogic Kerberos (SSO) Authentication Issue : Error 401 Forbidden : No Configuration was registered that can handle the configuration named com. sun. security. jgss. krb5. accept
    27. How to reset Lost Oracle WebLogic Password for Fusion Middleware Applications
    28. Oracle WebLogic Server Certification : 1Z0-108 Practice Question and Dumps
    29. WebLogic Startup fails with Unable to obtain lock on Server may already be running
    30. Oracle Weblogic 12c Launch : Attend online on 1 Dec 2011
    31. Oracle WebLogic 12c (12.1.1) is now available to download
    32. How to Install WebLogic 12C (12.1.1) on Mac
    33. Oracle #WebLogic Server 12c : SE vs EE vs Suite License Options
    34. SSL in WebLogic (CA, KeyStore, Identity & Trust Store) : Things you must know – Part I
    35. SSL in WebLogic Server – Part II : Create KeyStore, generate CSR, Import CERT and configure KeyStore with WebLogic
    36. WebLogic Admin Server Start-up hanging at “Initializing self-tuning thread pool”
    37. Error in WebLogic Clustering : socket MaxMessage Size Exceeded Exception
    38. Changed or New Features in WebLogic 12.1.2
    39. WebLogic SSL configuration : Inconsistent security configuration Cannot convert identity certificate
    40. Dynamic Cluster in WebLogic 12.1.2 : New Features in WebLogic 12c
    41. Identity Propagation between two WebLogic Domains : Cross Domain Security VS Global Trust
    42. WebLogic Admin Server Start Up hangs at ‘Log Management’ BEA-170019 IIOP subsystem enabled
    43. Security:090294 could not get connection javax. net. ssl. SSLKeyException FATAL Alert BAD_CERTIFICATE – A corrupt or unuseable certificate was received
    44. WLST connecting to WebLogic Admin Server failed : Bootstrap to [IP:Port] failed. It is likely that the remote side declared peer gone on this JVM

    16 Responses to “Error while starting WebLogic Server : java.lang.NumberFormatException: null”

    1. lyonn says:

      Good post, It’s true, I change these file and my weblogic run fine.

      Greetings

    2. mohan says:

      javax.security.auth.login.FailedLoginException: [Security:090303]Authentication Failed: User localhost weblogic.security.providers.authentication.LDAPAtnDelegateException: [Security:090295]caught unexpected exception
      at weblogic.security.providers.authentication.LDAPAtnLoginModuleImpl.login(LDAPAtnLoginModuleImpl.java:244)
      at com.bea.common.security.internal.service.LoginModuleWrapper$1.run(LoginModuleWrapper.java:110)
      at java.security.AccessController.doPrivileged(Native Method)
      at com.bea.common.security.internal.service.LoginModuleWrapper.login(LoginModuleWrapper.java:106)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      Truncated. see log file for complete stacktrace

    3. mohan says:

      can say how to run managed server…i am using weblogic 10.3.3. and oim 11g
      i am getting authentication failure while starting managed server where as weblogic is starting normally

    4. Atul Kumar says:

      @ Mohan,

      1. Did it ever work in past ?
      2. Did you configure OIM server by running condfig.sh (first time)

      If you have boot.properties in $DOMAIN_HOME/servers/oim_server1/security then remove it and then start it using

      $$DOMAIN_HOME/bin/startManagedServer.sh oim_server1 http://weblogicservername:7001

      enter username and password when prompted

    5. José Luis says:

      Thanks you. I change these file and my weblogic start fine, good, my server not start because Disk was 100% full, and it created the empty file.

    6. Mohankumar says:

      where can i download OAM 10.1.4.1.0.1

    7. Mohankumar says:

      Hi..Atul Kumar

      I have installed OAM 10.1.4.0.1 with AD now i want to upgrade to OAM 10.1.4.0.4 can u please provide me the doccument to upgade

    8. Atul Kumar says:

      @ Mohankumar,
      Please leave comment under correct post (You can do this under any OAM post where as this is weblogic post)

      Why are you installing OAM 10.1.4.0.1 when latest in 10g is 10.1.4.3 and in 11g its 11.1.1.3 (why not to install 10.1.4.3 directly)

    9. Mohankumar says:

      HI..

      while installing oam Oracle Access Manager 10.1.4.0.1 Identity Server

      i am getting following error…
      i am installing on ubuntu 10.10 can you please provide solution thank you

      The product that you are about to install needs to be owned by a dedicated
      user. Only root or the dedicated user may be able to start the service. Most
      of the time the server is run as `root’ or `nobody’.

      Enter the username the Identity server is running as [nobody] oamuser

      Enter the Group for the above username [nobody] oamuser

      Press 1 for Next, 2 for Previous, 3 to Cancel or 4 to Redisplay [1] 1

      Sorry, invalid user `oamuser’ or invalid group `oamuser’.
      Please check and enter again.

    10. lucasynafuko says:

      Hi Atul Kumar,
      Thanks for your post, it was very helpfull !!

    11. catalin says:

      Thanks Kumar! It worked!

    12. Radek says:

      Thanks, it’working now

    13. morenji says:

      Thank you Atul! You saved my *utt this afternoon ;)

    14. Giga says:

      Just wanted to say Thank you very much :)

    15. Filoteia says:

      This post is very useful. it worked nicely! Thanks :)

    16. Raja says:

      Thanks YOU. You saved lot of TIME.

    Leave a Reply



  • K21 Technologies is among the most experienced Oracle Gold Partner for Identity Access Management service providers. We work with application development companies and in-house technology division to help achieve significant returns on their IT security investment. Our clientele includes some of the globally renowned corporate, which speaks of our expertise in our field.

    We have the most talented and experienced team that can swiftly deploy security solutions even in complex IT ecosystem. Our clients highly appreciate our timely implementation, interactive training, on-demand support and community resources.
  • CONTACTS

    K21 Technologies
    8 Magnolia Place, Harrow,
    London, HA2 6DS

    UK: +44(0)7476444481
    USA: +1-888-414-1821

  • 2014, K21 Technologies. All rights reserved DMCA.com
  • TOP
    TOP