What should happen during BC4J LOGOUT?

We have our custom pool, which takes database username, password, and URL from the login page and creates it if its valid. Like that I created 2 pools which will be accessed by all the JSPs.
We are currently using "RESERVED" mode.
During the logout process, I want to know what steps do I need to take. Like application module disconnect, pool.remove etc.
Can someone from Jdev team help us on this issue.
Virinchi

The logout page should probably release the reserved application
module instance to the pool. If you are using the BC4J datatags
this can be accomplished with the following line in your logout
jsp:
<jbo:ReleasePageResourcesTag releasemode="Stateless" />
This will allow the application pool to properly "reset" the
application module instance for reuse by other sessions. An
application module "reset" will include the following:
1. Rolling back the database session
2. Clearing the BC4J transaction caches (entity and rowset)
3. Releasing the application module's JDBC connection to the
JDBC connection pool for reuse by other application modules.

Similar Messages

  • SetRollbackOnly and EJBException..what should happen?

    I am wondering what peoples opinions are about what should happen when commiting a transaction in the following scenario.
    I have a transaction started by a stateless session bean method. This method just finds an entity bean and sets one of its attributes. When this stateless session bean method finishes, the transaction is commited by the container. While commiting the transaction, the container calls the ejbStore method of the entity bean. The ejbStore method calls a method on a different stateless session ejb. This stateless session ejb method calls setRollbackOnly and throws an ApplicationException. The entity ejbStore method catches the ApplicationException and throws it nested within an EJBException.
    The ejb2.0 spec says that the container should throw a javax.ejb.TransactionRolledbackLocalException if it can't commit a transaction. This is what I receive, but my question is what would you expect the nested transaction to be?
    I would expect the EJBException that I threw from ejbStore to be the nested exception.
    ie. I would expect this....
    javax.ejb.TransactionRolledbackLocalException: Error committing transaction:; nested exception is: javax.ejb.EJBException: nested exception is: au.com.sparq.test.ApplicationException: ApplicationException a b c...
    But as soon as setRollbackOnly is called, I will only ever receive this exception....
    javax.ejb.TransactionRolledbackLocalException: Error committing transaction:; nested exception is: weblogic.transaction.internal.AppSetRollbackOnlyException
    Why is an AppSetRollbackOnlyException being thrown by the container when I have told the container to rollback the transaction by throwing the EJBException from the ejbStore method of the entity ejb? In this case, the container shouldn't care that setRollbackOnly had been called. It should only be if the ejbStore method doesn't throw an EJBException that the AppSetRollbackOnlyException is thrown.
    The side effect of this behaviour is that I can never get access to the ApplicationException thrown within the ejbStore method, so I can never tell what caused it to fail.

    This is the expected behavior since Windows XP/Windows Server 2003.
    Note: Posts are provided “AS IS” without warranty of any kind, either expressed or implied, including but not limited to the implied warranties of merchantability and/or fitness for a particular purpose.

  • When i plug in my ipod to computer what should happen?

    I'm trying to download a book off itunes or anything off itunes onto my ipod ( 5th gen 30gb ) when I plug in my ipod all I get is a beep from my computer, what should happen?

    Hey fink51,
    When you first connect your iPod to your computer, it should automatically install the required drivers etc. You then may want to open iTunes (or configure it to open automatically every time you connect).
    If your iPod is not displaying in iTunes, or Windows, we'll need to start troubleshooting. See the following resource:
    Apple - Support - iPod touch - iTunes Troubleshooting Assistant
    http://www.apple.com/support/ipodtouch/assistant/itunes/
    iOS: Device not recognized in iTunes for Windows
    http://support.apple.com/kb/TS1538
    Thanks,
    Matt M.

  • BRM: What should happen if violations arise while role creation???

    Hi,
    I have configured the role methodology and it is working fine. But, I would like to know if any violations are arising while performing analysis, what should be done? Should be routed to some one? If yes, then how can we do it?
    What should be the standard process?
    Please help me understand this.
    Regards,
    Faisal

    Hi Faisal,
    If you have conflicts on action level that is not an issue, if on permission level nothing was reported.
    From practical perspective I prefer to have one role for one business activity, each time when broad roles where created it was very difficult to resolve SoD issues. Maybe instead of one you will have to assign two / or more to users, but long term it is really easier to maintain environment SoD clean. All other roles could go through FF.
    Unless you have some specific situation (like job position roles or sth similar), please share if this kind of approach may be suitable for you environment, or what could be the blocker.
    Best regards, Andrzej

  • Mark a message as junk?   I followed steps 1 and 2 under Manage junk email.   What should happen is not happening.

    Here is what I did based on these exact instructions under Manage junk email in Apple iCloud support:
    Mark message as junk:
    1. in the message list, select the message that you want to mark as junk.
    2. drag the message to the junk folder in the sidebar.
    Subsequent messages from the same sender are automatically marked as junk.
    The above is not happening.   Why?   I really dont want to enter every millionth junk email in the "rules".   Cant I just mark them and they are sorted, like other email accounts  I have?

    Why have I not received a reply?  Come on!  I need help with this and it should be an easy fix.   I see that I am not alone.   Is there no solution?

  • Low battery - when sleeping, what should happen

    When the battery is low, and I put the macbook pro to sleep, when I come back to the machine its dead. Now I can understand that the battery has exhausted, but my trusty Thinkpad would have hibernated so it wouldn't matter. Just mains, and off you go. This doesn't happen with the Mac, it's a start again, and possible corruption. Is this meant to happen?

    Several components, including the RAM, remain powered during sleep - if the battery is low when you sleep, it can run all the way down, forcing a shutdown. No corruption should occur - the MBP uses a "safe sleep" (writes the current state to the hard disk, but this is not saved across a restart). However, a complete shut down will require you to restart.
    Personally, I find a complete boot up on my MBP significantly faster than my HP laptop coming out of hibernation.

  • Opening a zip file from Mail - what should happen?

    I've been using a Mac for a little under a week so bear with me...!
    I receive a zip file in Mail and I want to open it, so naturally I click on it. I get a "may contain an application" warning. I click "Open". A window briefly appears with an "Unarchiving" progress bar, then vanishes. And that's it!
    Is this expected behaviour, or has something messed up here (most likely me!)? I would expect some sort of helper application to open showing the zip contents maybe?
    Thanks!
    Matt

    Hi Matt,
    Welcome to the discussions and to Macs!
    Zip has un-zipped the attachment contents into the place where the zip file was kept. Often that's a clever thing for it to do, but in this case the location is a place Mail chose rather than you!
    You might look in <home>/Library/Mail Downloads. If not, use Spotlight to search for the zip file by name. That directory will also hold the unzipped contents.
    Next time: Drag the zip file from the email to your desktop, then double-click it to unzip. The contents will show right up on the desktop too.
    Good luck,
    John

  • What should happen after removing restricted group GPO settings

    I created and applied restricted group settings in GPO 
    Computer Configuration -> Policies -> Windows Settgins -> Secuirty settings -> Restricted Groups
    which is linked to all production servers OU. I set up members of local administrators group to include only domain admins. This lead to removing all another accounts from local administrators group on all server. I was quite scared about this, I realize my
    mistake. So I remove this restricted groups settings from this GPO. Then on all servers previous configuration came back, all previously configured accounts are back in local administrator group. Is it normal behavior? I thought that these previously configured
    accounts will not back automatically

    This is the expected behavior since Windows XP/Windows Server 2003.
    Note: Posts are provided “AS IS” without warranty of any kind, either expressed or implied, including but not limited to the implied warranties of merchantability and/or fitness for a particular purpose.

  • What Exactly Is Happening During the 2?21/2014 Azure Update

    Can anyone tell me what will happen during the upcoming maintenance window on 2/21/14 for the Azure environment?

    hi,
    What is your meaning?
    Did you want to know maintenance scheduled? I suggest you could note the azure team blog via this link (
    http://blogs.msdn.com/b/windowsazure/ )
    and pay attention to the azure dashboard form
    http://www.microsoft.com/windowsazure/status/ .
    Regards,
    Will
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Unable to exit my songs....., Unable to exit my songs.....I'm stuck.. When I close GB and open it again is still on "my songs" ...what should I do?

    Unable to exit my songs....., Unable to exit my songs.....I'm stuck.. When I close GB and open it again is still on "my songs" ...what should I do?

    When I close GB and open it again is still on "my songs" ...what should I do?
    That doesn't actually sound like a problem. If you were viewing "My Songs", switch apps then go back to GB this what should happen. If you were playing an instrument then it should restart with that instrument selected etc. However if you can't get from the "My Songs" display to a song then I guess something is amiss.
    More drastic troubleshooting steps would be...
    Remove the app and reinstall it or
    Backup and then restore the device.
    See also http://www.apple.com/support/ios/garageband/
    tt2

  • Re: Help! Having trouble with what should be a simple v. (0/1)

    Thanks to you and everyone who showed interest.
    These are the files, I put them in both version 5.0 and 5.1 format.
    Sub1 is an attempt to make a sub VI that would be part of a larger
    prog. It works by itself but not when part of the bigger picture.
    The bigger picture is really just 5 possible copies of the sub.
    What should happen is when the operator enters a number into "Input
    Tray Number" and hits enter, the timer starts counting up to 45
    minutes. If it reaches 45 min an alarm goes off. If the "Tray in
    Oven" switch is hit before the alarm state, the timer stops and
    everything is reset to default.
    Again, it works fine in sub1.vi. The problem comes when trying to use
    5 seperate instances
    of that sub in Tray Timer.vi. The timers need to
    operate completely independantly of each other.
    I'm SURE it's a boneheaded mistake I'm making somewhere. I just can't
    see where.
    Thanks for any help provided.
    Steve Crowder
    [email protected]

    Regretfully, and with all due respect, your problems are manifold. The
    While Loop construct you used does not truly monitor for the user entering
    "Input Tray Number" and then start your countdown clock. The countdown
    clock will run only if the appropriate "Tray in Oven" Boolean control is set
    to false.
    If you started Tray Timer.vi using the Run Continuously button, you have the
    VI starting, seeing all of the "Tray in Oven" controls set to true, stopping
    itself, then starting itself again until it sees one of the "Tray in Oven"
    controls set to false. At this point the appropriate While Loop will run
    until the control is reset to true. The other While Loops will have
    finished running long ago because their "Tray in Oven" controls are set to
    true.
    The simplest solution is to enclose each of your While Loops in yet another
    While Loop, the continuation indicators of which are wired within the While
    Loop to either some overall Boolean control or its local or global;
    enclosing all of your While Loops in a single While Loop will have the same
    results as using the Run Continuously button.
    Remember that the Run Continuously button should be used only for debugging
    purposes. When it is time to run your final application, the Run button
    should be used to start it.
    Code well, and prosper!
    Douglas A. Femec, Software Engineer, Viewpoint Software Solutions, Inc.
    2320 Brighton-Henrietta Townline Road, Rochester, NY 14623
    (716) 475-9559, ext. 18 (voice); (716) 475-9645 (fax)
    [email protected]; www.ViewpointUSA.com
    Steve_C wrote in message
    news:[email protected]...
    > Thanks to you and everyone who showed interest.
    >
    > These are the files, I put them in both version 5.0 and 5.1 format.
    >
    > Sub1 is an attempt to make a sub VI that would be part of a larger
    > prog. It works by itself but not when part of the bigger picture.
    > The bigger picture is really just 5 possible copies of the sub.
    >
    > What should happen is when the operator enters a number into "Input
    > Tray Number" and hits enter, the timer starts counting up to 45
    > minutes. If it reaches 45 min an alarm goes off. If the "Tray in
    > Oven" switch is hit before the alarm state, the timer stops and
    > everything is reset to default.
    >
    > Again, it works fine in sub1.vi. The problem comes when trying to use
    > 5 seperate instances of that sub in Tray Timer.vi. The timers need to
    > operate completely independantly of each other.
    >
    > I'm SURE it's a boneheaded mistake I'm making somewhere. I just can't
    > see where.
    >
    > Thanks for any help provided.
    >
    > Steve Crowder
    > [email protected]

  • During the last week my Iphone has been switching off/on on its own and now my Iphone got stuck at the apple logo.What should I do?

    During the last week my Iphone has been switching off/on on its own and now my Iphone got stuck at the apple logo.What should I do?A month ago it also happened but then everything got back to normal.A person told me to change th display...what should i do?please help!

    Hey adinat,
    Welcome to Apple Support Communities! I would go through the steps in the iPhone troubleshooting assistant and see if that resolves the issue you're experiencing on your iPhone 5:
    Frozen or unresponsive iPhone
    http://www.apple.com/support/iphone/assistant/phone/
    Regards,
    David

  • My iPad mini iOS version is 6.0.2  I can't upgrade to iOS 7.  Message displayed is "Verification of update failed because you are no longer connected to the internet."  This happens while I am connected to the internet.  What should I do?

    My iPad mini iOS version is 6.0.2 which I can't upgrade to iOS 7.  Message displayed during verifying upgrade is "Can't verify upgrade because you are no longer connected to the internet". This happens again and again though I am connected to the internet through wifi.  What should I do?

    Reset the iPad and try again. Reset the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider if it appears on the screen - let go of the buttons. Let the iPad start up.
    Reset your router and try again. Unplug your router from power for about 30 seconds then plug it in again.
    Try another WiFi Network. Go to a friend's house, a library, anywhere else that you can use a trusted WiFi network.
    Try updating using iTunes on your computer.

  • Some times when I press the home button to read my finger the screen becomes black and it shows the Apple logo, this take a few seconds to get back the screen and this has been happening even 3 or 4 times in a row!   What should I do?

    Some times when I press the home button to read my finger the screen becomes black and it shows the Apple logo, this take a few seconds to get back the screen and this has been happening even 3 or 4 times in a row!
    What should I do?

    Basic troubleshooting from the User's Guide is reset, restart, restore (first from backup then as new).  Try each of these in order until the issue is resolved.

  • My Ipod Touch conects to my wi-fi, but when I open safari, or any other app that needs internet, it doesnt work. what should I do and why is this happening?

    My sister bought me an ipod touch less than a month ago. when he first came, he was conecting normal to my wifi, but today, he isnt. I use the same wifi at my laptop, and its perfectly working. My ipod identify the network, conects to it, but when I open an app that needs it, it doesnt work. What should I do?
    And why is this happening?

    - Reset the iPod. Nothing will be lost
    Reset iPod touch:  Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Power off and then back on your router
    - Reset network settings: Settings>General>Reset>Reset Network Settings
    - iOS: Troubleshooting Wi-Fi networks and connections

Maybe you are looking for

  • How to Set Video Dimension

    I have on the general tab a DV Playback or Playback for Windows and Im not for sure on how to set the Dimensions this is related to the Scaling Video thread.

  • Still problem with SQL Between... Help me GURUS!

    I've already posted this, but I will try to put it more simple: Imagine these Tables: Absentee Table ID_TRABALHADORES (Number PK) (Trabalhadores=Worker in english) DAT_INI_AUS (Date) - Initial date of absence DAT_FIM_AUS (Date) - End of Absence Justi

  • Using CS6 32Bit Plug in Doesn't Work?

    Plug in filter works only in 32 bit and when I open an image and click on the filter I get an error message - Memory Access Violation.  Can't get any farther. What do I do? If giving an explanation please assume I know nothing!

  • Je ne parviens pas à vider la mémoire de mon disque dur après avoir pourtant supprimé toutes mes photos...

    Bonjour, je viens de vider I Photo pour pouvoir récupérer de la mémoire sur mon disque dur.... J'ai également nettoyé I Tunes pour la même raison. Après être allée directement dans Pictures et avoir mis à la corbeille tout le dossier I Photo (que j'a

  • Help please (not blather): Fix/Disable CS3 palette fade-in/fade-out

    My other thread got clogged with lots of insults and useless comments. For those of you who have a problem with slow fade-in/out of CS3 palettes, I am asking for possible solutions to this problem, thanks. I am not asking for misdirection, insults, s