Documentum错误:[DM_SESSION_E_RPC_ERROR]

时间:2018-05-02 12:55:27

标签: documentum documentum6.5 documentum-dfs documentum-dfc documentum7.3

我正在尝试使用以下代码从documentum源获取所有文档(当前版本)的内容

IDfSysObject document = (IDfSysObject) session.getObject(new DfId(eachFileMetadata.get(some document id).toString()));
ByteArrayInputStream docContent = document.getContent();

我收到以下错误:

       DfIOException:: THREAD: Thread-585; MSG: [DM_SESSION_E_RPC_ERROR]error:  "Server communication failure"; ERRORCODE: 100; NEXT: null
    at com.documentum.fc.client.DfIOException.newCommunicationFailureException(DfIOException.java:16)
    at com.documentum.fc.client.impl.connection.netwise.AbstractNetwiseRpcClient.receiveMessage(AbstractNetwiseRpcClient.java:193)
    at com.documentum.fc.client.impl.connection.docbase.netwise.NetwiseDocbaseRpcClient.getBlock(NetwiseDocbaseRpcClient.java:1042)
    at com.documentum.fc.client.impl.connection.docbase.DocbaseConnection.getBlock(DocbaseConnection.java:1475)
    at com.documentum.fc.client.impl.connection.docbase.RawPuller.getBlock(RawPuller.java:52)
    at com.documentum.fc.client.content.impl.BlockPuller.nextBlock(BlockPuller.java:49)
    at com.documentum.fc.client.content.impl.PullerInputStream.getNextBuffer(PullerInputStream.java:73)
    at com.documentum.fc.client.content.impl.PullerInputStream.ensureBufferHasData(PullerInputStream.java:63)
    at com.documentum.fc.client.content.impl.PullerInputStream.read(PullerInputStream.java:88)
    at java.io.FilterInputStream.read(FilterInputStream.java:133)
    at java.io.FilterInputStream.read(FilterInputStream.java:133)
    at java.io.FilterInputStream.read(FilterInputStream.java:107)
    at com.documentum.fc.impl.util.io.StreamUtility.copyContents(StreamUtility.java:50)
    at com.documentum.fc.impl.util.io.StreamUtility.copyContents(StreamUtility.java:30)
    at com.documentum.fc.client.DfSysObject.getContentEx3(DfSysObject.java:1952)
    at com.documentum.fc.client.DfSysObject.getContentEx2(DfSysObject.java:1942)
    at com.documentum.fc.client.DfSysObject.getContent(DfSysObject.java:1932)
    at com.documentum.fc.client.DfDocument___PROXY.getContent(DfDocument___PROXY.java)

当我试图获取文档内容时出现上述错误,有人可以帮助我吗?

0 个答案:

没有答案