Discussion

1
Replies
532
Views
Kamal Kumar Viswanadhapalli (KamalK32)
Evoke Technologies Pvt Ltd

Evoke Technologies Pvt Ltd
IN
KamalK32 Member since 2017 1 post
Evoke Technologies Pvt Ltd
Posted: April 23, 2019
Last activity: January 21, 2020
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

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.

Low-Code App Development Data Integration Developer Knowledge Share