2

我正在使用 Domino Server 9。服务器运行正常。

在某个阶段,它会达到上传到 XPage 上传控件失败并出现 FileNotFound 错误的状态(它找不到为正在上传的文件创建的临时文件,稍后会详细介绍)。

在某些情况下,服务器达到这种状态可能一天一两次。

一旦出现这种状态,任何正在上传的文件都会产生相同的 FileNotFound 错误。阻止这种情况发生的唯一方法是重新启动服务器。

完整的异常详细信息:

CLFAD0211E: Exception thrown
com.ibm.xsp.FacesExceptionEx: com.ibm.xsp.FacesExceptionEx:
java.io.FileNotFoundException:
C:WINDOWSTEMPnotes618068xspuploadupload_00010082.tmp (The
system
cannot find the path specified.)
at
com.ibm.xsp.context.FacesContextExImpl.(FacesContextExImpl
.java:26
7)
at
com.ibm.xsp.domino.context.DominoFacesContext.(DominoFaces
Context.
java:32)
at
com.ibm.xsp.domino.context.DominoFacesContextFactoryImpl.getFace
sContext
(DominoFacesContextFactoryImpl.java:67)
at
com.ibm.xsp.controller.FacesControllerImpl.getFacesContext(Faces
Controll
erImpl.java:175)
at
com.ibm.xsp.webapp.FacesServlet.getFacesContext(FacesServlet.jav
a:352)
at
com.ibm.xsp.webapp.FacesServlet.service(FacesServlet.java:141)
at
com.ibm.xsp.webapp.FacesServletEx.service(FacesServletEx.java:13
7)
at
com.ibm.xsp.webapp.DesignerFacesServlet.service(DesignerFacesSer
vlet.jav
a:103)
at
com.ibm.designer.runtime.domino.adapter.ComponentModule.invokeSe
rvlet(Co
mponentModule.java:576)
at
com.ibm.domino.xsp.module.nsf.NSFComponentModule.invokeServlet(N
SFCompon
entModule.java:1267)
at
com.ibm.designer.runtime.domino.adapter.ComponentModule$AdapterI
nvoker.i
nvokeServlet(ComponentModule.java:847)
at
com.ibm.designer.runtime.domino.adapter.ComponentModule$ServletI
nvoker.d
oService(ComponentModule.java:796)
at
com.ibm.designer.runtime.domino.adapter.ComponentModule.doServic
e(ComponentModule.java:565)
at
com.ibm.domino.xsp.module.nsf.NSFComponentModule.doService(NSFCo
mponentModule.java:1251)   at
com.ibm.domino.xsp.module.nsf.NSFService.doServiceInternal(NSFService.java:598)   at
com.ibm.domino.xsp.module.nsf.NSFService.doService(NSFService.java:421)
at com.ibm.designer.runtime.domino.adapter.LCDEnvironment.doService
(LCDEnvironment.java:341)
at
com.ibm.designer.runtime.domino.adapter.LCDEnvironment.service(L
CDEnvironment.java:297)   at
com.ibm.domino.xsp.bridge.http.engine.XspCmdManager.service(XspCmdManager.java:272)
Caused by: com.ibm.xsp.FacesExceptionEx:java.io.FileNotFoundException:
C:WINDOWSTEMPnotes618068xspuploadupload_00010082.tmp (The system
cannot find the path specified.)   at
 com.ibm.xsp.http.FileUploadRequestWrapper.doParseRequest(FileUploadRequestWrapper.
 java:153)
 at
com.ibm.xsp.http.FileUploadRequestWrapper.getParameter(FileUploadRequest
Wrapper.java:573)

at
javax.servlet.ServletRequestWrapper.getParameter(ServletRequestWrapper.java:161)
at
com.sun.faces.context.RequestParameterMap.get(ExternalContextImpl.java:6
29)
at
com.ibm.xsp.context.FacesContextExImpl.(FacesContextExImpl
.java:17
5)
... 18 more
Caused by: java.io.FileNotFoundException:
C:WINDOWSTEMPnotes618068xspuploadupload_00010082.tmp (The    system
cannot find the path specified.)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.(FileOutputStream.java:190)
at java.io.FileOutputStream.(FileOutputStream.java:142)
at
com.ibm.xsp.http.fileupload.DeferredFileOutputStream.thresholdReached(De
ferredFileOutputStream.java:183)
at
com.ibm.xsp.http.fileupload.ThresholdingOutputStream.checkThresh
old(ThresholdingOutputStream.java:275)   at
4

2 回答 2

1

I tried a fix to solve the issue. i have changed the temp file storing directory of my domino server to a different directory in my notes.ini file. It solves the problem.

于 2013-10-23T10:37:54.130 回答
1

if this happens, can you access the c:/windows/temp on OS level? Is there any special about this directory? Disks space problems perhaps?

Also check the access rights on that folder, maybe something happens so that Domino doesn't have the right to access the temp directory anymore.

于 2013-10-16T07:29:59.123 回答