holixon / axon-cdi

CDI Extension to use AxonFramework 3.x in Container Environments
Apache License 2.0
4 stars 1 forks source link

Fix transactional support in Wildfly Example #9

Open zambrovski opened 6 years ago

zambrovski commented 6 years ago

Currently, Wildfly example works only, if no transaction support is activated.

The problem is related to the class capable to access UserTransaction - that is an MDB or an SLSB. I think I managed to solve this already in the customer project, but can't find the working version.

jangalinski commented 6 years ago

with current master, running ./mvnw -f example/wildfly fails with

Caused by: javax.ejb.EJBException: org.axonframework.commandhandling.NoHandlerForCommandException: No handler was subscribed to command [org.axonframework.extension.example.common.core.api.CreateAccountCommand]

is this what you mean with transaction support or is this st else?

zambrovski commented 6 years ago

No, this is a different issue (#11), which is fixed now.

alexmacavei commented 6 years ago

I'm getting this with TxAwareJPAEventStorageEngine:

java.lang.IllegalArgumentException: Unknown entity: org.axonframework.eventsourcing.eventstore.jpa.DomainEventEntry

Are these related I wonder?

zambrovski commented 6 years ago

This issue is solved in #13