Can't get Remote EJB to work with EJB Client API on Wildfly

断了今生、忘了曾经 提交于 2019-12-08 15:46:26

As so often, I stumbled over the solution shortly after writing down the question and talking about it.

The problem with this setup was that the jboss-ejb-client.properties file has not been loaded by the client API which was then missing the connection url, ...

I don't know whether there where changes to the required location where these properties have to be placed or whether I was too dumb to read it correctly or whether I just adapted a tutorial that was corrupted. It doesn't even matter ;)

The solution is to place the properties file toplevel on the classpath and not in the META-INF directory of the JAR!

It works now as expected and I can register client-side interceptors.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!