While uploading attachment in Xpage getting java.io.FileNotFoundException

15 pts.
Tags:
Lotus Domino
Xpages
I am using Domino Server 9. And the server is running proper. At some stage it reaches a state where an upload to an XPage upload control fails with a FileNotFound error (it can't find a temp file created for the file being uploaded, more details about this later). In some cases the server reaches this state may be once or twice in a day. Once this state occurs any file being uploaded will produce the same FileNotFound error. The only way to stop this happening is to restart the server.
Complete exception details:
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.<init>(FacesContextExImpl
.java:26
7)
at
com.ibm.xsp.domino.context.DominoFacesContext.<init>(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(Compon
entModule.java:565)
at
com.ibm.domino.xsp.module.nsf.NSFComponentModule.doService(NSFCo
mponentM
odule.java:1251)
at
com.ibm.domino.xsp.module.nsf.NSFService.doServiceInternal(NSFSe
rvice.ja
va:598)
at
com.ibm.domino.xsp.module.nsf.NSFService.doService(NSFService.ja
va:421)
at
com.ibm.designer.runtime.domino.adapter.LCDEnvironment.doService
(LCDEnvi
ronment.java:341)
at
com.ibm.designer.runtime.domino.adapter.LCDEnvironment.service(L
CDEnviro
nment.java:297)
at
com.ibm.domino.xsp.bridge.http.engine.XspCmdManager.service(XspC
mdManage
r.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(FileUpl
oadReque
stWrapper.java:153)
at
com.ibm.xsp.http.FileUploadRequestWrapper.getParameter(FileUploa
dRequest
Wrapper.java:573)
at
javax.servlet.ServletRequestWrapper.getParameter(ServletRequestW
rapper.j
ava:161)
at
com.sun.faces.context.RequestParameterMap.get(ExternalContextImp
l.java:6
29)
at
com.ibm.xsp.context.FacesContextExImpl.<init>(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.<init>(FileOutputStream.java:190)
at java.io.FileOutputStream.<init>(FileOutputStream.java:142)
at
com.ibm.xsp.http.fileupload.DeferredFileOutputStream.thresholdRe
ached(De
ferredFileOutputStream.java:183)
at
com.ibm.xsp.http.fileupload.ThresholdingOutputStream.checkThresh
old(Thre
sholdingOutputStream.java:275)
at
com.ibm.xsp.http.fileupload.ThresholdingOutputStream.write(Thres
holdingO
utputStream.java:182)
at
com.ibm.xsp.http.fileupload.MultipartStream.readBodyData(Multipa
rtStream
.java:576)
at
com.ibm.xsp.http.fileupload.FileUploadBase.parseRequest(FileUplo
adBase.j
ava:451)
at
com.ibm.xsp.http.FileUploadRequestWrapper.doParseRequest(FileUpl
oadReque
stWrapper.java:147)
... 22 more


Software/Hardware used:
Lotus Domino 9

Answer Wiki

Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following