JSP Using FileWatcher Service Spins On CPU And Never Returns On All Linux Flavours
(Doc ID 2949011.1)
Last updated on MAY 19, 2023
Applies to:
Oracle Database - Enterprise Edition - Version 19.4.0.0.0 to 19.18.0.0.0 [Release 19]Information in this document applies to any platform.
Symptoms
The Java Stored Procedure that does registering file path with a WatchService for a file does watch successfully on Windows.
The same code fails to execute on Linux platforms and the .register() method goes into a spin on the CPU and never returns.
The issue can be reproduced consistently on Linux environment.
Following code snippet can be used to reproduce the issue.
Changes
The code works fine on Windows platforms but hangs in Linux platforms.
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Changes |
Cause |
Solution |
References |