Wrox Programmer Forums
|
BOOK: Professional XMPP Programming with JavaScript and jQuery
This is the forum to discuss the Wrox book Professional XMPP Programming with JavaScript and jQuery by Jack Moffitt; ISBN: 978-0-470-54071-8
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional XMPP Programming with JavaScript and jQuery section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old October 15th, 2012, 09:55 AM
Registered User
 
Join Date: Oct 2012
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default connection challanges

Hi

Intend to use xmpp for multi-user HTTP5/X3D spaces.

Downloaded Pro XMPP Programming examples and edited Ch3\hello.js to "http://localhost:5280/http-bind"

Set up a ejabberd 2.1.11 on Win 2008R2 server.
Used Exodus application to use c2s > s2c jabber chat - working.

Added firebug to firefox and runned ch3\hello.html

The html page shows up with "hello", JID, PWD and Connect areas.

responce after activating "Connect" button. Only "Hello" area appears.

In hello.js a new <object id=fjXHR_swf_ ..... appears every 20 second or so.

<div class="ui-dialog ui-widget... div> are dimmed.

Any ideas?

/Sven-Erik Tiberg
Lulea Sweden
 
Old October 15th, 2012, 03:46 PM
Wrox Author
 
Join Date: Jan 2010
Posts: 178
Thanks: 0
Thanked 16 Times in 15 Posts
Default

The first thing to do with try without strophe.flxhr.js. Time has not been kind that that plugin. Firefox has proper CORS support, and so does ejabberd.
 
Old October 17th, 2012, 09:06 AM
Registered User
 
Join Date: Oct 2012
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

It's running now.
Commented out strophe.flxhr.js code from html pages.
example <!-- <script src='../scripts/strophe.flxhr.js'></script> -->
and edited "http://localhost:5280/xmpp-httpbind" to
"http://localhost:5280/http-bind"

Many thanks "metajack".





Similar Threads
Thread Thread Starter Forum Replies Last Post
Create a DB Connection (Once) and Call Connection When Needed slbibs ADO.NET 1 April 1st, 2010 02:04 PM
Connection prasanta2expert ASP.NET 2.0 Basics 5 November 7th, 2006 06:21 AM
connection ScottSheck BOOK: Beginning Visual Basic 2005 Databases ISBN: 978-0-7645-8894-5 1 June 14th, 2006 05:54 PM
open connection in another connection adityamadisetty SQL Server 2000 1 May 4th, 2006 04:56 AM
connection alihussein3 Javascript How-To 1 September 8th, 2003 08:56 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.