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 » FileNodes in Broker 6.1 Cant read from network drive ?

Post new topic  Reply to topic
 FileNodes in Broker 6.1 Cant read from network drive ? « View previous topic :: View next topic » 
Author Message
MiLi
PostPosted: Mon Apr 14, 2008 11:39 pm    Post subject: FileNodes in Broker 6.1 Cant read from network drive ? Reply with quote

Acolyte

Joined: 07 Oct 2005
Posts: 51

I want to use the FileInput node and FileOutput node in Broker 6.1 on windows to read and write on a maped networke drive but all I get is error messages saying it cant find the path or the permissions are wrong.
Is this possible or do I have to use ftp ( not what I want to do !!! ) ??


Another remark on the FileOutput node. If I write a file test.txt to a dir it first writes it to a tmp dir and then moves it... Thats perfect, to bad it doesnt say anything about it in the help... anyway if the broker writes it to the tmp dir and then crash it will be a test.txt file left in the tmp dir. This will cause the FileOutput to always fail trying to write test.txt !!! can this be varified by someone ?

Thanks
_________________
IBM Certified System Administrator - WebSphere MQ V6.0
IBM Instructor - WebSphere MQ, WebSphere Message Broker
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Tue Apr 15, 2008 3:49 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

What's the path?

Is the map created in the context of the Broker service user? Just because you map the drive while logged in as an Admin, doesn't mean that it's visible to the broker process...

There's a relatively undocumented method to add scripts to the mqsiprofile, by putting them in <MQSI-WORKPATH>\common\profiles\. On windows these need to be .cmd files, on unix they are .sh.

You can create a script here and add a script to "net use" the drive to create the mapping.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
MiLi
PostPosted: Tue Apr 15, 2008 11:45 pm    Post subject: Reply with quote

Acolyte

Joined: 07 Oct 2005
Posts: 51

I log on to the win system using a brkadmin user, the same user running the Broker. I map the drive in windows as Z: and then I can create and delete files on Z but when I try to do it from the broker I got the error messages.
_________________
IBM Certified System Administrator - WebSphere MQ V6.0
IBM Instructor - WebSphere MQ, WebSphere Message Broker
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Wed Apr 16, 2008 4:25 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Okay, so you log in as the broker service user, and map the drive.

Nothing you have done there makes the drive map visible in the environment that the Broker is running in - because Broker has already started up as a background service and the drive wasn't mapped in that command shell at that time.

You should discuss this thread with your Windows administrator. She should be able to help you better understand it, and help you to map the drive in the correct way at the correct time.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
csongebalazs
PostPosted: Thu Apr 17, 2008 10:25 am    Post subject: Reply with quote

Voyager

Joined: 30 Jan 2004
Posts: 78

Hi jefflowrey,

Could you write, how can we make a mapping in a right way?

I have a same problem, so I interested it very well.

Thanks

Balázs
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Thu Apr 17, 2008 10:27 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

csongebalazs wrote:
Hi jefflowrey,

Could you write, how can we make a mapping in a right way?

I have a same problem, so I interested it very well.


I think I already did.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
csongebalazs
PostPosted: Fri Apr 18, 2008 12:48 am    Post subject: Reply with quote

Voyager

Joined: 30 Jan 2004
Posts: 78

Could you write more than the following?

Code:
You should discuss this thread with your Windows administrator. She should be able to help you better understand it, and help you to map the drive in the correct way at the correct time.


Or there is an another hyperlink, were your solution is writen more detailed?

Thanks
Back to top
View user's profile Send private message
Vitor
PostPosted: Fri Apr 18, 2008 1:18 am    Post subject: Reply with quote

Grand High Poobah

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

csongebalazs wrote:
Or there is an another hyperlink, were your solution is writen more detailed?


The Microsoft Knowledge Base has helpful information on this subject (and that's a sentance I never expected to be writing), but really you need to talk to your Windows person. Depending on how your individual site controls network drive assignment, there are a number of possible steps you could take. Some of which won't work because they don't match your setup.

Talk to the admin & get them to ensure the correct drive mapping is available to the broker.
_________________
Honesty is the best policy.
Insanity is the best defence.
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 » FileNodes in Broker 6.1 Cant read from network drive ?
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.