hellen-z wrote:
By invoking this before binding, the binding works
WritableServiceBasedNamingStore.pushOwner(...);
But I'm not sure if it's the good way to do it.
That's the right way to do it for non-EE components. See this for more details https://issues.jboss.org/browse/AS7-2667?focusedCommentId=12654355&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-12654355