How do i get back my stateful session bean after it has been passivated

hi ,
How do i get back my stateful session bean after it has been passivated by container.
i'm confused that is it possible or not .......give me answer
i've one stateful sessionbean which i'm accessing throgh my normal java client . now what i'm doing is when i first time call a method it is running ......then i'm shutting down the server jboss .......it is calling my ejbPassivate() method ... at this particular time client program doesn't do anything.....
now after i restart my server i'm again calling back that business method with that last object reference.......it gives me the exception given below.....
java.rmi.NoSuchObjectException: no such object in table
java.rmi.NoSuchObjectException: no such object in table
     at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Unknown Source)
     at sun.rmi.transport.StreamRemoteCall.executeCall(Unknown Source)
     at sun.rmi.server.UnicastRef.invoke(Unknown Source)
     at org.jboss.invocation.jrmp.server.JRMPInvoker_Stub.invoke(Unknown Source)
     at org.jboss.invocation.jrmp.interfaces.JRMPInvokerProxy.invoke(JRMPInvokerProxy.java:118)
     at org.jboss.invocation.InvokerInterceptor.invokeInvoker(InvokerInterceptor.java:227)
     at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:167)
     at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:46)
     at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:55)
     at org.jboss.proxy.ejb.StatefulSessionInterceptor.invoke(StatefulSessionInterceptor.java:106)
     at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:86)
     at $Proxy1.makeNewAcc(Unknown Source)
     at client.GanJavaClient.main(GanJavaClient.java:46)so pls tell me that is it possible to get back that session besn or not

Stateful session beans are not persisted across restart of the EJB server instance(s) hosting them. You can't treat a Session bean as one would an entity bean.
Chuck

