Solved the issue by repackaging.
This setup is apparently NOT supported by Tomee in its current form
(although a common pattern) :
EAR | APP-INF
| META-INF
| EJB-module jar containing annotated beans
| WAR containing annotated webservices inside WEB-INF/classes
This setup is recognized by Tomee however :
EAR | APP-INF
| META-INF
| WAR containing annotated webservices and beans inside
WEB-INF/classes
Packaging is easy, but the above behaviour should probably be remedied or
documented.
--
View this message in context:
http://tomee-openejb.979440.n4.nabble.com/DuplicateDeploymentIdException-same-EJB-found-twice-in-claspath-scan-tp4676366p4676376.html
Sent from the TomEE Users mailing list archive at Nabble.com.