Check webserver logs about what error is it.
Alternatively you can just put at beginning of code:
ini_set('display_errors', true);
error_reporting(E_ALL);
Also, this tutorial is also about DB2. Check it too.
Work with XML Data in the Zend FrameworkWork with XML Data in the Zend Framework « View Tutorial*