[
https://issues.jboss.org/browse/WFLY-3639?page=com.atlassian.jira.plugin....
]
Kabir Khan commented on WFLY-3639:
----------------------------------
The fix in
https://github.com/wildfly/wildfly/pull/9236 causes regressions
https://ci.wildfly.org/viewLog.html?buildId=28148&tab=buildResultsDiv...
{code}
org.jboss.as.test.integration.management.util.MgmtOperationException: Management operation
failed: "WFLYCTL0158: Operation handler failed: java.lang.IllegalArgumentException:
WFLYUT0087: Duplicate default web module 'ROOT.war' configured on server
'default-server', host 'test'"
at
org.jboss.as.test.integration.management.ManagementOperations.executeOperation(ManagementOperations.java:67)
at
org.jboss.as.test.integration.management.ManagementOperations.executeOperation(ManagementOperations.java:37)
at
org.jboss.as.test.integration.management.base.AbstractMgmtTestBase.executeOperation(AbstractMgmtTestBase.java:73)
at
org.jboss.as.test.integration.management.base.AbstractMgmtTestBase.executeOperation(AbstractMgmtTestBase.java:85)
at
org.jboss.as.test.integration.management.api.web.VirtualServerTestCase.addVirtualServer(VirtualServerTestCase.java:139)
at
org.jboss.as.test.integration.management.api.web.VirtualServerTestCase.addRemoveVirtualServer(VirtualServerTestCase.java:100)
------- Stdout: -------
[0m02:01:58,958 INFO [org.jboss.as.server.deployment] (MSC service thread
1-7) WFLYSRV0028: Stopped deployment dummy.jar (runtime-name: dummy.jar) in 3ms
[0m[0m02:01:58,966 INFO [org.jboss.as.repository]
(management-handler-thread - 1) WFLYDR0002: Content removed from location
/opt/buildAgent/work/eef9fee5d4ca1630/testsuite/integration/basic/target/jbossas/standalone/data/content/2e/68ed26f1b74748fddd2839595a2c349cadbea7/content
[0m[0m02:01:58,966 INFO [org.jboss.as.server]
(management-handler-thread - 1) WFLYSRV0009: Undeployed "dummy.jar"
(runtime-name: "dummy.jar")
[0m02:01:58,971 INFO
[org.jboss.as.test.integration.security.common.AbstractBaseSecurityRealmsServerSetupTask]
(main) Removing security realm ssl-realm
02:01:58,992 INFO [org.jboss.as.test.integration.security.common.CoreUtils] (main) Client
update: {
"operation" => "remove",
"address" => [
("core-service" => "management"),
("security-realm" => "ssl-realm")
],
"operation-headers" => {
"rollback-on-runtime-failure" => false,
"allow-resource-service-restart" => true
}
}
02:01:58,992 INFO [org.jboss.as.test.integration.security.common.CoreUtils] (main) Client
update result: {
"outcome" => "success",
"response-headers" => {"process-state" =>
"reload-required"}
}
[0m02:01:59,029 INFO [org.jboss.as.repository] (management-handler-thread -
4) WFLYDR0001: Content added at location
/opt/buildAgent/work/eef9fee5d4ca1630/testsuite/integration/basic/target/jbossas/standalone/data/content/98/aa708e24ea1eb7be904d2ac263ce54c84bc9e8/content
[0m[0m02:01:59,032 INFO [org.jboss.as.server.deployment] (MSC
service thread 1-4) WFLYSRV0027: Starting deployment of "dummy.jar"
(runtime-name: "dummy.jar")
[0m[33m02:01:59,039 WARN [org.jboss.as.dependency.private] (MSC
service thread 1-4) WFLYSRV0018: Deployment "deployment.dummy.jar" is using a
private module ("org.wildfly.security.manager:main") which may be changed or
removed in future versions without notice.
[0m[0m02:01:59,042 INFO [org.jboss.as.arquillian] (MSC service
thread 1-4) Arquillian deployment detected:
ArquillianConfig[service=jboss.arquillian.config."dummy.jar",unit=dummy.jar,tests=[org.jboss.as.test.integration.management.api.web.VirtualServerTestCase]]
[0m[0m02:01:59,050 INFO [org.jboss.as.server]
(management-handler-thread - 4) WFLYSRV0010: Deployed "dummy.jar" (runtime-name
: "dummy.jar")
[0m[31m02:01:59,063 ERROR
[org.jboss.as.controller.management-operation] (management-handler-thread - 1)
WFLYCTL0013: Operation ("add") failed - address: ([
("subsystem" => "undertow"),
("server" => "default-server"),
("host" => "test")
]): java.lang.IllegalArgumentException: WFLYUT0087: Duplicate default web module
'ROOT.war' configured on server 'default-server', host 'test'
at
org.wildfly.extension.undertow.deployment.DefaultDeploymentMappingProvider.addMapping(DefaultDeploymentMappingProvider.java:59)
at org.wildfly.extension.undertow.HostAdd.performRuntime(HostAdd.java:73)
at
org.jboss.as.controller.AbstractAddStepHandler.performRuntime(AbstractAddStepHandler.java:337)
at
org.jboss.as.controller.AbstractAddStepHandler$1.execute(AbstractAddStepHandler.java:151)
at
org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:940)
at
org.jboss.as.controller.AbstractOperationContext.processStages(AbstractOperationContext.java:683)
at
org.jboss.as.controller.AbstractOperationContext.executeOperation(AbstractOperationContext.java:382)
at
org.jboss.as.controller.OperationContextImpl.executeOperation(OperationContextImpl.java:1363)
at
org.jboss.as.controller.ModelControllerImpl.internalExecute(ModelControllerImpl.java:410)
at org.jboss.as.controller.ModelControllerImpl.execute(ModelControllerImpl.java:232)
at
org.jboss.as.controller.remote.ModelControllerClientOperationHandler$ExecuteRequestHandler.doExecute(ModelControllerClientOperationHandler.java:213)
at
org.jboss.as.controller.remote.ModelControllerClientOperationHandler$ExecuteRequestHandler.access$300(ModelControllerClientOperationHandler.java:136)
at
org.jboss.as.controller.remote.ModelControllerClientOperationHandler$ExecuteRequestHandler$1$1.run(ModelControllerClientOperationHandler.java:157)
at
org.jboss.as.controller.remote.ModelControllerClientOperationHandler$ExecuteRequestHandler$1$1.run(ModelControllerClientOperationHandler.java:153)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAs(Subject.java:422)
at org.jboss.as.controller.AccessAuditContext.doAs(AccessAuditContext.java:149)
at
org.jboss.as.controller.remote.ModelControllerClientOperationHandler$ExecuteRequestHandler$1.execute(ModelControllerClientOperationHandler.java:153)
at
org.jboss.as.protocol.mgmt.ManagementRequestContextImpl$1.doExecute(ManagementRequestContextImpl.java:70)
at
org.jboss.as.protocol.mgmt.ManagementRequestContextImpl$AsyncTaskRunner.run(ManagementRequestContextImpl.java:160)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
at org.jboss.threads.JBossThread.run(JBossThread.java:320)
[0m
{code}
default-web-module doesn't work for non default hosts &
servers
---------------------------------------------------------------
Key: WFLY-3639
URL:
https://issues.jboss.org/browse/WFLY-3639
Project: WildFly
Issue Type: Bug
Components: Web (Undertow)
Affects Versions: 8.1.0.Final
Reporter: Tomaz Cerar
Assignee: Tomaz Cerar
Fix For: 11.0.0.Alpha1
If you use config like this:
{code:xml}
<host name="default-host" default-web-module="myapp1.war"
alias="webapp.domain1.com"/>
<host name="other-host" default-web-module="myapp2.war"
alias="test.domain2.net"/>
{code}
and have apps myapp1.war & myapp2.war deployed myappwar2.war won't be bind to
other-host.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)