TSSA/BSA | Installing VPC (Vendor Patch Content) in silent mode fails with various errors

Version 9
    Share This:

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


    PRODUCT:

    BladeLogic Server Automation Suite


    COMPONENT:

    BladeLogic Server Automation


    APPLIES TO:

    BSA 8.9 and probably other versions 8.6.X+



    PROBLEM:

    Running 'load-patch-content.nsh' to install VPC (Vendor Patch Content) on Windows server in silent mode as described in the following doc failed with various issues/errors:

    https://docs.bmc.com/docs/display/bsa89/Performing+the+installation+of+Vendor+Patch+Content

    Scenario# 1
    nsh load-patch-content.nsh -r BLAdmins -v myProfile -c centos-patch-content
    Invalid patch content argument: "centos-patch-content"  ... Exiting

    Scenario #2
    nsh load-patch-content.nsh -r BLAdmins -v myProfile -c linux-patch-content
    ...
    Copying the jython.conf file...
    Checking Appserver Perl Configurationsanity_check:17: command not found: perl
    Perl Configuration Error.
    Exiting the installation.


    Scenario #3
    nsh load-patch-content.nsh -r BLAdmins -v myProfile -c linux-patch-content
    ...
    Parsing: arguments
    Done: arguments
    Executing: cmd /c bljython.bat getVersion.jli
    Exception in thread "main" java.lang.NoClassDefFoundError:
    org/python/util/jython
    Caused by: java.lang.ClassNotFoundException: org.python.util.jython
    at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
    [ERROR] Failed to find main class: org/python/util/jython
    Cannot get Installed AppServer version.
    Aborting VPC installation.
    Error running content-loader.nsh
    Error running linux-patch-content-install.nsh
    Exiting the installation.

     


    CAUSE:

    1) invalid example in the doc, 2) missing perl path in PATH, 3) steps missed to copy jython.jar file (doc page)


    SOLUTION:

    Scenario #1:

    The argument sample 'centos-patch-content' in the doc example is invalid.

    Correct argument for linux (including 'centos') would be 'linux-patch-content'.

    The following doc page would be fixed accordingly:
    https://docs.bmc.com/docs/display/bsa89/Performing+the+installation+of+Vendor+Patch+Content

    Scenario #2:

    Make sure perl with correct version is available and below perlConfig location is configured correctly.
    blasadmin -a show perlConfig location

    If above is correct, adding perl location to PATH should fix it

    NOTE: If perl was installed, make sure to restart RSCD agent and the appserver before re-trying the installation.

    Scenario #3:

    Refer to the following doc page that covers this error:
    https://docs.bmc.com/docs/ServerAutomation/89/troubleshooting/troubleshooting-the-installation-migration-or-upgrade/ensuring-that-bljython-works-after-installing-the-application-server

    Basically 'jython.jar' needs to be copied from Jython installation folder to "<appserver install dir>\NSH\br\stdlib" folder

    Before installing VPC, make sure to install and configure Jython referring to the following doc:

    https://docs.bmc.com/docs/ServerAutomation/89/developing/blcli-reference/jython-and-the-jli/installing-and-configuring-jython?src=search

     


    Article Number:

    000131681


    Article Type:

    Solutions to a Product Problem



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