Is there a way to have the agents run as a service? Right now we have to log into the server and start the service from the command line and this user needs to remain logged in - which is an administration problem especially after hours and a RDP session usually has to remain open...
This topic has been locked.
13 replies Latest Post - 2012-10-10T21:04:27Z by R_Simons
Pinned topic Agents running as a service?
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
Updated on 2012-10-10T21:04:27Z at 2012-10-10T21:04:27Z by R_Simons
NeilPayne 120000GV532 Posts
NeilPayne 120000GV532 PostsACCEPTED ANSWER
Re: Agents running as a service?2009-08-18T14:03:33Z in response to SystemAdminHi Bill,
RedHat is easy as all you need to do is run the fteStartAgent command from the system start sequence scripts. Agents will run quite happily as daemon processes until stopped by a stop agent command.
Windows is more problematic.
You can start the agent automatically at boot time using a scheduled task to execute the fteStartAgent command.
The catch is that a user logoff event will still terminate the JVM's. We already have a requirement to address this and, if you think it's important, you should add your voice to this requirement to raise its priority.
The only work around I can suggest at present would be some clever scripting or a repeating scheduled task to restart the agent if it's been killed by a logoff.
Re: Agents running as a service?2010-03-01T21:55:46Z in response to SystemAdminHI Guys,
To start the FTE Agent as a Windows Services, the simple solution is to download and install the MQATTACH Launcher which is designed to start / stop any application which has a command interface, as a Windows Service. You can download the MQALauncher directly from the following site: http://www.mqattach.com Once there, you click on the downloads link, and you will see that there "FTE as a Windows Service" link to download.
If you download the executable, and install it it will create a directory structure of C:/Program Files/MQAttach/MQALauncher. There is a "config.xml" which you have to change in the MQAttach/MQALauncher directory. A sample is provided on the download site, all you have to do is change the Agent name. You need to then go to the Windows "Services" administration screen, there you will see a service called "MQATTACH Command Line Launcher Service", by default it is setup to start as a "System User", you could opt to change this by assigning a user/pw or leave it as is, and then simply start the service.
Hope this helps
SimoneP 0600014FK51 Post
harishtd 06000224581 Post
Re: Agents running as a service?2010-05-25T08:53:54Z in response to harishtdGuys, be very aware that MQAttach is NOT an IBM product and you will not get any help from IBM Service with problems relating to it. Think very carefully before including it in your production systems.
MQAttach 270001MAYG1 PostACCEPTED ANSWER
Re: Agents running as a service?2010-09-07T08:37:21Z in response to SystemAdminHi Guys,
My name is Mac, and I am part of the support team at MQAttach.
And I just thought I would clarify the comments on this issues regarding us.
MPhillip is correct in the sense that MQAttach is not an IBM product, but we are IBM Business Partners and we do provide support for MQAttach
We are actively developing the product, and have included a number of features in the lastest release, with more to come in the next few weeks and months
Our goal is to enhance the usability of FTE by providing cost-effective tools and functionality
If you require any further info, please do hesitate to contact me or consult our website at http://www.mqattach.com
AvV 2000000BY42 PostsACCEPTED ANSWER
Re: Agents running as a service?2010-09-08T06:52:18Z in response to SystemAdminHi,
see the developerWorks article "Mission:Messaging: Using a Windows service to start WebSphere MQ File Transfer Edition client agents" at
gidonshn 270001Q2Q51 PostACCEPTED ANSWER
Re: Agents running as a service?2011-01-23T08:56:03Z in response to SystemAdminhi
i am trying to install mqattach.
i understand that there should be some config files :
one config.xml file for the MQALauncher inside the Launcher directory.
one web.config inside the MQAWeb directory.
one config.xml inside the shared directory.
i dowloaded the ZIPs of mqattach from the mqattach.com website , but there are no such files..and i cant find samples for them..
can someone direct me to them ?
AvV 2000000BY42 PostsACCEPTED ANSWER
Re: Agents running as a service?2011-01-29T12:26:10Z in response to gidonshnGidi,
please check the WMQ FTE 7.0.3 Information Center for 'Starting an agent as a Windows service'
In Version 7.0.3 of WebSphere® MQ File Transfer Edition, you can start an agent as a Windows service. When you log off Windows, your agent continues running and can receive file transfers.