Uploaded image for project: 'Thorntail'
  1. Thorntail
  2. THORN-612

jboss-cli reload results in 404 / no deployment

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 2016.8
    • Fix Version/s: 2016.12.0
    • Component/s: core
    • Labels:
      None

      Description

      Deploy a Swarm app and run the following from the CLI:

      Observe application is deployed & works fine
      [standalone@localhost:9990 /] deployment-info
      NAME RUNTIME-NAME PERSISTENT ENABLED STATUS
      myapp.war myapp.war true true OK
      Issue reload command
      [standalone@localhost:9990 /] reload
      Notice deployment is gone (deployment-info returns no output), all URLs return 404
      [standalone@localhost:9990 /] deployment-info
      [standalone@localhost:9990 /]

      The following goes to the logs:

      2016-08-17T20:08:20,374 INFO  [org.jboss.as] [Controller Boot Thread] myapp-1.0-SNAPSHOT-instance-id [] [] [] [] [] WFLYSRV0025: WildFly Core 2.0.10.Final "Kenny" started in 3669ms - Started 172 of 185 services (38 services are lazy, passive or on-demand)
      
      < application is up and running, issue :reload from CLI >
      
      2016-08-17T20:09:19,415 INFO  [org.jboss.as.connector.subsystems.datasources] [MSC service thread 1-2] myapp-1.0-SNAPSHOT-instance-id [] [] [] [] [] WFLYJCA0010: Unbound data source [java:/jdbc/MyDatasource]
      
      2016-08-17T20:09:19,415 INFO  [org.jboss.as.connector.subsystems.datasources] [MSC service thread 1-2] myapp-1.0-SNAPSHOT-instance-id [] [] [] [] [] WFLYJCA0010: Unbound data source [java:jboss/datasources/ExampleDS]
      
      2016-08-17T20:09:19,415 INFO  [org.jboss.as.connector.subsystems.datasources] [MSC service thread 1-6] myapp-1.0-SNAPSHOT-instance-id [] [] [] [] [] WFLYJCA0010: Unbound data source [java:/jdbc/MyOtherDatasource]
      
      2016-08-17T20:09:19,415 INFO  [org.wildfly.extension.undertow] [MSC service thread 1-2] myapp-1.0-SNAPSHOT-instance-id [] [] [] [] [] WFLYUT0008: Undertow HTTP listener default suspending
      
      2016-08-17T20:09:19,417 INFO  [org.wildfly.extension.undertow] [MSC service thread 1-2] myapp-1.0-SNAPSHOT-instance-id [] [] [] [] [] WFLYUT0007: Undertow HTTP listener default stopped, was bound to [0:0:0:0:0:0:0:0]:8080
      
      2016-08-17T20:09:19,418 INFO  [org.jboss.as.connector.deployers.jdbc] [MSC service thread 1-2] myapp-1.0-SNAPSHOT-instance-id [] [] [] [] [] WFLYJCA0019: Stopped Driver service with driver-name = com.mysql
      
      2016-08-17T20:09:19,418 INFO  [org.wildfly.extension.undertow] [MSC service thread 1-1] myapp-1.0-SNAPSHOT-instance-id [] [] [] [] [] WFLYUT0004: Undertow 1.3.15.Final stopping
      
      2016-08-17T20:09:19,425 INFO  [org.jboss.as.connector.deployers.jdbc] [MSC service thread 1-2] myapp-1.0-SNAPSHOT-instance-id [] [] [] [] [] WFLYJCA0019: Stopped Driver service with driver-name = h2
      
      2016-08-17T20:09:19,444 INFO  [org.jboss.as.mail.extension] [MSC service thread 1-8] myapp-1.0-SNAPSHOT-instance-id [] [] [] [] [] WFLYMAIL0002: Unbound mail session [java:jboss/mail/Default]
      
      2016-08-17T20:09:19,448 INFO  [org.jboss.as] [MSC service thread 1-6] myapp-1.0-SNAPSHOT-instance-id [] [] [] [] [] WFLYSRV0050: WildFly Core 2.0.10.Final "Kenny" stopped in 34ms
      
      2016-08-17T20:09:19,448 INFO  [org.jboss.as] [MSC service thread 1-6] myapp-1.0-SNAPSHOT-instance-id [] [] [] [] [] WFLYSRV0049: WildFly Core 2.0.10.Final "Kenny" starting
      
      2016-08-17T20:09:19,504 INFO  [org.wildfly.extension.io] [ServerService Thread Pool -- 18] myapp-1.0-SNAPSHOT-instance-id [] [] [] [] [] WFLYIO001: Worker 'default' has auto-configured to 8 core threads with 64 task threads based on your 4 available processors
      
      2016-08-17T20:09:19,507 INFO  [org.jboss.as.naming] [ServerService Thread Pool -- 21] myapp-1.0-SNAPSHOT-instance-id [] [] [] [] [] WFLYNAM0001: Activating Naming Subsystem
      
      2016-08-17T20:09:19,508 INFO  [org.jboss.as.naming] [MSC service thread 1-7] myapp-1.0-SNAPSHOT-instance-id [] [] [] [] [] WFLYNAM0003: Starting Naming Service
      
      2016-08-17T20:09:19,508 INFO  [org.jboss.as.connector] [MSC service thread 1-3] myapp-1.0-SNAPSHOT-instance-id [] [] [] [] [] WFLYJCA0009: Starting JCA Subsystem (WildFly/IronJacamar 1.3.2.Final)
      
      2016-08-17T20:09:19,506 INFO  [org.jboss.as.connector.subsystems.datasources] [ServerService Thread Pool -- 20] myapp-1.0-SNAPSHOT-instance-id [] [] [] [] [] WFLYJCA0005: Deploying non-JDBC-compliant driver class com.mysql.jdbc.Driver (version 5.1)
      
      2016-08-17T20:09:19,515 INFO  [org.jboss.as.security] [ServerService Thread Pool -- 23] myapp-1.0-SNAPSHOT-instance-id [] [] [] [] [] WFLYSEC0002: Activating Security Subsystem
      
      2016-08-17T20:09:19,516 INFO  [org.jboss.as.connector.subsystems.datasources] [ServerService Thread Pool -- 20] myapp-1.0-SNAPSHOT-instance-id [] [] [] [] [] WFLYJCA0004: Deploying JDBC-compliant driver class org.h2.Driver (version 1.4)
      
      2016-08-17T20:09:19,521 INFO  [org.jboss.as.connector.deployers.jdbc] [MSC service thread 1-8] myapp-1.0-SNAPSHOT-instance-id [] [] [] [] [] WFLYJCA0018: Started Driver service with driver-name = com.mysql
      
      2016-08-17T20:09:19,521 INFO  [org.jboss.as.security] [MSC service thread 1-5] myapp-1.0-SNAPSHOT-instance-id [] [] [] [] [] WFLYSEC0001: Current PicketBox version=4.9.4.Final
      
      2016-08-17T20:09:19,524 INFO  [org.wildfly.extension.undertow] [ServerService Thread Pool -- 26] myapp-1.0-SNAPSHOT-instance-id [] [] [] [] [] WFLYUT0003: Undertow 1.3.15.Final starting
      
      2016-08-17T20:09:19,524 INFO  [org.wildfly.extension.undertow] [MSC service thread 1-5] myapp-1.0-SNAPSHOT-instance-id [] [] [] [] [] WFLYUT0003: Undertow 1.3.15.Final starting
      
      2016-08-17T20:09:19,525 WARN  [org.jboss.as.txn] [ServerService Thread Pool -- 28] myapp-1.0-SNAPSHOT-instance-id [] [] [] [] [] WFLYTX0013: Node identifier property is set to the default value. Please make sure it is unique.
      
      2016-08-17T20:09:19,528 INFO  [org.jboss.as.connector.deployers.jdbc] [MSC service thread 1-2] myapp-1.0-SNAPSHOT-instance-id [] [] [] [] [] WFLYJCA0018: Started Driver service with driver-name = h2
      
      2016-08-17T20:09:19,541 INFO  [org.wildfly.extension.undertow] [MSC service thread 1-7] myapp-1.0-SNAPSHOT-instance-id [] [] [] [] [] WFLYUT0012: Started server default-server.
      
      2016-08-17T20:09:19,550 INFO  [org.jboss.as.connector.subsystems.datasources] [MSC service thread 1-6] myapp-1.0-SNAPSHOT-instance-id [] [] [] [] [] WFLYJCA0001: Bound data source [java:/jdbc/MyDatasource]
      
      2016-08-17T20:09:19,551 INFO  [org.jboss.as.mail.extension] [MSC service thread 1-6] myapp-1.0-SNAPSHOT-instance-id [] [] [] [] [] WFLYMAIL0001: Bound mail session [java:jboss/mail/Default]
      
      2016-08-17T20:09:19,557 INFO  [org.wildfly.extension.undertow] [MSC service thread 1-7] myapp-1.0-SNAPSHOT-instance-id [] [] [] [] [] WFLYUT0006: Undertow HTTP listener default listening on [0:0:0:0:0:0:0:0]:8080
      
      2016-08-17T20:09:19,560 INFO  [org.jboss.as.connector.subsystems.datasources] [MSC service thread 1-8] myapp-1.0-SNAPSHOT-instance-id [] [] [] [] [] WFLYJCA0001: Bound data source [java:jboss/datasources/ExampleDS]
      
      2016-08-17T20:09:19,560 INFO  [org.jboss.as.connector.subsystems.datasources] [MSC service thread 1-3] myapp-1.0-SNAPSHOT-instance-id [] [] [] [] [] WFLYJCA0001: Bound data source [java:/jdbc/MyOtherDatasource]
      
      2016-08-17T20:09:19,573 INFO  [org.jboss.as.server] [Controller Boot Thread] myapp-1.0-SNAPSHOT-instance-id [] [] [] [] [] WFLYSRV0039: Creating http management service using socket-binding (management-http)
      
      2016-08-17T20:09:19,581 ERROR [org.jboss.as.domain.http.api.undertow] [MSC service thread 1-1] myapp-1.0-SNAPSHOT-instance-id [] [] [] [] [] WFLYDMHTTP0004: Unable to load error context for slot main, disabling error context.
      
      2016-08-17T20:09:23,290 INFO  [org.jboss.as] [Controller Boot Thread] myapp-1.0-SNAPSHOT-instance-id [] [] [] [] [] WFLYSRV0060: Http management interface listening on http://[0:0:0:0:0:0:0:0]:9990/management
      
      2016-08-17T20:09:23,291 INFO  [org.jboss.as] [Controller Boot Thread] myapp-1.0-SNAPSHOT-instance-id [] [] [] [] [] WFLYSRV0054: Admin console is not enabled
      
      2016-08-17T20:09:23,291 INFO  [org.jboss.as] [Controller Boot Thread] myapp-1.0-SNAPSHOT-instance-id [] [] [] [] [] WFLYSRV0025: WildFly Core 2.0.10.Final "Kenny" started in 3842ms - Started 172 of 185 services (38 services are lazy, passive or on-demand)
      

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  heiko.braun Heiko Braun
                  Reporter:
                  jhovell John Hovell
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: