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 » Problem with FileOutputNode writing to FTP server... :help:

Post new topic  Reply to topic
 Problem with FileOutputNode writing to FTP server... :help: « View previous topic :: View next topic » 
Author Message
Johan448
PostPosted: Wed May 29, 2013 12:11 pm    Post subject: Problem with FileOutputNode writing to FTP server... :help: Reply with quote

Newbie

Joined: 27 May 2013
Posts: 5

I have a scenario that looks like this:

FTPserver---->FileInputNode--->RouteToLabel--->ComputeNode-->FileOutput--->FTPserver

My ComputeNode adds a timestamp to the message.

The problem occurs when i try to write the file using the FileOutput node i get a BIP3325...

I have a trace connected to failure of FileOutput and this is what i get

( ['GENERICROOT' : 0x15016ee8]
(0x01000000:Name ):Properties = ( ['MQPROPERTYPARSER' : 0x14ff0818]
(0x03000000:NameValue):MessageSet = 'NDPMSH4002001' (CHARACTER)
(0x03000000:NameValue):MessageType = 'row' (CHARACTER)
(0x03000000:NameValue):MessageFormat = 'Text1' (CHARACTER)
(0x03000000:NameValue):Encoding = 546 (INTEGER)
(0x03000000:NameValue):CodedCharSetId = 850 (INTEGER)
(0x03000000:NameValue):Transactional = FALSE (BOOLEAN)
(0x03000000:NameValue):Persistence = FALSE (BOOLEAN)
(0x03000000:NameValue):CreationTime = GMTTIMESTAMP '2013-05-29 19:47:10.215' (GMTTIMESTAMP)
(0x03000000:NameValue):ExpirationTime = -1 (INTEGER)
(0x03000000:NameValue):Priority = 0 (INTEGER)
(0x03000000:NameValue):ReplyIdentifier = X'' (BLOB)
(0x03000000:NameValue):ReplyProtocol = 'UNKNOWN' (CHARACTER)
(0x03000000:NameValue):Topic = NULL
(0x03000000:NameValue):ContentType = '' (CHARACTER)
(0x03000000:NameValue):IdentitySourceType = '' (CHARACTER)
(0x03000000:NameValue):IdentitySourceToken = '' (CHARACTER)
(0x03000000:NameValue):IdentitySourcePassword = '' (CHARACTER)
(0x03000000:NameValue):IdentitySourceIssuedBy = '' (CHARACTER)
(0x03000000:NameValue):IdentityMappedType = '' (CHARACTER)
(0x03000000:NameValue):IdentityMappedToken = '' (CHARACTER)
(0x03000000:NameValue):IdentityMappedPassword = '' (CHARACTER)
(0x03000000:NameValue):IdentityMappedIssuedBy = '' (CHARACTER)
)
(0x01000021:Name+):MRM = ( ['mrm' : 0x1c3c5280]
(0x03000000:NameValue):name = 'Souciance' (CHARACTER)
(0x03000000:NameValue):timeStamp = TIMESTAMP '2013-05-29 21:47:41.266277' (TIMESTAMP)
(0x03000000:NameValue):protocol = 'FTP' (CHARACTER)
)
)
( ['MQROOT' : 0x15017b90]
(0x01000000:Name):RecoverableException = (
(0x03000000:NameValue):File = 'F:\build\S700_P\src\DataFlowEngine\ImbDataFlowNode.cpp' (CHARACTER)
(0x03000000:NameValue):Line = 1073 (INTEGER)
(0x03000000:NameValue):Function = 'ImbDataFlowNode::createExceptionList' (CHARACTER)
(0x03000000:NameValue):Type = 'ComIbmFileOutputNode' (CHARACTER)
(0x03000000:NameValue):Name = 'ftpTestFlows#FCMComposite_1_5' (CHARACTER)
(0x03000000:NameValue):Label = 'ftpTestFlows.FTP Output2' (CHARACTER)
(0x03000000:NameValue):Catalog = 'BIPmsgs' (CHARACTER)
(0x03000000:NameValue):Severity = 3 (INTEGER)
(0x03000000:NameValue):Number = 2230 (INTEGER)
(0x03000000:NameValue):Text = 'Node throwing exception' (CHARACTER)
(0x01000000:Name ):RecoverableException = (
(0x03000000:NameValue):File = 'AbstractFileOutputNode.java' (CHARACTER)
(0x03000000:NameValue):Line = 716 (INTEGER)
(0x03000000:NameValue):Function = 'locateOutputFile' (CHARACTER)
(0x03000000:NameValue):Type = '' (CHARACTER)
(0x03000000:NameValue):Name = '' (CHARACTER)
(0x03000000:NameValue):Label = '' (CHARACTER)
(0x03000000:NameValue):Catalog = 'BIPmsgs' (CHARACTER)
(0x03000000:NameValue):Severity = 3 (INTEGER)
(0x03000000:NameValue):Number = 3325 (INTEGER)
(0x03000000:NameValue):Text = '' (CHARACTER)
(0x01000000:Name ):Insert = (
(0x03000000:NameValue):Type = 5 (INTEGER)
(0x03000000:NameValue):Text = 'FTP Output2' (CHARACTER)
)
(0x01000000:Name ):Insert = (
(0x03000000:NameValue):Type = 5 (INTEGER)
(0x03000000:NameValue):Text = 'ftpTestFlows' (CHARACTER)
)
(0x01000000:Name ):Insert = (
(0x03000000:NameValue):Type = 5 (INTEGER)
(0x03000000:NameValue):Text = '.' (CHARACTER)
)
(0x01000000:Name ):Insert = (
(0x03000000:NameValue):Type = 5 (INTEGER)
(0x03000000:NameValue):Text = '' (CHARACTER)

I Use FileZilla FTP and my user has full rights to read an write.

My FileOutputNode is configured accordingly:

Directory: .
File name or pattern: *
Record definition:Whole File
Transfer protocol:FTP
Remote server and port:127.0.0.1
Security identity: secId2
Server directory: /putXML2
Transfer mode:ASCII (for FTP only)

i have set up a root directory for filenodes using:
SET MQSI_FILENODES_ROOT_DIRECTORY=c:\opt

which seems to be in place when i try ECHO %MQSI_FILENODES_ROOT_DIRECTORY%

Any ideas of what the problem might be?

Thanks in advance and i apologize if the problem description is vague...im new to WMB but eager to learn

Johan


Last edited by Johan448 on Wed May 29, 2013 10:31 pm; edited 1 time in total
Back to top
View user's profile Send private message
kash3338
PostPosted: Wed May 29, 2013 7:49 pm    Post subject: Re: Problem with FileOutputNode writing to FTP server... :he Reply with quote

Shaman

Joined: 08 Feb 2009
Posts: 709
Location: Chennai, India

Johan448 wrote:
i have set up a root directory for filenodes using:
SET MQSI_FILENODES_ROOT_DIRECTORY=c:\opt


Just a thought on seeing what you have mentioned here, shouldn't it be C:/opt in windows? "\" is used in UNIX and "/" in Windows AFAIK.
Back to top
View user's profile Send private message Send e-mail
smdavies99
PostPosted: Wed May 29, 2013 9:14 pm    Post subject: Re: Problem with FileOutputNode writing to FTP server... :he Reply with quote

Jedi Council

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

kash3338 wrote:

Just a thought on seeing what you have mentioned here, shouldn't it be C:/opt in windows? "\" is used in UNIX and "/" in Windows AFAIK.



Windows

Code:

C:\Users\sdavi>


Unix/Linux
Code:

/home/sdavi

_________________
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
fjb_saper
PostPosted: Thu May 30, 2013 4:15 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

Depends... if this is used in Java I would always use the "/".
Most of the time in Java you will have to escape the "\" by using something like
Code:
C:\\Users\\sdavi


Have fun
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Problem with FileOutputNode writing to FTP server... :help:
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.