You should probably try the following:
ctx.lookup("java:comp/env/jdbc/JZHDB") if you created a reference especially for that bean. Otherwise the datasource does not exist, if the posted JNDI name is the real name of the
entry.
------------------
Marco Barenkamp
____________________________________________
L M I N T E R N E T S E R V I C E S AG
Senior Trainer & Architect,
BEA Certified Enterprise Developer
Sun Certified Programmer for the Java2 Platform
Sun Certified Web Component Developer for the Java2 Platform
Sun Certified Developer for the Java 2 Platform
Sun Certified Enterprise Architect for the Java 2 Platform Enterprise Edition (PI)