Skip navigation.

WebLogic Portlets for SAP Installation Guide

  Previous Next vertical dots separating previous/next from contents/index/pdf Contents View as PDF   Get Adobe Reader

WebLogic Portlets for SAP Installation Guide

This document explains how to install the BEA WebLogic Portlets for SAP application.

The BEA WebLogic Portlets for SAP application integrates BEA WebLogic Portal with the SAP R/3 4.6C System.

This guide contains the following sections:

 


Installation Prerequisites for BEA WebLogic Portlets for SAP

This section contains the following topics:

Hardware Requirements

The server should have the following configuration:

Software Requirements

The following software must be installed on the server:

Administrator Privileges

You must have BEA WebLogic Platform administrator privileges in order to install and configure the BEA WebLogic Portlets for SAP application.

Licensing and Encryption

The WebLogic Platform software cannot be used without a valid license. You can purchase licenses for the entire WebLogic Platform product or for individual components. For information about the licenses available for WebLogic Platform, contact your sales representative or visit the BEA corporate Web site at http://www.bea.com.

About 128-Bit Encryption

Secure sockets layer (SSL) encryption software is available with two levels of encryption: 56-bit and 128-bit. Licenses for the 128-bit client version of SSL are available in the United States and Canada. With proper authorization, customers outside the United States and Canada may also acquire licenses with 128-bit encryption enabled.

A WebLogic Platform license comes with 56-bit encryption enabled by default. Enabling 128-bit encryption for SSL requires that a 128-bit encryption license be present in the license.bea file of the target BEA Home directory before you install the WebLogic Platform software.

 


Installing BEA WebLogic Portlets for SAP

This section includes the following topics:

Before you start the BEA WebLogic Portlets for SAP installation, make sure you meet the Installation Prerequisites for BEA WebLogic Portlets for SAP.

Installing BEA WebLogic Portlets for SAP

BEA WebLogic Portlets for SAP can be installed on both Unix and Windows operating systems using graphical-mode installation.

Graphical-Mode Installation on Windows System

To start the installation on Windows system:

  1. Log in to the Windows system.
  2. Insert the BEA WebLogic Portlets for SAP CD-ROM into the CD-ROM drive.
  3. Navigate to the folder and run the installation file SAPportlets_win_811.exe.
  4. The program prepares your system for the installation task, as shown in Figure 1.
  5. Figure 1 Installation Initialization Screen

    Installation Initialization Screen


     
  6. The Introduction screen appears, as shown in Figure 2. Click Next to continue.
  7. Figure 2 Introduction Screen

    Introduction Screen


     
  8. In the Choose Installation Folder screen (as shown in Figure 3), specify the path of the installation directory or click Choose to select the \bea\weblogic<version> directory. This is the path where BEA WebLogic Portlets for SAP will be installed. Click Next to continue.
  9. Note: If a folder other than \bea\weblogic<version> is selected then you need to manually copy the templates files from <selected folder>\workshop\templates to \bea\weblogic<version>\workshop\templates.

    Figure 3 Choose Installation Folder Screen

    Choose Installation Folder Screen


     
  10. The Pre-Installation Summary screen displays your installation preferences, as shown in Figure 4. Click Install to continue.
  11. Figure 4 Pre-installation Summary Screen

    Pre-installation Summary Screen


     
  12. The Installing BEA WebLogic Portlets for SAP Installation Setup screen displays the progress of the installation, as shown in Figure 5.
  13. Figure 5 Installation Setup Screen

    Installation Setup Screen


     
  14. The Install Complete screen confirms that BEA WebLogic Portlets for SAP was installed successfully, as shown in Figure 6. Click Done to complete the installation.
  15. Figure 6 Install Complete Screen

    Install Complete Screen


     

Graphical-Mode Installation on Unix System

