Cannot establish a network connection to the AR System Plug-In server (ARERR 8760) errors in the arerror.log

Version 2
    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:

    Remedy AR System Server


    APPLIES TO:

    AR System Server



    PROBLEM:

    Sample error seen in the arerror.log:

    390620 :r:115 : Cannot establish a network connection to the AR System Plug-In server (ARERR 8760) 
    <servername.domain.com> (9999) AREA : RPC: Miscellaneous tli error - System error (Connection refused)

    A check of the arjavaplugin.log shows the following errors:

    2017-09-08 17:03:52,907 INFO  [main] com.bmc.arsys.pluginsvr.f (?:?) - loading config file: C:\Program Files\BMC Software\ARSystem\conf\ar.cfg
    2017-09-08 17:03:53,246 DEBUG [main] com.bmc.arsys.utils.CatalogReader (?:?) - getMessage(8768,null,Message not in catalog; Message number = 8768,en_US)
    2017-09-08 17:03:53,247 DEBUG [main] com.bmc.arsys.utils.CatalogReader (?:?) - getMessage(1,8768,null,Message not in catalog; Message number = 8768,en_US)
    2017-09-08 17:03:53,360 ERROR [main] com.bmc.arsys.pluginsvr.f (?:?) - Could not load/Save the plugin server configuration file
    org.apache.commons.configuration.ConfigurationException: The string "--" is not permitted within comments.
        at org.apache.commons.configuration.XMLConfiguration.load(XMLConfiguration.java:620)
        at org.apache.commons.configuration.XMLConfiguration.load(XMLConfiguration.java:578)
        at org.apache.commons.configuration.XMLConfiguration$XMLFileConfigurationDelegate.load(XMLConfiguration.java:1045)
        at org.apache.commons.configuration.AbstractFileConfiguration.load(AbstractFileConfiguration.java:280)
        at org.apache.commons.configuration.AbstractFileConfiguration.load(AbstractFileConfiguration.java:186)
        at org.apache.commons.configuration.AbstractHierarchicalFileConfiguration.load(AbstractHierarchicalFileConfiguration.java:136)
        at org.apache.commons.configuration.AbstractHierarchicalFileConfiguration.<init>(AbstractHierarchicalFileConfiguration.java:107)
        at org.apache.commons.configuration.XMLConfiguration.<init>(XMLConfiguration.java:177)
        at com.bmc.arsys.pluginsvr.f.initialize(Unknown Source)
        at com.bmc.arsys.pluginsvr.ARPluginServerManager.loadConfiguration(Unknown Source)
        at com.bmc.arsys.pluginsvr.ARPluginServerMain.main(Unknown Source)
    Caused by: org.xml.sax.SAXParseException; systemId: file:/C:/Program%20Files/BMC%20Software/ARSystem/pluginsvr/pluginsvr_config.xml; lineNumber: 418; columnNumber: 11; The string "--" is not permitted within comments.
        at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:257)
        at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:339)
        at org.apache.commons.configuration.XMLConfiguration.load(XMLConfiguration.java:612)
        ... 10 more
    2017-09-08 17:03:53,397 DEBUG [main] com.bmc.arsys.utils.CatalogReader (?:?) - getMessage(8768,null,Message not in catalog; Message number = 8768,en_US)
    2017-09-08 17:03:53,397 DEBUG [main] com.bmc.arsys.utils.CatalogReader (?:?) - getMessage(1,8768,null,Message not in catalog; Message number = 8768,en_US)
    2017-09-08 17:03:53,398 DEBUG [main] com.bmc.arsys.utils.CatalogReader (?:?) - getMessage(8793,null,Message not in catalog; Message number = 8793,en_US)
    2017-09-08 17:03:53,398 DEBUG [main] com.bmc.arsys.utils.CatalogReader (?:?) - getMessage(1,8793,null,Message not in catalog; Message number = 8793,en_US)
    2017-09-08 17:03:53,398 ERROR [main] com.bmc.arsys.pluginsvr.ARPluginServerMain (?:?) - AR Plugin Server Startup Error
    ERROR (8768): Could not load/Save the plugin server configuration file; The string "--" is not permitted within comments.
        at com.bmc.arsys.pluginsvr.f.initialize(Unknown Source)
        at com.bmc.arsys.pluginsvr.ARPluginServerManager.loadConfiguration(Unknown Source)
        at com.bmc.arsys.pluginsvr.ARPluginServerMain.main(Unknown Source)
    2017-09-08 17:03:53,403 INFO  [main] com.bmc.arsys.pluginsvr.ARPluginServerMain (?:?) - Shutting down the AR Plugin server w exitCode = 3
     


    CAUSE:

    The pluginsvr_config.xml file looks to have been edited mistakenly.


    SOLUTION:

    Please check the pluginsvr_config.xml file in the  and remove the "-->" in the following section, where the actual plugin configuration begins:

    ######################################################################################
    --><pluginsvr_config>
      <port>9999</port>
      <regPortMapper>false</regPortMapper>
      <encryptionPolicy>1</encryptionPolicy>
      <publicKeyAlg>4</publicKeyAlg>
      <publicKeyExpiry>86400</publicKeyExpiry>
      <dataEncryptionAlg>1</dataEncryptionAlg>
      <dataKeyExpiry>2700</dataKeyExpiry>
      <numCoreThreads>5</numCoreThreads>
      <numSelectorThreads>2</numSelectorThreads>
      <workQueueMonitorLogInterval>0</workQueueMonitorLogInterval>
      <workQueueTaskThreshold>5</workQueueTaskThreshold>
    ######################################################################################


    Having those characters there are causing the javaplugin server to fail on loading the file as seen in the arjavaplugin.log:


    Article Number:

    000359233


    Article Type:

    Solutions to a Product Problem



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