Hi Renato,
this looks to me like your archive contains classes that are already
present on the servers classpath. Perhaps you can try comparing your
code with one of the examples from the wildfly-camel, there is a JPA
example in the GitHub repository[1], and one in the in the
wildfly-swarm[2] repository,

zoran

[1] 
https://github.com/wildfly-extras/wildfly-camel-examples/tree/master/camel-jpa
[2] 
https://github.com/wildfly-swarm/wildfly-swarm-examples/tree/master/camel/camel-jpa

On Sat, Oct 21, 2017 at 8:57 PM, Renato Barros <[email protected]> wrote:
> Hello,
>
> I'm trying to use Camel in Wildfly Swarm and i get the follow exception
> when use Camel JPA endpoint:
>
> java.lang.ClassCastException:
> com.arjuna.ats.internal.jta.transaction.jts.TransactionManagerImple
> cannot be cast to javax.transaction.TransactionManager
>
>
> How can i configure the JTA in Swarm to be compatible with Camel JPA.


-- 
Zoran Regvart

Reply via email to