-
Notifications
You must be signed in to change notification settings - Fork 623
Open
Labels
release bugThis bug is present in a released version of Open LibertyThis bug is present in a released version of Open Liberty
Description
Describe the bug
If random texts appears between elements, it is not detected. This could also be a missing opening or closing angle bracket "<" or ">".
For example,
<server >
xwebApplication id="CicsSnoopApi" location="${server.config.dir}/apps/BadCicsSnoopApi.war"
name="CicsSnoopApi" contextRoot="/CicsSnoopApi"/>
</server>
<server >
xxxx
<webApplication id="CicsSnoopApi" location="${server.config.dir}/apps/BadCicsSnoopApi.war"
name="CicsSnoopApi" contextRoot="/CicsSnoopApi"/>
</server>
The problem is, it becomes difficult to debug the problem since it goes undetected. An error message should be displayed in server.xml.
Also, if onError=FAIL is configured, the server startup should fail.
Steps to Reproduce
Use the above config.
start the server.
Expected behavior
An error message should be displayed.
Diagnostic information:
- OpenLiberty Version: [e.g. 0 - 25.0.0.11]
- Affected feature(s) N/A
- Java Version: N/A
Metadata
Metadata
Assignees
Labels
release bugThis bug is present in a released version of Open LibertyThis bug is present in a released version of Open Liberty