Thursday, July 12, 2012

Citrix XenApp 6.5 server missing the “Citrix XML Service” in the Services Console

Problem

You log onto your XenApp server and notice that the services console does not list Citrix XML Service as a service (this service is usually listed under Citrix XenApp Commands Remoting):

clip_image002[16]

Navigating to the following registry key also doesn’t show any configuration settings:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\CtxHttp

image

Solution

While there could be various reasons that could cause this, one of them would be because you have chosen to install the IIS XML integration during the install.  In the event that you want to change the port, you’ll need to use the ctxxmlss.exe /r<port #> command as shown in the following:

ctxxmlss.exe /r8080

clip_image002[6]

Notice how the Citrix XML Service is now listed as a service:

clip_image002[8]

The configuration settings will also be populated in the registry:

clip_image002[10]

Note that the service isn’t automatically started when you register the XML service with the port so make sure you start the service:

clip_image002[12]

You can also test by telnet-ing to the port on the server to see if you get a response:

image

image

Hitting the enter button will also terminate the session and display the following response:

clip_image002[14]

7 comments:

Chris Harrold said...

Very Helpful Terence, Thanks for taking the time to post.

JhayesHuron said...

Terence, what if we want to leave our server as port 80. Do we just run the same command with 80 instead of 8080?

Prasanth Divakaran said...

Thanks you so much i didn't listen from last two days about the XML service. This really helped me thanks again.

Gauravjeev Singh said...

It works!!! I did the same mistake while installing IIS. Cheers

Anonymous said...

Great!!!! Thanks!!!

Anonymous said...

Still a really good post, Thank you

Anonymous said...

Hi, It works partially on citrix 6.5 rollup4
Only, in the web interface, we have the port 80.
We can change it manually but do you think it's normal

Cdlt,
Reza