powered by Jive Software

PyICQ again :(

Hello.

I’‘ve installed JM 2.2.0 (and I’‘ve tried 2.2.1night also), downloaded PyICQ-t 0.6, created domains jabber.[example.com] and icq.[example.com]. JM working wery well, but PyICQ doesn’'t…

I’'m using Fedora Core 3, standart rpm from jivesoftware.org was installed.

My PyICQ’'s config:[/b]

PyICQ-t log:[/b]

08/12/05 - 23:56:28 - Debug logging enabled.

2005/08/12 23:56 HKT Log opened.

08/12/05 - 23:56:28 - Config: Created configuration entity

08/12/05 - 23:56:28 - Reading config option jid = icq.[example.com]

08/12/05 - 23:56:28 - Reading config option spooldir = /opt/pyicq-t/spool

08/12/05 - 23:56:28 - Reading config option pid = PyICQt.pid

08/12/05 - 23:56:28 - Reading config option mainServer = jabber.[example.com]

08/12/05 - 23:56:28 - Reading config option port = 10015

08/12/05 - 23:56:28 - Reading config option secret = zuper

08/12/05 - 23:56:28 - Reading config option websecret = letmein

08/12/05 - 23:56:28 - Reading config option lang = en

08/12/05 - 23:56:28 - Reading config option encoding = iso-8859-1

08/12/05 - 23:56:28 - Reading config option icqServer = login.icq.com

08/12/05 - 23:56:28 - Reading config option icqPort = 5238

08/12/05 - 23:56:28 - PyTransport: Service starting up

08/12/05 - 23:56:28 - Discovery: Created discovery manager

08/12/05 - 23:56:28 - Discovery: Adding feature support “http://jabber.org/protocol/disco” “None”

08/12/05 - 23:56:28 - Discovery: Adding identity “gateway” “icq” “ICQ Transport”

08/12/05 - 23:56:28 - Discovery: Adding feature support “jabber:iq:register” “”

2005/08/12 23:56 HKT Starting factory <tlib.xmlstream.XmlStreamFactory instance at 0xb7a5232c>

08/12/05 - 23:56:28 - PyTransport: Connected to main Jabberd server

08/12/05 - 23:56:28 - Discovery: Iq received “component.jabber.[example.com]” “761-0”. Looking for handler

08/12/05 - 23:56:28 - Discover: Child: query

08/12/05 - 23:56:28 - Discover: Matched query

08/12/05 - 23:56:28 - Discovery: Replying to disco#info request from “component.jabber.[example.com]” “761-0”

debug.log:[/b]

… the same messages …

2005.08.13 00:03:18 Connect Socket[addr=/127.0.0.1,port=53246,localport=10015]

2005.08.13 00:03:18 Starting registration of new external component for domain: icq.[example.com]

2005.08.13 00:03:18 Another component is already using domain: icq.[example.com]

error.log:[/b]

… the same messages …

2005.08.13 00:05:25 org.jivesoftware.messenger.net.SocketReader.run(SocketReader.java:145) Connection closed before session established

Socket[addr=/127.0.0.1,port=53591,localport=10015]

2005.08.13 00:05:28 org.jivesoftware.messenger.net.SocketReader.run(SocketReader.java:145) Connection closed before session established

Socket[addr=/127.0.0.1,port=53592,localport=10015]

2005.08.13 00:05:31 org.jivesoftware.messenger.net.SocketReader.run(SocketReader.java:145) Connection closed before session established

Socket[addr=/127.0.0.1,port=53593,localport=10015]

PSI XML Console:[/b]

Exception in error.log:[/b]

2005.08.13 00:28:09 org.jivesoftware.messenger.SessionManager$ComponentSessionListener.onConnectionC lose(SessionManager.java:1258) Could not close socket

java.lang.StringIndexOutOfBoundsException: String index out of range: -2

at java.lang.String.substring(Unknown Source)

at org.jivesoftware.messenger.SessionManager$ComponentSessionListener.onConnection Close(SessionManager.java:1253)

at org.jivesoftware.messenger.net.SocketConnection.notifyCloseListeners(SocketConn ection.java:316)

at org.jivesoftware.messenger.net.SocketConnection.close(SocketConnection.java:235 )

at org.jivesoftware.messenger.admin.component_002dsession_002dsummary_jsp._jspServ ice(component_002dsession_002dsummary_jsp.java:110)

at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:688)

at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:427)

at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplica tionHandler.java:822)

at org.jivesoftware.util.LocaleFilter.doFilter(LocaleFilter.java:43)

at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplica tionHandler.java:813)

at org.jivesoftware.util.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingF ilter.java:41)

at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplica tionHandler.java:813)

at org.jivesoftware.admin.AuthCheckFilter.doFilter(AuthCheckFilter.java:98)

at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplica tionHandler.java:813)

at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler. java:494)

at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:569)

at org.mortbay.http.HttpContext.handle(HttpContext.java:1482)

at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.ja va:624)

at org.mortbay.http.HttpContext.handle(HttpContext.java:1434)

at org.mortbay.http.HttpServer.service(HttpServer.java:896)

at org.mortbay.http.HttpConnection.service(HttpConnection.java:814)

at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:981)

at org.mortbay.http.HttpConnection.handle(HttpConnection.java:831)

at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244)

at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:366)

at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)

Hey Igor,

Jive Messenger expects external components to use a JID of the form is not matching JM’'s hostname so try fixing that and let us know how it goes.

Regards,

– Gato

Switch your domains from icq.example.com to icq.jabber.example.com. I had issues w/ PyICQ and PyAIM until someone on here (Gato maybe?) told me to do that. It seemed to work

-A