Error:
Exception in initialize javax.naming.NameNotFoundException: Context: MachineNode07Cell/nodes/MachineNode07/servers/server1, name: com/dwl/base/requestHandler/beans/DWLServiceController: First component in name requestHandler/beans/DWLServiceController not found. [Root exception is org.omg.CosNaming.NamingContextPackage.NotFound: IDL:omg.org/CosNaming/NamingContext/NotFound:1.0]
java.lang.ArrayIndexOutOfBoundsException: Array index out of range: 0
Error in testRequestMethod :java.lang.NullPointerException
The only reason for this error is your MDM is not properly deployed.
Solution:
Try Add/Remove MDM from WAS.
Friday, December 31, 2010
Exception occurred when processing the following attribute and object. Attrbiute = ComponentID; object =com.mycompany.XContract ,Wrong Number of Arguments.
Exception occurred when processing the following attribute and object. Attrbiute = ComponentID; object =com.mycompany.XContract ,Wrong Number of Arguments.
Easy fix:Remove the ComponentID from tcrmresponse_extension.dtd for the object mentioned in the error.
Once it is removed , you may get the same error with Attrbiute = ObjectReferenceID & again with DWLStatus.
This will solve the problem.
Alternate
Please regenerate the code for module project you used for any extensions & redeploy.
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
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
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.
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=
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.
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());
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());
Subscribe to:
Posts (Atom)