Topic
1 reply Latest Post - ‏2009-09-14T14:34:11Z by SystemAdmin
SystemAdmin
SystemAdmin
334 Posts
ACCEPTED ANSWER

Pinned topic JVMLK005: current thread not owner during Reading emails using Notes.jar

‏2009-09-01T21:14:23Z |
I have stand alone java program which is reading the emails using the Lotus notes API Notes.jar from Lotus notes server. I am getting error during reading the large attachments from the Email. If the email size is approximate >5 MB then I am getting
JVMLK005: current thread not owner(More details in Screen shot attached).
This error is not consistent. I am able to read the email around 10MB when I am running this program from the windows machine which has Lotus Notes, RAD installed. But I am getting error in Unix machine where the Batch this batch application is actually deployed.

java.lang.IllegalMonitorStateException: JVMLK005: current thread not owner
at java.lang.Object.notifyAll(Native Method)
at lotus.priv.CORBA.iiop.Lock.unlock(Unknown Source)
at lotus.priv.CORBA.iiop.IIOPConnection.writeUnlock(Unknown Source)
at lotus.priv.CORBA.iiop.IIOPConnection.send(Unknown Source)
at lotus.priv.CORBA.iiop.IIOPConnection.invoke(Unknown Source)
at lotus.priv.CORBA.iiop.IIOPOutputStream.invoke(Unknown Source)
at lotus.priv.CORBA.iiop.RepImpl.invoke(Unknown Source)
at lotus.priv.CORBA.portable.ObjectImpl._invoke(Unknown Source)
at lotus.priv.CORBA.portable.ObjectImpl._invoke(Unknown Source)
at lotus.domino.corba._IDatabaseStub.createDocument(Unknown Source)

Attachments

Updated on 2009-09-14T14:34:11Z at 2009-09-14T14:34:11Z by SystemAdmin
  • SystemAdmin
    SystemAdmin
    334 Posts
    ACCEPTED ANSWER

    Re: JVMLK005: current thread not owner during Reading emails using Notes.jar

    ‏2009-09-14T14:34:11Z  in response to SystemAdmin
    This forum is for WebSphere Portlet Factory's integration with Lotus Domino.

    Since you're having trouble with a standalone app using Domino's Java API, I recommend posting in a Domino-specific forum.

    The Domino forums are here:
    https://www.ibm.com/developerworks/lotus/community/