powered by Jive Software

Cant register with server

Hi there

I’'m trying out the server. I currently use Jabberd 1.4.2 and have no problems.

My config is Jive Messenger 1.0.8

MSSQL 2000 on Windows XP

The web interface is running under JRUN 4

Client: Custom Web Client using jsp and Muse.

I have also tried PSi and it says it could not register with the server

I can use the web interface and have enable users to create accounts yet nothing is created. The database is writable and settings are being saved

Jive seems to believe that my client is making some kind of xml error, but I’'ve never had problems with this client before. Am I missing something ?

Here are some example log entries

This is probably the one that tells the story

Jive warn log

2003.11.10 18:02 Connection closed before session established

Socket[addr=/127.0.0.1,port=1955,localport=5222]

2003.11.10 18:06 Connection closed before session established

Socket[addr=/127.0.0.1,port=2063,localport=5222]

2003.11.10 18:08 Connection closed before session established

Socket[addr=/127.0.0.1,port=2142,localport=5222]

2003.11.10 18:13 Stream error detected

org.xmlpull.v1.XmlPullParserException: only whitespace content allowed before start tag and not G (position: START_DOCUMENT seen G… @1:1)

at org.xmlpull.mxp1.MXParser.parseProlog(MXParser.java:1551)

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

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

at com.jivesoftware.xmpp.net.SocketReadThread.createSession(SocketReadThread.java: 316)

at com.jivesoftware.xmpp.net.SocketReadThread.run(SocketReadThread.java:115)

2003.11.10 18:13 Connection closed before session established

Socket[addr=/192.168.0.9,port=57984,localport=5222]

2003.11.10 18:18 Stream error detected

org.xmlpull.v1.XmlPullParserException: expected = after attribute name (position: START_DOCUMENT seen <?xml version=\''1.0\''?>\r\n<stream:stream\r\nquit\r\ne… @4:2)

at org.xmlpull.mxp1.MXParser.parseAttribute(MXParser.java:2011)

at org.xmlpull.mxp1.MXParser.parseStartTag(MXParser.java:1811)

at org.xmlpull.mxp1.MXParser.parseProlog(MXParser.java:1511)

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

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

at com.jivesoftware.xmpp.net.SocketReadThread.createSession(SocketReadThread.java: 316)

at com.jivesoftware.xmpp.net.SocketReadThread.run(SocketReadThread.java:115)

2003.11.10 18:18 Connection closed before session established

Socket[addr=/192.168.0.9,port=58002,localport=5222]

2003.11.10 18:20 Stream error detected

org.xmlpull.v1.XmlPullParserException: only whitespace content allowed before start tag and not G (position: START_DOCUMENT seen G… @1:1)

at org.xmlpull.mxp1.MXParser.parseProlog(MXParser.java:1551)

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

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

at com.jivesoftware.xmpp.net.SocketReadThread.createSession(SocketReadThread.java: 316)

at com.jivesoftware.xmpp.net.SocketReadThread.run(SocketReadThread.java:115)

2003.11.10 18:20 Connection closed before session established

Socket[addr=/192.168.0.9,port=58036,localport=5222]

Jive Info log

2003.11.10 18:20 Logging off null on com.jivesoftware.xmpp.net.SocketConnection@ced1a8

2003.11.10 18:21 Connect Socket[addr=/127.0.0.1,port=2234,localport=5222]

2003.11.10 18:21 Connect Socket[addr=/127.0.0.1,port=2240,localport=5222]

2003.11.10 18:21 Connect Socket[addr=/127.0.0.1,port=2246,localport=5222]

2003.11.10 18:21 Connect Socket[addr=/127.0.0.1,port=2248,localport=5222]

2003.11.10 18:21 Connect Socket[addr=/127.0.0.1,port=2259,localport=5222]

2003.11.10 18:21 Connect Socket[addr=/127.0.0.1,port=2261,localport=5222]

2003.11.10 18:21 Connect Socket[addr=/127.0.0.1,port=2263,localport=5222]

2003.11.10 18:22 Connect Socket[addr=/127.0.0.1,port=2265,localport=5222]

2003.11.10 18:22 Connect Socket[addr=/127.0.0.1,port=2268,localport=5222]

2003.11.10 18:22 Dropping unrecognized packet

Presence: o: com.jivesoftware.xmpp.spi.SessionProxy@2a2ae9 r: engineering@conference.localhost/cbell1

2003.11.10 18:22 Connect Socket[addr=/127.0.0.1,port=2275,localport=5222]

2003.11.10 18:22 Connect Socket[addr=/127.0.0.1,port=2284,localport=5222]

2003.11.10 18:22 Dropping unrecognized packet

Message: o: com.jivesoftware.xmpp.spi.SessionProxy@2a2ae9 r: engineering@conference.localhostid_11263Colin Bell Joins chat room: engineering

id_11263

Colin Bell Joins chat room: engineering

2003.11.10 18:22 Dropping unrecognized packet

Presence: o: com.jivesoftware.xmpp.spi.SessionProxy@2a2ae9 r: engineering@conference.localhost1Online</sta tus>

1

Online

jive error log

2003.11.10 18:22 [com.jivesoftware.chat.database.DbChatServer$GroupChatHandler.handleMessages(Db ChatServer.java:190)

] Internal server error

java.lang.NullPointerException

at java.util.Hashtable.get(Hashtable.java:329)

at com.jivesoftware.chat.database.DbChatServer.getChatUser(DbChatServer.java:99)

at com.jivesoftware.chat.database.DbChatServer$GroupChatHandler.handleMessages(DbC hatServer.java:186)

at com.jivesoftware.xmpp.spi.BasicChannel$ChannelWorker.run(BasicChannel.java:340)

2003.11.10 18:22 [com.jivesoftware.chat.database.DbChatServer$GroupChatHandler.handleMessages(Db ChatServer.java:190)

] Internal server error

java.lang.NullPointerException

at java.util.Hashtable.get(Hashtable.java:329)

at com.jivesoftware.chat.database.DbChatServer.getChatUser(DbChatServer.java:99)

at com.jivesoftware.chat.database.DbChatServer$GroupChatHandler.handleMessages(DbC hatServer.java:186)

at com.jivesoftware.xmpp.spi.BasicChannel$ChannelWorker.run(BasicChannel.java:340)

2003.11.10 18:22 [com.jivesoftware.chat.database.DbChatServer$GroupChatHandler.handleMessages(Db ChatServer.java:190)

] Internal server error

java.lang.NullPointerException

at java.util.Hashtable.get(Hashtable.java:329)

at com.jivesoftware.chat.database.DbChatServer.getChatUser(DbChatServer.java:99)

at com.jivesoftware.chat.database.DbChatServer$GroupChatHandler.handleMessages(DbC hatServer.java:186)

at com.jivesoftware.xmpp.spi.BasicChannel$ChannelWorker.run(BasicChannel.java:340)

I have created a client with the Smack Library to see if was a compatability issue. Even though I have set Messenger to allow account creation, I get the following error: “org.jivesoftware.smack.XMPPException: Server does not support account creation.”

Help please!

Message was edited by: cbell1

Hi,

It sounds like your setup is not allowing inband registration. Please check again by logging into the admin UI, click on the ‘‘Server Manager’’ tab, then ‘‘Registration and login settings’’ on the left navigation bar. You need to enable ‘‘Inband Account Registration’’ and click on the “Save Settings” button to make the change persist.

Once you do that, try again. Let me know if that doesn’'t help.

-iain