Sun N1 Service Provisioning System User's Guide for BEA WebLogic 8 Plug-In 3.0

ProcedureHow to Install the Sample Application

Before You Begin

Before you can run the Avitek Medical Records demonstration, the following procedures must be performed.

You must perform the previous procedures after you install or upgrade to the 3.0 version of the WebLogic 8 Plug-In version 3.0.

Steps
  1. Convert the WebLogic demonstration expanded EAR directories to .ear files.

    The WebLogic demonstration files are located at BEA-InstallDirectory/weblogic81/samples/server/medrec/dist/. You need to convert the medrecEar, physicialEar, and startupEar directories.

    1. From inside each directory, create an .ear file.

      Use the following command syntax: jar cvf jar-file input-files


      From the startupEar directory
      # jar cvf startupEar.ear .
  2. Create components out of the demonstration .ear files.

    For more information, see How to Capture a WebLogic Enterprise Application or EAR File.


    Note –

    You need to save your components in a folder that is not owned by the WebLogic 8 plug-in.


  3. Create session variables for the WebLogic application.

    Create the following session variable.

    WL_POINTBASE_PORT

    Specifies the port to use for the WebLogic application. The value for WL_POINTBASE_PORT can be any open port number. The default value is 9092.

  4. From the Common Tasks page, click Demo Application Configuration: Configure.

    The plan Details page displays.

  5. Click Run.

  6. Leave the plan parameter component variables set at the default value.

  7. Select a managed server as the target host.

  8. Install the demo application EAR components.

    1. On the WebLogic plug-in Common Tasks page, click Create in the Enterprise Application (EAR) section.

    2. Navigate to the folder in which you installed the medrecEar.ear component.

    3. Run the component's Default:Install component procedure.

    4. Repeat steps Step b through Step c for the physicianEar.ear and the startupEar.ear components.

  9. View the Avitek Medical Records demonstration applications.

    You can see the three demonstration applications at the following urls.

    • http://RA-hostname:7010/patient

    • http://RA-hostname:7010/admin

    • http://RA-hostname:7010/physician