Debugging a DataBlade module

Debugging a DataBlade® module is usually an iterative process, repeated several times until the code is debugged.

About this task

The debugging process has the following general steps:

Procedure

  1. Compile the JAR file (if necessary).
  2. Install the DataBlade module shared object and SQL scripts in the $INFORMIXDIR/extend/project directory.
    See Installing a DataBlade module for more information.
  3. Start your database server while logged on as the informix user.
    See the HCL OneDB™ Administrator's Guide for more information.
  4. Register the DataBlade module by using BladeManager (if necessary).
    See the Register a DataBlade module for more information.
  5. If you are replacing an existing JAR file, shut down and restart the database server.
    See Replace a DataBlade module JAR file for more information.
  6. Execute a query that calls the method by using an SQL query tool such as DB-Access or SQL Editor.
    See the HCL OneDB DB-Access User's Guide for more information.
  7. Examine the Java™ log file for errors.
    See Logging and error handling for more information.
  8. Edit the source code (if necessary).
  9. Repeat the procedure, as necessary.