[jboss-jira] [JBoss JIRA] (WFLY-12292) WEB-INF/jboss-webservices.xml is ignored
Jaikiran Pai (Jira)
issues at jboss.org
Tue Jul 16 08:30:00 EDT 2019
[ https://issues.jboss.org/browse/WFLY-12292?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13759563#comment-13759563 ]
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-deployment-descriptor
> 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)
More information about the jboss-jira
mailing list