powered by Jive Software

Creating user accounts from Spark

I can create a new user with Spark and log in on the first try. Afterwards, I keep getting an invalid username and password message. I can create the user from the Wildfire Admin console and Spark authenticates without a problem. Does anyone know what could be causing the problem? I’'m running Wildfire on a Linux server. Thanks!

Here’'s the error log:

at org.jivesoftware.wildfire.server.OutgoingServerSession.authenticateDomain(Outgo ingServerSession.java:140)

at org.jivesoftware.wildfire.server.OutgoingSessionPromise.createSessionAndSendPac ket(OutgoingSessionPromise.java:126)

at org.jivesoftware.wildfire.server.OutgoingSessionPromise.access$300(OutgoingSess ionPromise.java:37)

at org.jivesoftware.wildfire.server.OutgoingSessionPromise$1$1.run(OutgoingSession Promise.java:91)

at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

at java.lang.Thread.run(Unknown Source)

2006.04.10 10:58:55 org.jivesoftware.wildfire.component.InternalComponentManager$1.error(InternalCom ponentManager.java:174)

java.lang.IllegalArgumentException: Illegal JID: *.beavis.thehill.org

at org.xmpp.packet.JID.init(JID.java:401)

at org.xmpp.packet.JID.

java.io.IOException: Stream closed.

at java.net.PlainSocketImpl.available(Unknown Source)

at java.net.SocketInputStream.available(Unknown Source)

at java.nio.channels.Channels$ReadableByteChannelImpl.read(Unknown Source)

at org.jivesoftware.wildfire.net.TLSStreamReader.doRead(TLSStreamReader.java:62)

at org.jivesoftware.wildfire.net.TLSStreamReader.access$000(TLSStreamReader.java:2 7)

at org.jivesoftware.wildfire.net.TLSStreamReader$1.read(TLSStreamReader.java:153)

at sun.nio.cs.StreamDecoder$CharsetSD.readBytes(Unknown Source)

at sun.nio.cs.StreamDecoder$CharsetSD.implRead(Unknown Source)

at sun.nio.cs.StreamDecoder.read(Unknown Source)

at java.io.InputStreamReader.read(Unknown Source)

at org.xmlpull.mxp1.MXParser.fillBuf(MXParser.java:2971)

at org.xmlpull.mxp1.MXParser.more(MXParser.java:3025)

at org.jivesoftware.wildfire.net.MXParser.nextImpl(MXParser.java:75)

at org.xmlpull.mxp1.MXParser.nextToken(MXParser.java:1100)

at org.dom4j.io.XMPPPacketReader.parseDocument(XMPPPacketReader.java:290)

at org.jivesoftware.wildfire.net.SocketReader.readStream(SocketReader.java:174)

at org.jivesoftware.wildfire.net.SocketReader.run(SocketReader.java:119)

at java.lang.Thread.run(Unknown Source)

Spark, Wildfire versions are?

Spark 1.1.3

Wildfire 2.6.0

Hi Kurt,

what is your xmpp.domain (found on /server-properties.jsp), what is your JID eg foo@jabber.org and does your password contain unicode characters or is plain ASCII?

LG

PS: “Illegal JID: *.beavis.thehill.org” sounds silly, what is the server doing here?

Hi LG,

The xmpp.domain is “thehill.org” and our JID is test@thehill.org. We were using plain ASCII for the password. Yep, we are using “beavis” as a test server. I doubt that name would make it into our production environment.

Thanks,

Kurt

Hi Kurt,

I wonder if you are hitting two of three Wifi 2.6.0 bugs:

Bug Fixes for 2.6.1:

    • After initial install new user accounts were corrupted until restart.
    • Fixed upgrade scripts of PostreSQL, SQLServer and Sybase.
    • New user passwords were not being saved to the database.

So you probably want to upgrade to 2.6.1 asap.

LG