Can not login to jabber.org with 3.1.0 beta

I can login to gtalk but not jabber.org or chat.gizmproject.com. I’ve seen some old

posting that it worked for some people but failed for some other people. I tried the patch

in this thread, but it didn’t help. Is this a known problem? Any help is appreciated.

My code:

ConnectionConfiguration cc = new ConnectionConfiguration(“jabber.org”, 5222, “jabber.org”);
XMPPConnection connection = new XMPPConnection(cc);

try {
connection.connect();
SASLAuthentication.supportSASLMechanism(“PLAIN”, 0);
connection.login(“user_without_domain”, “password”, “resource”);
System.out.println(connection.isAuthenticated());
} catch (XMPPException e1) {
e1.printStackTrace();
}

The error:

SASL authentication failed using mechanism PLAIN:
at org.jivesoftware.smack.SASLAuthentication.authenticate(SASLAuthentication.java: 325)
at org.jivesoftware.smack.XMPPConnection.login(XMPPConnection.java:395)
at com.gn.xmpptunnel.Server.main(Server.java:46)