Regardless of following these instructions:-
http://www.igniterealtime.org/community/docs/DOC-1515
Sparkweb will ALWAYS look for the enterprise plugin, even if it’s not installed, ie
http://www.domain.tld:9090/plugins/enterprise/sparkweb/index.jsp
It doesn’t matter if the sparkweb.html file is edited to show the server as openfire server name and the port as 5222, or even running the swf, ie.
http://www.domain.tld/sparkweb/sparkweb.swf
Sparkweb will always try to connect to the enterprise plugin at port 9090