-
1. Re: Failed to manually import resource
jayshaughnessy Jun 5, 2013 2:44 PM (in response to udayatom)1 of 1 people found this helpfulThe supportManualAdd="true" Allows you to try to perform a manual import. And it seems you were able to try to perfom a manual import of the type, so I think that is working. It does not mean that your import will succeed. That is dependent on the supporting plugin code being correct, as well as the values specified for the to-be-added resource.
You may want to check your agent log for more details on why it failed.
-
2. Re: Failed to manually import resource
udayatom Jun 6, 2013 6:46 AM (in response to jayshaughnessy)Thanks jay, I understand.
I have two doubts
one
===
In my case the parent resource component had holding variable string parent_variable1=""; then the parent_variable1 value initialize in the start ( ) of the parent resource component. It is working. But there is another discovery component class, this is the child of the above class. when i retreiving the value of the parent_variable_1 from parent resource component, It returns the null value. How to access the parent resource components's present value.
two
===How to retrieve the value from the parent resource component's plugin configuration to the child discovery resource component.
I tried to retrieved the parent resource plugin configuration values in the child discovery component ,i used like this
ResourceContext<ParentResourceComponent> context=null;
Configruraton configuration=context.getPluginConfiguration();
var_one=config.getSimple("value1").getStringValue();
var_two=config.getSimple("value2").getStringValue();
var_three=config.getSimple("value3").getStringValue();
but here it throws the null pointer exception in configuration
give me the solution.
Regards,
Udaya