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 » Transfering an XML File to a particular folder in AIX

Post new topic  Reply to topic
 Transfering an XML File to a particular folder in AIX « View previous topic :: View next topic » 
Author Message
pdmenon
PostPosted: Sun Apr 17, 2011 9:12 pm    Post subject: Transfering an XML File to a particular folder in AIX Reply with quote

Voyager

Joined: 05 Apr 2010
Posts: 80

Dear Experts,

I have generated an XML file using MB Compute Node, and the resultant XML file should be transferred to a particular folder in AIX.

In "FileOutput" Node, I have specified(the path) "Directory" field, which is working fine in windows XP, but when I change the path for AIX, file is not stored in the specified path. I gave all permissions for the folder.

and in .profile I exported "MQSI_FILENODES_ROOT_DIRECTORY" also.

Am I missing anything?

Any thoughts...
Back to top
View user's profile Send private message
mqjeff
PostPosted: Mon Apr 18, 2011 1:36 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

You're missing quite a bit, at least in telling us anything that could possibly help.

Where *is* the file written?

What errors are logged?
Back to top
View user's profile Send private message
pdmenon
PostPosted: Mon Apr 18, 2011 2:22 am    Post subject: Reply with quote

Voyager

Joined: 05 Apr 2010
Posts: 80

Dear Mqjeff,

In AIX server say 'X', which has MB(6.1) installed, has generated an xml file, and I need to transfer this xml file to a particular path say:'/home/sample/' on the same server 'X'. This is not happening.
No errors are generating. The folder 'sample' is still empty.

But when I tested in windows xp, giving windows path say:C:\sample , Xml file is getting stored.


Last edited by pdmenon on Mon Apr 18, 2011 2:31 am; edited 1 time in total
Back to top
View user's profile Send private message
mqjeff
PostPosted: Mon Apr 18, 2011 2:29 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

"this is not happening" is not a technical answer to a technical question. This is a technical forum, not a psychic hotline.

When you run the flow on AIX, please specifically mention exactly what does actually happen.

This includes the location where the xml file is actually written, if it is actually written.

This includes any and all messages produced by Broker when it attempts to write the file into whatever location it writes into.
Back to top
View user's profile Send private message
smdavies99
PostPosted: Mon Apr 18, 2011 3:33 am    Post subject: Reply with quote

Jedi Council

Joined: 10 Feb 2003
Posts: 6076
Location: Somewhere over the Rainbow this side of Never-never land.

pdmenon wrote:


But when I tested in windows xp, giving windows path say:C:\sample , Xml file is getting stored.


Surely this can't be a simple as not changing the file path from Windows Format (C:\sample) to Unix (for example /var/tmp/broker_out.xml)?

OR (just as simple)
Quote:

and in .profile I exported "MQSI_FILENODES_ROOT_DIRECTORY" also.


Did you restart the broker once you did this?
_________________
WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995

Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
Back to top
View user's profile Send private message
pdmenon
PostPosted: Mon Apr 18, 2011 3:54 am    Post subject: Reply with quote

Voyager

Joined: 05 Apr 2010
Posts: 80

smdavies99 wrote:


Did you restart the broker once you did this?


Dear Davies,

In ESQL, the generated XML File, will be transferred directly as:

SET OutputLocalEnvironment.Destination.File.Directory = '/home/sample';

and then I restarted the broker, after deploying this message flow.
Back to top
View user's profile Send private message
Vitor
PostPosted: Mon Apr 18, 2011 4:15 am    Post subject: Reply with quote

Grand High Poobah

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

mqjeff wrote:
"this is not happening" is not a technical answer to a technical question.





Is the file written somewhere else? Is there an I/O error in the log? Does the broker pull out a joint and tell you, "this just ain't happening, man"?

mqjeff wrote:
This is a technical forum, not a psychic hotline.


I've been telling people for years now I'm not psychic I'm psychotic & there a number of key differences.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Mon Apr 18, 2011 4:29 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

So, this makes the third time I have asked, and the fourth time in this specific thread you have been asked.

