Seleccionar página

Error: “Root contexts can not be deployed when the virtual host configuration has the welcome root enabled, disable it and redeploy”

por | Dic 9, 2011 | JBoss AS / JBoss EAP / WildFly

Este error (“Root contexts can not be deployed when the virtual host configuration has the welcome root enabled, disable it and redeploy”) da cuando se intenta hacer el deploy de “ROOT.WAR” en un JBoss 7.

Para poder desactivar lo que nos indica hay que hacer lo siguiente.

Modificar en el sigiente fichero:

$JBOSS_HOME/standalone/configuration/standalone.xml

Cambiar la propiedad  enable-welcome-root=false en :

<subsystem xmlns=”urn:jboss:domain:web:1.0″ default-virtual-server=”default-host”>
<connector name=”http” scheme=”http” protocol=”HTTP/1.1″ socket-binding=”http”/>
<virtual-server name=”default-host” enable-welcome-root=”false”>
<alias name=”localhost” />
<alias name=”example.com” />
</virtual-server>
</subsystem>

Te puede interesar…

0 comentarios

Enviar un comentario

Tu dirección de correo electrónico no será publicada. Los campos obligatorios están marcados con *

Pin It on Pinterest