EJB programming & troubleshooting: Getting Exception while accessing the deployed bean

  1. Hi!
    I am deployed a CMP bean using the console of the WLS, and i am using JDriver, i created the connection pools in the console itself. the DB is oracle.
    When i am accessing the deployed bean through the client and calling the bean methods (which retrieve data from the DB) i am getting the following exception .

    Beginning Loan.Client..

    before creating the object
    Look up method for Home Interface
    initial context is called
     after the initial context is called
    in the Look up method for Home Interface
    before returing the object
    Look up method for Home Interface has returned the home object
    Before the runExample() method is called
    In the runExample() method
    The Loan object with Id is returned
    Calling the business methods of the Bean
    Calling the getApplicationState() method of the bean
    java.rmi.UnmarshalException: Weblogic RemoteException(weblogic.rjvm.PeerGoneExce
    ption) remapped from:weblogic.rjvm.PeerGoneException: no message was received fo
    r 240 seconds; nested exception is:
            weblogic.rjvm.PeerGoneException: no message was received for 240 seconds

    weblogic.rjvm.PeerGoneException: no message was received for 240 seconds
            at weblogic.rmi.extensions.AbstractRequest.sendReceive(AbstractRequest.j
            at LoanBeanEOImpl_WLStub.getApplicationState(LoanBeanEOImpl_WLStub.java:
            at Client.runExample(Client.java:119)
            at Client.main(Client.java:63)
    Unable to retrieve the value from the DB
    End of Loan.Client...
    Can anyone explain why i might be getting this exception.
  2. Were you able to find out the reason for this error.
    Please lemme know.