Saving the file in a given location on the pega weblogic server
Hi,
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
Problem :
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.
Solution:
To resolve this I changed the group owner name of the folder to weblogic which will be pega server default username.
By doing so I am able to resolve the issue
Hope this will be useful.
Thanks,
Kamal.