Monday, February 16, 2004

An amazing phrase 'They asked for ammunition.'

Normally, I eschew public commentary on this blog but today I read a blog entry that moved me deeply. The Belmont Club blog doesn't list its writer's name but he certainly knows how to write. At the end of a note about terrorists attacking Iraqi police targets he says:

"That when dying and bleeding, beset by the flower of terrorism, with pistol to set against automatic rifle and grenade, the Iraqi police did not ask for help from 82nd Airborne. They asked for ammunition."

How proud the mothers and fathers of those policemen must be.

Thursday, February 05, 2004

Connecting to Sonic XIS from Ant Custom Task Using Java

Making the connection from my desktop computer to the remote XIS server required three steps. Determining the steps required the help of the Sonic support team and took a non-trivial amount of time so let me document them here.

  1. Set the com.exln.dxe.iorport property in the [XIS_HOME]/config/ file. Mine is set to 1052. Note that actual port number that you pick is unimportant as long as it is between com.exln.dxe.minorbport (1051 by default) and com.exln.dxe.maxorbport (1055 by default).
  2. In the same file, set the property to the fully qualified host name or the IP address of the XIS server or cluster.
  3. Use the following code as a template for your own connections in your client code. Make sure that the IORPORT number that you use is the same as that in the file.
    		Properties p = new Properties();
    		p.setProperty("com.exln.dxe.adminhost", [IP_ADDRESS_OF_XIS_SERVER]);
    		p.setProperty("com.exln.dxe.adminport", "1050");
    		p.setProperty("com.exln.dxe.iorport", "[IORPORT_NUMBER");
    		try {
    			this.session = XlnClientSessionFactory.getSession(p);
    			if (this.session == null) {
    		} catch (Exception e) {
    			LogConfiguration.message(e, "UNABLE_TO_GET_CLIENT_XIS_SESSION");
Good Luck!