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.


#TechXchangePresenter
 View Only
Expand all | Collapse all

FileIO Adapter Renaming Files on an NT machine

  • 1.  FileIO Adapter Renaming Files on an NT machine

    Posted Mon May 20, 2002 05:42 PM

    After writing a file to disk using the File/IO Adapter, I want to rename the file from “temp.txt” to “final.txt”.

    The File/IO Adapter creates the file “temp.txt” without issue. When trying to rename the file within a Custom Step using File.renameTo(), however, a SecurityException error is thrown. The file and its parent directory are shared with “Full Control” granted to “Everyone”.

    Thoughts?


    #broker
    #Integration-Server-and-ESB
    #webMethods


  • 2.  RE: FileIO Adapter Renaming Files on an NT machine

    Posted Mon May 20, 2002 05:46 PM

    In adapter config select the java tab. On that tab, deselect the enable script security. That should do it.


    #broker
    #Integration-Server-and-ESB
    #webMethods