Topic
IC4NOTICE: developerWorks Community will be offline May 29-30, 2015 while we upgrade to the latest version of IBM Connections. For more information, read our upgrade FAQ.
No replies
SystemAdmin
SystemAdmin
238 Posts
ACCEPTED ANSWER

Pinned topic OrcMon API giving error 'failed to lazily initialize a collection of role: com.approuter.nmc.orcmon.OrcMonJob.events'

‏2011-02-24T15:44:47Z |
Hi all,
I am attempting to use the API to iterate over each project, configuration, orchestration, and job to build a list of failed jobs for a plugin to our custom monitoring application.  I am able to retrieve all projects deployed to the appliance using deployment.getAllProjects, however, when I call orcmon.searchJobs, I am getting this error:
 failed to lazily initialize a collection of role: com.approuter.nmc.orcmon.OrcMonJob.events, no session or session was closed
I am using .NET WCF Client proxy to make the request but am getting the same error making the request through soapUI.
Thanks,
Will Graham