Hallo,
der Aufruf von:
dokument.closeMIMEEntities(true);
führt zu folgender Fehlermeldung:
NotesException: Session closed due to communications failure
at lotus.domino.cso.ORBCallback.make_error(Unknown Source)
at lotus.priv.CORBA.iiop.Generic.make_error(Unknown Source)
at lotus.priv.CORBA.portable.ObjectImpl._invoke(Unknown Source)
at lotus.domino.corba._IDocumentStub.closeMIMEEntities(Unknown Source)
at lotus.domino.cso.Document.closeMIMEEntities(Unknown Source)
at xxx.xxx.xxx.xxx.xxx(xxx:324)
at lotus.domino.NotesThread.run(Unknown Source)
Caused by: org.omg.CORBA.COMM_FAILURE: java.io.IOException: Connection closed: Host: xxx.xxx.xxx.xxx Port: xxxxx vmcid: 0x0 minor code: 1 completed: Maybe
at lotus.priv.CORBA.iiop.IIOPConnection.purge_calls(Unknown Source)
at lotus.priv.CORBA.iiop.ReaderThread.run(Unknown Source)
Caused by: java.io.IOException
at lotus.priv.CORBA.iiop.Message.readFully(Unknown Source)
at lotus.priv.CORBA.iiop.Message.createFromStream(Unknown Source)
at lotus.priv.CORBA.iiop.IIOPInputStream.prefill(Unknown Source)
at lotus.priv.CORBA.iiop.IIOPConnection.createInputStream(Unknown Source)
... 1 more
und der komplette Dominoserver hat sich danach verabschiedet.
????
Problem gelöst.
Vor dem genannten Aufruf wurde
session.setConvertMIME(false)
nicht aufgerufen, was dann zu dem Fehler führte.