Posted: 23 Apr 2019 11:33 EDT Last activity: 21 Jan 2020 9:07 EST
Saving the file in a given location on the pega weblogic server
I saw some posts where they are facing issue to create a file in the custom folder in the weblogic or jboss server on which PEGA is installed. So i thought of writing this to help those
I faced the issue to save a file from Pega, using the customized java code to the required location instead of default location /StaticContent/global/ServiceExport/. So save in this default location , we can acheive my creating the DSS with value file://web:/StaticContent/global/ServiceExport/.
But if I need to save in the pega sever in any other location like /shared/XXXX/somefolder.
I faced the issue if I am setting in DSS this location as /shared/XXXX/somelocation.
It used throw the exception that Access denied.
To resolve this I changed the group owner name of the folder to weblogic which will be pega server default username.