Hi,

I wanted to try the CMP example from 'Mastering EJB 2nd Edition'. After I had my classes compiled and the necessary ejb-jar.xml, I wanted to package and deploy with deploytool. But how can I give deploytool my deployment descriptor instead of letting the deploytool build one? And how do I do the mapping to DB fields?
For weblogic you have an additional descriptor but how to do that with J2EE RI? After packaging the verifier gives me the following error:

EJB QL method : public abstract java.util.Collection examples.ProductHome.findAllProducts(double) throws javax.ejb.FinderException,java.rmi.RemoteException

This seems to be caused be an error in the generated ejb-jar.xml:

<ejb-ql>SELECT OBJECT(a) FROM ProductBean AS a WHERE description = ?1</ejb-ql>

The OQL query is not inside a CDATA section.
What's the problem with the deploytool?
Many questions, I know, but I'm waiting desparately to get any hints.

TIA
Frank