This Tomcat is available via localhost:8080/my_app and 22.214.171.124:8080/my_app (where 12 is my external IP)
So I try to carry out an experiment via localocalhost:8080/my_app - works fine.
First time I try to carry out an via 126.96.36.199:8080/my_app - works fine.
Second time 188.8.131.52:8080/my_app - doesn't work. Produces incorrect results.
Anytime using localhost:8080/my_app - works fine.
NOTE. The tomcat instance is still the same, when using external url to perform an experiment it fails all time except the first one, but locally (localhost) it works perfectly all the time on the same tomcat instance.
But if I reboot the server or simply restart a tomcat instance first time from the external world works all other fails.
It is really weird problem, seems that something is going wrong with a part of shared memory, global variables or session.
I have spent a week trying to find the problem, but still no luck.
Using different operating systems, Java versions, Jetty instead of a Tomcat server ...
Could you please suggest something taking into the account used technologies, maybe there is some specific stuff happens for remote request like forking, using new instance ....
I would be grateful for any help.
Surfs up space ponies, I'm making gravy without this lumpy, tiny ad: