Closed hantsy closed 3 years ago
Maybe this Open Liberty cheat sheet can help https://aguibert.github.io/openliberty-cheat-sheet/.
Not sure if I get your issue. The Stack Overflow question is about the default DataSource
and in the description above you mention EJB and MDB. Can you elaborate a little bit more?
Before I added the DataSource configuration, the testing codes are passed on OpenLIberty managed adapter.
But when I added the DataSource for testing(I think the DataSource configuration is not a problem), there is a deployment error from Arquillian.
8823 FINER: AppMBean for test is in state STARTING 8824 [ERROR ] CWWKZ0013E: It is not possible to start two applications called test.
(The application started twice???)
I have searched this error also occurred in other Open Liberty projects, such as the liberty maven plugin.
I am confused why adding a DataSource will affect the deployment.
I have a sample project the uses DefaultDataSource
together with Open Liberty (H2 instead of Derby), maybe this helps: https://github.com/rieckpil/blog-tutorials/blob/master/open-liberty-maven-plugin-review/src/main/liberty/config/server.xml
Thanks.
Temporarily resolved this issue via https://github.com/OpenLiberty/liberty-arquillian/issues/94
@rieckpil Firstly thanks for your article to provide me some points about adding queues in OpenLiberty.
I was trying to add EJB and JMS samples in my jakartaee8-starter-boilerplate but both failed to run the simple tests on OpenLiberty.
Check my post on Stackoverflow.
https://stackoverflow.com/questions/66077552/configure-default-data-source-for-arquillain-test-in-openliberty