tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Felipe Jaekel <fkjae...@gmail.com>
Subject Re: DuplicateDeploymentIdException, same EJB found twice in claspath scan
Date Tue, 29 Sep 2015 11:56:06 GMT
Try to set the property *openejb.deploymentId.format* to
*{appId}/{ejbJarId}/{ejbName}* on *system.properties*

2015-09-29 7:33 GMT-03:00 larxxor <lars@rimfaxe.com>:

>
> 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.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message