我正在尝试使用以下代码从documentum源获取所有文档(当前版本)的内容
IDfSysObject document = (IDfSysObject) session.getObject(new DfId(eachFileMetadata.get(some document id).toString()));
ByteArrayInputStream docContent = document.getContent();
我收到以下错误:
DfException:: THREAD: Thread-585; MSG: [DM_STORAGE_E_NOT_ACCESSIBLE]error: "Storage area dist_store_a_store_010 is not currently accessible. Reason: errno: 145, message: Connection timed out."; ERRORCODE: 100; NEXT: null
at com.documentum.fc.client.impl.docbase.DocbaseExceptionMapper.newException(DocbaseExceptionMapper.java:57)
at com.documentum.fc.client.impl.connection.docbase.MessageEntry.getException(MessageEntry.java:39)
at com.documentum.fc.client.impl.connection.docbase.DocbaseMessageManager.getException(DocbaseMessageManager.java:137)
at com.documentum.fc.client.impl.connection.docbase.netwise.NetwiseDocbaseRpcClient.checkForMessages(NetwiseDocbaseRpcClient.java:329)
at com.documentum.fc.client.impl.connection.docbase.netwise.NetwiseDocbaseRpcClient.applyForInt(NetwiseDocbaseRpcClient.java:600)
at com.documentum.fc.client.impl.connection.docbase.DocbaseConnection$6.evaluate(DocbaseConnection.java:1343)
at com.documentum.fc.client.impl.connection.docbase.DocbaseConnection.evaluateRpc(DocbaseConnection.java:1141)
at com.documentum.fc.client.impl.connection.docbase.DocbaseConnection.applyForInt(DocbaseConnection.java:1336)
at com.documentum.fc.client.impl.docbase.DocbaseApi.makePuller(DocbaseApi.java:630)
at com.documentum.fc.client.impl.connection.docbase.RawPuller.<init>(RawPuller.java:22)
at com.documentum.fc.client.impl.session.Session.makePuller(Session.java:3756)
at com.documentum.fc.client.impl.session.SessionHandle.makePuller(SessionHandle.java:2468)
at com.documentum.fc.client.content.impl.BlockPuller.<init>(BlockPuller.java:27)
at com.documentum.fc.client.content.impl.PusherPullerContentAccessor.buildStreamFromContext(PusherPullerContentAccessor.java:40)
at com.documentum.fc.client.content.impl.PusherPullerContentAccessor.getStream(PusherPullerContentAccessor.java:28)
at com.documentum.fc.client.content.impl.ContentAccessorFactory.getStream(ContentAccessorFactory.java:37)
at com.documentum.fc.client.content.impl.Store.getStream(Store.java:63)
at com.documentum.fc.client.content.impl.DistributedStore___PROXY.getStream(DistributedStore___PROXY.java)
at com.documentum.fc.client.content.impl.Content.getStream(Content.java:185)
at com.documentum.fc.client.content.impl.Content___PROXY.getStream(Content___PROXY.java)
at com.documentum.fc.client.content.impl.ContentManager.getStream(ContentManager.java:84)
at com.documentum.fc.client.content.impl.ContentManager.getStream(ContentManager.java:53)
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 :(得分:0)
似乎无法访问您的存储位置。
在dm_location
中查询storage_01
,并找出该记录的file_system_path
属性值。
如果您的内容服务器在Unix服务器上,则使用file_system_path
命令检查是否具有df- h
值的装载。
如果您的内容服务器在Windows上,则检查是否已映射具有file_system_path
值的可用驱动器。
如果看到可用的文件,我建议在此文件系统上创建和访问文件。有时在NFS挂载上存在过时的连接问题。