Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » OHF » POJO error from initiating user not set
POJO error from initiating user not set [message #582640] Thu, 25 October 2007 20:18
Jesse Pangburn is currently offline Jesse PangburnFriend
Messages: 166
Registered: July 2009
Senior Member
Hi,
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?

thanks,
Jesse
Previous Topic:Binaries of IHE and Bridge Components for use at the 2008 IHE Connectathon now available
Next Topic:All PIX consumer tests are failing
Goto Forum:
  


Current Time: Sun Nov 23 16:07:40 GMT 2014

Powered by FUDForum. Page generated in 0.02710 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software