The Artima Developer Community
Sponsored Link

Web Services Forum
Jabber (ejabberd) + Smack --> failure

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Thomas SMETS

Posts: 307
Nickname: tsmets
Registered: Apr, 2002

Jabber (ejabberd) + Smack --> failure Posted: Jan 9, 2007 3:02 PM
Reply to this message Reply
Advertisement
The prpblem is dead simple but I tried the various configurations I thought were relevant but ... :( I have a jabber server running on a host (no dns, just IP).
The server is accessible from Exodus with NOOO problem... but if I do as what follows :
XMPPConnection.DEBUG_ENABLED = true;
XMPPConnection con = new XMPPConnection("10.102.160.117");

Here is the trace I get :
stream:error (host-unknown)
at org.jivesoftware.smack.PacketReader.parsePackets(PacketReader.java:320)
at org.jivesoftware.smack.PacketReader.access$000(PacketReader.java:43)
at org.jivesoftware.smack.PacketReader$1.run(PacketReader.java:63)
No response from the server.:
at org.jivesoftware.smack.NonSASLAuthentication.authenticate(NonSASLAuthentication .java:58)
at org.jivesoftware.smack.XMPPConnection.login(XMPPConnection.java:430)
at org.jivesoftware.smack.XMPPConnection.login(XMPPConnection.java:389)
at org.jivesoftware.smack.XMPPConnection.login(XMPPConnection.java:370)
at com.a3system.jabber.Test.main(Test.java:23)


The host cannot be pinged (Ubuntu server)... Just ssh, http, Jabber ! Incidently, ejabberd runs on the default port 5222 (by heart).

Any idea what is wrong .. ?

Tia,

\T,

Topic: Java Studio Creator --> web service --> spring --> hibernate --> database Previous Topic   Next Topic Topic: sugessions for my own software buisness start up- Kindly reply

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use