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.



#Automation


#Applicationintegration
#webMethods
#Integration
 View Only
  • 1.  Value for fileAccessControl configuration file not working

    Posted 06/20/17 04:58 AM

    Hi,

    My IS is on Linux machine.
    I want to use pub.file:stringToFile to write a file in the path /opt/softwareag/IntegrationServer/instances/SDIS_Test_01/trafficData/Log20-06-2017.log

    My fileAccessControl.cnf looks as below.

    allowedWritePaths=/opt/softwareag/IntegrationServer/instances/SDIS_Test_01/trafficData/.log
    allowedReadPaths=/opt/softwareag/IntegrationServer/instances/SDIS_Test_01/trafficData/
    .log
    allowedDeletePaths=/opt/softwareag/IntegrationServer/instances/SDIS_Test_01/trafficData/*.log

    But my service is still having error with
    [ISS.0086.9263] Specified path [logMsg] is not on the [allowedWritePaths] allowed list in the fileAccessControl configuration file

    Please suggest what should be the value for file, for IS 9.10 on Linux OS.

    Regards,
    Revathi


    #Integration-Server-and-ESB
    #webMethods
    #webMethods-General


  • 2.  RE: Value for fileAccessControl configuration file not working

    Posted 06/20/17 05:13 AM

    I reloaded WmPublic and also restarted IS.
    Still I get an error as [ISS.0086.9263] Specified path [logMsg] is not on the [allowedWritePaths] allowed list in the fileAccessControl configuration file.


    #webMethods-General
    #webMethods
    #Integration-Server-and-ESB


  • 3.  RE: Value for fileAccessControl configuration file not working

    Posted 06/20/17 05:41 AM

    Another strange observation - file is getting appended when I invoke pub.file:stringToFile directly.

    But when I call this java service in my flow service, i get same error as above.

    So I feel the value is not getting passed from my flow service to the java service pub.file:stringToFile.

    Any valuable advice here?


    #Integration-Server-and-ESB
    #webMethods-General
    #webMethods


  • 4.  RE: Value for fileAccessControl configuration file not working

    Posted 06/20/17 11:19 AM

    Hi Revathi,

    ca you provide a screen shot of the invoke step of pub.file:stringToFile?

    Did you have a look at the IS Built-In-Services Guide for the folde pub.file?
    I suppose that the possible values (value formats) for these entries are explained there.

    Regards,
    Holger


    #webMethods
    #Integration-Server-and-ESB
    #webMethods-General


  • 5.  RE: Value for fileAccessControl configuration file not working

    Posted 06/20/17 03:29 PM

    Seems some kind of variable overwritten, the value of variable fileName is set to “logMsg”.
    Please check the code.


    #Integration-Server-and-ESB
    #webMethods-General
    #webMethods