While Raising The Sample Usage For A Customer faced Error In Running "sample_generic_session.sh". (Doc ID 1993421.1)

Last updated on MARCH 07, 2017

Applies to:

Oracle Communications BRM - Elastic Charging Engine - Version 11.2.0.0.0 to 11.2.0.5.0 [Release 11.2.0]
Information in this document applies to any platform.

Goal

While raising the sample usage for a customer faced error in running "sample_generic_session.sh"".

error message

bash-3.2$ sh sample_generic_session.sh run 050-20150317-180642-0-25245--152340768-INKOTIPC00546-pin TERMINATE 60 TelcoGsmTelephony ConvergentVoice 1.0 2013-08-30T00:02:00 10 14085553434 CUMULATIVE

--- java -Dtangosol.coherence.override=charging-coherence-override-dev.xml -Dtangosol.coherence.distributed.localstorage=false -Dtangosol.pof.config=client-pof-config.xml -Djava.net.preferIPv4Addresses=true -DECE_SDK_LOG_FILE_PATH=/brmece/ECE_OWC_Installation/ocecesdk/bin/usage/../../logs/usage/SampleGenericSession -Dtangosol.coherence.localhost=localhost -Dlog4j.configuration=client-log4j.properties -cp /brmece/ECE_OWC_Installation/oceceserver/lib/spring-asm-3.2.2.RELEASE.jar:/brmece/ECE_OWC_Installation/oceceserver/lib/spring-beans-3.2.2.RELEASE.jar:/brmece/ECE_OWC_Installation/oceceserver/lib/spring-core-3.2.2.RELEASE.jar:/brmece/ECE_OWC_Installation/oceceserver/lib/spring-context-3.2.2.RELEASE.jar:/brmece/ECE_OWC_Installation/oceceserver/lib/spring-expression-3.2.2.RELEASE.jar:/brmece/ECE_OWC_Installation/oceceserver/lib/spring-aop-3.2.2.RELEASE.jar:/brmece/ECE_OWC_Installation/oceceserver/lib/aopalliance-1.0.jar:/brmece/ECE_OWC_Installation/oceceserver/lib/aspectjrt-1.6.12.jar:/brmece/ECE_OWC_Installation/ocecesdk/bin/usage/../../source:/brmece/ECE_OWC_Installation/ocecesdk/bin/usage/../../config:/brmece/ECE_OWC_Installation/oceceserver/lib/log4j-1.2.17.jar:/brmece/ECE_OWC_Installation/oceceserver/lib/commons-logging-1.1.1.jar:/brmece/ECE_OWC_Installation/oceceserver/lib/commons-configuration-1.9.jar:/brmece/ECE_OWC_Installation/oceceserver/lib/commons-collections-3.2.1.jar:/brmece/ECE_OWC_Installation/oceceserver/lib/commons-beanutils-1.8.3.jar:/brmece/ECE_OWC_Installation/oceceserver/lib/commons-lang-2.6.jar:/brmece/ECE_OWC_Installation/oceceserver/lib/time-2.2.jar:/brmece/ECE_OWC_Installation/oceceserver/lib/joda-convert-1.3.1.jar:/brmece/ECE_OWC_Installation/oceceserver/lib/wlthint3client.jar:/brmece/ECE_OWC_Installation/oceceserver/lib/mail-1.4.jar:/brmece/ECE_OWC_Installation/oceceserver/lib/coherence-3.7.1.6.jar:/brmece/ECE_OWC_Installation/oceceserver/lib/coherence.login-3.7.1.6.jar:/brmece/ECE_OWC_Installation/oceceserver/lib/scala-library-2.10.1.jar:/brmece/ECE_OWC_Installation/oceceserver/lib/util.coherence-11.2.0.0.jar:/brmece/ECE_OWC_Installation/oceceserver/lib/util.transaction-11.2.0.0.jar:/brmece/ECE_OWC_Installation/oceceserver/lib/util.misc-11.2.0.0.jar:/brmece/ECE_OWC_Installation/oceceserver/lib/util.errors-11.2.0.0.jar:/brmece/ECE_OWC_Installation/oceceserver/lib/util.range-11.2.0.0.jar:/brmece/ECE_OWC_Installation/oceceserver/lib/util.unit-11.2.0.0.jar:/brmece/ECE_OWC_Installation/oceceserver/lib/util.query-11.2.0.0.jar:/brmece/ECE_OWC_Installation/oceceserver/lib/util.security-11.2.0.0.jar:/brmece/ECE_OWC_Installation/oceceserver/lib/util.transaction-11.2.0.0.jar:/brmece/ECE_OWC_Installation/oceceserver/lib/brs-11.2.0.0.jar:/brmece/ECE_OWC_Installation/oceceserver/lib/messages.framework-11.2.0.0.jar:/brmece/ECE_OWC_Installation/oceceserver/lib/messages.usage-11.2.0.0.jar:/brmece/ECE_OWC_Installation/oceceserver/lib/messages.update-11.2.0.0.jar:/brmece/ECE_OWC_Installation/oceceserver/lib/messages.query-11.2.0.0.jar:/brmece/ECE_OWC_Installation/oceceserver/lib/messages.management-11.2.0.0.jar:/brmece/ECE_OWC_Installation/oceceserver/lib/messages.policy-11.2.0.0.jar:/brmece/ECE_OWC_Installation/oceceserver/lib/servicecontext-11.2.0.0.jar:/brmece/ECE_OWC_Installation/oceceserver/lib/config-11.2.0.0.jar:/brmece/ECE_OWC_Installation/oceceserver/lib/identity-11.2.0.0.jar:/brmece/ECE_OWC_Installation/oceceserver/lib/tracking-11.2.0.0.jar:/brmece/ECE_OWC_Installation/oceceserver/lib/annotations-11.2.0.0.jar:/brmece/ECE_OWC_Installation/oceceserver/lib/appconfiguration-11.2.0.0.jar:/brmece/ECE_OWC_Installation/oceceserver/lib/statemanager-11.2.0.0.jar:/brmece/ECE_OWC_Installation/oceceserver/lib/transports.framework-11.2.0.0.jar:/brmece/ECE_OWC_Installation/oceceserver/lib/transports.jms-11.2.0.0.jar:/brmece/ECE_OWC_Installation/oceceserver/lib/notification-11.2.0.0.jar:/brmece/ECE_OWC_Installation/oceceserver/lib/orchestration.framework-11.2.0.0.jar:/brmece/ECE_OWC_Installation/oceceserver/lib/processor.management-11.2.0.0.jar:/brmece/ECE_OWC_Installation/oceceserver/lib/balance-11.2.0.0.jar:/brmece/ECE_OWC_Installation/oceceserver/lib/ratingview-11.2.0.0.jar:/brmece/ECE_OWC_Installation/oceceserver/config:/brmece/ECE_OWC_Installation/oceceserver/lib/coherence.work-3.7.1.6.jar:/brmece/ECE_OWC_Installation/oceceserver/lib/work-1.4.1.jar oracle.communication.brm.charging.sdk.usage.SampleGenericSession  050-20150317-180642-0-25245--152340768-INKOTIPC00546-pin TERMINATE 60 TelcoGsmTelephony ConvergentVoice 1.0 2013-08-30T00:02:00 10 14085553434 CUMULATIVE ---

