ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » FileOutput log in to shared folder

Post new topic  Reply to topic
 FileOutput log in to shared folder « View previous topic :: View next topic » 
Author Message
ldtluxury
PostPosted: Thu Jun 25, 2015 2:04 am    Post subject: FileOutput log in to shared folder Reply with quote

Apprentice

Joined: 22 Oct 2014
Posts: 29

Hello everyone!

Could you please help with this question:

I need to write file to the shared folder on remote server.
So, the problem is that I need to log in to this remote folder with special account(not in Active Directory) on server.

Is it possible to use FileOutput node with special accounts?

Thanks a lot.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Thu Jun 25, 2015 5:48 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

The shared file system should be mounted as a windows disk, or available through sftp.

If you mount it, you need to make sure that the mount includes the necessary authentication, and that it's done so that it's visible to the broker processes.

If you only need access to it periodically, you should use something like sftp.

But you should really avoid using files.
Back to top
View user's profile Send private message
ldtluxury
PostPosted: Thu Jun 25, 2015 11:21 pm    Post subject: Reply with quote

Apprentice

Joined: 22 Oct 2014
Posts: 29

mqjeff wrote:
The shared file system should be mounted as a windows disk, or available through sftp.

If you mount it, you need to make sure that the mount includes the necessary authentication, and that it's done so that it's visible to the broker processes.

If you only need access to it periodically, you should use something like sftp.

But you should really avoid using files.


Thanks.
But there is the next question:
Is it possible to map drive in integration bus (by using standard functionality)?
If not, then I'll try use Java for it.
But there is the problem: How to store password for drive mapping command? Is it possible to use standard broker's password storage in Java?
Back to top
View user's profile Send private message
mqjeff
PostPosted: Fri Jun 26, 2015 5:11 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

No.

YOU SHOULD NOT MANAGE THE DRIVE MAPPING FROM YOUR FLOW.

If you need to talk to multiple different disks, YOU SHOULD USE FTP OR OTHER FILE TRANSFER SOLUTION.

If you use *standard windows desktop or command line functions* you can map the drive, in the environment the broker service user runs under, and have *windows* store the userid and password for you.

I repeat.

DO NOT IMPLEMENT THIS IN CODE.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » FileOutput log in to shared folder
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.