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 9194779
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T21:29:36+00:00 2026-06-17T21:29:36+00:00

I want to connect to google server from my GWT Application, to integrate google

  • 0

I want to connect to google server from my GWT Application, to integrate google chat into my Appllication.
I have tried using the emite gwt library, but haven’t been successful with the configuration needed to connect to the google server.

Any help on this is highly appreciated.

I am getting the following exception when trying to use Emite in GWT application.

00:01:07.158 [INFO] Thu Jan 24 16:54:19 IST 2013 com.calclab.emite.core.client.bosh.XmppBoshConnection SEVERE: Connection error #1: Bad status: 302

In web.xml

<servlet>
<servlet-name>Proxy</servlet-name>
<servlet-class>de.spieleck.servlets.ProxyServlet</servlet-class>
<init-param>
    <param-name>remotePath</param-name>
    <param-value>/http-bind/</param-value>
</init-param>
<init-param>
    <param-name>remoteServer</param-name>
    <param-value>talk.google.com</param-value>
</init-param>
<init-param>
    <param-name>remotePort</param-name>
    <param-value>5222</param-value>
</init-param>
</servlet>
<servlet-mapping>
    <servlet-name>Proxy</servlet-name>
    <url-pattern>/http-bind</url-pattern>
</servlet-mapping>

In GWTModule.html

<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<meta name="emite.httpBase" content="/http-bind">
<meta name="emite.host" content="talk.google.com">
<meta name="emite.session" content="login">
<meta name="emite.onBeforeUnload" content="logout">
<meta name="emite.user" content="abc@gmail.com">
<meta name="emite.password" content="xxxxx">
<meta name="emite.chat" content="xxxx@gmail.com">

What am I missing here?

Regards

  • 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-17T21:29:37+00:00Added an answer on June 17, 2026 at 9:29 pm

    After some searches and tryouts –
    It seems that Google does not have their own bosh endpoint which would proxy request to google xmpp server.
    So, somehow ProxyServlet isn’t working for me to connect to google server.

    But now I am able to connect to google server using JabberHTTPBind.
    I used the emite-0.4.7-proxies.jar, which has JabberHTTPBind servlet bundled.
    In web.xml, added the below servlet mapping

        <servlet>
            <servlet-name>Jabber HTTP Binding Servlet</servlet-name>
            <servlet-class>org.jabber.JabberHTTPBind.JHBServlet</servlet-class>
        </servlet>
        <servlet-mapping>
            <servlet-name>Jabber HTTP Binding Servlet</servlet-name>
            <url-pattern>/http-bind/*</url-pattern>
        </servlet-mapping>
    

    This worked for me. And now I am able to connect to google server using Emite.

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

Sidebar

Related Questions

I want to connect from home using SQL Server 2005 to another PC. I
I have a Facebook Connect app that I monetize using Google AdSense. I want
I want to connect my rails 3 application to firebird database. I have followed
In my application I want to connect SQL Server Express with Hibernate. But I
I want to send XMPP message from my android client to GAE Server using
I have a situation. I want to connect to gmail smtp server and send
I have an android app I want to connect to a Google App Engine
Using emacs on Ubuntu 11.10. I want to connect to a SQL Server database
I want to connect my log4j.xml with log4j.xsd (xml schema). Project don't have any
I want to connect to DB2 from excel macro...This is my code, but it

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.