2

We have two applications "A" and "B" running in a seperate Wildfly 10. Application "A" calls services in "B" with http-remoting. I use an outbound connection/binding that is configured via jboss-ejb-client.xml. Everything works fine so far, when "A" is installed on a different server than "B". "A" starts, and I see "EJB client outbound connection established" in the server log.

In development stage we have both apps running on a vmware server with a port offset. Now during the start of server A (B is already running) no connection is established, and when application A is called, I got "No EJB receiver available".

I tried a day and did not manage to find what's going wrong, not even with wireshark.

wpercy
  • 9,636
  • 4
  • 33
  • 45
Marcus Schulz
  • 123
  • 1
  • 6

1 Answers1

2

If you want to do http-remoting between two Wildflys on the same machine you have to set a unique jboss.node.name system property.

You can do that by passing an appropriate value for -Djboss.node.name system property to the startup script:

./standalone.sh -server-config=standalone-full.xml -Djboss.node.name=**unique-nodename**

You will find more details on docs.jboss.org.

Jiri Tousek
  • 12,211
  • 5
  • 29
  • 43
Alexander
  • 36
  • 2