• Join/Login
  • Business Software
  • Open Source Software
  • For Vendors
  • Blog
  • About
  • More
    • Articles
    • Create
    • SourceForge Podcast
    • Site Documentation
    • Subscribe to our Newsletter
    • Support Request
SourceForge logo
For Vendors Help Create Join Login
SourceForge logo
SourceForge logo
Business Software
Open Source Software
SourceForge Podcast
Resources
  • Articles
  • Case Studies
  • Blog
Menu
  • Help
  • Create
  • Join
  • Login
  • Home
  • Browse
  • JBoss Community
  • Patches
JBoss Community

InMethod-Flag usage in StatefulSessionFilePersistenceManager

Brought to you by: newtonm, nihility, patriot1burke, starksm
  • Summary
  • Files
  • Reviews
  • Support
  • Mailing Lists
  • Tickets ▾
    • Change Notes
    • Bugs
    • Patches
    • Feature Requests
  • News
  • CVS
Menu ▾ ▴
  • Create Ticket
  • View Stats

Group

  • CVS HEAD
  • v2.2.2 (stable)
  • v2.4 BETA (stable)
  • v2.4 (stable)
  • v3.0 Rabbit Hole
  • v3.1
  • v4.0

Searches

  • Changes
  • Closed Tickets
  • Open Tickets

Help

  • Formatting Help

#484 InMethod-Flag usage in StatefulSessionFilePersistenceManager

CVS HEAD
open
nobody
JBossServer (206)
5
2004-04-11
2004-04-11
Matthias Germann
No

I noticed that the class
org.jboss.ejb.plugins.StatefulSessionFilePersistenceManager
does not push and pop the InMethod-Flag of the
EnterpriseContext when calling container callback methods.

Therefore, calling any method on the EnterpriseContext
within a callback from the
StatefulSessionFilePersistenceManager results in an
IllegalStateException ("Cannot obtain inMethodFlag for
...").

This patch ensures that the
StatefulSessionFilePersistenceManager pushes and pops
the InMethod-Flag correctly when calling the follwing
methods:
ejbPassivate()
ejbActivate()
ejbRemove()

Regards,
Matthias

Discussion

  • Matthias Germann

    Matthias Germann - 2004-04-11
     
    sfsb-callbacks.diff
    If you would like to refer to this comment somewhere else in this project, copy and paste the following link:

Log in to post a comment.

SourceForge
  • Create a Project
  • Open Source Software
  • Business Software
  • Top Downloaded Projects
Company
  • About
  • Team
  • SourceForge Headquarters
    225 Broadway Suite 1600
    San Diego, CA 92101
    +1 (858) 422-6466
Resources
  • Support
  • Site Documentation
  • Site Status
  • SourceForge Reviews
SourceForge logo
© 2025 Slashdot Media. All Rights Reserved.
Terms Privacy Opt Out Advertise
×
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.