I have Lucee running on a Windows Server 2016 and I am trying to figure out a strange problem. I have created a web service which appears to work fine.
When I send a request to the web service from the machine it is hosted on it all works fine. But when external users send requests it works fine for exactly 15 requests then on the 16th it fails returning a message:
jdk.internal.reflect.MethodAccessorImpl] is invalid or doesn’t exist
In the stderr log I find this:
SEVERE [Thread-3257] org.apache.catalina.startup.Catalina.stopServer Error stopping Catalina
org.apache.catalina.LifecycleException: An invalid Lifecycle transition was attempted ([before_stop]) for component [StandardServer] in state [DESTROYED]
and further down this as well:
Caused by: java.io.FileNotFoundException: C:\lucee\tomcat\webapps\ROOT\WEB-INF\lucee\cfclasses\RPC\jdk\internal\reflect\MethodAccessorImpl.class (The system cannot find the path specified)
At this point if I restart the Lucee Tomcat service and then it works again, but after 15 requests it fails again on the 16th request.
At this point I am not sure what to do, I have not been able to find any information about these errors. I see that this class does not exist, but why does it go looking for it after working correctly for 15 requests. Any help anyone can offer about this would be gratefully received, as as this point the project is on the verge of abandoning Lucee as the platform.
Thanks for your time.