FAQ Database Discussion Community

Messages from Camel XMPP not arriving in Pidgin via Openfire

I have camel route sending to a producer template with the uri: xmpp://[email protected]:5225/[email protected]?password=password The server at is running openfire with the monitoring plugin installed. Both user1 and user2 are set on the server. I have a pidgin client logged in on user2. If I change the uri to send...

Instantiate ConnectionConfiguration in Smack 4.1

I am implementing a chat feature in my android app. So I have installed an open fire server and Smack Client library and now I have written a code to connect with the server but I am getting an error which states that ConnectionConfiguration is an abstract class.So i cant...

Setting up Openfire in MAC

i have installed openfire 3.9.3 on MAC OS X Yosemite Version 10.10.2. having trouble in setting up openfire. after installing openfire i am getting the error like could not start openfire.

XMPP client with photo sharing?

I've set up my XMPP client but I would like to add a feature that I don't know if the server (Openfire) would support. Users would be able to post photos to share with their friend. As simple as that. It would look like a Whatsapp + Instagram, I guess...

3rd Party Library for chat with syncing to other device

I am working on chat application. I have chat syncing option like skype. suppose I am logged in Device A and I have done chat from this device. now when I logged in Device B at that time all the chat history will be synced in device B. Problem with...

error in connect to xmpp(openfire) server using java

I am new to XMPP. For a whole day I am stuck in connecting to my XMPP server (Openfire version 3.9.3) from Java. I am using the Smack (version 4.0.7) library. Here is simple code... ConnectionConfiguration config =new ConnectionConfiguration("servername",5223); XMPPTCPConnection connection = new XMPPTCPConnection(config); // Connect to the server try...

Send userservice request to openfire

I'm using codeigniter and I want to send an add request to openfire, but i don't really understand what I have to do. I'm a beginner, I read this guide User Service and i tried to add a new user with curl Curl lib, but I'm stuck. Openfire is correctly...

Not getting response from openfire server through Strophe BOSH object

I am new at XMPP, i want to develop an instant messaging application on XMPP. I installed openfire on ubuntu server and then i use Strophe library to create connection object. But when i put JID and password in my application it send request but doesnot receive any stanza and...

Create a group on openfire from an Android app

I developed a chat application (Android platform, native Android development) using asmack library. Also I have a task to create from the application group in openfire server. I don't know how to do it. And also additional question: is it possible or not? ...

How to create user in Openfire from java?

I want to create user and register that user to roster from my java application manually to openfire server . Is there any way or any example?...

How can I upload user's profile picture to server when registering new user ?

I am developing an android app using XMPP (Openfire) . User can register new account from that app and they can set their profile picture in register form. I want to know how can I save that profile picture to Openfire server.

Samck 4.1 error while connecting to openfire server (org.jivesoftware.smack.sasl.SASLErrorException: SASLError using DIGEST-MD5: not-authorized)

public void connect(){ AsyncTask connectionThread = new AsyncTask(){ @Override protected Boolean doInBackground(Void... arg0){ boolean isConnected = false; StrictMode.ThreadPolicy policy = new StrictMode.ThreadPolicy.Builder().permitAll().build(); StrictMode.setThreadPolicy(policy); XMPPTCPConnectionConfiguration.Builder configBuilder = XMPPTCPConnectionConfiguration.builder(); configBuilder.setUsernameAndPassword("ahsan", "vbase123"); configBuilder.setSecurityMode(ConnectionConfiguration.SecurityMode.disabled);...

Get openfire Chat History

I am unable to get the history from open fire. I am using XMPP Framework How to get chat history from open fire archive and print the history data in nslog?...

File Transfer fails on Smack 4.1.0 beta-1

I am working on an application involving two Smack clients, one of which attempts to send a jar file to the other client. I am writing this as a part of a desktop application, not an Android application (thought I'd make that distinction since most Smack queries on StackOverflow are...

how does openfire server behave when one recipient got packet from multiple sender at the same time?

I am newbie in xmpp(openfire server). I trying to make a application where multiple user can write or sketch at the same time on their client application and the coordinates will be passed to all the active group members. so in that case there is a very possible case when...

Block user in android using xmpp + smack + openfire

In my chat application. I am using Smack library and Openfire server. I want to block particular user. I am trying to implement a function which will block a particular user but its not work for me.and it will not give any error or exception. My code is public void...

how to login with email adress using smack,openfire ,android?

i have a problem using smack api i'd like to allow the users to login using their email not username how to do it ?i'm using openfire,xmpp,smack API android

Create a LogIn and Register using XMPP framework

I am trying to make an XMPP LogIn and a Registration Page Separate one from another, the server is open fire based. Also I am NOT using inbound registration. I would like to underline that this is my first attempt to do something like this, my previous experience involves only...

Android Smack MessageEventManager not compiling

I am using smack API with openfire server to make an android app. I am trying to implement a MessageEventManager and MessageEventProvider to my app so it will tell me if the message was delivered or not though when i try to declare it a MessageEventManager, it is not compiling...

is it possible to install/run several instance of openfire server on hosting with opration linux?

I want to install several openfire server XMPP on one hosting with opration linux. 1.Is it possible? 2.is there any guide for this issue?...

XMPP:BOSH client session getting closed randomly while connecting to openfire

I get this message after sometime. org.jivesoftware.openfire.http.HttpSession - Request 3436024236568502 > 3436024236568501, ending session. Basically I send around 1,00,000 messages/queue/hour each of 400 bytes. I see that only this session is terminated . What does this message indicate and what s the possible solution?...

Openfire SSL certificat

I have an openfire server on centOS 7 and i want to install my wildcard certificate. After importing certificate to keystore and tested it using keytool -list -v -keystore keystore -alias chat.example.com Everything looks good, i get certificate provider, CN,OU, algorithms etc. In my Web admin panel i set ServerName...

Strophe Message Sent Acknowledgment Issue

I have implemented OPENFIRE with XMPP + BOSH on my Web based client interface. When i am sending the message ,i check whether connection is live or not.If it is not live i create new connection and then send. Sometimes it happens that client send a message and it is...

build.xml can not be found in openfire

I want to build openfire plugin in eclipse. I Create Openfire Project according to Openfire SVN + Eclipse 3.3 + Subversive Installation Guide After creating project I want to build openfire plugin but build.xml can not be found in the build directory inside the Openfire source code....

How to retrieve vCard in iOS from XMPP/OpenFire

As the name suggests I am trying to retrieve a vCard for a user using one of the next XMPPFrameworks methods: - (XMPPvCardTemp *)fetchvCardTempForJID:(XMPPJID *)jid; - (XMPPvCardTemp *)fetchvCardTempForJID:(XMPPJID *)jid useCache:(BOOL)useCache; My current implementation is: dispatch_queue_t queue = dispatch_queue_create("queue", DISPATCH_QUEUE_PRIORITY_DEFAULT); dispatch_async(queue, ^{ XMPPvCardCoreDataStorage* xmppvCardStorage = [XMPPvCardCoreDataStorage sharedInstance]; XMPPvCardTempModule* m = [[XMPPvCardTempModule...

XMPP: count of unread messages

I'm trying to implement chat for my webapp with following features: When user logs in he should see a number of unread messages (which is both offline messages and "unseen", I will explain "unseen" in next step). When user is anywhere in the app but on chat window he should...

Smack 4.1 Android anonymous registration to Openfire

I want connect anonymously to openfire server with Android Smack 4.1 client and register the new user (username = "wq", password="wq") with AccountManager, and then disconnect and login as non-anonymous registered user. 3.1.1 Registration with a Server Special care must be taken when an unregistered entity interacts with a server...