目前,我正在尝试向eclipse-ee4j/cargotracker应用程序添加测试代码。
https://github.com/hantsy/cargotracker/
使用 Payara 托管容器通过的测试在Micro 和嵌入式容器中失败,有很多 EJB 事务异常。
javax.ejb.TransactionRolledbackLocalException: Exception thrown from bean: javax.ws.rs.ProcessingException:
java.net.ConnectException: Connection refused (Connection refused)
可以在那里找到完整的日志记录。
https://github.com/hantsy/cargotracker/runs/1789325545
不确定微型和嵌入式配置中缺少什么,有什么建议吗?