3

We have the following situation:

  • We have a SOAP WebService that is implemented using JBossWS. It is an EJB inside an EJB JAR inside an EAR.
  • We have set up a second dedicated server with a dedicated port inside the undertow subsystem of Wildfly.
  • We want to deploy the SOAP WebService only on the dedicated server/port not the default server of the undertow subsystem. For normal WAR deployments we could achieve this using <server-instance> in WEB-INF/jboss-web.xml . We have not found a way to make this work for an EJB JAR inside and EAR. This this possible? If so where does jboss-web.xml need to be placed?
Philippe Marschall
  • 4,452
  • 1
  • 34
  • 52
  • 1
    A JAR is not a web archive so the `jboss-web.xml` wouldn't work. You'd have to make it a WAR for that to work. – James R. Perkins Dec 17 '18 at 19:20
  • You should be able to reach `jboss` configuration on top `EJB` and configure a reverse proxy there to the undertow `EJB` (a sample configuration can be found here https://developer.jboss.org/thread/109970).. What am I missing? – ymz Dec 18 '18 at 07:17
  • @ymz when I say server I mean inside the undertow subsystem, we have different deployments inside the same Wildfly instance which require a different HTTP listener configuration. – Philippe Marschall Dec 19 '18 at 08:47

1 Answers1

1

jboss-ejb3.xml is a custom deployment descriptor we can use this either in ejb-jar or war archives. If in ejb-jar then it must inside META-INF folder or if web then in WEB-INF folder. Follow this link for more information.

DHARMENDRA SINGH
  • 607
  • 5
  • 21