Skip to main content

developerWorks >  WebSphere  >  Forums  >  IBM WebSphere Portlet Factory - Lotus Collaboration Extension  >  developerWorks

JVMLK005: current thread not owner during Reading emails using Notes.jar    Point your RSS reader here for a feed of the latest messages in this thread


Tags for this thread: 

     

 
 

My developerWorks
 Welcome, Guest
Sign in or register
Permlink Replies: 1 - Pages: 1 - Last Post: Sep 14, 2009 10:34 AM Last Post By: salexander
COBOL

Posts: 1
Registered: Sep 01, 2009 04:55:18 PM
JVMLK005: current thread not owner during Reading emails using Notes.jar
Posted: Sep 01, 2009 05:14:23 PM
Click to report abuse...   Click to reply to this thread Reply
Attachment Error.doc (45.0 KB)
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)
salexander

Posts: 182
Registered: Mar 14, 2007 01:29:36 PM
Re: JVMLK005: current thread not owner during Reading emails using Notes.jar
Posted: Sep 14, 2009 10:34:11 AM   in response to: COBOL in response to: COBOL's post
Click to report abuse...   Click to reply to this thread Reply
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/
 Tags
Help

Use the search field to find all types of content in My developerWorks with that tag.

Use the slider bar to see more or fewer tags.

Popular tags shows the top tags for this particular type of content or application that you're viewing.

My tags shows your tags for this particular type of content or application that you're viewing.

 

MoreLess 


Point your RSS reader here for a feed of the latest messages in all forums