To start the installation on Unix system:

  1. Log in to the Unix system.
  2. Mount the BEA WebLogic Portlets for SAP CD-ROM into the CD-ROM drive.
  3. Open a command-line shell.
  4. Go to the CD-ROM directory and navigate to the folder for the installation program SAPportlets_solaris_811.bin.
  5. Invoke the procedure by entering the following command:
  6. ./SAPportlets_solaris_811.bin
  7. The program prepares your system for the installation task, as shown in Figure 7.
  8. Figure 7 Installation Initialization Screen

    Installation Initialization Screen


     
  9. The Introduction screen appears, as shown in Figure 8. Click Next to continue.
  10. Figure 8 Introduction Screen

    Introduction Screen


     
  11. In the Choose Installation Folder screen (as shown in Figure 9), specify the path of the installation directory or click Choose to browse for the path where you want to install BEA WebLogic Portlets for SAP. Click Next to continue.
  12. Note: If a folder other than /bea/weblogic<version> is selected then you need to manually copy the templates files from <selected folder>/workshop/templates to /bea/weblogic<version>/workshop/templates.

    Figure 9 Choose Installation Folder Screen

    Choose Installation Folder Screen


     
  13. In the Choose Link Folder screen, you can create links for the application, as shown in Figure 10. Click Next to continue.
  14. Figure 10 Choose Link Folder Screen

    Choose Link Folder Screen


     
  15. The Pre-Installation Summary screen displays your installation preferences, as shown in Figure 11. Click Install to continue.
  16. Figure 11 Pre-installation Summary Screen

    Pre-installation Summary Screen


     
  17. The Installing BEA WebLogic Portlets for SAP screen displays the progress of the installation, as shown in Figure 12.
  18. Figure 12 Installing Screen

    Installing Screen


     


     
  19. The Install Complete screen confirms that BEA WebLogic Portlets for SAP was installed successfully, as shown in Figure 13. Click Done to complete the installation.
  20. Figure 13 Install Complete Screen

    Install Complete Screen


     

Reviewing the Installation

The installer will install files in the following directories:

 


Configuring the BEA WebLogic Portal

After the installation is completed, perform the following steps using WebLogic Workshop.

For a new portal application:

  1. Create a new Basic WebLogic Portal Domain using the Configuration Wizard.
  2. Create a new Portal Application in WebLogic Workshop.
  3. Create a new Portal Project.
  4. In the WebLogic Workshop's Application window, right-click the data directory and choose Install > PortletsForSAPPropertySet.
  5. In the WebLogic Workshop's Application window, right-click the portal project directory and choose Install > Portlets for SAP.

 


Downloading the Third Party Software

Table 1 shows you what to download, where to download it, and where to store it.

Table 1 List of JAR files required for BEA WebLogic Portlets for SAP 

JAR file

Component

Download from /Copy From

Directory

xercesImpl.jar

xalan.jar

xml-apis.jar

xmlParserAPIs.jar

XMLhelper

Download from http://xml.apache.org/dist/xerces-j/old_xerces2/

<\%BEA_HOME%>\user_projects\application\<protalapplication>\<portalproject>\WEB-INF\lib

Example:

C:\bea\user_projects\applications\BeaPortalNetApp\beaportal\WEB-INF\lib

For Windows:

jRFC12.dll

librfc32.dll

jCO.jar

Note: The file names may vary depending on the version.

SAPDataEngine

Download from https://websmp103.sap-ag.de/connectors


  1. Copy the jRFC12.dll and librfc32.dll files to C:\WINNT\system32 directory.
  2. Copy the jCO.jar to a directory.
  3. Open the setDomainEnv.cmd file, located in the domain folder.
  4. Modify the CLASSPATH to the directory pointing to the location where the file is copied.

For Linux:

librfccm.so

libsapjcorfc.so

sapjco.jar

SAPDataEngine

Download from https://websmp103.sap-ag.de/connectors


  1. Copy the files to a directory.
  2. Open the commEnv.sh file, located at the following path <%BEA_HOME%>/weblogic<version>/common/bin.
  3. Modify the LD_LIBRARY_PATH to the directory where the files are copied.

  4. Open the setDomainEnv.sh file located in the domain directory.
  5. Modify the CLASSPATH to the directory pointing to the location where the file sapjco.jar is copied.


 

 


