Previous Contents Index DocHome Next |
SellerXpert 4.1 SP1 Installation Guide |
Chapter 5 Installing Additional Software
Additional software must be installed to operate SellerXpert correctly. Some of this software is not included in the SellerXpert CD and must be purchased separately. See the "Requirements" in Chapter 1 for a list of software included on the SellerXpert installation package.The following sections are contained in this chapter:
Installing ECXpert
Installing ECXpert
ECXpert handles the exchange of business documents and messages between SellerXpert and legacy systems. The primary ECXpert services used by SellerXpert are data transmission, a variety of communications protocols, and document tracking.See the ECXpert documentation for installation instructions.
Deploying the Portal Channel
All the files related to portal integration have been packaged along with SellerXpert and they will be present in the SERVER_ROOT/seller/seller/BXPORTAL directory, which is referred to as PORTAL_ROOT here, since the 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 the portal server is installed.To deploy the SellerXpert portal channel and other functionality, the following steps are required:
Deploying the Authentication Modules
Adding the Channels to the Available Channels List
Adding the Channels to the User Profile
Anonymous Logon to Portal and Enabling SellerXpert Channel to Anonymous Portal Users
Deploying the Authentication Modules
SellerXpert integration in portal relies on certain SellerXpert-specific attributes that are set up in the user profile when a new user is created. This changes some of the template files used by the portal authentication module to facilitate creation of the specific attributes. You will need to perform the following steps:
Shut down your portal server:
If you are successful, the following message displays: Operation Completed Successfully.
Back up your existing templates:
- % cd <portal-server-installation-directory>
- % cd SUNWips/bin
- % ./ipsserver stop
Copy the new templates from the PORTAL_ROOT:
- % cd /etc/opt/SUNWips/auth/default
- % mv Membership.properties Membership.properties.orig
- % mv register.html register.html.orig
Back up the template for UserInfo:
- % cp PORTAL_ROOT/config/Membership.properties /etc/opt/SUNWips/auth/default/
- % cp PORTAL_ROOT/templates/register.html /etc/opt/SUNWips/auth/default/
Add a new component for loading buyer-specific attributes for the user during authentication:
- % cd /etc/opt/SUNWips/desktop/default/iwtUserInfoProvider
- % mv edit.template edit.template.orig
Start up the portal server:
- % cp PORTAL_ROOT/xml/bxAuth.xml /etc/opt/SUNWips/xml/
Import the component:
- % cd <portal-server-installation-directory>
- % cd SUNWips/bin
- %./ipsserver start
- % cd <portal-server-installation-directory>
- % cd SUNWips/bin
- % ./ipsadmin -import /etc/opt/SUNWips/xml/bxAuth.xml
To verify success, access the domain that you created after you installed portal server. On the logon page for that domain, click New User. You will see a form with some SellerXpert-specific fields, such as SellerXpert User ID. Complete the form and register. If the submission proceeds correctly, a disclaimer page, or an error, displays on the browser page.
Deploying the Channels
Add the SellerXpert-related channels to the portal server, then configure them as follows:
Copy the sellerxinfo.properties file to some location and make sure that is accessible by the portal:
<portal-server-installation-directory>/SUNWips/sample/desktop/xml/
Edit the entries in the sellerxinfo.properties file and define all the SellerXpert-related URLs appropriately.
- % cp PORTAL_ROOT/config/sellerxinfo.properties /etc/opt/SUNWips/config
Note Create the configuration directory before copying.
Copy the XML descriptors for the channels:
- % cp PORTAL_ROOT/xml/iwtSSOSellerXProvider.xml
Edit both XML descriptors to reflect the location of the properties file using your preferred text editor:
After importing each of the descriptors, the following message displays: Operation completed succesfully.
Import the XML descriptors using ipsadmin:
- A. Look for an attribute called fileLocation.
- B. Change the value for this attribute from "/export" to the location of the properties file.
- C. Save and close the descriptors.
Note Keep the sellerxinfo.properties file in /etc/opt/SUNWips/config ONLY.
- % cd <portal-server-installation-directory>
- % cd SUNWips/bin
- % ./ipsadmin -import <portal-server-installation-directory>/SUNWips/sample/desktop/xml/iwtSSOSellerXProvider.xml
Copy the class files to the portal:
Edit the jvm12.conf file in the webserver config directory to include the servlet directory in the classpath of the webserver:
- % 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/
Edit the jvm12.conf file by locating the jvm.classpath variable and appending the following:
- % cd <portal-server-installation-directory>/netscape/server4/https-<webserver>/config
- <portal-server-installation-directory>/SUNWips/public_html/servlet:
- <portal-server-installation-directory>/SUNWips/public_html.
Adding the Channels to the Available Channels List
Add the channels to the available channels as follows:
Access the portal server admin console by entering the following URL:
Log on as root.
- http://<machinename>:<port>/console.
Click the Manage Domains link and select the domain that you created.
Expand the Applications link and select Desktop. The Available and Selected Providers list windows appear.
In the Channel Name text box, type:
In the Class Name textbox, type:
- iwtSSOSellerXProvider
Click Add, then click Submit to update the profile server.
- com.iplanet.portalserver.providers.buyerx.SSOSellerXProvider
Configuring the Portal Server
Configure the portal server as follows:
Verify that the portal server is shut down.
Because the portal installation runs on a different web server, all SellerXpert-related images cannot be seen when you do a single sign on through portal. A workaround is to create a link in the portal server docroot directory to the images directory on the SellerXpert web server.Edit the obj.conf of the portal webserver to add a redirect:
Add the following line to the obj.conf, below <Object name=default>:
- % cd <portal-server-installation-directory>/netscape/server4/https-<webserver>/config
- NameTrans fn="redirect" from="/NASApp/seller/" url-prefix="http://<server name of seller>:<port num of seller>/NASApp/seller/"
Adding the Channels to the User Profile
Configuration is now complete. Test to see if you can view the channels as follows:
Log into the portal as a user by accessing the following URL:
After you log on, select the Content link and add the listed SellerXpert channel.
Anonymous Logon to Portal and Enabling SellerXpert Channel to Anonymous Portal Users
Anonymous logon to portal means you are allowed to enter portal without registering. iPlanet Process Server 3.0 SP2 provides the option to enable the guest entry.The following link provides the steps for installing SP2:
Follow the steps at this link using an anonymous authentication section (which helps you to go directly to the desktop page), then follow these steps:
- http://docs.iplanet.com/docs/manuals/portal/30/REL_NOTEiPS3SP2.html
Log on to the portal server as admin at the following location:
Add the required channel to the anonymous user.
- http://<host.domain.subdomain>:port/console)
Provide the root user ID and password.
Click Manage Domains and expand your domain link.
Add the channel name (iwtSSOSellerXProvider) and classname (com.iplanet.portalserver.providers.buyerx.SSOSellerXProvider) in the respective text fields.
Move the added channel to the "Selected Channels" list box.
Enter portal as an anonymous user. The channels that have been added under the anonymous user displays.
Configuring Portal Server URLs for SellerXpert
As a part of integrating portal server and SellerXpert, SellerXpert needs various URLs of portal server to communicate and transfer information to the portal server.These URLs are added in the NTV file $IAS_HOME/seller/seller/config/membership/appInfo.ntv. Modify the NTV file by replacing <portalserver-hostname>:<port> with the actual value. After changing the values, the NTV file should be:
"logout" Str "http://buyer04.india.sun.com:8080/DesktopServlet",
"URL" Str "http://buyer04.india.sun.com:8080/servlet/PortalUpdater",
Miscellaneous Tips
If both SellerXpert and portal are installed on the same machine, they must have unique port numbers.If you restart the portal server, it stops the LDAP process of SellerXpert; therefore, you need to explicitly restart the SellerXpert LDAP process.
Installing Reuters Multi-Currency Live Feed
With this product, 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 can 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, right click click 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 SellerXpert CD $SX_HOME/currconv directory.
Contact Reuters to get the license.
Configure the 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 the getData.csh script (sample below):
################################################################### ###
# This scripts pulls data from Reuters and populates the currencyconversion table
################################################################
# sets JAVA_HOME, LD_LIBRARY_PATH, CLASSPATH
source $SX_HOME/billxpert_env.csh (NEED MODIFY FOR SX4.1)
######################################
# Please change the values accordingly
######################################
setenv DATABASEPROPFILE $SX_HOME/currconv/database.properties
setenv REUTERS_PROP $SX_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>
Check the logs. The Error logs are kept in the /tmp directory (for example, CCLoadErr<date>_<time>.log).
Previous Contents Index DocHome Next
Copyright © 2001 Sun Microsystems, Inc. Some preexisting portions Copyright © 2001 Netscape Communications Corp. All rights reserved.
Last Updated September 07, 2001