Bug 807347 - dvdstore example throws "org.hibernate.SessionException: Session is closed!"
Summary: dvdstore example throws "org.hibernate.SessionException: Session is closed!"
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: JBoss Enterprise WFK Platform 2
Classification: Retired
Component: Seam
Version: 2.0.0.GA
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: Marek Novotny
QA Contact:
URL:
Whiteboard: Seam2.2
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-03-27 15:02 UTC by Ron Šmeral
Modified: 2016-11-01 01:36 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
This issue can be worked around by changing the Persistence Context Type to Extended in FullTextSearchAction.java, as in: https://gist.github.com/2114440 .
Clone Of:
Environment:
Fedora 16 64-bit, Mozilla Firefox 3.6.25, Oracle JDK 1.6.0_30, Seam 2.2.5.EAP5 (included in EAP 5.1.2.GA)
Last Closed: 2012-05-11 12:34:44 UTC
Type: Bug


Attachments (Terms of Use)
Server log (19.23 KB, text/plain)
2012-03-27 15:02 UTC, Ron Šmeral
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker JBPAPP-8485 0 None Closed dvdstore example throws "org.hibernate.SessionException: Session is closed!" 2012-06-20 06:29:09 UTC

Description Ron Šmeral 2012-03-27 15:02:10 UTC
Created attachment 573090 [details]
Server log

Note:
Seam version: 2.2.5.EAP5 (included in EAP 5.1.2.GA)
The tasks example from Seam 2.2 was migrated to EAP6 according to the migration guide on Documentation-Stage (http://documentation-stage.bne.redhat.com/docs/en-US/JBoss_Enterprise_Application_Platform/6/html/Beta_Documentation/Migrate_Seam_22_Archives_to_JBoss_Enterprise_Application_Platform_6.html)
and the bug was verified to occur with EAP 6.0.0.ER3.

There is a patch available: https://gist.github.com/2114440

Current behaviour:
The search sometimes fails and throws an exception.

Steps to reproduce:
1. Search for something that won't give any result, e.g. "asdf", wait for page to load
2. Search for something that will give a result, e.g "harry"
3. A debug page is returned instead of the search results page

Relevant part of server log attached.

Comment 1 Ron Šmeral 2012-03-27 15:06:07 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
This issue can be worked around by changing the Persistence Context Type to Extended in FullTextSearchAction.java, as in: https://gist.github.com/2114440 .

Comment 2 Marek Schmidt 2012-05-11 12:34:44 UTC
Closing, as this issue cannot be reproduced anymore on EAP6.0.0 ER6.


Note You need to log in before you can comment on or make changes to this bug.