Hello All,
This may not be AW issue (may be JPA issue) but I can't find solution for a few days.
If you have any insights or experiences, please advice.
Application seems to failed to connect database after first fetch.
The case is,
1. fetch departments
2. Use selected one of the departments fetched on UI
3. fetch persons belong to the department
But no persons are displayed.
Here is the debug log.
========================================================================================
12:04:43,254 DEBUG SQL:111 - select executed
12:04:43,260 DEBUG AbstractBatcher:426 - about to open ResultSet (open ResultSets: 0, globally: 0)
12:04:43,265 DEBUG AbstractBatcher:433 - about to close ResultSet (open ResultSets: 1, globally: 1)
12:04:43,269 DEBUG AbstractBatcher:418 - about to close PreparedStatement (open PreparedStatements: 1, globally: 1)
12:04:43,274 DEBUG ConnectionManager:427 - aggressively releasing JDBC connection
========================================================================================
I developed this app on Mac and tested on Mac, and found that it worked perfectly without "aggressively releasing JDBC connection" log message.
Then I deployed it on Linux (Ubuntu 10) and encountered the problem.
App server is glassfish 3.0.1 and database is PostgreSQL 8.4.
Sorry for this wide distribution.
Kazz