Re: Facing Problem while doing operations with Provider on IBM AIX
Ashok K Pathak <[email protected]>
| Newsgroups | gmane.network.open-pegasus.general |
|---|---|
| Message-ID | <OFDC2CD6EE.0B0557CB-ON65257951.001E7E06-85257951.005816A6@in.ibm.com> |
For more information about CIM provider interfaces, you can refer
http://cvs.opengroup.org/pegasus-doc/CIMProvider.html
This seems to be an issue within your provider and need to add some
tracing logic as mentioned in below mail to figure out the root cause.
Regards
Ashok
Kirk Augustin
<kirk_augustin@ya
hoo.com> To
Ajay N Rao/India/IBM@IBMIN, swanand
11/22/11 03:13 PM Dunakhe <[email protected]>
cc
"[email protected]"
Please respond to <[email protected]>
Kirk Augustin Subject
<kirk_augustin@ya Re: Facing Problem while doing
hoo.com> operations with Provider on IBM AIX
Once it gets to the Initialize() routine, then it is your own code you need
to look into.
There are 2 means of debugging.
One is to write information and comments out to a file that you close and
reopen constantly.
The second is to build the provider as in-process with pegasus, so you can
step into it.
I prefer the former.
Kirk Augustin
11821 NW McNamee Rd
Portland, OR 97231
HM: 503-289-4356
WK: 503-744-8841
From: Ajay N Rao <[email protected]>
To: swanand Dunakhe <[email protected]>
Cc: "[email protected]" <[email protected]>
Sent: Tuesday, November 22, 2011 8:44 AM
Subject: Re: Facing Problem while doing operations with Provider on IBM
AIX
Hi Swanand,
There might be a possibility that the C++ provider code is not according
to the default C++ provider interface .
Regards,
Ajay
From: swanand Dunakhe <[email protected]>
To: "[email protected]" <[email protected]>
Date: 11/22/2011 06:43 PM
Subject: Facing Problem while doing operations with Provider on IBM
AIX
Hi,
I am facing problem while doing any operations with my C++ Provider on IBM
AIX. I am trying to enumerate Instances.
It is an instance and method provider(Type 2, 5 in MOF), derived from
CIMInstanceProvider and CIMMethodProvider.
It also gets registered successfully, but when I try to enumerate
instances, the call comes in its initialize() and then it faults.
When I looked in the traces, it gives me an error:
Message ID = ProviderManager.ProviderFacade.INVALID_PROVIDER_INTERFACE
Does AIX need some special provider interface or any special registration?
Thanks and Regards,
Swanand.