Similar Messages

  • HT1766 How do I get my iPod to work again after is has been disabled because I forgot my password & now I remember it?

    My iPod Touch has been disabled because I had forgotten the password.  Now I remember the password but can't get the iPod unlocked.  I am hooked up to iTunes but can't get it unlock still?  What am I doing wwrong????/

    1: Connect the device to your computer and open iTunes.
    2: If the device appears in iTunes, select and click Restore on the Summary pane.
    3: If the device doesn't appear in iTunes, try using the steps in this article to force the device into recovery mode.

  • HT1688 How do you get iTunes to recoginze your phone after it has been restored?

    I recently had to restore my phone back to factory settings and now my itunes on my computer doesnt recognize the phone and I cant get my music onto my iphone. Any suggestion on how to fix this problem? TY

    Would be helpful if you tell us what OS you are using
    iOS: Device not recognized in iTunes for Windows
    iOS: Device not recognized in iTunes for Mac OS X

  • HT4528 Howdy.  I keep getting a message stating that my apple ID has been disabled.  I recently contacted my CC company, AMEX, for several fradulent iTune charges, which is probably where the problem first originated.  How can I resolve this issue?

    Howdy.  I keep getting a message stating that my apple ID has been disabled.  I recently contacted my CC company, AMEX, for several fradulent iTune charges, which is probably where the problem first originated.  How can I resolve this issue?

    I had to dispute several unauthorized charges to itunes. My apple id was disabled after that. I followed jarnoldus's (older post) advice and it worked. Im duplicating his entry here with a few modifications. I hope this works for you.
    1. Go to https://getsupport.apple.com
    2. Choose your product (mine was ipad)
    3. Click the "iTunes, App Store or iBooks" icon
    4. Click "Apple ID account security"
    5. Type in "apple id has been disabled"
    6. Choose your country (mine was US)
    7. Choose the "talk to apple support now" option
    8. Provide the info they request (name, email, phone number)
    9. They will call you right away.
    Explain your apple id has been disabled. The rep will connect you to an iTunes rep. He/she will look up your account. You will be required to answer your 3 security questions. You MUST get a minimum of 2 correct. If you succeed they will enable your id. Good luck!

  • How do I get confirmation that an email I've sent has been received by the recipient?

    How do I get confirmation that an email I've sent has been received? I am using OS X 10.7.5.

    Not sure if this will work with your release of Mac OS X and Mail but some Google search for "Mac OS X Return Receipts" turned up this:
    <http://email.about.com/od/macosxmailtips/qt/et_request_recp.htm>

  • I am trying to buy music and I keep getting an error stating that my Apple ID has been disabled.  I reset my password but it still does not work.  What can I do?

    I am trying to buy music and I keep getting an error stating that my Apple ID has been disabled.  I reset my password but it still does not work.  What can I do?

    Crich,
    The usual reasons for an Apple ID getting disabled are either unauthorized activity or violations of the Terms & Conditions. 
    Submit your request to iTunes Customer Service and if appropriate, they will re-enable it.

  • TS1702 When trying to opdate I get the message that my account is not in the uk store but the french.How do I get back to the french store after a visit to uk ?

    Hello,
    When trying to opdate some of my apps I get the message that my account is not in the UK but  a French account. I have just been to London and I have not asked for an UK account but how do I get back to my French account ? I have tried to download a new app from Apple France but it did'nt wotk. I did'nt get it.
    Can you help me please ?
    Best regards
    Lisser

    Settings > iTunes & App Stores > Apple ID: > View Apple ID > Country/Region...change here.

  • How do i get back in my iTunes account after being locked out

    i locked myself out. how do 'i get back in?

    I had to call them when this happened to me. You can also reset your password from the Apple website. This might help
    http://www.apple.com/support/appleid/

  • Howto call the @Remove method of a stateful session bean after JSF page ...

    I use EJB3, JPA, JSF in my web application. There are 2 database tables: Teacher and Student. A teacher can have many (or none) students and a student can have at most 1 teacher.
    I have a JSF page to print the teacher info and all his students' info. I don't want to load the students' info eagerly because there's another JSF page I need to display the teacher info only. So I have a stateful session bean to retrieve the teacher info and all his students' info. The persistence context in that stateful session bean has the type of PersistenceContextType.EXTENDED. The reason I choose a stateful session bean and an extended persistence context is that I want to write something like this without facing the lazy initialization exception:
    <h:dataTable value="#{backingBean.teacher.students}" var="student">
        <h:outputText value="${student.name}"/>
    </h:dataTable>Because my session bean is stateful, I have a method with the @Remove annotation. This method is empty because I don't want to persist anything to the database.
    Now, my question is: How can I make the @Remove method of my stateful session bean be called automatically when my JSF page finishes being rendered?

    Philip Petersen wrote:
    I have a few questions concerning the EJB remove method.
    1) What is the purpose of calling the remove method on stateless session
    bean?There isn't one.
    >
    2) What action does the container take when this method is called?It checks that you were allowed to call remove (a security check) and then
    just returns.
    >
    3) What happens to the stateless session bean if you do not call the remove
    method?Nothing
    >
    4) Is it a good practice to call the remove method, or should the remove
    method be avoided in the case of stateless session beans?
    Personally, I never do it.
    -- Rob
    >
    >
    Thanks in advance for any insight that you may provide.
    Phil--
    AVAILABLE NOW!: Building J2EE Applications & BEA WebLogic Server
    by Michael Girdley, Rob Woollen, and Sandra Emerson
    http://learnWebLogic.com
    [att1.html]

  • How do I get back 5.3 library disappeared after I loaded from android to Premier Element 12?

    I recently upgraded to Premier Elements 12 and loaded my photo and videos from my android (Galaxy 4G Samsung) into the new program. After which when I went to my Lightroom 5.3 I found my entire library folders except one picture with a missing file statement, gone, disappeared. All gone but the one picture. The original files are still on my hard drive, but can I get them back with my Lightroom changes that haven't been saved? How do I do this? or are they all  gone?

    Are you sure you are opening the correct catalog? Search for .lrcat files and if you find the right one double click it.
    Do you have backup catalogs (you do, right)? Open your most recent backup catalog and see what you've got.
    I don't know about Premier Elements 12 but I can't see how that would be related to loosing you LR catalog.

  • How do I get back my files and setting after re-installing Lion?

    After I deleted the wrong file, I had to re-install Lion. After I went through the setup none of my file were on the desktop and the settings had all defaulted. After I looked under the User folder, I noticed there are 2 different users listed, ajoep3 and my_full_name.my_full_name contains all the files, and prseumably setting that I had before the re-install.
    How do I get those back? It won't allow me sign in under any other login.

    I have a backup, through Time Machine, but I didn't use that. I had files that weren't backed up on Time Machine, so I re-installed Lion from the App store. I hoped it would just replace the system files I had deleted. It's hard to explain, but the user names, ajoep3 and my_full_name are tied together.
    When I open the users folder it shows, ajoep with a house next to it, my_full_name and Shared. When I log in or out it only shows ajoep3. my_full_name isn't list in the system preferences>>users or any where else.

  • How can I get Back all of my data after restoring and back up ? I lost my data and I did back up

    when I did restore and update .. I lost all of my data , then I pressed to back up buttom , when I try to restore data , its disapper . is there anyway to get back all data lost ?

    If you are backing up to your computer, check iTunes/Edit/Preferences/Devices, if there are nay other backups listed.
    Since each backup replaces the old one if not used to restore from, your data might be lost since you seem to have backed up a phone without any personal data.
    Check this article about how to restore from backups:
    iOS: Back up and restore your iOS device with iCloud or iTunes

  • How do I get back audiobook Metadata fields that iTunes 12 has removed?

    The Audiobooks Get Info window in iTunes 12 appears be lacking fields that previously existed unless you had them filled in.  I can’t find a way to access the ‘missing’ fields - either to add them back or fill them in.  Example - I previously used Author as the one who wrote the book and Album Artist at the voice who reads the book (JK Rowling vs Jim Dale), each of those offering a different Sort category I should be able to select by.  But if I didn’t have it filled it when I converted to iTunes 12, I can’t do it now!  Same thing with Year.  I can make the List View show a Year column, but if it wasn’t previously filled it, I can’t figure out how to add it.  Clicking in the blank under the Year column doesn’t highlight it to be filled in and Get Info view won’t offer Year as a Field (it’s not listed under the Add Field drop down menu at the bottom of Get Info window either).  I even tried going to a book with everything filled in and choosing Always Show Current Fields from the Add Field drop down, hoping it would allow those fields on all the books, to no avail.  It feels like Apple is restricting our ability to manipulate the Metadata in our libraries so that they don't best function how us users have set them up. First iBooks and now Audiobooks in iTunes.  Any suggestions?

    what exactly are you trying to do? What does the purchase history in iTunes have to do with getting Snow Leopard? What do you mean by "don't want to re-purchase OS all over again to get back to Snow Leopard"?

  • How do I get back to default screen display after clicking View/Full Screen Display?

    After I click View/Full Screen on the Firefox menu bar, I lose the main FF Menu bar. When I hit the esc key, the screen remains locked in full screen view mode. Then I have to reboot my computer to get back to the default FF menu and display mode.
    Why doesn't the esc key work the way it works when I'm viewing videos in full screen mode?

    Try Fn + F11

  • My daughter locked herself out of her ipod.  She can't remember the password and now we are locked out.  How can I get back in or restore it after she forgot her password?

    My daughter forgot her password on her iphone and we cant get it unlocked.  Is there a way to bypass her password or restore the phone so she can use it again?

    Did this back along to mine. Plug it into itunes on your pc (or Mac) and click on the ipod icon on the left hand side. When the device options come up on the main screen, click on restore. Follow the steps and it should restore to factory settings. If you had icloud activated on the ipod all previous purchases should be in the cloud and ready to download onto the ipod afte rit has been restored to factory settings, otherwise you'll have to download them all again. Hope it helped.

Maybe you are looking for

  • My computer is asking me for my software name and password how can i recover this information?

    need some help trying to download something and asks me for my software name and password how can i recover this information?

  • Extra White Space Around Header Graphic & NavBar

    I have a header graphic and Navigation Bar (rollover images) positioned inside a table. Unfortunately, there is about 1-2 pixels of white space on the left, right, and top of the header graphic. Same with the NavBar--there's 1-2 pixels of white space

  • Does Lion support Pages '06?

    I get a string of error code when trying to open Word docs in Pages.

  • Clear list

    how can i clear list compleatly there are 2 methos remove and removeAll but remove all ask fo collection as parameter let say i have list of strings ArrayList<String> myList = new ArrayList<String>() myList.removeAll(/*????*/); or may be ther is bett

  • Javaws 1.4.2 "current thread not owner"

    Hello everyone, I have an application that I have been launching with javaws since the javaws 1.0.x days that won't work with javaws 1.4.2. Does anyone have any clue as to what could be wrong? Java Web Start 1.4.2 Console, started Thu Aug 21 09:15:25