Support Article
Error on uploading a file on pxRequestor Page
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
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.