Thanks, roboticus. The DB connection fails with this message: Total Environment allocation failure! Did you set up your DB2 client environment? That's because the webserver account doesn't have the client enviroment set up, even though my account on the webserver does?