Previous Contents DocHome Index Next |
iPlanet Trustbase Payment Services 1.0 Installation and Configuration Guide |
Chapter 4 Running the System
Once you've installed and configured, this chapter shows you how you can test your system is up and running correctly and processing payments requests as expected.
Starting the system
Before checking any particular component you must bring the individual components up and make sure that the system is actually running. Starting the system must be performed in a particular order otherwise components will fail to communicate properly. The order for starting the system is:
Oracle 8i
The following sections provide instructions for checking that components are running, starting and stopping each component.iMQ for Java 2.0 on both the Buyer and Seller Bank machines
Bank in a Box and iWS 6.0 on the Buyer and Seller Bank machines
Bank in a Box administration tool server and iWS 6.0 on the Buyer and Seller Bank machines
iTPS on the Buyer and Seller machines
iWS 4.1on both the Buyer and Seller Bank machines
JMS Proxy on both the Buyer and Seller Bank machinesiAS 6.0 on both the Buyer and Seller Bank machines
iTTM 2.2.1 on both the Buyer and Seller Bank machines
Oracle 8i
Oracle 8i is a complex product and the instructions are intended as a quick list of items that are useful when trying to determine the status of the Oracle installation.
Oracle program files: /opt/oracle/app/product/8.1.7/bin Oracle data files: /identrusdb/orcl
Useful information to check on the installation and make a note of:
Useful commands for starting and stopping Oracle. Checking Oracle is running can be performed by looking at the running processes using the process grep or process list commands. If Oracle is not running then you will need to log in as the Oracle superuser and start the Oracle.
nCipher
To check that the nCipher is running perform a process list on each machine. If no nFast process is in the list you will need to start the nFast hard server using the appropriate command.
nfast 4241 1 0 Mar 05 ? 0:22 ../sbin/hardserver -llogfile
nfast 4246 4241 0 Mar 05 ? 0:10 ../sbin/hardserver -llogfile
nCipher KeySafe 1.0
http://www.ncipher.com
iMQ for Java 2.0
iMQ for Java 2.0 needs to be started before iTPS can be run. The following illustrates this:==================================================================
iPlanet Message Queue for Java
Version: 2.0 SP1 (Build 321-b)
Compile: Fri Aug 3 10:30:43 PDT 2001
This product includes code licensed from RSA Data Security.
==================================================================
Java Runtime Version: 1.3.0_02 Sun Microsystems Inc. /opt/SUNWjmq/jre
[06/Sep/2001:12:50:15 GMT] [B1060]: Loading persistent data...
[06/Sep/2001:12:50:16 GMT] [B1039]: Broker "jmqbroker@windstorm:7676" ready.
This will create a JMQ broker that was the default port 7676. If you want to specify a different port then use:
./jmqbroker -port <portnumber>
Bank in a Box
To run the Bank in a Box, run the biab script located in the scripts directory. The script accepts the following arguments, although none are required for normal operation
If the server was started in admin mode, user management may be performed at the BiaB command line. The following commands are accepted:
Bank in a Box Back End can be started as follows:
bash-2.03# ./scripts/biab -debug
[AUDIT] Starting BIAB [V1.0-1001500003703-18]
Bank in a Box administrator tool
The Bank in a Box administrator tool is a Web server application running on iAS 6.0. To check that the Web Server is running use the grep command given below. If the server is not running then start the admin server and use the tools within the adminserver to manage the web server
nobody 9876 1 0 12:52:08 0:00 ./uxwdog -d /opt/iws6/https-<Host-Name>/config
nobody 9877 9876 0 12:52:08 0:01 ns-httpd -d /opt/iws6/https-<Host-Name>/config
http://docs.iplanet.com/docs/manuals/enterprise/50/ig/contents.htm
http://docs.iplanet.com/docs/manuals/enterprise/50/ag/esgstart.htm#1003083
iTPS
The iTPS is reliant on three components running:If all these components have been started correctly then the iTPS component should be available. To check to ensure that the components are running, use the grep commands shown in the tables below. If iTTM is running, but iAS is not, shutdown the iTTM and restart the components starting with iAS 6.0 .
iWS 4.1
nobody 9876 1 0 12:52:08 0:00 ./uxwdog -d /opt/netscape/server4/https-<Host-Name>/config
nobody 9877 9876 0 12:52:08 0:01 ns-httpd -d /opt/netscape/server4/https-<Host-Name>/config
also /opt/netscape/server4/https-admin/config if the admin is running
http://docs.iplanet.com/docs/manuals/fasttrak/41/ig/contents.htm
http://docs.iplanet.com/docs/manuals/fasttrak/41/ag/esgstart.htm#998517
iAS 6.0
Directory Admin: 20000, kas admin:10817, Directory server: 389
To get just the 'kiva' processes (the ones that do the jvm work) do a ps -ef | grep k.s
root 10066 10064 0 14:33:21 0:03 /opt/iplanet/ias6/ias/bin/.kjs -cset CCS0
root 10059 9504 0 14:33:16 pts/6 0:00 /opt/iplanet/ias6/ias/bin/.kas
root 9504 1 0 12:47:38 pts/6 0:00 /bin/sh /opt/iplanet/ias6/ias/bin/kas
root 10070 1 0 14:33:25 0:00 /bin/sh /opt/iplanet/ias6/ias/bin/kcs -cse t CCS0 -eng 2
root 10064 1 0 14:33:21 ? 0:00 /bin/sh /opt/iplanet/ias6/ias/bin/kjs -cset CCS0 -eng 1
root 1061 1 0 14:33:19 ? 0:00 /bin/sh /opt/iplanet/ias6/ias/bin/kxs -cset CCS0 -eng 0
root 10072 10070 0 14:33:25 ? 0:00 /opt/iplanet/ias6/ias/bin/.kcs -cset CCS0 -eng 2
root 10062 10061 0 14:33:19 ? 0:01 /opt/iplanet/ias6/ias/bin/.kxs -cset CCS0 -eng 0
nobody 8174 1 0 12:45:04 ? 0:04 ./ns-slapd -f /opt/iplanet/ias6/slapd-unix
d02/config/slapd.conf -i /opt/iplanet/ias6/slapd-<Machine-name> (check?)
kxs_0_CCS0: Contains information about the incoming message and the plugin start and stop
kjs_0_CCS0: Contains the standard out from any running java process - can contain some debug information.
http://www.iplanet.com/products/infrastructure/app_servers/index.html
iTTM 2.2.1
Admin via web: 80 (http://10.211.20.50/NASAdapter/logon.html)
root 9658 1 0 12:47:48 pts/6 0:04 /usr/bin/../java/bin/../jre/bin/../bin/sparc/native_threads/java uk.co.jcp.app.
root 9713 1 0 12:47:53 pts/6 0:08 /usr/bin/../java/bin/../jre/bin/../bin/sparc/native_threads/java uk.co.jcp.tbas
root 9790 1 0 12:48:03 pts/6 0:12 /usr/bin/../java/bin/../jre/bin/../bin/sparc/native_threads/java uk.co.jcp.secu
http://docs.iplanet.com/docs/manuals/trustbase/221/install/contents.htm
If not already running, In a separate window start the iMQ message queue:
/opt/SUNWjmq/bin/jmqbroker -tty
To run the JMS proxy, run the jmsproxy script located in the scripts directory as
- <jms_install_directory>/jmsproxy/scripts/jmsproxy
Buyer and Seller web applications
These Web applications are both deployed on top of the iWS 6.0 installations on the Buyer and Seller Web site machines. In order to check that these applications are available, use a browser to go to the appropriate URL.
nobody 9876 1 0 12:52:08 0:00 ./uxwdog -d /opt/iws6/https-<Host-Name>/config
nobody 9877 9876 0 12:52:08 0:01 ns-httpd -d /opt/iws6/https-<Host-Name>/config
http://docs.iplanet.com/docs/manuals/enterprise/50/ig/contents.htm
http://docs.iplanet.com/docs/manuals/enterprise/50/ag/esgstart.htm#1003083
If the Web Servers are not running then use the process grep (on the host machine) to check that the web server is running. If the Web Server process is not running then start the webserver using the admin console.
Running the Models
We now describe how to run the system for each main kind of Payment Model
Running the Three Corner Model
In this situation the Buyer's Bank is the same as the Seller's Bank, i.e. the buyer and the seller have both been issued with certificates from the same Financial Institution.
User interfaces with the Seller's Website, in this case TooledUp, and initiates a payment
Payment Message gets sent to the iPlanet Trustbase Payment Services Server
iPlanet Trustbase Transaction Manager informs its backend system or in this example Bank in a Box.
Bank in a Box then sends confirmation of payment to TooledUp
The status of this payment initiation is returned back to the seller and hence buyer.
Running the Four Corner Model (SFIM)
Buyer interfaces with Seller's Website, in this particular instance TooledUp, and initiates a payment.
Payment Message gets sent to iPlanet Trustbase Payment Services Server at the Seller's Bank informs its back end systems that in turn informs the Buyers Bank.
Buyers Bank informs back end system, in this case Bank in a Box.
A response is returned to its financial institution
The SFI on receiving the response from the BFI informs its back end systems and response gets sent to the Sellers Website confirming payment.
Making a Payment via the Buyers Bank (BFIM)
If the Subscriber signed data is signed by the Buyer then
Buyer initiates payment from the Buyers Bank Website
If the seller has signed the subscriber signed data thenPayment Message is sent to iPlanet Trustbase Payment Services that in turn informs the Buyers Bank back end systems.
Response gets returned to Buyers Bank Website
Buyer initiates payment from the Buyers Bank Website
Payment Message is sent to iPlanet Trustbase Payment Services that in turn informs the Buyers Bank back end systems.
The BFI informs the seller's SFI
The SFI informs its back end systems
BFI responds back to the buyer
Note More Information about how each payment scheme defines its Models and Payment products can be found at http://www.identrus.com Example supported Schemes include:
Eleanor Payment Reference Specification
Initiating Payment via Sellers Website TooledUp
You can test the system has been installed correctly by going to the Tooledup Website and initiating a payment as follows.
Go to TooledUp http://<server_name>:<port>/<uri_path>/tooledup
Figure 4-1    TooledUp Main Menu
![]()
Insert Your Smart Card and login. The following menu appears
Figure 4-2    TooledUp Ltd Catalogs
![]()
Select a product to purchase
Figure 4-3    TooledUp Category Selection
![]()
Add it to the Shopping Basket
Figure 4-4    Add to Shopping Basket
![]()
Shopping Basket Details
Figure 4-5    Shopping Bag Details
![]()
Make delivery Details
Figure 4-6   
![]()
Enter Delivery Details
Make payment. Select Submit at the bottom of the Delivery screen menu
Confirm Delivery Details and Payment type
Figure 4-7    Payment Type
![]()
Confirm Delivery Details
Figure 4-8    Confirm Delivery Details
![]()
Payment Accepted
Figure 4-9    Payment Accepted
![]()
Payment Confirmation
Via your API com.iplanet.trustbase.initiator.cpi
Viewing the Identrus raw_data log (see your iPlanet Trustbase Transaction Manager Developer Guide http://docs.iplanet.com/docs/manuals/trustbase/221/dev/ittm22dn.htm#131923 )
Editing IWS6 startup UNIX script
Check Order List. Finally there is a Tooled Up screen to display confirmed payment requests.
- by adding a debug feature as follows:
./ns-httpd -d $PRODUCT_SUBDIR/config
./$PRODUCT_BIN -d $PRODUCT_SUBDIR/config $@
- then run the script as
Figure 4-10    Order List
![]()
Running Bank in a Box Back End
Once the classpath is correct and the queue properties are set, restart the server instance. For instance:
If not already running, In a separate window start the iMQ message queue:
If not already running, in a separate window start the jmsproxy
Start the bank in a box back end in a separate window:
Once deployed successfully, the Web Site can be accessed from the browser with the following url.
http://<hostname>:<port>/<uri_path>/Biab
Running Bank in a Box Admin Tool
The Bank in a Box (BiaB) has been expanded to allow it to present a user interface permitting examination of messages received, and sending of response messages. This allows a standard installation of iTPS to be used in a live system, by requiring manual intervention between the BiaB interface and the real bank back end infrastructure. Clearly, this approach is only feasible for very low transaction volumes, but does allow evaluation of the product prior to full scale integration with the existing back end infrastructure. The system also allows you to acknowledge Payments. The following provides a walkthrough of this operation
Make Sure your BiaB Backend Server is running and a username and password has been allocated to. This can be changed by starting the BiaB in Admin mode and typing
Load the following URL in your browser:
Figure 4-11    Bank in a Box MainMenu
![]()
Figure 4-12    Bank in a Box Admin Tool Homepage
Select <messages in progress>
An example screen containing some messages now follows. Clearly the first time there will be no messages.
Figure 4-13    BiaB Message Screens
![]()
Figure 4-14    BiaB message searching
![]()
Figure 4-15    BiaB Message Details
![]()
Figure 4-16    Acknowledging a message
![]()
Figure 4-17    An XML Message
![]()
Initiating Payment via Buyers Bank Website
This example is of a Web Site hosted by the Buyer's bank accessed by Buyers who belong to the Eleanor Payment Scheme. It provides the ability for the buyer to initiate payment requests and cancellations directly with its bank.
Figure 4-18    Buyers Bank Website Homepage
![]()
Figure 4-19    Initiate Payment
![]()
Details of what each of these fields mean can be found in your payment Scheme Specification
Check the details you have entered are correct and sign the payment using your buyers certificate you configured in the previous chapter
Figure 4-20    Sign Payment
![]()
Finally when the payment has been initiated a Payment message will be sent to the URL of the Buyers Bank in which you installed iPlanet Trustbase Payment Services on. The following steps take place:
Figure 4-21    Payment Initiation completed successfully
![]()
Information appears on the Buyers Screen confirming payment. Select <List Payment> to check the information that you have entered has been processed as a payment.
Figure 4-22    List Payment
![]()
Running the CPI Test program
Please refer to "Installing the CPI API (step 5)"
Previous Contents DocHome Index Next
Copyright © 2001 Sun Microsystems, Inc. Some preexisting portions Copyright © 2001 Netscape Communications Corp. All rights reserved.
Last Updated December 03, 2001