Friday, December 31, 2010

Exception in initialize javax.naming.NameNotFoundException: Context:

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:]
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.
Try Add/Remove MDM from WAS.

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.
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.
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
Add C:\IBM\SDP70\runtimes\base_v61\runtimes\ to the project

java.lang.StackOverFlow error

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

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