ejabberd - Comments for "Install JWChat (Jabber Web Chat) using Apache" https://www.ejabberd.im/jwchat-apache en In fact, you really don't https://www.ejabberd.im/jwchat-apache#comment-58972 <p>In fact, you really don't need to have separate web server to handle jwchat's stuff. Just use integrated ejabberd's web server module called mod_http_fileserver.<br /> I you still want to use apache2 so please take a look at its log files somewhere in /var/log/apache2 to see what happens to requests to jwchat.</p> Mon, 13 Aug 2012 14:40:55 +0000 fk_ comment 58972 at https://www.ejabberd.im help me pleaseeeeeeeeeeeeeeeeeeeeeeeeee https://www.ejabberd.im/jwchat-apache#comment-58970 <p>hello,</p> <p>Ihad configured jwchat using http bind server every thing is ok </p> <p>Now I want to use jwchat configured on apache2 with ejabberd.<br /> I am using the latest versions. But when I run the jwchat page, click the login button, jwchat window opens but then a message pops out with "service not available" message.</p> <p>help me please</p> Fri, 10 Aug 2012 15:37:43 +0000 ama2012 comment 58970 at https://www.ejabberd.im I can install a virtual server for you, you can install a proxy https://www.ejabberd.im/jwchat-apache#comment-54227 <p>I worked out a tomcat proxy which can be installed on windows and anywhere else. You can name the proxy. No body knows there is a backend ejabberd running behind. Then you can add a couple of contexts of your own.</p> Fri, 08 May 2009 20:54:15 +0000 breakevilaxis comment 54227 at https://www.ejabberd.im Now it works with Firefox 3 for httpbinding https://www.ejabberd.im/jwchat-apache#comment-54226 <p>I just got the newest jwchat and it's jsjac lib by cvs. I follow the instruction in README.CVS and did make and make install.<br /> I installed a lot of perl files which are needed when I make install.<br /> Then changed config.js file from http-poll to http-bind.<br /> The same thing in the /extra/httpd-vhost.conf file.<br /> Now /usr/local/etc/rc.d/apache22 restart! </p> <p>Great! Now it works with Firefox 3.0. and 2.0 and IE as well!</p> <p>My configuration are:</p> <p>Freebsd 7.2 pre-release. Ejabberd 2.0.3. Apache 2.2. Postgresql 8.0.3. Jwchat from jwcha.org via cvs and svn its jsjac. I used Squid 3.0 to proxy Apache to make SSL work. Before, when http-polling, Apache won't work SSL.</p> Fri, 08 May 2009 20:37:22 +0000 breakevilaxis comment 54226 at https://www.ejabberd.im I have made it working. https://www.ejabberd.im/jwchat-apache#comment-54196 <p>But I really do not know how.</p> <p>What I know your case is that the error message shown is right because you are trying to use http to poll some kind of stream data. They won't talk. It should not talk.<br /> Any body else is misleading you guys.</p> <p>Your problem is you did not get Apache work with jwchat for ejabberd.</p> <p>What I did is in the httpd-vhost.conf, put something like this:</p> <p>ProxyRequest off<br /> ProxyPass /http-poll <noindex><a href="http://127.0.0.1:5280/http-poll" title="http://127.0.0.1:5280/http-poll" rel="nofollow" >http://127.0.0.1:5280/http-poll</a></noindex><br /> RroxyPassReverse /http-poll <noindex><a href="http://127.0.0.1:5280/http-poll" title="http://127.0.0.1:5280/http-poll" rel="nofollow" >http://127.0.0.1:5280/http-poll</a></noindex></p> <p>allow all</p> <p>I use everything from FreeBSD 7.2.</p> <p>Firefox3.0 not working though. Microsoft IE works.</p> Wed, 29 Apr 2009 01:58:52 +0000 breakevilaxis comment 54196 at https://www.ejabberd.im hi if i go to https://www.ejabberd.im/jwchat-apache#comment-54195 <p>hi if i go to <noindex><a href="http://mire.com:5280/http-poll/" title="http://mire.com:5280/http-poll/" rel="nofollow" >http://mire.com:5280/http-poll/</a></noindex> it shows me an error</p> <p>Error de lectura XML: no se encuentra elemento<br /> Ubicación: <noindex><a href="http://mire.com:5280/http-poll/" title="http://mire.com:5280/http-poll/" rel="nofollow" >http://mire.com:5280/http-poll/</a></noindex><br /> Número de línea 1, columna 1:</p> <p>whats that??</p> Tue, 28 Apr 2009 22:31:42 +0000 emel_punk comment 54195 at https://www.ejabberd.im i have the same problem. my https://www.ejabberd.im/jwchat-apache#comment-54194 <p>i have the same problem. my submit button is disabled and i cant login.. but i cannot fix it with the solution above .. what else should i do.. oohh and if i go to <noindex><a href="http://myserver.com.co:5280/http-poll/" title="http://myserver.com.co:5280/http-poll/" rel="nofollow" >http://myserver.com.co:5280/http-poll/</a></noindex></p> <p>shows an error</p> <p>Error de lectura XML: no se encuentra elemento<br /> Ubicación: <noindex><a href="http://myserver.com.co:5280/http-poll/" title="http://myserver.com.co:5280/http-poll/" rel="nofollow" >http://myserver.com.co:5280/http-poll/</a></noindex><br /> Número de línea 1, columna 1:</p> <p>what should i do??</p> Tue, 28 Apr 2009 16:38:36 +0000 emel_punk comment 54194 at https://www.ejabberd.im Have you worked out? https://www.ejabberd.im/jwchat-apache#comment-54176 <p>I have installed Ejabberd 2.0.3. I cannot make Apache-Jwchat work with it. I use ejabberdctl to register user then use psi to connect it via http-poll. It works with psi.<br /> My apache can load jwchat html and image files. But the lights are dark. It won't turn on. I checked the log file. Everything is fine. It seems the problem is when the apache go to post to ejabberd. It got a 400 error. Seems ejabberd won't talk to Apache. All GETs are OK.<br /> ejabberd works with psi's http-poll proxy setting up, this means ejabberd http-poll is working.<br /> Apache can load jwchat's html files and images files, this means Apache is working.<br /> All we have to do is to get Apache(May be our Browser) to talk to ejabberd!</p> Mon, 20 Apr 2009 23:23:04 +0000 breakevilaxis comment 54176 at https://www.ejabberd.im my login button is invisible https://www.ejabberd.im/jwchat-apache#comment-53665 <p>Hi my login button is invisible mode<br /> I Am trying many times but still its the same.<br /> If I take out the attribute disable in the idex.html page..<br /> it is not connecting to the server.. anybody help me about this problem..</p> <p>Thanks</p> Fri, 17 Oct 2008 06:53:35 +0000 veejaymee comment 53665 at https://www.ejabberd.im apache + ejabberd + jwchat https://www.ejabberd.im/jwchat-apache#comment-53599 <div class="quote-msg"> <div class="quote-author"><em>Scartaris</em> wrote:</div> <p>I have this same problem. I spent two weeks trying to get OpenFire to work with JWChat, and then gave up. Now I am having similar problems with ejabberd.</p> <p>Ejabberd is installed and working. I can log in, create a chat room, and chat with my friends. So ejabberd appears to be working.</p> <p>These both appear the same, so it seems that the Apache redirection is working correctly. However, both of these pages give me a "XML Parsing Error: no element found" message. Is that normal? I have no idea.<br /> <noindex><a href="http://www.mortshire.org:5280/http-poll/" title="http://www.mortshire.org:5280/http-poll/" rel="nofollow" >http://www.mortshire.org:5280/http-poll/</a></noindex><br /> <noindex><a href="http://www.mortshire.org/jwc/http-poll/" title="http://www.mortshire.org/jwc/http-poll/" rel="nofollow" >http://www.mortshire.org/jwc/http-poll/</a></noindex></p> <p>I can see the JWChat login screen, BUT no matter what user name and password I use, it LOOKS like it logs me in -- but doesn't. I then get a "service unavailable" message.</p> <p>I am at my wits end. I have read and read all the tutorials I can find, and nothing seems to help. I would like so much if someone who knows how all of this is SUPPOSED to work could give me a hint.</p> <p>Please?</p></div> <p>Hi,</p> <p>I am facing the same problem as mentioned above with JWChat + ejabberd + apache<br /> I have installed the ejabberd server and when I log-in via webadmin, it allows to be login but when I try to log-in via JWChat, it gives the error "Service unavailable".</p> <p>But when I try to access the link:<br /> <noindex><a href="http://ejabberd.oac.com:5280/http-bind/" title="http://ejabberd.oac.com:5280/http-bind/" rel="nofollow" >http://ejabberd.oac.com:5280/http-bind/</a></noindex></p> <p>The result comes like this:<br /> Ejabberd mod_http_bind v1.2</p> <p>An implementation of XMPP over BOSH (XEP-0206)</p> <p>But when I try to use this:<br /> <noindex><a href="http://ejabberd.oac.com:5280/http-poll/" title="http://ejabberd.oac.com:5280/http-poll/" rel="nofollow" >http://ejabberd.oac.com:5280/http-poll/</a></noindex></p> <p>This result comes:<br /> XML Parsing Error: no element found<br /> Location: <noindex><a href="http://ejabberd.oac.com:5280/http-poll/" title="http://ejabberd.oac.com:5280/http-poll/" rel="nofollow" >http://ejabberd.oac.com:5280/http-poll/</a></noindex><br /> Line Number 1, Column 1:<br /> ^</p> <p>I tried to make the changes as mentioned in this url (<a href="http://www.ejabberd.im/jwchat-localserver" title="http://www.ejabberd.im/jwchat-localserver">http://www.ejabberd.im/jwchat-localserver</a>) and after making the ejabberd changes, as I restart ejabberd server, it crashes..</p> <p>I am not able to login via JWChat...<br /> any help will be highly appreciated..</p> <p>I have installed ejabberd at linux machine (fadora 8) and using the Mozila Firefox browser to run JWChat.</p> Fri, 26 Sep 2008 19:25:47 +0000 rohtash comment 53599 at https://www.ejabberd.im HTTP-Polling Issues https://www.ejabberd.im/jwchat-apache#comment-53447 <p>Hello, I've installed JWChat and ejabberd with Apache 2.2, and I've been having communications issues (specifically, the ports aren't redirecting).</p> <p>I've included the LoadModules for mod_proxy and mod_rewrite, and this is the .htaccess file:</p> <p>AddDefaultCharset UTF-8<br /> Options +MultiViews</p> <p> RewriteEngine On<br /> RewriteRule http-poll/ <noindex><a href="http://localhost:5280/http-poll/" title="http://localhost:5280/http-poll/" rel="nofollow" >http://localhost:5280/http-poll/</a></noindex> [P]</p> <p>Is there something wrong with what I have in my .htaccess file? I've already added the appropriate AllowOverride All in the apache config file.</p> Wed, 23 Jul 2008 03:38:54 +0000 mlywang comment 53447 at https://www.ejabberd.im ejabberd + Apache + JWChat https://www.ejabberd.im/jwchat-apache#comment-52155 <p>I have this same problem. I spent two weeks trying to get OpenFire to work with JWChat, and then gave up. Now I am having similar problems with ejabberd.</p> <p>Ejabberd is installed and working. I can log in, create a chat room, and chat with my friends. So ejabberd appears to be working.</p> <p>These both appear the same, so it seems that the Apache redirection is working correctly. However, both of these pages give me a "XML Parsing Error: no element found" message. Is that normal? I have no idea.<br /> <noindex><a href="http://www.mortshire.org:5280/http-poll/" title="http://www.mortshire.org:5280/http-poll/" rel="nofollow" >http://www.mortshire.org:5280/http-poll/</a></noindex><br /> <noindex><a href="http://www.mortshire.org/jwc/http-poll/" title="http://www.mortshire.org/jwc/http-poll/" rel="nofollow" >http://www.mortshire.org/jwc/http-poll/</a></noindex></p> <p>I can see the JWChat login screen, BUT no matter what user name and password I use, it LOOKS like it logs me in -- but doesn't. I then get a "service unavailable" message.</p> <p>I am at my wits end. I have read and read all the tutorials I can find, and nothing seems to help. I would like so much if someone who knows how all of this is SUPPOSED to work could give me a hint.</p> <p>Please?</p> Fri, 11 Apr 2008 20:14:10 +0000 Scartaris comment 52155 at https://www.ejabberd.im service unavailable https://www.ejabberd.im/jwchat-apache#comment-51865 <p>Hello, I want to use jwchat configured on apache2 with ejabberd. I am using the latest versions. But when I run the jwchat page, click the login button, jwchat window opens but then a message pops out with "service not available" message. When I type <noindex><a href="http://myserver.com/http-bind/" title="http://myserver.com/http-bind/" rel="nofollow" >http://myserver.com/http-bind/</a></noindex> it is redirected to <noindex><a href="http://myserver.com:5280/http-bind/" title="http://myserver.com:5280/http-bind/" rel="nofollow" >http://myserver.com:5280/http-bind/</a></noindex>. This means apache2 is redirecting to http-bind of ejabberd. There is no error log in apache. Is this the problem of ejabberd.<br /> Also if I use jwchat with the mod_http_fileserver feature of ejabberd, it is working fine.<br /> My httpd.conf is like this</p> <p> ServerName myserver.com<br /> DocumentRoot /var/www/jwchat</p> <p> Options +Indexes +MultiViews</p> <p> AddDefaultCharset UTF-8<br /> RewriteEngine On<br /> RewriteRule http-bind/ <noindex><a href="http://myserver.com/http-bind/" title="http://myserver.com/http-bind/" rel="nofollow" >http://myserver.com/http-bind/</a></noindex></p> <p>Please help me. Its been 3 weeks I am working for this.</p> <p>Regards,<br /> Pratik</p> Sun, 24 Feb 2008 09:17:14 +0000 pratikdbl comment 51865 at https://www.ejabberd.im Thanks ! It is working fine https://www.ejabberd.im/jwchat-apache#comment-51634 <p>Hi,<br /> Thanks for your guidance in ejabberd http binding problem.I used the tutorial that u mentioned me!<br /> It is working fine in linux.But if i try it in windows ,i configured the docroot as D:\root...not like linux parent root ,it is throwing error while start the ejabberd server as configuartion error occured !!.</p> <p>viji m</p> Wed, 16 Jan 2008 10:27:24 +0000 xmppim comment 51634 at https://www.ejabberd.im http-bind works for me using this tutorial https://www.ejabberd.im/jwchat-apache#comment-51609 <div class="quote-msg"> <div class="quote-author"><em>viji</em> wrote:</div> <p>Http binding is not working on ejabberd 2.0</p></div> <p>I guess you mean ejabberd 2.0.0-beta1. </p> <p>It works for me using this tutorial: <noindex><a href="/jwchat-localserver" rel="nofollow" >Install JWChat with ejabberd's HTTP-Bind and file server</a></noindex></p> Sun, 13 Jan 2008 22:52:26 +0000 mfoss comment 51609 at https://www.ejabberd.im