ERROR (9134): Invalid number of arguments; com.bmc.arsys.arencrypt.AREncryptionException: java.security.InvalidParameterException: Wrong encrypted data bytes to decrypt.

Version 1
    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


    APPLIES TO:

    Plugin Server



    PROBLEM:

    ARSYS.ARDBC.REGISTRY  and ARSYS.ARF.REGISTRY plugins unable to start due below errors registered in the arjavaplugin.log:
     

      <PLUGINSVR> <TNAME: pool-5-thread-3          > <WARN > <ARPluginLoaderRouter                              > <                         ARPluginLoaderRouter.java:817       > /* Mon Aug 19 2019 06:43:53.282 */  An error has occurred while loading a plug-in.ARSYS.ARF.REGISTRY
    ERROR (9134): Invalid number of arguments; com.bmc.arsys.arencrypt.AREncryptionException: java.security.InvalidParameterException: Wrong encrypted data bytes to decrypt.
        at com.bmc.arsys.plugins.registry.ARRegistryPlugin.initialize(ARRegistryPlugin.java:287)
        at com.bmc.arsys.pluginsvr.plugins.ARPluginLoaderRouter.initializePlugin(ARPluginLoaderRouter.java:877)
        at com.bmc.arsys.pluginsvr.plugins.ARPluginLoaderRouter.loadPlugin(ARPluginLoaderRouter.java:788)
        at com.bmc.arsys.pluginsvr.plugins.ARPluginLoaderRouter.instantiateAllPlugins(ARPluginLoaderRouter.java:768)
        at com.bmc.arsys.pluginsvr.plugins.ARPluginLoaderRouter.<init>(ARPluginLoaderRouter.java:634)
        at com.bmc.arsys.pluginsvr.ARPluginSvrThreadLocalStorageBlock.<init>(ARPluginSvrThreadLocalStorageBlock.java:33)
        at com.bmc.arsys.pluginsvr.binding.ARPluginSvrThreadPoolExecutor.iniPlugins(ARPluginSvrThreadPoolExecutor.java:129)
        at com.bmc.arsys.pluginsvr.binding.ARPluginSvrThreadPoolExecutor.beforeExecute(ARPluginSvrThreadPoolExecutor.java:104)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)
     
      
      
      <PLUGINSVR> <TNAME: pool-5-thread-3          > <WARN > <ARPluginLoaderRouter                              > <                         ARPluginLoaderRouter.java:817       > /* Mon Aug 19 2019 06:43:53.298 */  An error has occurred while loading a plug-in.ARSYS.ARDBC.REGISTRY
    ERROR (9134): Invalid number of arguments; com.bmc.arsys.arencrypt.AREncryptionException: java.security.InvalidParameterException: Wrong encrypted data bytes to decrypt.
        at com.bmc.arsys.plugins.registry.ARDBCRegistryQuery.initialize(ARDBCRegistryQuery.java:941)
        at com.bmc.arsys.pluginsvr.plugins.ARPluginLoaderRouter.initializePlugin(ARPluginLoaderRouter.java:877)
        at com.bmc.arsys.pluginsvr.plugins.ARPluginLoaderRouter.loadPlugin(ARPluginLoaderRouter.java:788)
        at com.bmc.arsys.pluginsvr.plugins.ARPluginLoaderRouter.instantiateAllPlugins(ARPluginLoaderRouter.java:768)
        at com.bmc.arsys.pluginsvr.plugins.ARPluginLoaderRouter.<init>(ARPluginLoaderRouter.java:634)
        at com.bmc.arsys.pluginsvr.ARPluginSvrThreadLocalStorageBlock.<init>(ARPluginSvrThreadLocalStorageBlock.java:33)
        at com.bmc.arsys.pluginsvr.binding.ARPluginSvrThreadPoolExecutor.iniPlugins(ARPluginSvrThreadPoolExecutor.java:129)
        at com.bmc.arsys.pluginsvr.binding.ARPluginSvrThreadPoolExecutor.beforeExecute(ARPluginSvrThreadPoolExecutor.java:104)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)
      
    Just before the error you will see these calls: 
       
      <PLUGINSVR> <TNAME: pool-5-thread-3          > <INFO > <ARPluginLoaderRouter                              > <                         ARPluginLoaderRouter.java:755       > /* Mon Aug 19 2019 06:43:53.207 */  Attempting to Create an instance of the plugin ARSYS.ARF.REGISTRY
    <PLUGINSVR> <TNAME: pool-5-thread-3          > <INFO > <ARPluginContext                                   > <                              ARPluginContext.java:173       > /* Mon Aug 19 2019 06:43:53.210 */  <ARSYS.ARF.REGISTRY>tempRegLocation <URL set by user*>
    <PLUGINSVR> <TNAME: pool-5-thread-3          > <INFO > <ARPluginContext                                   > <                              ARPluginContext.java:173       > /* Mon Aug 19 2019 06:43:53.210 */  <ARSYS.ARF.REGISTRY>registry location <URL set by user*>
    <PLUGINSVR> <TNAME: pool-5-thread-3          > <INFO > <ARPluginContext                                   > <                              ARPluginContext.java:173       > /* Mon Aug 19 2019 06:43:53.210 */  <ARSYS.ARF.REGISTRY>registry admin user <user set by user*>
      
     
      * This information is set in the WS Registry Integration tab of the Server Information  form.

     


    SOLUTION:

    To resolve this problem copy the encrypted value of the Registry-Admin-Password parameter of the ar.conf file from a working environment.

    If there is no a working environment available the password can be set in the WS Registry Integration tab of the Server Information  form and ar.cfg needs to be checked to ensure Registry-Admin-Password parameter is encrypted.


    Article Number:

    000173016


    Article Type:

    Solutions to a Product Problem



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