On 04/13/2015 12:27 AM, Øyvind Harboe wrote:
I found another crucial clue:
if I use ClientDriver instead of EmbeddedDriver and connect to the
Derby database running under Jetty, I get identical performance with
Tomcat and Jetty.
This is very strong indication that there is something about the
combination of EmbeddedDriver and Tomcat that is gumming up the works.
Could it be that your Tomcat setup always uses the ClientDriver for some
reason? I don't know much about setting up Databases with AppServers,
but based on the number of questions on SO and other places, it isn't
trivial...
--
Regards,
Dyre