Q) How do I configure R-JAX in conjunction with iASP so that I can access databases running on MS Windows from a non-Windows platform?

A) Before continuing, iASP must be installed on the machine from which you want to access the Windows database. You can get a copy of iASP from: http://www.halcyonsoft.com/products/chooseproduct.asp. RJAX must also be installed on the Windows 9x/NT/2000 machine that hosts the ODBC database. You can get a copy of RJAX from: http://www.halcyonsoft.com/products/rjax_reg.asp

Configuration

  1. Copy rjax.jar from [RJAX installation Dir]\client\lib and rjaxADODB.jar to [iasp_root]\lib folder of the machine running iASP.
  2. Edit the start-server.sh script so that both rjax.jar and rjaxADODB.jar are included in the classpath.
  3. Copy and unzip the sample scripts into a virtual directory of your iASP web server. You can download the sample scripts from: http://www.halcyonsoft.com/support/rjax/rjax_ado.zip
  4. Edit the sample scripts to include the hostname and the port on which the RJAX Server is listening.
  5. EXAMPLE: In this example, the name of the host running RJAX is 'betelgeuse', and the port on which RJAX is listening for connections is 2099. The username is 'ted' and the password is 'goiter'.
  6. connected = conn.connect("betelgeuse", 2099, "ted", "goiter", "halcyon.rjax.comm.TCPClientAdapter")
  7. Next, create a DSN for the biblio1.mdb database, included in the rjax_ado.zip file, on your Windows machine, and make sure the DSN Name in the script, GetConn.asp, is the same.
  8. Restart your iASP server and your RJAX server.
  9. You should now be able to display DispAuthors.asp in your browser.


Copyright © 1998-2002, Halcyon Software Inc. All rights reserved.