-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
narayana native mode ObjectStoreEnvironmentBean no-parameter constructor #5145
Comments
What happens if you remove |
@JohT what do you mean by |
OK, got it. |
I fixed your initial issue but I still have this error when running the postman file:
But it doesn't seem related to Quarkus. |
Disabling the TransactionStatusManager apparently caused a few classes to not be included anymore whereas they are necessary at least in some XA scenarios. Fixes quarkusio#5145
Awesome! Thanks! And yes, the last exception looks like something on my side. |
Disabling the TransactionStatusManager apparently caused a few classes to not be included anymore whereas they are necessary at least in some XA scenarios. Fixes quarkusio#5145
Disabling the TransactionStatusManager apparently caused a few classes to not be included anymore whereas they are necessary at least in some XA scenarios. Fixes quarkusio#5145
Since quarkus version 0.27.0 (not in 0.26.1) i get the following exception using native image, when a transaction is committed:
Stacktrace
java.lang.InstantiationException: Type
com.arjuna.ats.arjuna.common.ObjectStoreEnvironmentBean
can not be instantiated reflectively as it does not have a no-parameter constructor or the no-parameter constructor has not been added explicitly to the native image.Follow up Stacktrace
When i put the missing class into "reflection-config.json" i get this exception after it:
java.lang.ClassNotFoundException: com.arjuna.ats.internal.arjuna.objectstore.ShadowNoFileLockStore
To Reproduce
Steps to reproduce the behavior:
mvn clean package -Dnative
Configuration
application.properties
Environment (please complete the following information):
uname -a
orver
: MacBook-Air.local 17.7.0 Darwin Kernel Version 17.7.0: Sun Jun 2 20:31:42 PDT 2019; root:xnu-4570.71.46~1/RELEASE_X86_64 x86_64java -version
: OpenJDK 64-Bit GraalVM CE 19.2.1 (build 25.232-b07-jvmci-19.2-b03, mixed mode)The text was updated successfully, but these errors were encountered: