Topic
  • 1 reply
  • Latest Post - ‏2012-08-06T17:31:01Z by prashanta.nc
SystemAdmin
SystemAdmin
345 Posts

Pinned topic Data corruption sample in CustomerSamples.jar

‏2012-08-06T17:20:28Z |
1. For the data corruption code included in the CustomerSamples.jar, I'm getting these errors:
8/6/12 11:52:10:094 EDT 00000012 SystemOut O WARN - Exception_Shared_NoProperty: CDKCU2003E:The property is not defined in the properties file. Property = EventManager.process_controller.provider_url
8/6/12 11:52:10:094 EDT 00000012 SystemOut O ERROR - com.dwl.tcrm.exception.TCRMPropertyNotFoundException: EventManager.process_controller.provider_url
at com.dwl.tcrm.utilities.TCRMProperties.getTCRMProperty(TCRMProperties.java:605)
at com.dwl.tcrm.utilities.TCRMProperties.getProperty(TCRMProperties.java:463)
at com.dwl.tcrm.utilities.TCRMClassFactory.getEJBServices(TCRMClassFactory.java:444)
at com.dwl.tcrm.samples.datacorruption.DataCorruptionEMNotifier.execute(DataCorruptionEMNotifier.java:84)

Same stack trace but other properties not found listed in the log are:
EventManager.provider_url
EventManager.process_controller.context_factory

The EventManager.properties file, however, has been updated to include:
EventManager.process_controller.jndi=ProcessController
EventManager.process_controller.provider_url=corbaloc:iiop:localhost:2809
EventManager.process_controller.context_factory=com.ibm.websphere.naming.WsnInitialContextFactory

Yet these errors still occur.

***************
Is there another properties file which must be updated?
***************
2. MDM\Samples\EJBSamples\instruction\SetupDataCorruptionSample.txt mentions a Deploy_CusomerSamples_Server.doc.
This doc is no where to be found in the distribution package. Can it be found online?
thank you.
Updated on 2012-08-06T17:31:01Z at 2012-08-06T17:31:01Z by prashanta.nc
  • prashanta.nc
    prashanta.nc
    56 Posts

    Re: Data corruption sample in CustomerSamples.jar

    ‏2012-08-06T17:31:01Z  
    Hi,

    One reason why this is happens is when there is a space added at the end of a property defined in event manager property file.

    In this case, check the property its complaining about EventManager.process_controller.provider_url to see if you have accidentally added a space. It happens all the time with me when I use vi in unix environment.

    This is small issue we have in the code where we do not trim the property we read from the file. Hope that helps.

    Thanks
    ~PC