Spark/ Jive Clearspace integration

sometimes when i click on the instant message link from within clearspace i get an error launching the xmpp link. Other times it works fine. How do you assoicate the xmpp protocol to launch spark from within clearspace consistently.