[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [xmlblaster] xmlBlasterClient.pl: SessionId '' is invalid + p atch
I'd like to give a little more detail about what I tried to do, so you can
correct any false assumptions I might be making here:
I tried to construct a connect message to send to xmlBlaster, so that I
could start a subscription.
Here is the message I constructed:
458**I**13464*connect***
<qos>
<session name='osterman/3'
timeout='3600000'
maxSessions='10'
clearSessions='false'/>
<ptp>true</ptp>
<duplicateUpdates>false</duplicateUpdates>
<queue relating='callback'
maxEntries='1000'
maxBytes='4000000'
onOverflow='deadMessage'>
<callback type='IOR'
sessionId='4e56890ghdFzj0'
pingInterval='10000'
retries='-1'
delay='10000'
oneway='false'
dispatchPlugin='undef'>
IOR:10000010033200000099000010....
<burstMode collectTime='400' />
<compress type='gzip' minSize='3000'/>
<ptp>true</ptp>
</callback></queue></qos>*
I tried to keep the message the same as your example, with the exception of
my login name, and put an arbitrary request ID in front of it. Are the
request ID's in fact arbitrary or are they supposed to follow some scheme?
As I was asking before, is the sessionId field that you send in the connect
message randomly generated, and then received back in the returned connect
message as confirmation? If not, where do you get the sessionId value to
send in the connection request?
After I sent this message, xmlblaster gave this output:
[May 22, 2003 7:32:14 PM TRACE HandleClientRequest] Client accepted, coming
from host=/127.0.0.1 port=3322
[May 22, 2003 7:32:14 PM TRACE Parser] Entering readOneMsg(), waiting on
inputStream
[May 22, 2003 7:32:27 PM TRACE Parser] Got first 10 bytes of total length=45
[May 22, 2003 7:32:27 PM DUMP Parser] Raw message received
'**********8**I**13464*connect***<qos><session'
[May 22, 2003 7:32:27 PM WARN Parser] Ignoring checksum flag [May 22, 2003
7:32:27 PM WARN Parser] Ignoring version=-48 on 1 is supported
[May 22, 2003 7:32:27 PM TRACE Parser] Leaving parse(), message successfully
parsed
[May 22, 2003 7:32:27 PM TRACE HandleClientRequest] Receiving message
connect(13464)
[May 22, 2003 7:32:27 PM DUMP HandleClientRequest] Receiving message >
59A****113464*connect***<qos><session**0* -1<
[May 22, 2003 7:32:27 PM TRACE SocketExecutor] Receiving 'UNKNOWN_TYPE'
message connect(13464)
[May 22, 2003 7:32:27 PM WARN SocketExecutor] Ignoring received 'connect'
message id=13464, nobody is interested in it
[May 22, 2003 7:32:27 PM DUMP SocketExecutor] Ignoring received message,
nobody is interested in it: >
59A****113464*connect***<qos><session**0*-1<
[May 22, 2003 7:32:27 PM TRACE Parser] Entering readOneMsg(), waiting on
inputStream
[May 22, 2003 7:32:27 PM WARN HandleClientRequest] Lost connection to
client: java.io.IOException: Format of message header is corrupted '
name='ost', expected integral value
Is it really obvious what it didn't like about this message? Anything
obvious that I am missing here?
Thanks,
-Forrest