3 Replies Latest reply on Oct 25, 2018 2:43 AM by Samuel Lambert

    ARS 9.1.04.002: Plugins problem definition after Db refresh

    Samuel Lambert

      Hi,


      We refresh our QA env. DB from production following this documentation:

      https://docs.bmc.com/docs/ars91/en/changing-a-server-name-when-using-a-duplicated-or-migrated-environment-609073796.html

       

       

      But there is now problem on plugins defintions.

      On QA now, on plugin server definition form, we found duplicate plugins entries refering to PROD(itsprd) (refresh DB) and the well running QA(itsint).

      The pluginsvr xml file on QA does not refer to PROD défintion.

      Then why is there still entries for PROD?

       

      plugins.png

       

      plugins2.png

       

      Is there a way to flush these wrong entries? it cause problems per example on java log redirection for approval:

       

      1. java.io.FileNotFoundException:
        /PRODPATH/ARSystem/db/arjavaplugin.log (No such file or directory)

                    
      at java.io.FileOutputStream.open0(Native Method)

                    
      at java.io.FileOutputStream.open(FileOutputStream.java:270)

                    
      at java.io.FileOutputStream.<init>(FileOutputStream.java:213)

                    
      at java.io.FileOutputStream.<init>(FileOutputStream.java:133)

                    
      at org.apache.log4j.FileAppender.setFile(FileAppender.java:294)

                    
      at org.apache.log4j.RollingFileAppender.setFile(RollingFileAppender.java:207)

                    
      at com.bmc.arsys.pluginsvr.LogUtil.setFileName(LogUtil.java:185)

                    
      at com.bmc.arsys.pluginsvr.LogUtil.updateLogFileName(LogUtil.java:174)

                    
      at com.bmc.arsys.pluginsvr.LogUtil.updateLogFileName(LogUtil.java:523)

                    
      at
      com.bmc.arsys.pluginsvr.ARPluginServerConfiguration.updateLoggerWithNewConfiguration(ARPluginServerConfiguration.java:3792)

                    
      at
      com.bmc.arsys.pluginsvr.ARPluginServerConfiguration.loadConfigurationFromDB(ARPluginServerConfiguration.java:1279)

                    
      at com.bmc.arsys.pluginsvr.ARPluginServerConfiguration.initialize(ARPluginServerConfiguration.java:386)

                    
      at
      com.bmc.arsys.pluginsvr.ARPluginServerManager.loadConfiguration(ARPluginServerManager.java:44)

                    
      at com.bmc.arsys.pluginsvr.ARPluginServerMain.main(ARPluginServerMain.java:47)

       

      Thanks for your help.

      Sam