|POJO error from initiating user not set [message #582640]
||Thu, 25 October 2007 16:18
| Jesse Pangburn
Registered: July 2009
I am playing with the POJO usage from classes that I compiled from CVS a
week or so ago and having a problem. I'm trying to create an XDS.a
consumer, but the API is different now than shown in the XDS Document
Consumer PDF. In there, and in the javadoc from earlier, it shows that
when the Consumer class sends a query that you pass in the username you
want to query with.
If I recall a comment from you folks earlier, this user is necessary for
the audit logging. This matches with the exception I'm getting:
org.eclipse.ohf.ihe.atna.audit.client.ATNAAuditClientExcepti on: The
initiating user is not set.
So I assume there is some other way to set the initiating user. But I
don't see any method that looks right in the Consumer class for XDS, or in
the FindDocumentsQuery class that I'm passing to the Consumer's query
method. These are really the only two classes that seem to be directly
involved in the query. I was thinking that maybe it had been moved to
some static member in some other class, but that doesn't really make sense
because with lots of transactions going on at any given time from lots of
users, it would be just pure luck if threads didn't step on each other and
send the wrong user constantly.
So... any one know how I set this user, and if so, is it done in a way
that's thread safe?
Powered by FUDForum
. Page generated in 0.02103 seconds