IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
  • 1.  pub.file:stringToFile Access is denied

    Posted Thu April 18, 2013 10:06 AM

    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.


    #Flow-and-Java-services
    #webMethods
    #Integration-Server-and-ESB


  • 2.  RE: pub.file:stringToFile Access is denied

    Posted Thu April 18, 2013 10:17 AM

    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.


    #Integration-Server-and-ESB
    #Flow-and-Java-services
    #webMethods


  • 3.  RE: pub.file:stringToFile Access is denied

    Posted Thu April 18, 2013 10:38 AM

    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?


    #Integration-Server-and-ESB
    #Flow-and-Java-services
    #webMethods


  • 4.  RE: pub.file:stringToFile Access is denied

    Posted Thu April 18, 2013 11:08 AM

    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!


    #Flow-and-Java-services
    #Integration-Server-and-ESB
    #webMethods


  • 5.  RE: pub.file:stringToFile Access is denied

    Posted Thu April 18, 2013 11:55 AM

    Now that sounds like a plan! Thank you for showing me the correct direction to go here.


    #Flow-and-Java-services
    #Integration-Server-and-ESB
    #webMethods


  • 6.  RE: pub.file:stringToFile Access is denied

    Posted Mon April 22, 2013 11:03 AM