Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9155949
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T12:41:09+00:00 2026-06-17T12:41:09+00:00

I installed Openfire, set everything according to doc in candy documentation. Set apache server

  • 0

I installed Openfire, set everything according to doc in candy documentation.

Set apache server in front of Jboss and Openfire.

edited etc/httpd/conf/httpd.conf file :

ProxyRequests Off

ProxyPass /http-bind http://ip_of_machine:7070/http-bind
ProxyPassReverse /http-bind http://ip_of_machine:7070/http-bind

ProxyPass /myjavawebapp http://ip_of_machine:8080/myjavawebapp
ProxyPassReverse /myjavawebapp http://ip_of_machine:8080/myjavawebapp

run

/usr/sbin/setsebool httpd_can_network_connect true

after this if I go over browser

http://ip_of_machine/myjavawebapp

I see my app, and if I go

http://ip_of_machine/http-bind/

I get this page

 Openfire HTTP Binding Service

my code for init of candy is like this

     Candy.init('http-bind/', {
                            core: { debug: false },
                            view: { resources: '../res/' }
                    });

                    Candy.Core.connect();

I am not sure how to connect with my user/pass for openfire. I tried different user/pass combo, I tried to use different Candy.Core.connect config, but with no luck.

I can connect from pidgin and any other client to OpenFire, but for that I am using port 5222

When I put some value in Candy.Core.connect (with only one parameter), I am asked only for user name, I enter it, and after that it looks like infinite loop of request to http-bind, which every time return same thing

 Openfire HTTP Binding Service

I am not sure if I missed some setting with OpenFire, or set something wrong with Apache, or is somethng wrong with javascript code, or something else.

Any idea, suggestion ?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T12:41:10+00:00Added an answer on June 17, 2026 at 12:41 pm

    Found solution. There was error in my apache setting and javascript code

    first I set apache conf like this

    ProxyPass /myjavawebapp http://ip_of_machine:8080/myjavawebapp
    ProxyPassReverse /myjavawebapp http://ip_of_machine:8080/myjavawebapp
    
    AddDefaultCharset UTF-8
    Options +MultiViews
    RewriteEngine On
    RewriteRule http-bind/ http://ip_of_machine:7070/http-bind/ [P]
    

    after this I modified javascript candy code like this

    Candy.init('/http-bind/', {
                core: { debug: true ,autojoin: ['muc@conference.ip_of_machine']}
                ,
                view: { resources: '../res/' }
      });
    
    Candy.Core.connect();
    

    I used username as

    myusername@ip_of_machine
    

    and password for my user, and it all worked 🙂

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have openfire installed on my debian server. I want to know that whether
Installed Android SDK and Eclipse. Everything was setup according to the instructions however when
Hi I am trying to use search plugin installed for openfire. I am sending
Installed SlikSvn on Window 2008 server Created Repository at c:\dia\svn\repos running this windows service
Installed PEAR and followed the directions on http://www.phpunit.de/manual/current/en/installation.html : pear config-set auto_discover 1 pear
I installed the activeMQ package from ubuntu repositories and it's properly set up and
I installed them in this order: Install SQL Server 2012 SP1 x64 Visual Studio
I am developing a chat app for iPhone using XMPP and openfire server,OpenFire server
Installed: SharePoint Server 2010 for Internet Enterprise Beta (x64) On: Windows Server 2008 Standard
I have installed openfire 3.7.1 and uploaded Kraken plugin (IM Gateway). It worked fine.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.