powered by Jive Software

Linux install connection fails - is not attempted

Just installed Spark on Xunbuntu and Spark runs but when logging in makes no TCP connections to the server. I can telnet to port 5222 on the server no problems and see those packets in tcpdump, but cannot see packets when hitting Login in Spark. I ran tcpdump on both the server and client and saw no packets.

Pidgin works fine.

Any help much appreaciated.

Niall

Spark spits out this output:

spark-client$ /opt/Spark/Spark

Locking assertion failure. Backtrace:

#0 /usr/lib32/libxcb-xlib.so.0 [0xed700767]

#1 /usr/lib32/libxcb-xlib.so.0(xcb_xlib_unlock+0x31) [0xed7008b1]

#2 /usr/lib32/libX11.so.6(_XReply+0xfd) [0xed2f51bd]

#3 /opt/Spark/jre/lib/i386/xawt/libmawt.so [0xed3f564e]

#4 /opt/Spark/jre/lib/i386/xawt/libmawt.so [0xed3d3f97]

#5 /opt/Spark/jre/lib/i386/xawt/libmawt.so [0xed3d4248]

#6 /opt/Spark/jre/lib/i386/xawt/libmawt.so(Java_sun_awt_X11GraphicsEnvironment_ini tDisplay+0x2f) [0xed3d454f]

#7 [0xf5cf968e]

#8 [0xf5cf1edd]

#9 [0xf5cf1edd]

#10 [0xf5cef243]

#11 /opt/Spark/jre/lib/i386/client/libjvm.so [0x620bbbd]

#12 /opt/Spark/jre/lib/i386/client/libjvm.so [0x630a6b8]

#13 /opt/Spark/jre/lib/i386/client/libjvm.so [0x620ba50]

#14 /opt/Spark/jre/lib/i386/client/libjvm.so(JVM_DoPrivileged+0x34b) [0x626190b]

#15 /opt/Spark/jre/lib/i386/libjava.so(Java_java_security_AccessController_doPrivil eged__Ljava_security_PrivilegedAction_2+0x3d) [0xf7d0a96d]

#16 [0xf5cf968e]

#17 [0xf5cf1d77]

#18 [0xf5cef243]

#19 /opt/Spark/jre/lib/i386/client/libjvm.so [0x620bbbd]

Locking assertion failure. Backtrace:

#0 /usr/lib32/libxcb-xlib.so.0 [0xed700767]

#1 /usr/lib32/libxcb-xlib.so.0(xcb_xlib_lock+0x2e) [0xed70081e]

#2 /usr/lib32/libX11.so.6 [0xed2f4518]

#3 /usr/lib32/libX11.so.6(XGetVisualInfo+0x26) [0xed2eb0a6]

#4 /opt/Spark/jre/lib/i386/xawt/libmawt.so [0xed3d3249]

#5 /opt/Spark/jre/lib/i386/xawt/libmawt.so [0xed3d3495]

#6 /opt/Spark/jre/lib/i386/xawt/libmawt.so [0xed3d42f9]

#7 /opt/Spark/jre/lib/i386/xawt/libmawt.so(Java_sun_awt_X11GraphicsEnvironment_ini tDisplay+0x2f) [0xed3d454f]

#8 [0xf5cf968e]

#9 [0xf5cf1edd]

#10 [0xf5cf1edd]

#11 [0xf5cef243]

#12 /opt/Spark/jre/lib/i386/client/libjvm.so [0x620bbbd]

#13 /opt/Spark/jre/lib/i386/client/libjvm.so [0x630a6b8]

#14 /opt/Spark/jre/lib/i386/client/libjvm.so [0x620ba50]

#15 /opt/Spark/jre/lib/i386/client/libjvm.so(JVM_DoPrivileged+0x34b) [0x626190b]

#16 /opt/Spark/jre/lib/i386/libjava.so(Java_java_security_AccessController_doPrivil eged__Ljava_security_PrivilegedAction_2+0x3d) [0xf7d0a96d]

#17 [0xf5cf968e]

#18 [0xf5cf1d77]

#19 [0xf5cef243]

28-May-2009 09:57:17 org.jivesoftware.spark.util.log.Log warning

WARNING: Exception in Login:

Could not connect to p-app-chat.aspectcapital.com:5222.: remote-server-timeout(504) Could not connect to p-app-chat.aspectcapital.com:5222.

– caused by: java.net.UnknownHostException: p-app-chat.aspectcapital.com

at org.jivesoftware.smack.XMPPConnection.connectUsingConfiguration(XMPPConnection. java:823)

at org.jivesoftware.smack.XMPPConnection.connect(XMPPConnection.java:1276)

at org.jivesoftware.LoginDialog$LoginPanel.login(LoginDialog.java:822)

at org.jivesoftware.LoginDialog$LoginPanel.access$400(LoginDialog.java:196)

at org.jivesoftware.LoginDialog$LoginPanel$1.construct(LoginDialog.java:594)

at org.jivesoftware.spark.util.SwingWorker$2.run(SwingWorker.java:129)

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

Nested Exception:

java.net.UnknownHostException: p-app-chat.aspectcapital.com

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

at java.net.SocksSocketImpl.connect(Unknown Source)

at java.net.Socket.connect(Unknown Source)

at java.net.Socket.connect(Unknown Source)

at java.net.Socket.(Unknown Source)

at java.net.Socket.(Unknown Source)

at org.jivesoftware.smack.XMPPConnection.connectUsingConfiguration(XMPPConnection. java:815)

at org.jivesoftware.smack.XMPPConnection.connect(XMPPConnection.java:1276)

at org.jivesoftware.LoginDialog$LoginPanel.login(LoginDialog.java:822)

at org.jivesoftware.LoginDialog$LoginPanel.access$400(LoginDialog.java:196)

at org.jivesoftware.LoginDialog$LoginPanel$1.construct(LoginDialog.java:594)

at org.jivesoftware.spark.util.SwingWorker$2.run(SwingWorker.java:129)

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

Verions info:

Installed spark_2_5_8.tar.gz

$ uname -a

Linux xxxxx 2.6.24-24-generic #1 SMP Wed Apr 15 15:11:35 UTC 2009 x86_64 GNU/Linux

$ cat /etc/debian_version

lenny/sid

$ java -version

java version “1.5.0”

gij (GNU libgcj) version 4.2.4 (Ubuntu 4.2.4-1ubuntu3)

Copyright © 2007 Free Software Foundation, Inc.

This is free software; see the source for copying conditions. There is NO

warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

client# tcpdump -i eth0 dst host openfire-server

returns nothing, except telnet packets

server# tcpdump -i eth0 port 5222 and src host spark-client

returns nothing, except telnet packets

Hi,

– caused by: java.net.UnknownHostException: p-app-chat.aspectcapital.com

it seems you have a problem to resolve the hostname of your server. Maybe try to connect with the IP, check your DNS or add the server to /etc/hosts.

Thanks for the suggestion, but DNS resolution is working fine.

Pidgin and telnet resolve it with no problems.

Spark shows the same problem when using the IP to login.