Skip to main content

Table of Contents

Running Static Assembler in utility mode


Only available versions of this content are shown in the dropdown

Run the Static Assembler from the /scripts/utils directory within the extracted application installation directory. This is the best practice because the Static Assembler uses information that is in the application installation directory.

  1. On your application server, extract the file from the /scripts/utils/ directory on the application distribution media to the same directory.

  2. Create the <>/WEB-INF/lib directory.

  3. In the WEB-INF/lib directory of the prweb.war file or in the APP-INFAPP-INF/lib of the prpc_j2ee*.ear file, locate the following JAR files:

    • sr94-1.0.jar
    • prbootstrap.jar
    • prdbcdp.jar
    • prbootstrap-api.jar
  4. Copy the four JAR files to the <>/WEB-INF/lib directory.

  5. In the scripts/utils/staticAssemblerResources/config/prstaticassembly directory,open the file.

  6. Specify the following properties.

    Property Description Enter the full path to the <> directory of your environment.

    Example for Windows: D:\\prpcmedia\\scripts\\utils\\pegaapprootpegaapproot

    After each backslash (\), include a backslash escape character (\).

    Example for Linux: /opt/prpcmedia/scripts/utils/pegaapproot Enter the name of the application rule that is the starting point of the assembly process. Rules that belong to any built-on applications are also assembled.
    application.version Enter the version number of the application.
    accessgroup Enter the access group that provides access to the application version.
    path.prdeploy Optional. The default path is to the JAR file in the distribution image.
    path.antcontrib Optional. The default path is to the JAR file in the distribution image. Change the path to specify a different antcontrib JAR file.
  7. In the scripts/utils/ directory, open the file to define the connection to your database.

  8. Specify the following variables that are specific for your database vendor.

    Variable Description
    pega.jdbc.driver.jar The full path to the JDBC driver JAR file.
    pega.jdbc.driver.class The Java class name of the JDBC driver.
    pega.database.type Select the database vendor from the list of supported vendors.
    pega.jdbc.url The URL connection for your database. Refer to the examples in the file.
    pega.jdbc.username The user name allowed to connect to the database.
    pegajdbc.password The password for the user name allowed to connect to the database.
  9. Stop the application server.

    You must stop the application server because the Static Assembler starts three JVM instances and an instance of the application engine by default.
  10. Run the scripts/utils/smartStaticAssembly.bat (or .sh) script to start the static assembly process. The Static Assembler analyzes the rule in the specific application and in the built-on application or applications and assembles any rules that have not yet been assembled. Processing can take from one to several hours.

  11. When the assembly process is complete, you can view the result log in the scripts/utils/staticAssemblerResources/logs/ directory.

Did you find this content helpful?

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Ready to crush complexity?

Experience the benefits of Pega Community when you log in.

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us