This content has been marked as final.
Show 2 replies
-
1. Re: How to restrict a war inside an ear to a specific interface?
ctomc Oct 7, 2014 8:58 AM (in response to freiser)configure extra <server name="restricted"> element in undertow subsystem
and add listeners, hosts configuration to it.
then add jboss-web.xml to WEB-INF of your admin war.
with content like
<?xml version="1.0" encoding="UTF-8"?>
<jboss-web version="8.0" xmlns="http://www.jboss.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.jboss.org/j2ee/schema/jboss-web_8_0.xsd">
<server-instance>restricted</server-instance>
</jboss-web>
This will tell deployment to be bound to "restricted" server instead of the default one.
-
2. Re: How to restrict a war inside an ear to a specific interface?
freiser Oct 7, 2014 9:48 AM (in response to ctomc)Thanks Tomaz,
this was the missing bit.
Kind regards
Florian