[jdev] JSO problem
Shakeel Tariq
shakeeltariq at gmail.com
Thu May 26 04:41:30 CDT 2005
Hi All,
I'm developing a component for Jabber server using JSO Java library.
I'm having problem in handshake, the server rejects the authentication
with following error:
[LOGGER] OUTBOUND status change (disconnected --> connected):
<stream:stream xmlns='jabber:component:accept'
xmlns:stream='http://etherx.jabber.org/streams'/>
[LOGGER] INBOUND status change (disconnected --> connected):
<stream:stream xmlns='jabber:component:accept'
xmlns:stream='http://etherx.jabber.org/streams'/>
Connected
[LOGGER] OUTBOUND status change (connected --> opened): <stream:stream
xmlns='jabber:component:accept'
xmlns:stream='http://etherx.jabber.org/streams' to='vatandra.local'/>
DEBUG [main] (AbstractStream.java:157) - processing start of element
({http://etherx.jabber.org/streams}stream)
[LOGGER] INBOUND status change (connected --> opened): <stream:stream
xmlns='jabber:component:accept'
xmlns:stream='http://etherx.jabber.org/streams' from='vatandra.local'
id='51jw3ek5hxt40gyd6sl2s7z66y0409e5bx2fcmkt' version='1.0'/>
Opened
FROM == vatandra.local
ID == 51jw3ek5hxt40gyd6sl2s7z66y0409e5bx2fcmkt
DEBUG [main] (PacketMonitor.java:71) - packet matcher against
<handshake xmlns='jabber:component:accept'>5dead62308d3406d650db83f99ccd5e66b6f962f</handshake>
[LOGGER] sent: <handshake
xmlns='jabber:component:accept'>5dead62308d3406d650db83f99ccd5e66b6f962f</handshake>
INFO [main] (Monitor.java:317) - monitor timed out
Exception in thread "main" java.lang.IllegalArgumentException: Could
not authenticate to server!
at EchoComponent.<init>(EchoComponent.java:133)
at EchoComponent.main(EchoComponent.java:394)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:78)
Process finished with exit code 1
need your help, any ideas ??
More information about the JDev
mailing list