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 » Configurable service does not override FileInput node props

Post new topic  Reply to topic Goto page 1, 2  Next
 Configurable service does not override FileInput node props « View previous topic :: View next topic » 
Author Message
7207165620
PostPosted: Fri Aug 02, 2013 1:08 am    Post subject: Configurable service does not override FileInput node props Reply with quote

Apprentice

Joined: 11 Apr 2013
Posts: 37

Hi,
I need to fetch file from remote server.I am able to get file when I am defining all properties on FileInput node itself.But I need to fetch file using Configurable service that I have defined with remoteDirectory and serverName properties.But when I am keeping FileInput node properties like server and port,server directory blank under FTP,configurable service is unable to override all this properties and I am unable to fetch file from remote service.

Following are the specification I am working with.

WMB v8
Remote Server - Linux
Host machine - Windows

Quick responses are welcomed.

Back to top
View user's profile Send private message
smdavies99
PostPosted: Fri Aug 02, 2013 1:19 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.

Put a trace node in the flow prior to the File Output node.
Set it to output
Code:

${LocalEnvironment}


and post the results here.
_________________
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
7207165620
PostPosted: Fri Aug 02, 2013 3:02 am    Post subject: Configurable service does not override FileInput node props Reply with quote

Apprentice

Joined: 11 Apr 2013
Posts: 37

Thanks,
smdavies for your response.Here my concern is different.I am trying to read file not write.(with configurable service)

I defined configurable service as follows.

mqsicreateconfigurableservice MB8BROKER -c FtpServer -o server02 -n serverName,scanDelay,transferMode,connectionType,remoteDirectory,securityIdentity -v

host:port,5,BINARY,ACTIVE,/---/--/---/---,secId

But I am able to fetch file when I am configuring these properties on FileInput node.

But while I am trying to fetch file with FileInput node properties "empty", flow is unable to read file from remote server. In this case configurable service should override node properties,but certainly its not happening.

Hope, I am able to present my problem clearly.
Back to top
View user's profile Send private message
marko.pitkanen
PostPosted: Fri Aug 02, 2013 3:18 am    Post subject: Reply with quote

Chevalier

Joined: 23 Jul 2008
Posts: 440
Location: Jamsa, Finland

Hi,

Enable and study debug level user trace what really happens when broker can't read files.

--
Marko
Back to top
View user's profile Send private message Visit poster's website
marko.pitkanen
PostPosted: Fri Aug 02, 2013 3:26 am    Post subject: Reply with quote

Chevalier

Joined: 23 Jul 2008
Posts: 440
Location: Jamsa, Finland

And you have double checked that in "Remote server and port" property you have the same value as in the configurable service ("server02")?
Quote:

If a configurable service name is specified, any or all the other remote transfer properties on the FTP tab can be overridden by the configurable service.


--
Marko
Back to top
View user's profile Send private message Visit poster's website
7207165620
PostPosted: Fri Aug 02, 2013 4:36 am    Post subject: Configurable service does not override FileInput node props Reply with quote

Apprentice

Joined: 11 Apr 2013
Posts: 37

Thanks Marko,
I have rechecked the Host:port in FileInput node and configurable service, it is the same.I am wondering why configurable service is unable to override FileInput node properties.

I have cross checked the configurable service properties as follows :

I have developed one flow to write a file to the same remote server and given the remote server directory path in FileOutput node different from configurable service "remoteDirectory" property value.But its writing file to the path in FileOutput node rather than Configurable service.

This is what I am wondering about following concept.
"If a configurable service name is specified, any or all the other remote transfer properties on the FTP tab can be overridden by the configurable service."
Back to top
View user's profile Send private message
marko.pitkanen
PostPosted: Fri Aug 02, 2013 4:59 am    Post subject: Reply with quote

Chevalier

Joined: 23 Jul 2008
Posts: 440
Location: Jamsa, Finland

Sorry for repeating myself, but have you value "server02" in your fileInputNode's "Remote server and port" property?