Configuration and Settings for BEA WebLogic Portlets for SAP

This section contains the following topics:

Setting Up SAP Portlets Repository

This topic contains the following procedures:

Creating Schema and Importing Metadata

To create schema and import metadata for BEA WebLogic Portlets for SAP in MS SQL Server run the following scripts in MS SQL Server's Query Analyzer in the order given below:

  1. MSSQL_PNET_DROP_TABLE.SQL
  2. MSSQL_PNET_ CREATE_TABLES.SQL
  3. MSSQL_PNET_DROP_FKEYS.SQL
  4. MSSQL_PNET_CREATE_FKEYS.SQL
  5. MSSQL_PNET_INSERT_SCRIPTS.SQL

To create schema for BEA WebLogic Portlets for SAP in Oracle database run the following scripts in Oracle's SQL Plus in the order given below:

  1. ORACLE_PNET_DROP_TABLE.SQL
  2. ORACLE_PNET_CREATE_TABLES.SQL
  3. ORCLE_PNET_INSERT_SCRIPTS.SQL
  4. ORACLE_PNET_DROP_SEQUENCE.SQL
  5. ORACLE_PNET_CREATE_ SEQUENCE.SQL
  6. ORACLE_PNET_DROP_FKEYS.SQL
  7. ORACLE_PNET_CREATE_FKEYS.SQL

Configuring the PORTALnet.properties File

To configure the properties file:

  1. Open the PORTALnet.properties file from the \bea\user_projects\applications\<application>\<project>\WEB-INF\classes subfolder for the product installed and change the settings.
  2. For example: C:\bea\user_projects\applications\BeaPortalNetApp\beaportal\WEB-INF\classes

  3. Modify the repository connection information, DATASOURCE=<datasource_ name>
  4. For example: DATASOURCE=EISDB

Registering Java Data Source

To create a Java Data Source:

  1. Start the WebLogic Server for your domain.
  2. Go to Tools > WebLogic Server > DataSource Viewer. The DataSource Viewer window appears.
  3. Click New Data Source to add a new data source. The Configure DataSource window appears, as shown in Figure 14.
  4. Figure 14 Configuring Datasource Screen

    Configuring Datasource Screen


     
  5. Enter the Data Sources as EISDB.
  6. Select the Pool as <Create New Pool>.
  7. Enter the Pool Name as EISDB.
  8. Configure the Driver, URL, User, and Password, and click OK.

 


Activating the License for BEA WebLogic Portlets for SAP

To activate the license for BEA WebLogic Portlets for SAP:

  1. Copy the license file license.bea into the <%BEA_HOME%> directory.
  2. Restart the WebLogic Portal server.
  3. Log in to BEA WebLogic Portlets for SAP with the weblogic account.

 


Uninstalling BEA WebLogic Portlets for SAP

To uninstall BEA WebLogic Portlets for SAP:

  1. Shut down any servers that are running. If any of these servers is configured as a Windows service, you should stop the service(s) before uninstalling the software.
  2. Navigate to the directory where BEA WebLogic Portlets for SAP is installed.
  3. Navigate to the Uninstall_Bea Weblogic Portlets for SAP directory.
  4. Run the BEAPortal Weblogic Portlets Uninstallation Setup.exe uninstallation program.
  5. Click Next to start the uninstall program.
  6. Select Complete Uninstall or Uninstall Specific Features option and click Next.
  7. Click Done to exit the uninstallation program.

 


Troubleshooting

Use Table 2 to troubleshoot installation issues.

Table 2 Troubleshooting WebLogic Portlets for SAP

No.

Problem

Cause

1

Running the scripts throws SQL error

Make sure that you run the scripts in the order specified in the installation document.

2

Unable to connect to the database

Check if the JDBC Drivers are configured properly.

3

Invalid datasource entry error

Check if the DataSource is configured properly in WebLogic Workshop.

4

Cannot connect to SAP

Verify if the files jRFC12.dll and librfc32.dll are placed under the system32 directory.


 

 

Back to Top Previous Next