+

Search Tips   |   Advanced Search


Export the portal EAR file

When you configure WSRP security by WS-Security token authentication, you start by exporting the portal EAR file so that you can later make the modifications required for WS-Security token authentication.

Export the portal EAR file, wps.ear, according to your network configuration. If you have a cluster environment, export the portal EAR file from the Network Deployment (ND) machine.

Before you start this task, make sure that all of the following is true:

  1. The administrative server of the WAS has been started:

    • If the portal runs in a base appserver node, make sure that the administration server is running. The default name is server1.

    • If the portal runs in a Network Deployment (ND) cell, make sure that the Deployment Manager (DM) and all node agents are running.

  2. You are logged in by using the WAS administrative user ID.

To export the portal EAR file...

  1. At a command line, change to the directory PROFILE_HOME/bin, or, if you have a portal cluster installation, change to the directory dmgr_profile_root/bin.

  2. Export the wps.ear file to a temporary directory by using the wsadmin command. Make sure that all commands are entered on one line. Invoke the command as follows:

      UNIX: ./wsadmin.sh -user admin_user_id -password admin_password -c '$AdminApp export wps temp_directory/wps.ear'

    • i5/OS: wsadmin -profileName profile_root -user admin_user_id -password admin_password -c '$AdminApp export wps temp_directory/wps.ear'

      Windows: wsadmin.bat -user admin_user_id -password admin_password -c "$AdminApp export wps temp_directory\wps.ear"

    Where:

    • For i5/OS:

      profile_root is the name of the WAS profile directory where the portal is installed; for example wp_profile.

    • admin_user_id is the WAS administrator user ID.

    • admin_password is the WAS administrator password.

    • temp_directory is the temporary directory to which you export the portal EAR file.


Parent topic:

Secure WSRP by WS-Security for a Producer portal


Next topic:

Import the portal EAR file into an assembly tool