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
- Compile the JAR file (if necessary).
- Install the DataBlade® module
shared object and SQL scripts in the $INFORMIXDIR/extend/project directory.
See Installing a DataBlade module for more information.
- Start your database server while logged on as the informix user.
See the Informix® Administrator's Guide for more information.
- Register the DataBlade® module
by using BladeManager (if
necessary).See the Register a DataBlade module for more information.
- 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.
- Execute a query that calls the method by using an SQL query
tool such as DB-Access or SQL Editor.See the Informix® DB-Access User's Guide for more information.
- Examine the Java™ log
file for errors. See Logging and error handling for more information.
- Edit the source code (if necessary).
- Repeat the procedure, as necessary.