Pages

Thursday, December 9, 2010

BTM ITxRTx Exception : Exception in Request Response Framework

The exception may occur while executing  Composite Service Transaction.
Solution:
Add your Composite Transaction project to the dependencies of
1)DWLCommonServicesEJB's MANIFEST.
2)Add  Base.jar , BTM.jar, CommonUtilities.jar, ConfigurationClient.jar, ConfigurationRepository.jar, CoreUtilities.jar, DWLCommonServices.jar, Logging.jar, ManagementCommon.jar, Services.jar,  icu4j.jar - ManagementAgent/lib

javaAccessorNotSet Exception in thread "main" java.lang.NoClassDefFoundError:

SEVERE:javaAccessorNotSet  Exception in thread "main" java.lang.NoClassDefFoundError: org.eclipse.core.runtime.CoreException
Solution:
Add C:\IBM\SDP70\runtimes\base_v61\runtimes\com.ibm.ws.webservices.thinclient_6.1.0.jar to the project

java.lang.StackOverFlow error

Stack Over flow error is commonly seen while generating the code  after performing some extension / additions.

Solution:
Remove the dependencaies from DWLCommonServices / DWLCommonServicesEJB & try generating the code.

Wednesday, October 20, 2010

java.lang.NoSuchMethodError: com/sun/xml/xsom/XSFacet.getValue()Ljava/lang/String;

One common error we used to get while setting up the MDM workspace.
Problem:

[Error_Shared_DatabaseProperties:] Error occurred when retrieving database
java.lang.NoSuchMethodError: com/sun/xml/xsom/XSFacet.getValue()Ljava/lang/String;


Solution:

You need to uninstall the runtime completely and reinstall it without the web services feature pack to fix the problem. (Simply uninstalling the feature pack may not work.)

Reference:

http://www.ibm.com/developerworks/forums/thread.jspa?messageID=14290606;bcsi-ac-CEB65C2292F41211=1BD0A26D00000005MpqhV46kRGRgZy2AwTQSvDGb+EcJAAAABQAAABeIcACgjAAAAAAAAEQSAAA=


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)