What is produced in the logs when you run the flow on AIX?
Back to top
View user's profile Send private message
pdmenon
PostPosted: Mon Apr 18, 2011 5:00 am    Post subject: Reply with quote

Voyager

Joined: 05 Apr 2010
Posts: 80

mqjeff wrote:

"this is not happening"


Hi Jeff,

It is my mistake. I should be more clear.

mqjeff wrote:

So, this makes the third time I have asked, and the fourth time in this specific thread you have been asked.
What is produced in the logs when you run the flow on AIX?


No errors are generating.

Vitor wrote:

Is the file written somewhere else? Is there an I/O error in the log?


My message flow is like the following:

MQInputNode->compute->FileOutput node,

As I said earlier, in compute node,
I am just setting the target directory to:

SET OutputLocalEnvironment.Destination.File.Directory = '/home/sample';

so, after XML file gets generated, message flow should put the xml file in /home/sample in AIX.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Mon Apr 18, 2011 5:06 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

Take a user trace of the flow.

It is your job to troubleshoot this problem. This means that you need to analyze what is happening. To do that you must gather data on what is happening.
Back to top
View user's profile Send private message
pdmenon
PostPosted: Tue Apr 19, 2011 12:17 am    Post subject: SOLVED:Transfering an XML File to a particular folder in AIX Reply with quote

Voyager

Joined: 05 Apr 2010
Posts: 80

mqjeff wrote:
Take a user trace of the flow.

It is your job to troubleshoot this problem. This means that you need to analyze what is happening. To do that you must gather data on what is happening.


Dear Jeff,

I took user trace of my message flow. I came to know that Server Admins, have changed the password of our profile. As a result, message flow was not recognizing the db which has been catalogued in our profile.

I reset the dbparms, and it worked fine. XML is generated and is able to put in the specified directory.

Thanks all, for your valuable inputs.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Tue Apr 19, 2011 2:22 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

The change in password should have caused an event inside your message flow.

This event should have caused a change in the behavior of your message flow, for example the output of an error message somewhere.
Back to top
View user's profile Send private message
Vitor
PostPosted: Tue Apr 19, 2011 4:03 am    Post subject: Re: SOLVED:Transfering an XML File to a particular folder in Reply with quote

Grand High Poobah

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

pdmenon wrote:
I took user trace of my message flow. I came to know that Server Admins, have changed the password of our profile. As a result, message flow was not recognizing the db which has been catalogued in our profile.

I reset the dbparms, and it worked fine. XML is generated and is able to put in the specified directory.


This highlights 2 points:

1) The value of a user trace in resolving WMB problems.

2) The monitoring you have in place to detect issues with your broker sucks like a Dyson.


(I am not now nor have I ever been an employee of Dyson and this should not be taken as any kind of product endorsement, other cleaners are available and could suit an individual need better)

(But they even look cool..... )
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
joebuckeye
PostPosted: Wed Apr 20, 2011 4:57 am    Post subject: Reply with quote

Partisan

Joined: 24 Aug 2007
Posts: 365
Location: Columbus, OH

It doesn't sound like you had anything wired to your MQInput node's Failure or Catch terminals.

If you would have simply wired an MQOutput node to the failure terminal of your MQInput node you could have seen your incoming MQ messages going into that queue.

And an error message should have been going into your system log (ours is /var/adm/syslog.user yours may be configured differently).

At the least those input messages should have ended up in the SYSTEM.DEAD.LETTER.QUEUE of your QM.
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed Apr 20, 2011 5:25 am    Post subject: Reply with quote

Grand High Poobah

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

joebuckeye wrote:
At the least those input messages should have ended up in the SYSTEM.DEAD.LETTER.QUEUE of your QM.


Pedantically and more for the benefit of future readers they would have ended up in whatever local queue had been defined as the dead letter queue for the queue manager.

SYSTEM.DEAD.LETTER.QUEUE is not so defined out of the box.

Like I said, pedantic.
_________________
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 » Transfering an XML File to a particular folder in AIX
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.