Have you enabled and studied debug level user trace?

--
Marko
Back to top
View user's profile Send private message Visit poster's website
smdavies99
PostPosted: Fri Aug 02, 2013 5:00 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.

You have restarted the broker after defining the Configurable Service haven't you?
_________________
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
7207165620
PostPosted: Fri Aug 02, 2013 6:51 am    Post subject: Configurable service does not override FileInput node props Reply with quote

Apprentice

Joined: 11 Apr 2013
Posts: 37

Hi Marko,
I have restarted broker, I have specified "server02" in my FileInput Node's "server and port" property and followed up user trace .
I have encountered the error as "could not connect to remote ''FTP'' server ''host name''. Reason: ''create ipv4 active:500 Illegal PORT Command.

I tried writing file to same server by specifying "server02" in my FileOutput Node's "server and port" property and got the same error.

Whereas I tried by specifying "host name" on FileInput node and FileOutput node "server and port" property, I was able to read/write file.

I have tried to google that error but could not make a head or tail.
Back to top
View user's profile Send private message
marko.pitkanen
PostPosted: Fri Aug 02, 2013 7:11 am    Post subject: Re: Configurable service does not override FileInput node p Reply with quote

Chevalier

Joined: 23 Jul 2008
Posts: 440
Location: Jamsa, Finland

7207165620 wrote:

-v host:port
.
.
.

500 Illegal PORT Command.
.
.
.
Whereas I tried by specifying "host name" on FileInput node and FileOutput node "server and port" property, I was able to read/write file.


Did you specify port on your configurable service and not in the node?

--
Marko
Back to top
View user's profile Send private message Visit poster's website
McueMart
PostPosted: Fri Aug 02, 2013 7:13 am    Post subject: Reply with quote

Chevalier

Joined: 29 Nov 2011
Posts: 490
Location: UK...somewhere

So what output do you get from running:

mqsireportproperties <BROKER_NAME> -c FtpServer -
o AllReportableEntityNames -r

First we need to be sure you have your configurable service set up correctly. Have you also run the mqsisetdbparms command for the SecurityIdentity to set up the username/password for the FTP connection to use?
Back to top
View user's profile Send private message
7207165620
PostPosted: Fri Aug 02, 2013 7:49 am    Post subject: Configurable service does not override FileInput node props Reply with quote

Apprentice

Joined: 11 Apr 2013
Posts: 37

Hi Marko,
Ftp server runs on default port '21'. I have specified the port along with 'host name' on Configurable service and on FileInput/FileOutput node it works fine with/without port no.

I have just specified "server02" in my FileInput Node's "server and port" property but still I am facing the same issue.

Wondering where I have gone wrong.
Back to top
View user's profile Send private message
7207165620
PostPosted: Fri Aug 02, 2013 7:56 am    Post subject: Configurable service does not override FileInput node props Reply with quote

Apprentice

Joined: 11 Apr 2013
Posts: 37

Hi Mark,
I have run mqsisetdbparms command for security identity, so as I am able to read/write file from/to remote server, but not using configurable service.

I am able to see all the properties that I have configured in configurable service using below command
mqsireportproperties MB8BROKER -c FtpServer -o server02 -r
Back to top
View user's profile Send private message
McueMart
PostPosted: Fri Aug 02, 2013 8:00 am    Post subject: Reply with quote

Chevalier

Joined: 29 Nov 2011
Posts: 490
Location: UK...somewhere

What version of WMB are you using?

This capability was included in 8.0.0.1 if i recall correctly.
Back to top
View user's profile Send private message
marko.pitkanen
PostPosted: Fri Aug 02, 2013 11:34 am    Post subject: Reply with quote

Chevalier

Joined: 23 Jul 2008
Posts: 440
Location: Jamsa, Finland

One thing you could test is to set connectionType PASSIVE in your configurable service. There are some clues in the internet that your exception could be related to this setting.

--
Marko
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Goto page 1, 2  Next Page 1 of 2

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Configurable service does not override FileInput node props
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.