Configuring the server plug-in

To configure your system to run the server plug-in:

  1. Open the %PB_SERVER_HOME%\bin\set-java-home.bat file, and verify that the Java environment variable—either DJC_JAVA_HOME_14 or DJC_JAVA_HOME_15—refers to the home directory of the JDK you plan to use.

    Verify that all the DJC_* variables are set to the correct JDK version; for example, for WebSphere:

    set DJC_JAVA_HOME_15=%WAS_HOME%\java
    set DJC_RT_DEFAULT=15
    set DJC_JDK_DEFAULT=15
    set DJC_JAVAC_TARGET=1.5
    
  2. Set the administrative password for the server plug-in by running:

    “%PB_SERVER_HOME%”\bin\set-admin-password.bat
    

    The system prompts you to enter a password, which must contain at least six characters, and one of these must be a digit.

  3. Configure the server plug-in for your application server, as described in the following sections.

    When you configure the server plug-in, properties are added to %PB_SERVER_HOME%\Repository. If you configure the server plug-in for one application server, then want to configure the server plug-in for another application server, first remove the %PB_SERVER_HOME%\Repository directory. Otherwise, the repository will contain properties for both application servers, which causes problems.

NoteIf a directory name contains a space, you must enclose the “-D” options in double quotes for both configuring the server plug-in and starting the application server; for example, to run JBoss:

bin\run.bat “-Dpb.server.home=%PB_SERVER_HOME%”