Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
3.1.4
-
Executed using maven
Description
Expected: ejb-jar.xml file should be optional
Found: ejb-jar.xml file was required.
When run without the file, it looks like the ejbs are not deployed. The logs don't show JNDI bindings. And the client was not able to look up by the JNDI names,
How to reproduce: In the simple-stateless example project, delete the src/main/resources/META-INF/ejb-jar.xml and then do
mvn clean install
Logs don't show the JNDI name bindings.
The test fails, with javax,naming.NameNotFoundException