Exception in thread "main" java.lang.RuntimeException: oracle.communication.brm.charging.messages.usage.MessagesUsageException: MessagesframeworkMessagesBundle-7001: Cannot create envelope because the UserIdentity:050-20150317-180642-0-25245--152340768-INKOTIPC00546-pin does not exist in the IdentityRepository. | Debug : please verify that UserIdentities hve been loaded into the  IdentityRepository.

        at oracle.communication.brm.charging.sdk.AbstractSampleProgram.run(AbstractSampleProgram.java:552)

        at oracle.communication.brm.charging.sdk.usage.SampleGenericSession.main(SampleGenericSession.java:170)

Caused by: oracle.communication.brm.charging.messages.usage.MessagesUsageException: MessagesframeworkMessagesBundle-7001: Cannot create envelope because the UserIdentity:050-20150317-180642-0-25245--152340768-INKOTIPC00546-pin does not exist in the IdentityRepository. | Debug : please verify that UserIdentities hve been loaded into the  IdentityRepository.

        at oracle.communication.brm.charging.messages.usage.internal.UsageEnvelopeFactoryImpl.buildRequest(UsageEnvelopeFactoryImpl.java:164)

        at oracle.communication.brm.charging.messages.usage.internal.UsageEnvelopeFactoryImpl.makeRequest(UsageEnvelopeFactoryImpl.java:122)

        at oracle.communication.brm.charging.brs.internal.BatchRequestServiceImpl.submitUsage(BatchRequestServiceImpl.java:555)

        at oracle.communication.brm.charging.sdk.AbstractSampleProgram.sendAsynchronousRequest(AbstractSampleProgram.java:432)

        at oracle.communication.brm.charging.sdk.AbstractSampleProgram.sendRequest(AbstractSampleProgram.java:470)

        at oracle.communication.brm.charging.sdk.usage.SampleGenericSession.runSample(SampleGenericSession.java:121)

        at oracle.communication.brm.charging.sdk.AbstractSampleProgram.run(AbstractSampleProgram.java:550)

        ... 1 more

bash-3.2$


Got the following the Doc ID 1594863.1 in order to proceed further on the BRM-ECE-PDC integration.
The goal is to achieve the balance impact on customer after usage. Why we are getting above error ?
 

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms