While startup error "Could not load AR config file - java.lang.NullPointerException" is recorded in arjavaplugin log in 9.x - Remedy AR System Server

Version 7
    Share This:

    This document contains official content from the BMC Software Knowledge Base. It is automatically updated when the knowledge article is modified.


    PRODUCT:

    Remedy AR System Server


    COMPONENT:

    AR System Server


    APPLIES TO:

    Remedy AR System Server 9.x



    PROBLEM:

    While loading ARServer configurations during startup error is recorded. Error "Could not load AR config file" is recorded in arjavaplugin.log file.

    arjavaplugin log when captured in Debug mode we can see below entries.



    */  loading config file: \BMC Software\ARSystem\conf\ar.cfg
    */  Trying to connect to ARServer <ARServer Name> as Remedy Application Service
    */  Connected to ARServer <ARServer Name> as Remedy Application Service
    */  AR Server version is : 9.1.08 202003130514
    */  ar.cfg - Read settingName Full-Text-Mode from the database
    */  ar.cfg - Read settingName Currency-Ratio-Client-Refresh-Interval from the database
    */  ar.cfg - Read settingName License-Timeout from the database
    */  ar.cfg - Read settingName SLM-Collector-Suspended from the database
    */  ar.cfg - Read settingName DSO-Placeholder-Mode from the database
    */  ar.cfg - Read settingName Db-Case-Insensitive from the database
    */  ar.cfg - Read settingName Disable-Escalations from the database
    */  ar.cfg - Read settingName Mid-Tier-Service-Password from the database
    */  ar.cfg - Read settingName Db-Character-Set from the database
    */  ar.cfg - Read settingName Peer-listener-port from the database
    */  ar.cfg - Read settingName MFS-Title-Field-Weight from the database
    */  ar.cfg - Read settingName Crossref-Blank-Password from the database
    */  ar.cfg - Read settingName Oracle-Cursor-Sharing from the database
    */  ar.cfg - Read settingName External-Authentication-Sync-Timeout from the database
    */  ar.cfg - Read settingName Db-Type from the database
    */  ar.cfg - Read settingName Plugin-Loopback-RPC-Socket from the database
    */  ar.cfg - Read settingName SQL-Log-File from the database
    */  ar.cfg - Read settingName Plugin-Log-File from the database
    */  ar.cfg - Read settingName DSO-User-Password from the database
    */  ar.cfg - Read settingName Large-Result-Logging-Threshold from the database
    */  ar.cfg - Read settingName Register-With-Portmapper from the database
    */  ar.cfg - Read settingName Domain-Name from the database
    */  ar.cfg - Read settingName Multiple-ARSystem-Servers from the database
    */  ar.cfg - Read settingName Full-Text-Collection-Directory from the database
    */  ar.cfg - Read settingName Oracle-JDBC-URL from the database
    */  ar.cfg - Read settingName MFS-Keywords-Field-Weight from the database
    */  ar.cfg - Read settingName Configuration-Name from the database
    */  ar.cfg - Read settingName CMDB-Service-Suspended from the database
    */  ar.cfg - Read settingName Full-Text-Indexer-Log-File from the database
    */  ar.cfg - Read settingName Suppress-Server-Domain-In-URL from the database
    */  ar.cfg - Read settingName Db-name from the database
    */  ar.cfg - Read settingName Log-Form-Selected from the database
    */  ar.cfg - Read settingName Server-Group-Log-File from the database
    */  ar.cfg - Read settingName Jmx-port from the database
    */  ar.cfg - Read settingName Oracle-Clob-Storage-In-Row from the database
    */  ar.cfg - Read settingName Full-Text-Configuration-Directory from the database
    */  ar.cfg - Read settingName Homepage-Form from the database
    */  ar.cfg - Read settingName External-Authentication-RPC-Socket from the database
    */  ar.cfg - Read settingName Disable-Admin-Ops from the database
    */  ar.cfg - Read settingName IP-Name from the database
    */  ar.cfg - Read settingName Max-Entries-Per-Query from the database
    */  ar.cfg - Read settingName MFS-Environment-Field-Weight from the database
    */  ar.cfg - Read settingName Archive-Log-File from the database
    */  ar.cfg - Read settingName Private-RPC-Socket from the database
    */  ar.cfg - Read settingName Cache-Display-Properties from the database
    */  ar.cfg - Read settingName Plugin-Path from the database
    */  ar.cfg - Read settingName AR-Max-Attach-Size from the database
    */  ar.cfg - Read settingName Num-Preload-Threads from the database
    */  ar.cfg - Read settingName Server-Plugin-Default-Timeout from the database
    */  ar.cfg - Read settingName Submitter-Mode from the database
    */  ar.cfg - Read settingName Required-Field-Identifier from the database
    */  ar.cfg - Read settingName Server-Group-Member from the database
    */  ar.cfg - Read settingName Default-messaging-port from the database
    */  ar.cfg - Read settingName Max-Inactivity-Duration-Inital-Delay from the database
    */  ar.cfg - Read settingName Filter-Max-Total from the database
    */  ar.cfg - Read settingName Assignment-Engine-Suspended from the database
    */  ar.cfg - Read settingName Business-Rules-Engine-Suspended from the database
    */  ar.cfg - Read settingName Plugin-Log-Level from the database
    */  ar.cfg - Read settingName Approval-RPC-Socket from the database
    */  ar.cfg - Read settingName Db-password from the database
    */  ar.cfg - Read settingName Filter-Log-File from the database
    */  ar.cfg - Read settingName Remedy-App-Service-Password from the database
    */  ar.cfg - Read settingName Db-user from the database
    */  ar.cfg - Read settingName API-Log-File from the database
    */  ar.cfg - Read settingName Server-Plugin-Alias from the database
    */  ar.cfg - Read settingName Restrict-Logging from the database
    */  Setting Name Restrict-Logging was not read from the file, adding it in with value [null]
    */  Could not load AR config file
    java.lang.NullPointerException

     


    CAUSE:

    Missing configuration in ar.cfg file


    SOLUTION:

    Arjavaplugin logs will highlight missing parameter which should be updated with appropriate value.

    Update below configuration in "com.bmc.arsys.server" component via AR System Administration Console --> System --> General --> Centralized Configuration with Appropriate value. Restart ARServer service for changes to take effect.

    Restrict-Logging - This parameter controls which type of logging restriction is enabled. The value of the Restrict-Logging parameter depends on the combination of logging restrictions that you select. Possible values of the restriction parameters are as follows:

       
    • Users - 1
    •  
    • Client Type - 2
    •  
    • RPC Queues - 8
      
      Find more information about configuration at ar.cfg or ar.conf options N-R 
     
    If in case you are facing the same error , please enable the arjavaplugin logs in DEBUG mode , restart the Default Java Plugin process.  
    This information will help you to identify a parameter which is failing to load. 

     


    Article Number:

    000363338


    Article Type:

    Solutions to a Product Problem



      Looking for additional information?    Search BMC Support  or  Browse Knowledge Articles