![]() |
iPlanet BuyerXpert 4.5 Installation Guide |
Chapter 5 Installing Additional Software
Additional software must be installed to operate iPlanet BuyerXpert correctly. Since some of this software is not included in the iPlanet BuyerXpert CD and must be purchased separately, see "Software Requirements" in Chapter 1 "Planning to Install BuyerXpert" for a list of software included in the iPlanet BuyerXpert installation package.
The following sections are contained in this chapter:
Installing iPlanet ECXpert
Installing iPlanet ECXpert
iPlanet ECXpert handles the exchange of business documents and messages between iPlanet BuyerXpert and other OBI-compliant systems. The primary iPlanet ECXpert services used by iPlanet BuyerXpert are data transmission, a variety of communications protocols, and document tracking.
See the iPlanet ECXpert documentation for installation instructions.
Installing iPlanet Portal Server
Installing the iPlanet Portal Server consists of the following:
Installing iPlanet Portal Server
Installing iPlanet Portal Server
Log in as superuser to install the iPlanet Portal Server. You should run the installation as root.
% su - root
Unzip the distribution.
% gunzip iPS3.0SP3-01.tar.gz
Untar the distribution from the archive.
% tar -xvf iPS3.0SP3-01.tar
Start the installation process.
% ./ipsinstall
The rest of this section documents the screens that are displayed during this installation. The default entries are shown in brackets and are recommended unless a specific entry is necessary, in which case that entry is shown in bold at the end of the prompt.
Do you accept? [y]/n y
What is the subdomain ("." for none)? [red]
What is the domain? [iplanet.com]
Select which component to install:
1) Server
2) Gateway
3) Exit
Choice? [3] 1
What directory to install in? [/opt] /export/portal
Will this be an open portal install? y/[n] y
Use SSL protocol to the server? y/[n] n
Is this a multiple server install? y/[n] n
The profile server will run on wellspring.red.iplanet.com
What is the port for the profile server? [8080]
The directory server will run on wellspring.red.iplanet.com
What is the port for the directory server? [389]
What is the root of the role tree? [iplanet.com]
What is the user for the root of the role tree? [root]
What is the administrator port for the web server? [8088]
What is the passphrase (8 chars minimum) : adminadmin
Re-enter passphrase : adminadmin
Server settings:
Installation Directory : /export/portal
Role Tree Root : iplanet.com
Role Administrator : root
Server List : http://wellspring.red.iplanet.com:8080
Profile Server : http://wellspring.red.iplanet.com:8080
LDAP Server : wellspring.red.iplanet.com:389
LDAP Admin Port : 8900
Web Server Admin Port : 8088
Start Server : y
Are these settings correct? [y]/n y When the installation is complete, it is necessary to bring up the iPlanet Portal Server using the following steps:
Start the iPlanet Portal Server:
% cd <portal-server-installation-directory>
% cd SUNWips/bin
Shutdown all iPlanet Portal Server related processes.
% ./ipsserver stop
Start up the iPlanet Portal Server.
%./ipsserver start
This concludes the installation of the iPlanet Portal Server.
Refer to the "Portal Deployment" section of this document for instructions on integrating with iPlanet BuyerXpert.
Adding a New Domain
All the iPlanet Portal Server integration related files are included when you install iPlanet BuyerXpert. They are located in the SERVER_ROOT/buyer/buyer/BXPORTAL directory, shown as PORTAL_ROOT in this document. Since the iPlanet Portal Server runs as root on your system, all of the steps have to be performed as the root user of the system on which iPlanet Portal Server is installed.
To access the iPlanet Portal Server admin console, type:
http://machinename:port/console
Note The name of the machine running iPlanet Portal Server is machinename and port is the port number of the iPlanet WebServer where iPlanet Portal Server is running.
Type root as the user name, and the root password of your machine as the password.
After you log in, click the Manage Domains Link on the left panel.
Click Add New Domain, located in the right panel.
Enter the buying company name for the domain name (for example, BuyerCompany) and Buyer for the Default Role.
You should see the following message:
Successfully Created New Domain
Click Continue.
Choose the domain that you just created, click Authentication, select Membership from the Authentication Screen and click Submit.
Portal Deployment
Portal Deployment consists of the following:
Deploying the Authentication Modules
Copying the Required Libraries
Configuring the iPlanet BuyerXpert Webserver
Deploying the Authentication Modules
The BuyerXpert integration in portal relies on certain iPlanet BuyerXpert-specific attributes being created in the user profile when a new user is created. This step changes some of the template files used by the portal authentication module to facilitate creation of the specific attributes, and is therefore a necessary step. You need to go through the following sequence to get this to work:
Shut down your portal server:
% cd <portal-server-installation-directory>
% cd SUNWips/bin
% ./ipsserver stop
Back up your existing templates.
% cd /etc/opt/SUNWips/auth/default
% mv Membership.properties Membership.properties.orig
% mv register.html register.html.orig
Copy the new templates from the PORTAL_ROOT:
% cp PORTAL_ROOT/templates/Membership.properties /etc/opt/SUNWips/auth/default/
% cp PORTAL_ROOT/templates/register.html
/etc/opt/SUNWips/auth/default/
Back up the template for UserInfo:
% cd /etc/opt/SUNWips/desktop/default/iwtUserInfoProvider
% mv edit.template edit.template.orig
Copy the new template for UserInfo:
% cp PORTAL_ROOT/templates/edit.template /etc/opt/SUNWips/desktop/default/iwtUserInfoProvider/
Add a new component for loading iPlanet BuyerXpert-specific attributes for the user during authentication.
% cp PORTAL_ROOT/xml/bxAuth.xml /etc/opt/SUNWips/xml/
Start up iPlanet Portal Server:
% cd <portal-server-installation-directory>
% cd SUNWips/bin
%./ipsserver start
Import the component:
% cd <portal-server-installation-directory>
% cd SUNWips/bin
% ./ipsadmin -import /etc/opt/SUNWips/xml/bxAuth.xml
If things go well, you should see the following message:
Operation Completed Successfully
Edit the /etc/opt/SUNWips/xml/iwtTag.xml file, adding the following lines in the <iwt:Att name="iwtTag-tags" section after the line userConfigurable="TRUE">
<Val>bxAuth-bxUserName|profile</Val>
<Val>bxAuth-bxpassword|profile</Val>
<Val>bxAuth-bxsignon|profile</Val>
<Val>bxAuth-bxName|profile</Val>
Save.
% cd <portal-server-installation-directory>
% cd SUNWips/bin
% ./ipsadmin -import /etc/opt/SUNWips/xml/iwtTag.xml
To test what you have done so far:
Access the domain that you created after you installed iPlanet Portal Server.
On the login page for that Domain, click New User.
You should see a form with some iPlanet BuyerXpert specific fields (for example, BuyerXpert User Id).
Complete the form and register.
If the submission goes through correctly, a disclaimer page is displayed. Otherwise, an error displays on the browser page.
Deploying the Channels
To add the iPlanet BuyerXpert-related channels to the iPlanet Portal Server and configure them:
Copy the buyerInfo.properties file to some location and make sure that is accessible by the portal.
% cp PORTAL_ROOT/config/buyerInfo.properties <location accesible to portal server>/
Edit the entries in the buyerInfo.properties file so that you point to the correct database, LDAP, and iPlanet BuyerXpert settings.
The headerNames.properties file contains the field names for the track and inbox channels. It can be customized by the administrator to his or her own choice of field names. Copy the headerNames.properties file to the same directory as your buyerInfo.properties file:
% cp PORTAL_ROOT/config/headerNames.properties <same location as your buyerInfo.properties>/
Customize the headerNames.properties file if you want the field names in the channels to appear differently.
Copy the XML descriptors for the channels:
% cp PORTAL_ROOT/xml/iwt*.xml <portal-server-installation-directory>/SUNWips/sample/desktop/xml/
Edit all the XML descriptors to reflect the location of the properties file.
Open the descriptors in your preferred text editor.
Look for an attribute called "fileLocation".
Change the value for this attribute from "/export" to the location of the properties file.
Import the XML descriptors using the ipsadmin script.
% cd <portal-server-installation-directory>
% cd SUNWips/bin
% ./ipsadmin -import <portal-server-installation-directory>/SUNWips/sample/desktop/xml/<XML FILE NAME>.xml
After importing each of the descriptors, you should see the following message:
Operation Completed Successfully
Copy the class files to the portal:
% cp -r PORTAL_ROOT/classes/com <portal-server-installation-directory>/SUNWips/lib/
% mkdir -p <portal-server-installation-directory>/SUNWips/public_html/servlet
% cp PORTAL_ROOT/classes/*.class <portal-server-installation-directory>/SUNWips/public_html/servlet/
Include the servlet directory in the classpath of the iPlanet WebServer by editing the jvm12.conf file in the iPlanet WebServer config directory:
% cd <portal-server-installation-directory>/netscape/server4/https-<webserver>/config
Edit the jvm12.conf file, locate the jvm.classpath variable and append <portal-server-installation-directory>/SUNWips/public_html/servlet
Add all of the iPlanet BuyerXpert channels to the available channels list:
Access the iPlanet Portal Server admin console by entering the URL: http://<machinename>:<port>/console.
Click the Manage Domains link.
Select the domain that you created.
The Available and Selected Providers list windows appear.
In the Channel Name text box, enter:
iwtReqStatProfileProvider
In the Class Name text box, enter:
com.iplanet.portalserver.providers.buyerx.ReqStatProfileProvider
Click Add.
Click Submit to update the Profile Server.
In the Channel Name text box, enter:
iwtInboxProfileProvider
In the Class Name text box, enter:
com.iplanet.portalserver.providers.buyerx.InboxProfileProvider
Click Add.
Click Submit to update the Profile Server.
In the Channel Name text box, enter:
iwtReqTrackProvider
In the Class Name text box, enter:
com.iplanet.portalserver.providers.buyerx.ReqTrackingProvider
Click Add.
Click Submit to update the Profile Server.
In the Channel Name text box, enter:
iwtTCTrackProvider
In the Class Name text box, enter:
com.iplanet.portalserver.providers.buyerx.TCTrackingProvider
Click Add.
Click Submit to update the Profile Server.
In the Channel Name text box, enter:
iwtInboxTrackProvider
In the Class Name text box, enter:
com.iplanet.portalserver.providers.buyerx.InboxTrackingProvider
Click Add.
Click Submit to update the Profile Server.
Click the Logout link to logout of the console.
Copying the Required Libraries
Shut down the iPlanet Portal Server server
Copy the Oracle JDBC driver and JDBC jar files from the iPlanet BuyerXpert installation directory to the portal server lib directory
% cp <IAS_SERVER_ROOT>/buyer/lib/classes12.jar <portal-server-installation-directory>/SUNWips/lib/
% cp <IAS_SERVER_ROOT>/ias/classes/java/jdbc20.jar <portal-server-installation-directory>/SUNWips/lib/
Expand the classes12.jar that you just copied
% cd <portal-server-installation-directory>/SUNWips/lib/
% jar -xvf classes12.jar
Configuring the iPlanet BuyerXpert Webserver
Due to security issues with Javascript, we changed the way content is rendered after a user is authenticated in iPlanet BuyerXpert. So it becomes necessary for us to configure the iPlanet WebServer that iPlanet BuyerXpert uses. This step requires copying some HTML template files to the docroot of the iPlanet BuyerXpert webserver (usually the directory called docs).
Copy the inbox.html, welcome.html and track.html templates to the docroot of the iPlanet BuyerXpert webserver.
% cp PORTAL_ROOT/templates/track.html <BUYER_WEB_SERVER_DOCROOT>/
% cp PORTAL_ROOT/templates/welcome.html <BUYER_WEB_SERVER_DOCROOT>/
% cp PORTAL_ROOT/templates/inbox.html <BUYER_WEB_SERVER_DOCROOT>/
Verify that the entries for bxInboxScreen, bxWelcomeScreen, and bxTrackScreen in the buyerInfo.properties files reflect the correct URLs for the three files that you just copied.
Adding the Channels to the User's Profile
All the required configuration steps have now been completed and you should test to see if you can view the channels as follows:
Log in to the iPlanet Portal Server as a user by accessing the following URL (if you are a new user, click the new user button to set yourself up):
http://<machine-name>:<port-number>/login?domain=/<domain-name>
Select the Content link and add one or all of the iPlanet BuyerXpert channels to the desktop.
The channel information is displayed.
If there are requisitions in iPlanet BuyerXpert that you created, or if there are any in your inbox, they are summarized in the appropriate channels.
The thin channels also display iPlanet BuyerXpert-specific information for the user in a much more concise fashion. For example, instead of displaying all the open requisition IDs, the thin channel for Open Requisitions only displays a count of the number of requisitions that are incomplete, pending approval, and so forth.
Testing Single Sign-on
Single sign-on is enabled for every user by default unless "no" or "false" was entered during new user registration.
If you are not sure what your settings are:
Log in to the iPlanet Portal Server.
Click Edit in the User Information channel (top left corner of the page).
There is a BuyerXpert Information section that contains all relevant settings.
If the value for "Enable Single sign-on" field is either "false" or "no", then it has been disabled for you.
If you want to change your BuyerXpert settings:
If single sign-on has been enabled for you:
Click the Requisition ID in the iPlanet BuyerXpert Track Requisition channel to automatically log in to iPlanet BuyerXpert. The Track Requisitions screen displays in a separate browser window.
Click the Requisition ID in the BuyerXpert Approval Inbox channel to automatically log in to iPlanet BuyerXpert. The Approval Inbox screen displays in a separate browser window.
Click any link in the thin channels to go to its relevant screen in iPlanet BuyerXpert.
Installing Reuters Multi-Currency Live Feed
With the Reuters (TM) multi-currency live feed, you can retrieve prices on multi-instrument and multi-field quote lists in a single request. You send a list of the instruments and the fields to the Reuters Investor portfolio server. The latest available prices for these instruments are returned in XML or HTML format. Optionally, you may specify a single base currency to convert all prices to that currency.
Up to twenty fields may be included in each request. The valid list of fields is included in the Reuters Investor Data Guides. By contract, you may not use any fields not included in the Data Guides.
Features of the multi-currency live feed include:
Investor dataset is designed for private investors
Lets you integrate Reuters investor data within your own web sites
Data delivered from Reuters Geneva or New York web farms through the internet
No Reuters hardware or software required
Simple-to-use URL syntax for programmers
"Ready-to-go" Reuters HTML templates for immediate use
"As-you-want" XML for integrating in your own applets
HTML Format
The HTML format is ready for immediate display in a browser. Using stylesheets, you can modify the Reuters default colors to match your web site's style.
XML Format
The XML format is for parsing using your server and reusing in new templates or applets. (To view the XML format in Netscape, select the right frame, click the right mouse button, and select View Frame Source.) You must respect Reuters online branding guidelines.
Before Installing
Your web site and server software that access Reuters Investors must have access to the public internet.
More information can be found at:
http://www.reuters.com/onlinemedia
Installation of Multi-Currency Live Feed
The file is located on Buyer CD $BX_HOME/currconv directory.
Contact Reuters to get the license.
Configure CCLoad.Properties file (sample below):
###############################
# Properties file that sets variables to pull data from Reuters
###############################
currConv.load.PullData.servername=webcache.sfbay.sun.com (PROXY_HOSTNAME_NULL_IF_DIRECT_INTERNET_CONNECTION)
currConv.load.PullData.serverPort=8080
currConv.load.PullData.reutersHostname=ri2.rois.com
currConv.load.PullData.reutersPort=80
currConv.load.PullData.reutersSession=SESSION_ID
currConv.load.PullData.reutersFormat=XML
currConv.load.PullData.reutersRICs=JPYX FX (CURRENCY)
currConv.load.PullData.outDir=YOUR_OUT_DIR
currConv.load.CCLoad.CCFFile=YOUR_DIR/euro_fixed_rates.xml
Configure variables in getData.csh file (sample below):
################################################################### ###
# This scripts pulls data from Reuters and populates the currencyconversion table
################################################################
# sets JAVA_HOME, LD_LIBRARY_PATH, CLASSPATH
source $BX_HOME/billxpert_env.csh (NEED MODIFY FOR BX4.5)
######################################
# Please change the values accordingly
######################################
setenv DATABASEPROPFILE $BX_HOME/currconv/database.properties
setenv REUTERS_PROP $BX_HOME/currconv/CCLoad.properties
$JAVA_HOME/bin/jre com.iplanet.ecomm.currconv.load.PullData $REUTERS_PROP
# here get the OUTPUTDIR from the properties file.
setenv OUTPUTDIR `grep currConv.load.PullData.outDir ${REUTERS_PROP} | sed 's/.*=//'`
if ( -d $OUTPUTDIR/.Pulldata ) then
${JAVA_HOME}/bin/jre com.iplanet.ecomm.currconv.load.CCLoad $OUTPUTDIR/.Pulldata
$DATABASEPROPFILE reuter ${REUTERS_PROP}
echo " Data Pull FAILED \!\!\! "
Verify variable currConv.load.CCLoad.CCFFile, what is euro_fixed_rates.xml file (sample below):
<?xml version="1.0" standalone = 'no'?>
<convDate>2000.11.29 11:48:34 GMT+05:30</convDate>
The Error logs are kept in /tmp directory (for example, CCLoadErr<date>_<time>.log).
Previous Contents Index Next
Copyright © 2002 Sun Microsystems, Inc. All rights reserved.
Last Updated June 10, 2002