Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Error on uploading a file on pxRequestor Page

SA-97325

Summary

Error occurs while uploading a file on the pxRequestor page on node. The error occurs for only this node.


Error Messages

Caused by: java.io.FileNotFoundException: /usr/local/tomcat/work/Catalina/localhost/prweb/StaticContent/global/ServiceExport/yourFile.pdf (Not a directory)
at java.io.FileOutputStream.open0(Native Method)
at java.io.FileOutputStream.open(FileOutputStream.java:270)
at java.io.FileOutputStream.<init>(FileOutputStream.java:213)
at java.io.FileOutputStream.<init>(FileOutputStream.java:162)
at com.pega.pegarules.storage.fs.direct.FilesystemStorage._getOutputStream_privact(FilesystemStorage.java:363)
at com.pega.pegarules.storage.fs.direct.FilesystemStorage.getOutputStream(FilesystemStorage.java:336)
at com.pega.pegarules.storage.FileStorageManager.getOutputStream(FileStorageManager.java:549)
at com.pega.pegarules.storage.FileStorageUtilsImpl.getOutputStream(FileStorageUtilsImpl.java:128)
at sun.reflect.GeneratedMethodAccessor167.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.pega.pegarules.pub.util.PROutputStream.getOutputStream(PROutputStream.java:130)
 ... 75 more


Steps to Reproduce

Upload a file on the pxRequestor page.


Root Cause



A defect or configuration issue in the operating environment. The ServiceExport directory is not a directory but a file on this node.

Resolution



Make the following change to the operating environment: 
Create the ServiceExport directory.

 

Published January 17, 2020 - Updated October 8, 2020

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us