powered by Jive Software

Login failed while connecting to openfire

we have a web client application developed using smack library. the openfire server is installed on Linux machine.

when we try to connect to openfire using the web client application it give us this error messag below. This is happening when we execute the

connection.login(username, password)// (from java)

org.xmlpull.v1.XmlPullParserException: processing instruction can not have PITarget with reserveld xml name (position: END_TAG seen …</stream:features><?xml … @1:616)

at org.xmlpull.mxp1.MXParser.parsePI(MXParser.java:2453)

at org.xmlpull.mxp1.MXParser.nextImpl(MXParser.java:1245)

at org.xmlpull.mxp1.MXParser.next(MXParser.java:1093)

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

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

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

stream:error (conflict)

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)

Could anyone please help…!!!

Thanks

Deepak