[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [xmlblaster] Fail safe mode/invalid secretsessionId

Hi Xavier,
what you described happens when the server has no session anymore (for
example if it has been killed for some reason) and the client does not
know about it and tries to work as usual (publish subscribe etc.)

Xavier Roques wrote:
> Hello,
> After doing an OS patch on some of our boxes
> We notice that some agents were not connected to the xmlblaster server.
> In the log of the agents we can see the following errors:
> INFO   | jvm 1    | 2006/08/07 15:40:12 | 2006-08-07 15:40:12,371 ERROR
> [Login requestor mwec9a0205-agent] event.LoginRequestor
> (com.infovista.foundation.jmx.event.LoginRequestor:LoginRequestor.java:r
> un:87)     - com.infovista.foundation.middleware.mom.MOMException:
> errorCode=user.security.authentication.accessDenied message=#1.1 Your
> secretSessionId is invalid, no access to xmlBlaster_162_111_89_158_3412.
> And the agent does not try anymore to connect to the Xmlblaster server.
> We are using xmlblaster 1.1
> All our agents are configured to use the fail safe mode and only one
> session of each agent is allowed ("sameclientonly").
> The protocol used is the SOCKET one.
> How can I fix this issue?

I think it is the job of the client application (in your case your
agent) to decide what to do if such an exception happens. In your case
you would wish to reconnect (explicit reconnect).

The underlying problem, that is the reason why the server has killed the
session is unknown to me: I would need some more details, for example
configuration and server logs.

Some of the reasons could be because:
- explicit killing of the session (for example via jmx)
- session timeout
- callback ping failing and no -dispatch/callback/retries=-1 set
- ...


> Thanks,
> XavieR.