Pages

Thursday, January 13, 2011

Exception in initialize javax.naming.NamingException: Failed to initialize the ORB [Root exception is org.omg.CORBA.INITIALIZE

Immediately after you had set  up your DEST & imported the XML Tester to your workspace ,you should have ran an XML transaction.It may resulted in the following error.

Exception in initialize javax.naming.NamingException: Failed to initialize the ORB [Root exception is org.omg.CORBA.INITIALIZE: Unable to init plugins vmcid: IBM minor code: 504 completed: No]


java.lang.ArrayIndexOutOfBoundsException: Array index out of range: 0

Error in testRequestMethod :java.lang.NullPointerException
 
Solution:
Add the jars com.ibm.ws.admin.client_6.1.0.jar and com.ibm.ws.webservices.thinclient_6.1.0.jar to the build path of the XML tester.

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.

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=