> Since initVM() must be called from the main thread, the call to > attachCurrentThread() listed above is not necessary.
Thanks, I'll remove that line. > This should be called once per thread. Calling it for every request better be > fast and innocuous. I've noticed no appreciable (measurable) overhead with this call. How might one execute a statement once per apache thread anyway? > I can only assume the extra calls don't matter but I didn't verify it. I can say that over two+ years of heavy, heavy use, I haven't had any issues. Our PyLucene/Apache servers are the busiest servers in our setup and never so much as hiccup. TJ
