{"action":"created","issue":{"url":"https://api.github.com/repos/wildfly/wildfly-core/issues/1369","labels_url":"https://api.github.com/repos/wildfly/wildfly-core/issues/1369/labels{/name}","comments_url":"https://api.github.com/repos/wildfly/wildfly-core/issues/1369/comments","events_url":"https://api.github.com/repos/wildfly/wildfly-core/issues/1369/events","html_url":"https://github.com/wildfly/wildfly-core/pull/1369","id":127495265,"number":1369,"title":"[WFCORE-1246]: System allows enabling two applications with same runtime-name","user":{"login":"ehsavoie","id":73053,"avatar_url":"https://avatars.githubusercontent.com/u/73053?v=3","gravatar_id":"","url":"https://api.github.com/users/ehsavoie","html_url":"https://github.com/ehsavoie","followers_url":"https://api.github.com/users/ehsavoie/followers","following_url":"https://api.github.com/users/ehsavoie/following{/other_user}","gists_url":"https://api.github.com/users/ehsavoie/gists{/gist_id}","starred_url":"https://api.github.com/users/ehsavoie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ehsavoie/subscriptions","organizations_url":"https://api.github.com/users/ehsavoie/orgs","repos_url":"https://api.github.com/users/ehsavoie/repos","events_url":"https://api.github.com/users/ehsavoie/events{/privacy}","received_events_url":"https://api.github.com/users/ehsavoie/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-19T17:17:24Z","updated_at":"2016-01-19T17:54:54Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/wildfly/wildfly-core/pulls/1369","html_url":"https://github.com/wildfly/wildfly-core/pull/1369","diff_url":"https://github.com/wildfly/wildfly-core/pull/1369.diff","patch_url":"https://github.com/wildfly/wildfly-core/pull/1369.patch"},"body":"Checking the unicity of the runtime name when deploying a deployment.\r\n\r\nJira: https://issues.jboss.org/browse/WFCORE-1246"},"comment":{"url":"https://api.github.com/repos/wildfly/wildfly-core/issues/comments/172933162","html_url":"https://github.com/wildfly/wildfly-core/pull/1369#issuecomment-172933162","issue_url":"https://api.github.com/repos/wildfly/wildfly-core/issues/1369","id":172933162,"user":{"login":"wildfly-ci","id":939955,"avatar_url":"https://avatars.githubusercontent.com/u/939955?v=3","gravatar_id":"","url":"https://api.github.com/users/wildfly-ci","html_url":"https://github.com/wildfly-ci","followers_url":"https://api.github.com/users/wildfly-ci/followers","following_url":"https://api.github.com/users/wildfly-ci/following{/other_user}","gists_url":"https://api.github.com/users/wildfly-ci/gists{/gist_id}","starred_url":"https://api.github.com/users/wildfly-ci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wildfly-ci/subscriptions","organizations_url":"https://api.github.com/users/wildfly-ci/orgs","repos_url":"https://api.github.com/users/wildfly-ci/repos","events_url":"https://api.github.com/users/wildfly-ci/events{/privacy}","received_events_url":"https://api.github.com/users/wildfly-ci/received_events","type":"User","site_admin":false},"created_at":"2016-01-19T17:54:54Z","updated_at":"2016-01-19T17:54:54Z","body":"**Linux** [Build 3516](http://brontes.lab.eng.brq.redhat.com/viewLog.html?buildId=86231&buildTypeId=WildFlyCore_PullRequest) outcome was **FAILURE** using a merge of 82b12cb77e7b93887f226d119f06591f77107487\nSummary: Tests failed: 1 (1 new), passed: 3502, ignored: 64 Build time: 00:34:41\n### Failed tests\n```\norg.jboss.as.test.manualmode.deployment.DeploymentScannerOperationTestCase.testStartup: java.lang.AssertionError: null\n\tat org.jboss.as.test.manualmode.deployment.DeploymentScannerOperationTestCase.testStartup(DeploymentScannerOperationTestCase.java:92)\n------- Stdout: -------\n18:41:57,860 INFO  [org.wildfly.core.testrunner.Server] (main) Starting container with: /usr/java/jdk1.8.0_65/jre/bin/java -D[Standalone] -javaagent:/store/repository/org/jboss/byteman/byteman/2.2.1/byteman-2.2.1.jar=port:9091,boot:/store/repository/org/jboss/byteman/byteman/2.2.1/byteman-2.2.1.jar,sys:/opt/buildAgent/work/8d74ae55e497982e/testsuite/shared/target/wildfly-core-testsuite-shared-2.0.8.Final-SNAPSHOT.jar -Dorg.jboss.byteman.transform.all -Dorg.jboss.byteman.verbose=true -Dmaven.repo.local=/store/repository -Xmx512m -XX:MaxMetaspaceSize=256m -Djboss.dist=/opt/buildAgent/work/8d74ae55e497982e/testsuite/manualmode/target/wildfly-core -Djava.net.preferIPv4Stack=false -Djava.net.preferIPv6Addresses=true -server -Dts.timeout.factor=100 -Djbossas.ts.dir=/opt/buildAgent/work/8d74ae55e497982e/testsuite/manualmode -ea -Dorg.jboss.boot.log.file=/opt/buildAgent/work/8d74ae55e497982e/testsuite/manualmode/target/wildfly-core/standalone/log/server.log -Dlogging.configuration=file:/opt/buildAgent/work/8d74ae55e497982e/testsuite/manualmode/target/wildfly-core/standalone/configuration/logging.properties -jar /opt/buildAgent/work/8d74ae55e497982e/testsuite/manualmode/target/wildfly-core/jboss-modules.jar -mp /opt/buildAgent/work/8d74ae55e497982e/testsuite/manualmode/target/wildfly-core/modules org.jboss.as.standalone -Djboss.home.dir=/opt/buildAgent/work/8d74ae55e497982e/testsuite/manualmode/target/wildfly-core -Djboss.server.base.dir=/opt/buildAgent/work/8d74ae55e497982e/testsuite/manualmode/target/wildfly-core/standalone -Djboss.server.log.dir=/opt/buildAgent/work/8d74ae55e497982e/testsuite/manualmode/target/wildfly-core/standalone/log -Djboss.server.config.dir=/opt/buildAgent/work/8d74ae55e497982e/testsuite/manualmode/target/wildfly-core/standalone/configuration -c=standalone.xml -bmanagement=::1 -Djboss.http.port=8080 -Djboss.bind.address=::1 \n18:41:57,986 INFO  [org.xnio] (main) XNIO version 3.3.4.Final\nTransformListener() : accepting requests on localhost:9091\n18:41:58,126 INFO  [org.xnio.nio] (main) XNIO NIO Implementation Version 3.3.4.Final\n18:41:58,234 INFO  [org.jboss.remoting] (main) JBoss Remoting version 4.0.18.Final\n [0m18:41:58,543 INFO  [org.jboss.modules] (main) JBoss Modules version 1.5.0.Final\n [0m [0m18:41:58,787 INFO  [org.jboss.msc] (main) JBoss MSC version 1.2.6.Final\n [0m [0m18:41:58,912 INFO  [org.jboss.as] (MSC service thread 1-4) WFLYSRV0049: WildFly Core 2.0.8.Final-SNAPSHOT \"Kenny\" starting\n [0m [0m18:41:59,548 INFO  [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0039: Creating http management service using socket-binding (management-http)\n [0m [0m18:41:59,581 INFO  [org.xnio] (MSC service thread 1-3) XNIO version 3.3.4.Final\n [0m [0m18:41:59,601 INFO  [org.xnio.nio] (MSC service thread 1-3) XNIO NIO Implementation Version 3.3.4.Final\n [0m [0m18:41:59,683 INFO  [org.jboss.remoting] (MSC service thread 1-3) JBoss Remoting version 4.0.18.Final\n [0m [33m18:41:59,817 WARN  [org.jboss.as.domain.http.api.undertow] (MSC service thread 1-4) WFLYDMHTTP0003: Unable to load console module for slot main, disabling console\n [0m [0m18:41:59,975 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0060: Http management interface listening on http://[::1]:9990/management\n [0m [0m18:41:59,975 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0051: Admin console listening on http://[::1]:9990\n [0m [0m18:41:59,976 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0025: WildFly Core 2.0.8.Final-SNAPSHOT \"Kenny\" started in 1933ms - Started 56 of 58 services (16 services are lazy, passive or on-demand)\n [0m [0m18:42:00,608 INFO  [org.jboss.as.repository] (DeploymentScanner-threads - 2) WFLYDR0001: Content added at location /opt/buildAgent/work/8d74ae55e497982e/testsuite/manualmode/target/wildfly-core/standalone/data/content/2f/a6ec18d7a75984a33c5b92ac10f9003d7db01f/content\n [0m [0m18:42:00,633 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-3) WFLYSRV0027: Starting deployment of \"deployment-one.jar\" (runtime-name: \"deployment-one.jar\")\n [0m [0m18:42:00,678 INFO  [org.jboss.as.server] (DeploymentScanner-threads - 2) WFLYSRV0010: Deployed \"deployment-one.jar\" (runtime-name : \"deployment-one.jar\")\n [0m [0m18:42:01,427 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-1) WFLYSRV0028: Stopped deployment deployment-one.jar (runtime-name: deployment-one.jar) in 5ms\n [0m [31m18:42:01,427 ERROR [org.jboss.as.controller.management-operation] (management-handler-thread - 2) WFLYCTL0013: Operation (\"read-attribute\") failed - address: ([(\"deployment\" => \"deployment-one.jar\")]): java.lang.NullPointerException\n\tat org.jboss.as.server.deployment.AbstractDeploymentUnitService.getStatus(AbstractDeploymentUnitService.java:111)\n\tat org.jboss.as.server.deployment.DeploymentStatusHandler$1.execute(DeploymentStatusHandler.java:61)\n\tat org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:890)\n\tat org.jboss.as.controller.AbstractOperationContext.processStages(AbstractOperationContext.java:659)\n\tat org.jboss.as.controller.AbstractOperationContext.executeOperation(AbstractOperationContext.java:370)\n\tat org.jboss.as.controller.OperationContextImpl.executeOperation(OperationContextImpl.java:1344)\n\tat org.jboss.as.controller.ModelControllerImpl.internalExecute(ModelControllerImpl.java:392)\n\tat org.jboss.as.controller.ModelControllerImpl.execute(ModelControllerImpl.java:217)\n\tat org.jboss.as.controller.remote.ModelControllerClientOperationHandler$ExecuteRequestHandler.doExecute(ModelControllerClientOperationHandler.java:208)\n\tat org.jboss.as.controller.remote.ModelControllerClientOperationHandler$ExecuteRequestHandler.access$300(ModelControllerClientOperationHandler.java:130)\n\tat org.jboss.as.controller.remote.ModelControllerClientOperationHandler$ExecuteRequestHandler$1$1.run(ModelControllerClientOperationHandler.java:152)\n\tat org.jboss.as.controller.remote.ModelControllerClientOperationHandler$ExecuteRequestHandler$1$1.run(ModelControllerClientOperationHandler.java:148)\n\tat java.security.AccessController.doPrivileged(Native Method)\n\tat javax.security.auth.Subject.doAs(Subject.java:422)\n\tat org.jboss.as.controller.AccessAuditContext.doAs(AccessAuditContext.java:92)\n\tat org.jboss.as.controller.remote.ModelControllerClientOperationHandler$ExecuteRequestHandler$1.execute(ModelControllerClientOperationHandler.java:148)\n\tat org.jboss.as.protocol.mgmt.AbstractMessageHandler$ManagementRequestContextImpl$1.doExecute(AbstractMessageHandler.java:363)\n\tat org.jboss.as.protocol.mgmt.AbstractMessageHandler$AsyncTaskRunner.run(AbstractMessageHandler.java:472)\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)\n\tat java.lang.Thread.run(Thread.java:745)\n\tat org.jboss.threads.JBossThread.run(JBossThread.java:320)\n\n [0m [0m18:42:01,440 INFO  [org.jboss.as.repository] (DeploymentScanner-threads - 1) WFLYDR0002: Content removed from location /opt/buildAgent/work/8d74ae55e497982e/testsuite/manualmode/target/wildfly-core/standalone/data/content/2f/a6ec18d7a75984a33c5b92ac10f9003d7db01f/content\n [0m [0m18:42:01,440 INFO  [org.jboss.as.server] (DeploymentScanner-threads - 1) WFLYSRV0009: Undeployed \"deployment-one.jar\" (runtime-name: \"deployment-one.jar\")\n [0m [0m18:42:01,479 INFO  [org.jboss.as.protocol] (management I/O-2) WFLYPRT0057:  cancelled task by interrupting thread Thread[management-handler-thread - 2,5,management-handler-thread]\n [0m [0m18:42:01,495 INFO  [org.jboss.as.server] (management-handler-thread - 3) WFLYSRV0211: Suspending server with 0ms timeout.\n\n\n```\n"}}