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
- Copy rjax.jar from
[RJAX installation Dir]\client\lib
and rjaxADODB.jar to
[iasp_root]\lib folder
of the machine running iASP.
- Edit the start-server.sh script so that both rjax.jar
and rjaxADODB.jar are
included in the classpath.
- 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
- Edit the sample scripts to include the hostname and the port on which
the RJAX Server is listening.
- 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'.
- connected = conn.connect("betelgeuse",
2099, "ted", "goiter", "halcyon.rjax.comm.TCPClientAdapter")
- 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.
- Restart your iASP server and your RJAX server.
- You should now be able to display DispAuthors.asp in your browser.
|