-
Notifications
You must be signed in to change notification settings - Fork 29
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
Is Java EE 8 supported? #62
Comments
@Legion2 Can you try using feature jsp-2.3 instead of jsp-2.2? That is the correct feature to use with Java EE 8 features such as servlet-4.0, and jsonb-1.0. Note that we have not tested the liberty-managed container with Java EE 8 as of yet. So changes may in fact be needed. |
When I use jsp-2.3 I don't get the dependency conflict but the tests are not executed. Only the |
If the tests were running when you were using I've re-run our admittedly primitive Arquillian tests from our Liberty Maven Plugin build against It's interesting that |
The tests never run with <featureManager>
<feature>websocket-1.1</feature>
<feature>jsonb-1.0</feature>
<!-- <feature>cdi-2.0</feature> -->
<feature>mpConfig-1.3</feature>
<feature>mpMetrics-2.0</feature>
<feature>mpHealth-2.0</feature>
<feature>concurrent-1.0</feature>
<!-- <feature>mpReactiveMessaging-1.0</feature> -->
<feature>mpRestClient-1.3</feature>
<!-- Enable the following features to run tests with Arquillian managed container -->
<feature>jsp-2.3</feature>
<feature>localConnector-1.0</feature>
<feature>j2eeManagement-1.1</feature>
<feature>usr:arquillian-support-1.0</feature>
</featureManager>
The @BeforeClass
public static void setup() {
System.out.println("kldsjfjlms,cfsklcfskjfksdjflksd");
} I also have timing issues. If I run the tests multiple times ( The
I don't know why it tries to get it from the oss-sonatype snapshot repo. Maybe these are all irrelevant findings, but I try to get it working for a while now and I only have the logs and google. Some questions:
|
You should not require the If your question is just whether Java EE 8 is supported, based on my testing it seems like the answer is yes. It is difficult to say based on the other issues you described whether or not they are relevant to the this project - specifically the Arquillian Liberty Managed container implementation. Again, I would suggest providing a sample project so that I can replicate and investigate these issues. |
We now open sourced the project, so I can share the code with you. This is the Integration Test that don't work. To overcome all the issues we moved from openliberty to quarkus. But maybe the old version helps |
Check my Jakarta EE 8 template project. https://github.com/hantsy/jakartaee8-starter-boilerplate |
Issue Overview
I try to use the liberty-managed container for running test.
I'm using liberty features like
jsonb-1.0
andcdi-2.0
that are not compatible with the configuration of the liberty-managed test container.Expected Behaviour
I can use liberty-managed container to run tests for my Java EE 8 application.
Current Behaviour
Dependency conflict, can't run the tests.
Steps To Reproduce
jsonb-1.0
to the server.xml featuresAdditional Information
Java EE 8 uses
servlet-4.0
and this is not supported by arquillian.The text was updated successfully, but these errors were encountered: