Pages

Monday, August 16, 2010

READERR 796: Search for the following failed: Party

I was trying to invoke a searchFSParty from my finder class .

TCRMFSPersonSearchBObj fspersonsearch=new TCRMFSPersonSearchBObj();
fspersonsearch.setLastName("tintumon");
try {
TCRMResponse tcrmReps=new TCRMFinancialFinder().searchFSParty(fspersonsearch);
TCRMPersonSearchResultBObj perSearchResult=(TCRMPersonSearchResultBObj)tcrmReps.getData();


} catch (Exception e1) {
// TODO Auto-generated catch block
e1.printStackTrace();
}

It was giving me ERROR - 10 READERR 796: Search for the following failed: Party
Same the case with TCRMCorePartyFinder.

But I am able to invoke a getContract()
new TCRMFinancialFinder().getContract(contractId, "1", "1", control);
successfuly inside the same class.

Solution:

The reason being  I had'nt set the control to fspersonsearch.
TCRMFSPersonSearchBObj fspersonsearch=new TCRMFSPersonSearchBObj();
fspersonsearch.setLastName("Darnell");
fspersonsearch.setControl(theBObj.getControl());
try {
TCRMResponse tcrmReps=new TCRMFinancialFinder().searchFSParty(fspersonsearch);
Vector perSearchResultVect=(Vector)tcrmReps.getData();
TCRMPersonSearchResultBObj perSearchResult= (TCRMPersonSearchResultBObj) perSearchResultVect.get(0);
System.out.println("Given name---"+perSearchResult.getGivenNameOne());

Error_Application_NotFindDeployment

Problem:
IST] 00000011 SystemOut     O ERROR     - Error_Application_NotFindDeployment
[8/10/10 11:54:12:043 IST] 00000011 SystemOut     O ERROR     - Exception_Application_NotFindDeployment
[8/10/10 11:54:12:043 IST] 00000011 SystemOut     O ERROR     - Error_Application_NotFindDeployment
[8/10/10 11:54:12:043 IST] 00000011 SystemOut     O ERROR     - Error_Application_NotFindDeployment
[8/10/10 11:54:12:043 IST] 00000011 SystemOut     O ERROR     - com.dwl.management.config.repository.ElementNotFoundException: Exception_Application_NotFindDeployment
[8/10/10 11:54:12:043 IST] 00000011 SystemOut     O INFO      - ###########################
[8/10/10 11:54:12:043 IST] 00000011 SystemOut     O INFO      - DWLServiceController : processRequest : total time in milliseconds 0
[8/10/10 11:54:12:043 IST] 00000011 SystemOut     O INFO      - ###########################
[8/10/10 11:54:12:089 IST] 00000011 SystemOut     O ERROR     - Error_Application_NotFindDeployment
[8/10/10 11:54:12:089 IST] 00000011 SystemOut     O ERROR     - Exception_Application_NotFindDeployment
[8/10/10 11:54:12:089 IST] 00000011 SystemOut     O ERROR     - Error_Application_NotFindDeployment
[8/10/10 11:54:12:089 IST] 00000011 SystemOut     O ERROR     - Error_Application_NotFindDeployment
Solution:
Check whether the deployment name in APPDEPLOYMENT table matches  the one in the bootstrap.properties.(Customer resources ->properties->config)