Hi,
I have an EJB where I've used the following very simple ejb-jar.xml configuration:
[code]
<?xml version="1.0" encoding="UTF-8"?>
<ejb-jar version="3.1"
xmlns="
http://java.sun.com/xml/ns/javaee"
xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="
http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/ejb-jar_3_1.xsd">
<module-name>services</module-name>
</ejb-jar>
[/code]
The EJB has one interface and one EJB:
ca.jptech.itma.services.core.CustomerServiceLocal
ca.jptech.itma.services.core.CustomerServiceBean
The EJB module is bundled as part of a .ear. When I deploy it, the deployment succeeds, but my Glassfish server.log shows the following error:
[#|2010-01-15T04:33:46.437-0600|SEVERE|glassfish|javax.enterprise.system.tools.deployment.org.glassfish.deployment.common|_ThreadID=22;_ThreadName=Thread-1;module-name;services;|"DPL8007: Invalid Deployment Descriptors element module-name value services"|#]
I was expecting JNDI mappings like this:
[code]
java:global/my-app/services/CustomerServiceBean
[/code]
...but get this instead (my artifact / bundle name for the EJB is itma-services-core-0.4-SNAPSHOT):
[code]
java:global/my-app/itma-services-core-0.4-SNAPSHOT/CustomerServiceBean
[/code]
I can't find very much information about customizing module names for EJBs, so any help would be appreciated.
Ryan
[Message sent by forum member 'jptech' (ryan_at_jptech.ca)]
http://forums.java.net/jive/thread.jspa?messageID=381137