Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-23434

Web context is not registered if runtime-name does not contain .war

XMLWordPrintable

    • False
    • None
    • False
    • Documentation (Ref Guide, User Guide, etc.), User Experience
    • Workaround Exists
    • Hide

      Use .war in runtime-name option.

      Show
      Use .war in runtime-name option.

      According to SME behavior described here is expected. Though the documentation doesn't mention it.

      When runtime-name ends with .war web context is registered:

      deploy /home/jkasik/projects/rhat/tests-wildfly-maven-plugin/user-interface-usability/src/test/resources/test-app/target/artifact-with-wf-maven-plugin-1.0.0.jar --name=fooqixbar --runtime-name=qux.war
      
      12:05:51,982 INFO  [org.jboss.as.repository] (management-handler-thread - 1) WFLYDR0001: Content added at location /home/jkasik/tmp/jboss-eap-7.4/standalone/data/content/b3/ca7e2dc1183ea6699e56fcc725af039ba91f34/content
      12:05:51,991 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-8) WFLYSRV0027: Starting deployment of "fooqixbar" (runtime-name: "qux.war")
      12:05:52,222 INFO  [org.wildfly.extension.undertow] (ServerService Thread Pool -- 72) WFLYUT0021: Registered web context: '/qux' for server 'default-server'
      12:05:52,244 INFO  [org.jboss.as.server] (management-handler-thread - 1) WFLYSRV0010: Deployed "fooqixbar" (runtime-name : "qux.war")
      

      when it does not end with .war no web context is registered:

      deploy /home/jkasik/projects/rhat/tests-wildfly-maven-plugin/user-interface-usability/src/test/resources/test-app/target/artifact-with-wf-maven-plugin-1.0.0.jar --name=fooqixbar --runtime-name=qux
      
      12:07:30,977 INFO  [org.jboss.as.repository] (management-handler-thread - 1) WFLYDR0001: Content added at location /home/jkasik/tmp/jboss-eap-7.4/standalone/data/content/b3/ca7e2dc1183ea6699e56fcc725af039ba91f34/content
      12:07:30,979 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-5) WFLYSRV0027: Starting deployment of "fooqixbar" (runtime-name: "qux")
      12:07:31,023 INFO  [org.jboss.as.server] (management-handler-thread - 1) WFLYSRV0010: Deployed "fooqixbar" (runtime-name : "qux")
      

            sybrown Symone Simpkins
            jkasik@redhat.com Jan Kašík
            Jan Kašík Jan Kašík
            Jan Kašík Jan Kašík
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: