I’m trying to output data to a file on shared network location, but I’m getting a ‘Access is denied’ error. What user account does the IS use when writing files to shared network locations? I would like to setup the destination folder so that it will give write access to the IS network account.
The same user you use as username\password to start the IS.
If windows you should be able to see it on the services->SoftwareAG Integration Server or what ever name you gave your IS service->properties->Log on tab.
If Unix then you could either do a ps -a or ps -e and find out which user is the IS running under.
Thank you for your reply. If I go to in Windows to services → SoftwareAG Integration Server → properties → Log On, I see it is setup to logon as a Local System Account. Is there no way which I can see which specific username is responsible for the IS?
Then you could use the Active Directory to grant that machine access(in a domain env) to the shared network drive where you are trying to do the write file. I think your windows server team should be able to help you with this. In the AD you would see something like $webMethodsHostname or webMethodshostname$ assuming webMethodshostname is the server that has the IS Installation.
If i were you, i would create a service account in the Corporate Active Directory for webMethods servers and then use that service account in the logon tab for the IS Services. If you have to move your code up the environments, you will have to grant all the boxes involved access to that shared drive. If it was a service account you could just grant access once and get it over with. For this scenario to work, the service account will have to be added to the webMethods box users and groups section.
I think it would be better if you have two service accounts, One for Prod env and other for all non-prod env. Assuming that the write path would differ in two environments.
cheers!
Now that sounds like a plan! Thank you for showing me the correct direction to go here.
Glad could help!