My Screenshot 1
Tuesday, March 31, 2009
Friday, March 6, 2009
Web services for ISO8583 Messaging using MultiXTpm ISO 8583 Server
MultiXTpm ISO 8583 Server exposes a web service to receive ISO8583 messages.
ISO 8583 Messages are used for financial transaction messaging including Credit Card / POS transaction messages.
MultiXTpm ISO 8583 Server comes bundled with the MultiXTpm Application Server developed by Moshe Shitrit, who is also extremely helpful by the way :).
This document explains how to deploy MultiXTpm ISO 8583 Server (and in effect MultiXTpmApplicationServer-4.0.8a) on a Ubuntu 8.04. It is intended to be quick guide for newbies as well as a reference for me as I may not remember these steps next week !
1) First Install MultiXTpmApplicationServer
The basic installation was done by following Igor Custodio's excellent posting on A How-to compile MultiXTpm in Ubuntu 8.04.
However, the following modifications had to be done in addition to the instructions given in A How-to compile MultiXTpm in Ubuntu 8.04.
The LD_LIBRARY_PATH and PATH variables needed to include the current directory (.) to run the mentioned .sh scripts. Therefore the export statements in Step 6, were modified as follows.
export MultiXTpm="/home/srimal/MXTPM/MultiXTpmApplicationServer"
export PATH=.:$PATH:"${MultiXTpm}"/runtime
export TMAKEPATH="/usr/share/tmake/linux-g++/"
export LD_LIBRARY_PATH=.:"${LD_LIBRARY_PATH}":"${MultiXTpm}"/runtime
export CPATH="/home/srimalj/MXTPM/gsoap-2.7/gsoap:/home/srimalj/MXTPM/gsoap-2.7/gsoap/extras"
export CPLUS_INCLUDE_PATH=/usr/include/mysql++/:/usr/include/mysql/
These exports were added to the end of my /etc/bash.bashrc for convenience.
(I have installed in my home directory /home/srimal -- change as appropriate)
Also install the following packages if you already don't have them.
$ sudo apt-get install libmysql++-dev
Plus any other libraries that you do not have already but are mentioned in the above export statements. (Hint: Missing header files are usually in xxx-dev package for package xxx)
2) Next Install MultiXTpm ISO 8583 Server
To do this, change in to the ISO8583Server directory .
$ cd ${MultiXTpm}/ISO8583Server
The next few steps require the environment variables exported before. (Its a good idea to add it to /etc/bash.bashrc and start with a new terminal -- or do a . /etc/bash.bashrc if you prefer to use the same terminal window)
Next we Build everything.
$ ./LinuxBuildAll.sh
Then Make the runtime environment.
$./MakeRuntime.sh
(Don't worry if it says the runtime exists)
Now change to the runtime directory
$ cd runtime
and run MultiXTpm
$ MultiXTpm
This should start up the MultiXTpm process which will in turn spawn the four processes needed for ISO 8583 Server:
This is what my console looks like.
Based on the default TpmConfig.xml the Web Service will be accepting connections on port 38583. So my connection end point looks like "http://localhost:38583/" .
ISO 8583 Messages are used for financial transaction messaging including Credit Card / POS transaction messages.
MultiXTpm ISO 8583 Server comes bundled with the MultiXTpm Application Server developed by Moshe Shitrit, who is also extremely helpful by the way :).
This document explains how to deploy MultiXTpm ISO 8583 Server (and in effect MultiXTpmApplicationServer-4.0.8a) on a Ubuntu 8.04. It is intended to be quick guide for newbies as well as a reference for me as I may not remember these steps next week !
1) First Install MultiXTpmApplicationServer
The basic installation was done by following Igor Custodio's excellent posting on A How-to compile MultiXTpm in Ubuntu 8.04.
However, the following modifications had to be done in addition to the instructions given in A How-to compile MultiXTpm in Ubuntu 8.04.
The LD_LIBRARY_PATH and PATH variables needed to include the current directory (.) to run the mentioned .sh scripts. Therefore the export statements in Step 6, were modified as follows.
export MultiXTpm="/home/srimal/MXTPM/MultiXTpmApplicationServer"
export PATH=.:$PATH:"${MultiXTpm}"/runtime
export TMAKEPATH="/usr/share/tmake/linux-g++/"
export LD_LIBRARY_PATH=.:"${LD_LIBRARY_PATH}":"${MultiXTpm}"/runtime
export CPATH="/home/srimalj/MXTPM/gsoap-2.7/gsoap:/home/srimalj/MXTPM/gsoap-2.7/gsoap/extras"
export CPLUS_INCLUDE_PATH=/usr/include/mysql++/:/usr/include/mysql/
These exports were added to the end of my /etc/bash.bashrc for convenience.
(I have installed in my home directory /home/srimal -- change as appropriate)
Also install the following packages if you already don't have them.
$ sudo apt-get install libmysql++-dev
Plus any other libraries that you do not have already but are mentioned in the above export statements. (Hint: Missing header files are usually in xxx-dev package for package xxx)
2) Next Install MultiXTpm ISO 8583 Server
To do this, change in to the ISO8583Server directory .
$ cd ${MultiXTpm}/ISO8583Server
The next few steps require the environment variables exported before. (Its a good idea to add it to /etc/bash.bashrc and start with a new terminal -- or do a . /etc/bash.bashrc if you prefer to use the same terminal window)
Next we Build everything.
$ ./LinuxBuildAll.sh
Then Make the runtime environment.
$./MakeRuntime.sh
(Don't worry if it says the runtime exists)
Now change to the runtime directory
$ cd runtime
and run MultiXTpm
$ MultiXTpm
This should start up the MultiXTpm process which will in turn spawn the four processes needed for ISO 8583 Server:
- MultiXTpm – Application Server, Router, load balancer.
- ISO 8583 Issuer Gateway FE – Listener and communications handler, receivng requests from Remote Acquirer Gateways or POS terminal.
- ISO 8583 Issuer Gateway WS FE – Listener and communications handler, receivng requests from Remote Acquirer Gateways or POS terminal that use SOAP/XML Web Services client software.
- ISO 8583 Back End and/or ISO 8583 Authorizer – The Business Logic handler. Acts locally on POS terminals requests or forwards requests to the next Issuer Gateway in the chain.
- ISO 8583 Acquirer Gateway FE – Connection initiator and communications handler. Handles all data transfers to remote Issuer Gateways.
This is what my console looks like.
Based on the default TpmConfig.xml the Web Service will be accepting connections on port 38583. So my connection end point looks like "http://localhost:38583/" .
Thursday, February 19, 2009
GUI Database Designer for MySQL
Wednesday, February 18, 2009
Blue Tooth Remote Presenter on Ubuntu 8.04
Install these
Scan for the phone,
We see something like
Connect like this,
Use the phone ;)
sudo apt-get install bluez-utils
Scan for the phone,
hcitool scan
We see something like
00:11:22:AA:BB:CC w810-Srimal
Connect like this,
sudo hidd --connect 00:11:22:AA:BB:CC
Use the phone ;)
Monday, November 10, 2008
Grails - Acegi -- Set After Logout page
Crate a new action with the following code:
import javax.servlet.http.HttpSession
class LogoutController {
...
action {
HttpSession s = request.getSession()
s.invalidate()
redirect(controller:"itemPrice", action:"listDOA") // this is the new after
}
}
import javax.servlet.http.HttpSession
class LogoutController {
...
action {
HttpSession s = request.getSession()
s.invalidate()
redirect(controller:"itemPrice", action:"listDOA") // this is the new after
}
}
Wednesday, November 5, 2008
How to restore Grub from a live Ubuntu cd.
How to restore Grub from a live Ubuntu cd.
This will restore grub if you already had grub installed but lost it to a windows install or some other occurence that erased/changed your MBR so that grub no longer appears at start up or it returns an error.
(This how to is written for Ubuntu but should work on other systems. The only thing to take note of, when you see "sudo" that will mean to you that the following command should be entered at a root terminal.)
Boot into the live Ubuntu cd. This can be the live installer cd or the older live session Ubuntu cds.
When you get to the desktop open a terminal and enter. (I am going to give you the commands and then I will explain them later)
Code:
sudo grub
Code:
find /boot/grub/stage1
Next, THIS IS IMPORTANT, whatever was returned for the find command use it in the next line (you are still at grub>. when you enter the next 3 commands)
Code:
root (hd?,?)
Next enter the command to install grub to the mbr
Code:
setup (hd0)
Code:
quit
When you reboot, you will have the grub menu at startup.
Reference
http://ubuntuforums.org/showthread.php?t=224351
Tuesday, October 7, 2008
Subscribe to:
Posts (Atom)

