Unable to login to openfire server 3.7.0

I donloaded the smack_3_2_0_Beta2.tar.gz.

My Server is insite lan env. - 10.0.0.27

my code -

ConnectionConfiguration config = new ConnectionConfiguration(“10.0.0.27”, 5222 );

config.setCompressionEnabled(true);

config.setSASLAuthenticationEnabled(false);

config.setSelfSignedCertificateEnabled(true);

XMPPConnection x1 = new XMPPConnection(config);

try {

x1.connect();

System.out.println("*************************** x1.isConnected()="+x1.isConnected());

//SASLAuthentication.supportSASLMechanism(“PLAIN”, 0);

//x1.login(“100@xmppserver”, “100”);

x1.loginAnonymously();

//nk4-g41d3 nk4-G41D3

} catch (XMPPException e) {

// TODO Auto-generated catch block

e.printStackTrace();

}

this is the output to my console.

*************************** x1.isConnected()=true

stream:error (text)

at org.jivesoftware.smack.PacketReader.parsePackets(PacketReader.java:260)

at org.jivesoftware.smack.PacketReader.access$000(PacketReader.java:43)

at org.jivesoftware.smack.PacketReader$1.run(PacketReader.java:70)

Anonymous login failed.:

at org.jivesoftware.smack.NonSASLAuthentication.authenticateAnonymously(NonSASLAut hentication.java:128)

at org.jivesoftware.smack.XMPPConnection.loginAnonymously(XMPPConnection.java:314)

at client.Login.main(Login.java:30)

Can anyone help me?