[jboss-jira] [JBoss JIRA] (WFCORE-1297) deploy --url command creates invalid deployment
Martin Simka (JIRA)
issues at jboss.org
Fri Jan 15 06:44:00 EST 2016
[ https://issues.jboss.org/browse/WFCORE-1297?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13149282#comment-13149282 ]
Martin Simka commented on WFCORE-1297:
--------------------------------------
I think that deployment from url should be consistent with other deployment methods
deploy <some-path>/simple-servlet.war
creates deployment simple-servlet.war with root context /simple-servlet
so I think that taking only the last of the URL would be better
> deploy --url command creates invalid deployment
> -----------------------------------------------
>
> Key: WFCORE-1297
> URL: https://issues.jboss.org/browse/WFCORE-1297
> Project: WildFly Core
> Issue Type: Bug
> Components: CLI, Domain Management
> Affects Versions: 2.0.6.Final
> Reporter: Martin Simka
> Assignee: Dominik Pospisil
>
> Command {{deploy --url=http://localhost/test/simple-servlet.war}}
> creates invalid deployment
> According to logs everything seems to be fine
> {noformat}
> 15:03:57,505 INFO [org.jboss.as.repository] (management-handler-thread - 2) WFLYDR0001: Content added at location /tmp/jboss-eap-7.0/standalone/data/content/5e/5e5709be9a06a9ed7bcb2100a4143400fea887/content
> 15:03:57,531 INFO [org.jboss.as.server.deployment] (MSC service thread 1-4) WFLYSRV0027: Starting deployment of "/test/simple-servlet.war" (runtime-name: "/test/simple-servlet.war")
> 15:03:58,238 INFO [org.wildfly.extension.undertow] (ServerService Thread Pool -- 62) WFLYUT0021: Registered web context: //test/simple-servlet
> 15:03:58,320 INFO [org.jboss.as.server] (management-handler-thread - 2) WFLYSRV0010: Deployed "/test/simple-servlet.war" (runtime-name : "/test/simple-servlet.war")
> {noformat}
> but web context {{http://localhost:8080//test/simple-servlet}} isn't accessible, it returns {{404 - Not Found}}.
> (simple-servlet.war doesn't contain jboss-web.xml, so no context root is defined there)
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the jboss-jira
mailing list