Try to set the property *openejb.deploymentId.format* to
*{appId}/{ejbJarId}/{ejbName}* on *system.properties*

2015-09-29 7:33 GMT-03:00 larxxor <[email protected]>:

>
> I have an EAR (originally developed for weblogic, but now being
> Tomee'ified).
>
> It contains various libs, an EJB Module, and a WAR module.
>
> When it deploys, it correctly scans the EJB module, and finds my beans.
> Great.
>
> But then it tries to deploy the WAR, and scans the classpath again, finds
> all the same EJBs all over again. And complains about Duplicate id's.
>
> The annotated ejbs are present in one jar only, the EJB module.
> I feel like I'm missing som important aspect of deploying to Tomee here. Am
> I supposed to turn of the scan in the war, and if so, how?
>
>
>
> --
> View this message in context:
> http://tomee-openejb.979440.n4.nabble.com/DuplicateDeploymentIdException-same-EJB-found-twice-in-claspath-scan-tp4676366.html
> Sent from the TomEE Users mailing list archive at Nabble.com.
>

Reply via email to