Este contenido no está disponible en el idioma seleccionado.
7.2. Disable Subdeployment Module Isolation for All Deployments
Warning
Stop the server
Halt the JBoss EAP 6 server.Open the server configuration file
Open the server configuration file in a text editor.This file will be different for a managed domain or standalone server. In addition, non-default locations and file names may be used. The default configuration files aredomain/configuration/domain.xmlandstandalone/configuration/standalone.xmlfor managed domains and standalone servers respectively.Locate the EE Subsystem Configuration
Locate the EE Subsystem configuration element in the configuration file. The<profile>element of the configuration file contains several subsystem elements. The EE Subsystem element has the namespace ofurn:jboss:domain:ee:1.2.Copy to Clipboard Copied! Toggle word wrap Toggle overflow The default configuration has a single self-closing tag but a custom configuration may have separate open and closing tags (possibly with other elements within) like this:<subsystem xmlns="urn:jboss:domain:ee:1.2" ></subsystem>
<subsystem xmlns="urn:jboss:domain:ee:1.2" ></subsystem>Copy to Clipboard Copied! Toggle word wrap Toggle overflow Replace self-closing tags if necessary
If the EE Subsystem element is a single self-closing tag then replace with appropriate opening and closing tags like this:<subsystem xmlns="urn:jboss:domain:ee:1.2" ></subsystem>
<subsystem xmlns="urn:jboss:domain:ee:1.2" ></subsystem>Copy to Clipboard Copied! Toggle word wrap Toggle overflow Add ear-subdeployments-isolated element
Add theear-subdeployments-isolatedelement as a child of the EE Subsystem element and add the content offalselike this:<subsystem xmlns="urn:jboss:domain:ee:1.2" ><ear-subdeployments-isolated>false</ear-subdeployments-isolated></subsystem>
<subsystem xmlns="urn:jboss:domain:ee:1.2" ><ear-subdeployments-isolated>false</ear-subdeployments-isolated></subsystem>Copy to Clipboard Copied! Toggle word wrap Toggle overflow Start the server
Relaunch the JBoss EAP 6 server to start it running with the new configuration.
The server will now be running with Subdeployment Module Isolation disabled for all deployments.