Sun N1 Service Provisioning System User's Guide for BEA WebLogic 6 and WebLogic 7 Plug-In 2.0

Chapter 3 Installing and Configuring the BEA WebLogic Plug-In

This chapter explains how to install and configure the BEA WebLogic plug-in. The chapter contains the following information:

Acquiring the BEA WebLogic Plug-In

Acquiring the BEA WebLogic plug-in is a two-step process. First, you must add the package file that contains the BEA WebLogic plug-in JAR file to your system. Then you must import the BEA WebLogic plug-in JAR file.

The BEA WebLogic Plug-In is packaged as a plug-in to the Sun N1 Service Provisioning System software. Plug-ins are packaged in JavaTM Archive (JAR) files. The plug-in files for the BEA WebLogic Plug-In are available from the Sun N1 Service Provisioning System Supplement CD or from the Sun Download Center.

Once the package file is added to your system, the BEA WebLogic plug-in is available for import from two different JAR files. Choose the correct file depending on your situation.

  1. Add the package containing the JAR file.

  2. Import the JAR file – Importing the BEA WebLogic Plug-In to the Sun N1 Service Provisioning System

Adding the BEA WebLogic Plug-In for Solaris

The BEA WebLogic plug-in is contained in the SUNWspswlg package.

ProcedureTo Add the BEA WebLogic Plug-In for Solaris

Steps
  1. In a terminal window, become superuser.

  2. Move to the directory containing the plug–in package.

  3. Type the following command and press Return.

    # pkgadd -d . SUNWspswlg

    The standalone JAR file is in the /opt/SUNWn1sps/plugins/com.sun.weblogic/ directory. The upgrade JAR file is in the /opt/SUNWn1sps/plugins/com.sun.weblogic/Upgrade directory.

Adding the BEA WebLogic Plug-In for Linux

The BEA WebLogic plug-in is contained in the sun-spswlg-2.0-1.noarch.rpm file.

ProcedureTo Add the BEA WebLogic Plug-In for Linux

Steps
  1. In a terminal window, become superuser.

  2. Move to the directory containing the sun-spswlg-2.0-1.noarch.rpm file.

  3. Type the following command and press Return.

    # rpm –i sun-spswlg-2.0-1.noarch.rpm

    The standalone JAR file is in the /opt/sun/N1_Service_Provisioning_System/plugins/com.sun.weblogic/ directory. The upgrade JAR file is in the /opt/sun/N1_Service_Provisioning_System/plugins/com.sun.weblogic/Upgrade directory.

Adding the BEA WebLogic Plug-In for Windows

The BEA WebLogic plug-in is contained in the sun-spswlg-2.0.msi file.

ProcedureTo Add the BEA WebLogic Plug-In for Windows

Steps
  1. Move to the directory containing the sun-spswlg-2.0.msi file.

  2. Double-click the sun-spswlg-2.0.msi file.

    The Installer GUI start. The JAR file is copies to the C:\Program Files\N1 Service Provisioning System\plugins\com.sun.weblogic directory.

Importing the BEA WebLogic Plug-In to the Sun N1 Service Provisioning System

To make a given plug-in known to the Sun N1 Service Provisioning System, you need to import the plug-in to the Master Server. If you have already imported a previous version of the BEA WebLogic Plug-In you need to upgrade to the new plug-in.

ProcedureHow to Import the BEA WebLogic Plug-In Using the Browser Interface

To import or upgrade a plug-in, follow these steps as explained in detail in Chapter 5, Plug-In Administration, in Sun N1 Service Provisioning System 5.2 System Administration Guide

Steps
  1. In the Administrative section of the browser interface main window, click Plug-ins.

  2. In the Action column of the Plug-ins page, click Import.

  3. Navigaet to the location of the JAR file.

    • If you are importing the BEA WebLogic Plug-In for the first time, select the com.sun.weblogic_2.0.jar file.

    • If you have already imported a previous version of the BEA WebLogic Plug-In, select the com.sun.weblogic_1.1_2.0.jar file.

  4. Click the Continue to Import button.

    When the import complete successfully, a plug-in details page appears and shows you the objects that the plug-in provides.

ProcedureHow to Import the BEA WebLogic Plug-In using the CLI

You can also import a plug-in by using the command line.

Step

    To import a plug-in file from the CLI, type:


    % cr_cli -cmd plg.p.add -path plugin-filename -u username -p password
    
    • If you are importing the BEA WebLogic Plug-In for the first time, plugin-filename is com.sun.weblogic_2.0.jar.

    • If you have already imported the previous version of the BEA WebLogic Plug-In, plugin-filename is com.sun.weblogic_1.1_2.0.jar.

Customizing the Solution for Your Environment

Information about customizing the BEA WebLogic plug-in for your environment is provided in the readme.txt file in the com.sun.weblogic_2.0.jar or com.sun.weblogic_1.1_2.0.jar files.

Patching the BEA WebLogic Plug-In

Check the SunSolve site for available patches for the BEA WebLogic plug-in. To apply the patch, follow the instructions in the patch README file.