-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
None
-
None
WildFly is running inside a Docker container with two Windows-mounted volumes:
- Source code repository
- WildFly server directory (including deployments)
When the server starts:
- WildFly initially deploys applications successfully and registers the web contexts.
- After a short delay, the deployment scanner detects file changes even though no actual changes were made.
- Based on these false change detections, WildFly unregisters the web contexts and redeploys the applications.
- This leads to an infinite redeployment loop.
This issue:
- Does not occur when WildFly is run directly on Windows
- Only occurs when the source code repo and WildFly directory are mounted into Docker from a Windows host
Environment
- Host OS: Windows
- Container Runtime: Docker Desktop
- Volumes:
-
- Windows-mounted source code repository
-
- Windows-mounted WildFly server directory
- Application Server: WildFly
- Deployment Scanner: Enabled{}
Please clarify why the deployment scanner detects file changes on mounted Windows volumes when no files are modified, and provide recommended configuration or workaround.