There's an error in this doc - the Point-to-Point MDB example ejb-jar on page 321 has the <resource-ref> element included *after* <res-ref-name>. Not such a problem if you actually read the docs, but very frustrating if you cut and past the example and it doesn't work...