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 » Can we place a file in shared location by IIB FileOutputNode

Post new topic  Reply to topic
 Can we place a file in shared location by IIB FileOutputNode « View previous topic :: View next topic » 
Author Message
sudheer7700
PostPosted: Tue Feb 28, 2017 9:05 am    Post subject: Can we place a file in shared location by IIB FileOutputNode Reply with quote

Novice

Joined: 01 Feb 2017
Posts: 17

We got a requirement to place a file in shared location from FileOutputNode in IIB10.

Shared location star with '\\'

Example : \\xxx\iib\shared\path\

xxx -> server ip or server name
Back to top
View user's profile Send private message
mqjeff
PostPosted: Tue Feb 28, 2017 9:09 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

What happens when you try it?

What happens when you mount the drive, instead of trying to access it directly?
_________________
chmod -R ugo-wx /
Back to top
View user's profile Send private message
sudheer7700
PostPosted: Tue Feb 28, 2017 9:15 am    Post subject: Reply with quote

Novice

Joined: 01 Feb 2017
Posts: 17

mqjeff, in FileOutputNode, I hardcoded full shared location path

Ex : \\xxx\iib\shared\path\

Throwing an error.

Our System Admins are not willing to provide mount point. We have some other interfaces working on mount point, there is no issue with that. So finally they provide us shared path to place outfile.
Back to top
View user's profile Send private message
zpat
PostPosted: Tue Feb 28, 2017 9:17 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5849
Location: UK

You can transfer the file using FTP/SFTP/FTPS to another server, rather than using shared drives.

Possibly better and faster to map the drive in advance and then use a drive letter to reference it.
_________________
Well, I don't think there is any question about it. It can only be attributable to human error. This sort of thing has cropped up before, and it has always been due to human error.
Back to top
View user's profile Send private message
sudheer7700
PostPosted: Tue Feb 28, 2017 9:26 am    Post subject: Reply with quote

Novice

Joined: 01 Feb 2017
Posts: 17

Zpat, is there any possibility by FileOutNode? Some how we need to place file in shared location. I strongly believe, that can do by external Java but researching on feasibility through IIB FileNodes.
Back to top
View user's profile Send private message
Vitor
PostPosted: Tue Feb 28, 2017 9:31 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

sudheer7700 wrote:
mqjeff, in FileOutputNode, I hardcoded full shared location path

Ex : \\xxx\iib\shared\path\

Throwing an error.


What error?

sudheer7700 wrote:
I strongly believe, that can do by external Java


Only if the external Java can resolve the \\xxx host name. In the same way it only works in the FileOutput node if the path can be resolved.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
Vitor
PostPosted: Tue Feb 28, 2017 9:33 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

sudheer7700 wrote:
Our System Admins are not willing to provide mount point. We have some other interfaces working on mount point, there is no issue with that.


Why won't they mount this, if they're prepared to mount others?
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Tue Feb 28, 2017 9:54 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

Did you confirm the user running the IIB service had access to \\xxx\iib\shared\path\ ?
_________________
chmod -R ugo-wx /
Back to top
View user's profile Send private message
sudheer7700
PostPosted: Fri Mar 03, 2017 6:40 am    Post subject: Reply with quote

Novice

Joined: 01 Feb 2017
Posts: 17

Thanks all. Finally our network team has agreed to create mount point. As per my research, I believe shared path cannot be assigned to FileOutputNode in IIB/MB. We can achieve this by calling external java.
Back to top
View user's profile Send private message
zpat
PostPosted: Fri Mar 03, 2017 8:13 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5849
Location: UK

Do not call Java. This is totally the wrong way to use IIB.

In any case, the IIB file output node is coded in Java.

If you have the storage mounted, the IIB node will be able to use it, providing the broker id has access.

There is, of course, the <sarcasm>radical</sarcasm> option of actually trying it.
_________________
Well, I don't think there is any question about it. It can only be attributable to human error. This sort of thing has cropped up before, and it has always been due to human error.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Mon Mar 06, 2017 6:22 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

All you need is the mount point.

That has to be visible to the user that IIB is running under.

And that the IIB user has authorities to. Including the directories you need.
_________________
chmod -R ugo-wx /
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 » Can we place a file in shared location by IIB FileOutputNode
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.