[
https://issues.jboss.org/browse/WFLY-12292?page=com.atlassian.jira.plugin...
]
Jaikiran Pai commented on WFLY-12292:
-------------------------------------
Is the implementation or documentation incorrect?
It's neither actually :)
It just so happens that the jboss-webservices.xml is used for certain other details for a
webservices deployment. Co-incidentally, that file too has a "context-root"
element used to specify a context root for webservices.
However, in your case, where you are just a simple web application, the right
configuration file is the jboss-web.xml. Which too exposes the context-root element.
That's the right place to configure this value for it to be used to allow web access
for your application, at the context you desire.
> WEB-INF/jboss-webservices.xml is ignored
> ----------------------------------------
>
> Key: WFLY-12292
> URL:
https://issues.jboss.org/browse/WFLY-12292
> Project: WildFly
> Issue Type: Bug
> Components: Documentation
> Affects Versions: 17.0.1.Final
> Environment: Docker
> Reporter: André Kornetzky
> Priority: Trivial
> Labels: docs
>
> I wanted to change the context root of my application in the Docker image and the
procedure described in the guide did not work.
>
https://docs.wildfly.org/17/Developer_Guide.html#configuration-through-de...
> The problem can also be reproduced in the local development environment (Win 10,
Eclipse, Wildlfy 2019-06).
> However, it works if I create a WEB-INF/*jboss-web.xml* instead of
WEB-INF/-jboss-webservices.xml-.
Is the implementation or documentation incorrect?
--
This message was sent by Atlassian Jira
(v7.12.1#712002)