Python is an isolated VM with its own hardware-independent type system, complicated and expensive FFI, etc. Ctypes has a beautifully clean interface, but it's certainly not cheap, and the JVM will crush Python in terms of performance in the vast majority of cases. Servlets? Containers? Why would you need these in this context -- you seem to be throwing out Java buzzwords to see what sticks.
Simply put, there's absolutely no reason why Java couldn't be a good choice here; that doesn't mean that it is implemented well in this case, but there's no reason why it couldn't be. Python, from an architectural standpoint, is by no means better suited than the JVM for this, even if the language and libraries are subjectively much, much nicer.