Pages

Friday, December 31, 2010

Exception in initialize javax.naming.NameNotFoundException: Context:

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.

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

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.