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.


    BladeLogic Server Automation Suite


    BladeLogic Server Automation


    BSA 8.9 and probably other versions 8.6.X+


    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:


    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:
    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.



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


    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:

    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:

    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:



    Article Number:


    Article Type:

    Solutions to a Product Problem

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