2018-01-23 12:50 GMT+01:00 Dignesh <[email protected]>:

> Hi Romain,
>
> when i add it in the META-INF of ear it is working fine.
> I added it in below format in jars.txt file
>

yes ear (WEB-INF for a war not in an ear)


>
> C:\dignesh\*.jar
>
> Still i am getting the below error
>
> dignesh.learning.MyPoolTest cannot be cast to dignesh.learning.MyPoolTest
>
> Is it mandatory to declare the bean as Remote ?
>

Yes

Im tempted to say you dont want 2 ears but merge them both in a single one
from what you describe


>
>
>
> --
> Sent from: http://tomee-openejb.979440.n4.nabble.com/TomEE-Dev-
> f982480.html
>

Reply via email to