Questions tagged [jsjac]

JSJaC is a Jabber/XMPP client library written in JavaScript to ease implementation of web based Jabber/XMPP clients

JSJaC is fully compatible with all major AJAX/JavaScript frameworks like prototype, mootools, jQuery, dojo and YUI!.

14 questions
10
votes
3 answers

How to keep the groupchat room (MUC) existing all the time even if disconnected from the XMPP server?

I am developing a instant message module (part of J2EE web app) using openfire/jsjac within the protocol of XMPP (Jabber). The openfire users/groups management/tables has been redirected to our business database tables,which means I do not need to…
2
votes
0 answers

User session termination issue

I implement XEP-0199 ping request to the server. Every 30 seconds, it sends whitespace ping request to the server. The server will be properly responded to this request. But I got some session termination issues from Openfire server. When I check…
Anish Chandran
  • 427
  • 1
  • 5
  • 19
2
votes
0 answers

Download entire group chat history from openfire

I am using openfire as chat server and JsJac as client library for chat web application. JsJac working fine with one to one chat and groupchat. I have added monitoring plugin in openfire for message archiving. Now I want functionality of downloading…
Devz
  • 603
  • 6
  • 18
2
votes
1 answer

unit testing xmpp client

What is the main points of testing xmpp client? I'm writing a chat, sort of XMPP client using JsJac library. Now I need to test behavior of my client after different server signals. For instance - that when server send's some error to my client - it…
SET001
  • 11,480
  • 6
  • 52
  • 76
1
vote
0 answers

How can I produce a stanza message with JSJaC library?

I would like to produce a stanza message with JSJaC: ... ... The problem is that I don't know from the begining the number of submenus, so I…
jpap
  • 11
  • 3
1
vote
1 answer

In xmpp multi-chat, admin role only grant the online user membership to a created room?

i read the XMPP doc : XEP-0045: Multi-User Chat in the doc, there is a such paragraph: An admin can grant membership to a user; this is done by changing the affiliation for the user's bare JID to "member" (if a nick is provided, that nick…
1
vote
1 answer

Does Facebook chat platform support BOSH?

I've read a relative question(Integrating Facebook Chat) 's answer whitch said Facebook does not do S2S federation, only C2S, so you will have to use that as your XMPP server (or implement something like XEP-0100 at your server). Facebook does not…
LiZn
  • 43
  • 3
1
vote
0 answers

XMPP chat client using phonegap tool in Windows Phone 7.1

In my WindowsPhone7.1 project, there is a XMPP chat module. I designed chat window using HTML/CSS perfectly. To connect with Jabber server(Openfire), I used JsJaC library. How to integrate it with the Windows Phone 7.1 project? Should I include…
0
votes
1 answer

Unable to connect jsjac to openfire

I am trying to connect jsjac to openfire server. with very little success of course. I have a apache server which redirects requests to my front end jsps hosted in a tomcat within eclipse and also binds requests to XMPP server. Here is my virtual…
Rpant
  • 974
  • 2
  • 14
  • 37
0
votes
1 answer

JSJaC+Openfire works only local

so far I developed completey locally, having everything (Apache, Openfire, JSJaC application) on my laptop, running quite fine. Now I want to use remote server for Apache/Openfire. I did basically the same steps, incl. the whole http-bind stuff. I…
Christian
  • 3,239
  • 5
  • 38
  • 79
0
votes
1 answer

JSJaC + Openfire: no connection with some users

ok, I'm finally at my wits' end. I have a have an XMPP server (Openfire) running, and trying to connect via JavaScript using JSJaC. The strange thing is that I can establish a connection for some users, but not for all. I can reproduce the following…
Christian
  • 3,239
  • 5
  • 38
  • 79
0
votes
0 answers

is there is a way to load the file direct from sql and i need a method to replace image with other image in sql

I have a template word file in SQL server database database that i need to change sum texts on it. I try to download the file first to temp files and then I load it to my code. is there is a method to load the file directly to my code I using…
0
votes
1 answer

AngularJS XMPP Get Roster

I am use XMPP JSJAC library and AngularJS programming Chat application. I can connect to the server, but it does not list roster. app.js var app = angular.module("app", ["ngRoute"]).config(["$routeProvider", function($routeProvider) { …
0
votes
1 answer

Ejabberd Closes BOSH session after available presence

I can't figure out why Ejabberd (14.07 & 14.12) is Closing a BOSH session after receiving an 'available' stanza for that same session. I am using JsJac as web client lib and the session is being prebound server side and JsJac is doing 'inherit' on…
E_lexy
  • 141
  • 6