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
Expand all | Collapse all

write file on remote server

  • 1.  write file on remote server

    Posted 01/05/07 07:51 AM

    I have to write a flat file on a remote server.
    Cannot use FTP because remote server is not configured for FTP


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


  • 2.  RE: write file on remote server

    Posted 01/05/07 12:57 PM

    Can you use SSH ??

    If you can, probably that could help.

    ~Malhar


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


  • 3.  RE: write file on remote server

    Posted 01/05/07 03:43 PM

    We appear to be in the middle of an epidemic of really poor questions here lately. There is no way other than guessing to answer BSR’s post.

    See this link for tips.


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


  • 4.  RE: write file on remote server

    Posted 01/05/07 04:26 PM

    let me clarify,
    I have to write a flat file on shared network directory(remote server)
    On windows, I have mapped shared directory
    From webMethods I am unable to write using X:\hostname\folder
    Also tried UNC path \hostname\folder even this does not work
    any other approach that will help here


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


  • 5.  RE: write file on remote server

    Posted 01/05/07 04:38 PM

    If you have a Windows drive mapping “X:” to your shared network directory, your file path would not include the hostname. It would just be “X:[I]foldername[/i]”.

    Windows is notorious for dropping shared drive mappings with password changes, OS hiccoughs, network issues, etc. I would not recommend relying on a shared drive mapping in production.

    Mark


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


  • 6.  RE: write file on remote server

    Posted 01/05/07 04:41 PM

    If you’re trying to have Integration Server invoke a java service to write files, both mapped drives and UNC paths DO work. Typically the problem is permissions. For example, if the IS service is run under the Local System account, this account has no network privileges and will be unable to write to a network share. If this is your problem, try having the service run under a user account with write access to the appropriate directory. If this is not the problem, we would need more information about your environment and how you are trying to write the files to help.

    Tim


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


  • 7.  RE: write file on remote server

    Posted 01/05/07 05:16 PM

    how to check whether IS has network privileges ?
    IS is running as window service.

    How to run IS under different user account?


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


  • 8.  RE: write file on remote server

    Posted 01/05/07 05:22 PM

    Open the ‘Services’ control under Administrative Tools. Find the entry for IS. One of the columns should be ‘Log On As’. If this says ‘LocalSystem’ you will want to change this. Stop the service, double-click on it to open its properties and go to the ‘LogOn’ tab. Select ‘This account’ and put in an account and password. Restart the service.

    Tim


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


  • 9.  RE: write file on remote server

    Posted 01/05/07 06:18 PM

    I made changes for IS service, but cannot start IS with account/pwd.
    But I was able to start IS from command prompt. Now I am able to access shared network drive.

    How to start IS as service with new account/pwd ?


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


  • 10.  RE: write file on remote server

    Posted 01/05/07 06:53 PM

    It works from the command line because in that case it’s running with your credentials and not those of the local system account. If there’s a browse button for the account, use that. Otherwise, you may also need to prefix the domain name to the account (domain\username).

    Tim


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


  • 11.  RE: write file on remote server

    Posted 01/06/07 01:12 AM

    I setup IS service to run with account instead of localsystem account and I restarted WM.
    When I start IS as service then I am unable to access shared network directory.
    BSR


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


  • 12.  RE: write file on remote server

    Posted 01/08/07 09:32 PM

    Sounds like you have some troubleshooting to do. I would start with logging into Windows as the user whose credentials IS is using and see if you can access the network share normally. Check the security/permissions on the share and verify that the user has the correct access. Then step through your file writing service in Developer to see what kind of errors are being thrown. This is one of those problems that you’re in a much better position to solve than anyone else. HTH,

    Tim


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