Sun N1 Service Provisioning System User's Guide for BEA WebLogic 9 Plug-in 1.0

ProcedureHow to Create a WebLogic Script Component

You must first create the WebLogic script , then check in the script as an N1 SPS component, then install it. This procedure assumes that you have an existing WLST script available on a file system.

Steps
  1. In the Common Tasks section in the browser interface, click the Create New Component link.

    The Components table is displayed.

  2. In the Action column, click the Create link.

    The Component Details Edit page is displayed.

  3. In the Component field, type the name of your component.

  4. Select com.sun.weblogic9#WLSTScript from the Type drop down menu.

  5. (Optional) Type a label and description for the component.

  6. Select a host that has a copy of the WebLogic script file in the file system.

  7. Navigate to the location of the script on the host.

  8. Select the appropriate options for your component.

    You can set the following options for your application.

    • Check in a script component that has not changed since a previous check in.

    • Assign user and group ownership permissions to the script component.

    • You can designate the script component as a configuration template. If you check the Configuration Template check box, all the component variables for your script component will be added to the container that holds your script component and all associated components. You can then edit these variables when you deploy your application with this container.

  9. In the Path of the Resource Descriptor File field, type the path to the resource descriptor file for this component.

    A resource descriptor file specifies the owner, group, and permission settings to use for the files and directories that comprise the resource of a component. For more information about resource descriptor files, see Using a Resource Descriptor File in Sun N1 Service Provisioning System 5.2 XML Schema Reference Guide.

  10. Click Check In Selected Item.

    The component's Check In page displays.

  11. Select a folder on which you have edit permissions.

  12. Click Continue to Check In.