Hello,
(Sorry, I'm not too good at java and my english is not too good.... :( )
Hmmm ...I develop a JSF application (JSF 2.1), it runs on Glassfish 3.1.2 (linux). The database is an Oracle XE 11g.
It uses the pool and the jdbc connection from application (I put them in the glassfish-resources.xml).
I used to deploy to the test server, it worked fine, the app run fast... until now. Now it runs very very slow.... the login process spent about 1 second, but now it spends about 20 seconds.
But if I define the pool and the jdbc connection in the glassfish (global), it runs fast again.
I don't know what did I do wrong, what did I miss? Any idea why did it work so slow....?