Marina,
Thanks! You were right on the money. I simply took out the application.xml and let the server sort it out.
This worked the first time.
For anyone searching on IntelliJ: the way to work around the limitation is to
1. include the entities module as an ejb module, so that IJ will include it in the EAR.
2. make sure that the settings specify to not include either ejb-jar.xml in the entities jar or, and this is critical, an application.xml file. That way the server infers entities to be a plain JAR file while intellij believes this is an ejb module.
3. make sure to not include anything other than entities in entities.jar.
Cheers!
Benjamin
[Message sent by forum member 'br_31' (br_31)]
http://forums.java.net/jive/thread.jspa?messageID=226516