1 Reply Latest reply: Jul 9, 2012 3:34 AM by user9114696 RSS

    OSM 7.0.3. getOsmCredentialPassword issue after order submission

    user9114696
      Hi,

      we deployed the the 7.0.3. cartridges for the typical topology following the 7.0.3. cartridge deployment guide for AIA on osm 7.0.3. and weblogic 10.3.1.0 / db 11g. We set up SOM and COM in one single instance and deploy AIA emulators. All ant scrips and deployment are successful.

      After submitting a test order ProcessSalesOrderFulfillmentEBM via SOAP UI against the machine, we are getting the error message below: '*Fail to find password credential with specified map and key name*'

      We can trace back this error to the xquery file OrderStateChangeHandlerXQuery, line 33 method

      **let $secureToken := context:getOsmCredentialPassword($context, $CF_OPERATOR)**

      In the javadoc for 7.0.3., we can find the method in Ordernotificationcontext, it is inherited from the interface AutomationContext. This method seems to be new in 7.0.3. since we cannot find it in the javadoc for 7.0.2..

      The problem might be connected to the credential store in weblogic, which one sets up via ant scripts with setupJPSPolicy+ and setupPIPUsers+ following the cartridge AIA deployment guide for 7.0.3.

      Does someone face a similar problem and have advice how to solve the issue ?

      Regards

      benedikt


      Error message:

      <29-Jun-2012 12:30:35,366 CEST PM> <INFO> <0.0/om:on-CommunicationsSalesOrder-CommunicationsSalesOrder-state_change> <ExecuteThread: '13' for queue: 'oms.automation'> <Creating automation plugin [class oracle.communications.ordermanagement.automation.plugin.XQueryReceiver] jndi[automation/plugin/internal/orderNotification/CommunicationsSalesOrderFulfillmentPIP/1.0.0/om:on-CommunicationsSalesOrder-CommunicationsSalesOrder-state_change] built using SDK version [7.0.3.675]>
      Error on line 42 of module with no systemId:
      Exception in extension function com.mslv.oms.automation.AutomationException: Fail to find
      password credential with specified map and key name.
      <29-Jun-2012 12:30:36,773 CEST PM> <ERROR> <rule.XQueryHelper> <ExecuteThread: '13' for queue: 'oms.automation'> <Exception in extension function com.mslv.oms.automation.AutomationException: Fail to find password credential with specified map and key name.. . File[*module with no systemId* (actual location resolved to [*module with no systemId*])] Line[42] Column[-1]
      [
      ]
      >
      ; SystemID: module with no systemId; Line#: 42; Column#: -1
      net.sf.saxon.trans.XPathException: Exception in extension function com.mslv.oms.automation.AutomationException: Fail to find password credential with specified map and key name.
      at net.sf.saxon.functions.ExtensionFunctionCall.call(ExtensionFunctionCall.java:368)
      at net.sf.saxon.functions.ExtensionFunctionCall.iterate(ExtensionFunctionCall.java:224)
      at net.sf.saxon.expr.Expression.evaluateItem(Expression.java:352)
      at net.sf.saxon.expr.ExpressionTool.evaluate(ExpressionTool.java:296)
      at net.sf.saxon.expr.ExpressionTool.lazyEvaluate(ExpressionTool.java:437)
      at net.sf.saxon.functions.ExtensionFunctionCall.iterate(ExtensionFunctionCall.java:221)
      at net.sf.saxon.expr.Expression.evaluateItem(Expression.java:352)
      at net.sf.saxon.expr.Expression.process(Expression.java:461)
      at net.sf.saxon.instruct.Block.processLeavingTail(Block.java:558)
      at net.sf.saxon.instruct.Instruction.process(Instruction.java:93)
      at net.sf.saxon.instruct.ElementCreator.constructElement(ElementCreator.java:376)
      at net.sf.saxon.instruct.ElementCreator.evaluateItem(ElementCreator.java:322)
      at net.sf.saxon.instruct.Instruction.iterate(Instruction.java:308)
      at net.sf.saxon.functions.Existence.effectiveBooleanValue(Existence.java:105)
      at net.sf.saxon.instruct.Choose.processLeavingTail(Choose.java:679)
      at net.sf.saxon.instruct.Instruction.process(Instruction.java:93)
      at net.sf.saxon.instruct.ElementCreator.constructElement(ElementCreator.java:376)
      at net.sf.saxon.instruct.ElementCreator.evaluateItem(ElementCreator.java:322)
      at net.sf.saxon.expr.ExpressionTool.evaluate(ExpressionTool.java:296)
      at net.sf.saxon.expr.LetExpression.eval(LetExpression.java:339)
      at net.sf.saxon.expr.LetExpression.iterate(LetExpression.java:298)
      at net.sf.saxon.query.XQueryExpression.iterator(XQueryExpression.java:307)
      at net.sf.saxon.query.XQueryExpression.evaluate(XQueryExpression.java:217)
      at oracle.communications.ordermanagement.rule.b.a(Unknown Source)
      at oracle.communications.ordermanagement.rule.b.a(Unknown Source)
      at oracle.communications.ordermanagement.rule.m.a(Unknown Source)
      at oracle.communications.ordermanagement.rule.XQueryHelper.transform(Unknown Source)
      at oracle.communications.ordermanagement.rule.XQueryHelper.transform(Unknown Source)
      at oracle.communications.ordermanagement.rule.XQueryHelper.transform(Unknown Source)
      at oracle.communications.ordermanagement.automation.plugin.d.transform(Unknown Source)
      at oracle.communications.ordermanagement.automation.plugin.AbstractScriptPluginImplementation.transform(Unknown Source)
      at oracle.communications.ordermanagement.automation.plugin.AbstractScriptPluginImplementation.runCommonFunctionality(Unknown Source)
      at oracle.communications.ordermanagement.automation.plugin.ScriptRunnerImpl.runScript(Unknown Source)
      at oracle.communications.ordermanagement.automation.plugin.AbstractScriptAutomator.run(Unknown Source)
      at com.mslv.oms.automation.plugin.AbstractAutomator._runAutomator(Unknown Source)
      at com.mslv.oms.automation.AutomationDispatcher.a(Unknown Source)
      at com.mslv.oms.automation.plugin.AutomationEventHandlerImpl.processMessage(Unknown Source)
      at com.mslv.oms.automation.AutomationDispatcher.onLocalMessage(Unknown Source)
      at oracle.communications.ordermanagement.cluster.message.e.a(Unknown Source)
      at oracle.communications.ordermanagement.cluster.message.impl.c.a(Unknown Source)
      at oracle.communications.ordermanagement.cluster.message.impl.c.a(Unknown Source)
      at oracle.communications.ordermanagement.cluster.impl.a.a(Unknown Source)
      at oracle.communications.ordermanagement.cluster.message.ClusterMessageHandlerBean.onMessage(Unknown Source)
      at weblogic.ejb.container.internal.MDListener.execute(MDListener.java:466)
      at weblogic.ejb.container.internal.MDListener.transactionalOnMessage(MDListener.java:371)
      at weblogic.ejb.container.internal.MDListener.onMessage(MDListener.java:327)
      at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:4585)
      at weblogic.jms.client.JMSSession.execute(JMSSession.java:4271)
      at weblogic.jms.client.JMSSession.executeMessage(JMSSession.java:3747)
      at weblogic.jms.client.JMSSession.access$000(JMSSession.java:114)
      at weblogic.jms.client.JMSSession$UseForRunnable.run(JMSSession.java:5096)
      at weblogic.work.ExecuteRequestAdapter.execute(ExecuteRequestAdapter.java:21)
      at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:145)
      at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:117)
      Caused by: com.mslv.oms.automation.AutomationException: Fail to find password credential with specified map and key name.
      at com.mslv.oms.automation.OrderContextImpl.getOsmCredentialPassword(Unknown Source)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at net.sf.saxon.functions.ExtensionFunctionCall.invokeMethod(ExtensionFunctionCall.java:690)
      at net.sf.saxon.functions.ExtensionFunctionCall.call(ExtensionFunctionCall.java:343)
      ... 53 more
      Caused by: com.mslv.oms.security.credstore.CredStoreException: Failed to get password credential with specific map and key names.
      at com.mslv.oms.security.credstore.b.a(Unknown Source)
      at com.mslv.oms.security.credstore.b.a(Unknown Source)
      ... 60 more
      ---------
      com.mslv.oms.automation.AutomationException: Fail to find password credential with specified map and key name.
      at com.mslv.oms.automation.OrderContextImpl.getOsmCredentialPassword(Unknown Source)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at net.sf.saxon.functions.ExtensionFunctionCall.invokeMethod(ExtensionFunctionCall.java:690)
      at net.sf.saxon.functions.ExtensionFunctionCall.call(ExtensionFunctionCall.java:343)
      at net.sf.saxon.functions.ExtensionFunctionCall.iterate(ExtensionFunctionCall.java:224)
      at net.sf.saxon.expr.Expression.evaluateItem(Expression.java:352)
      at net.sf.saxon.expr.ExpressionTool.evaluate(ExpressionTool.java:296)
      at net.sf.saxon.expr.ExpressionTool.lazyEvaluate(ExpressionTool.java:437)
      at net.sf.saxon.functions.ExtensionFunctionCall.iterate(ExtensionFunctionCall.java:221)
      at net.sf.saxon.expr.Expression.evaluateItem(Expression.java:352)
      at net.sf.saxon.expr.Expression.process(Expression.java:461)
      at net.sf.saxon.instruct.Block.processLeavingTail(Block.java:558)
      at net.sf.saxon.instruct.Instruction.process(Instruction.java:93)
      at net.sf.saxon.instruct.ElementCreator.constructElement(ElementCreator.java:376)
      at net.sf.saxon.instruct.ElementCreator.evaluateItem(ElementCreator.java:322)
      at net.sf.saxon.instruct.Instruction.iterate(Instruction.java:308)
      at net.sf.saxon.functions.Existence.effectiveBooleanValue(Existence.java:105)
      at net.sf.saxon.instruct.Choose.processLeavingTail(Choose.java:679)
      at net.sf.saxon.instruct.Instruction.process(Instruction.java:93)
      at net.sf.saxon.instruct.ElementCreator.constructElement(ElementCreator.java:376)
      at net.sf.saxon.instruct.ElementCreator.evaluateItem(ElementCreator.java:322)
      at net.sf.saxon.expr.ExpressionTool.evaluate(ExpressionTool.java:296)
      at net.sf.saxon.expr.LetExpression.eval(LetExpression.java:339)
      at net.sf.saxon.expr.LetExpression.iterate(LetExpression.java:298)
      at net.sf.saxon.query.XQueryExpression.iterator(XQueryExpression.java:307)
      at net.sf.saxon.query.XQueryExpression.evaluate(XQueryExpression.java:217)
      at oracle.communications.ordermanagement.rule.b.a(Unknown Source)
      at oracle.communications.ordermanagement.rule.b.a(Unknown Source)
      at oracle.communications.ordermanagement.rule.m.a(Unknown Source)
      at oracle.communications.ordermanagement.rule.XQueryHelper.transform(Unknown Source)
      at oracle.communications.ordermanagement.rule.XQueryHelper.transform(Unknown Source)
      at oracle.communications.ordermanagement.rule.XQueryHelper.transform(Unknown Source)
      at oracle.communications.ordermanagement.automation.plugin.d.transform(Unknown Source)
      at oracle.communications.ordermanagement.automation.plugin.AbstractScriptPluginImplementation.transform(Unknown Source)
      at oracle.communications.ordermanagement.automation.plugin.AbstractScriptPluginImplementation.runCommonFunctionality(Unknown Source)
      at oracle.communications.ordermanagement.automation.plugin.ScriptRunnerImpl.runScript(Unknown Source)
      at oracle.communications.ordermanagement.automation.plugin.AbstractScriptAutomator.run(Unknown Source)
      at com.mslv.oms.automation.plugin.AbstractAutomator._runAutomator(Unknown Source)
      at com.mslv.oms.automation.AutomationDispatcher.a(Unknown Source)
      at com.mslv.oms.automation.plugin.AutomationEventHandlerImpl.processMessage(Unknown Source)
      at com.mslv.oms.automation.AutomationDispatcher.onLocalMessage(Unknown Source)
      at oracle.communications.ordermanagement.cluster.message.e.a(Unknown Source)
      at oracle.communications.ordermanagement.cluster.message.impl.c.a(Unknown Source)
      at oracle.communications.ordermanagement.cluster.message.impl.c.a(Unknown Source)
      at oracle.communications.ordermanagement.cluster.impl.a.a(Unknown Source)
      at oracle.communications.ordermanagement.cluster.message.ClusterMessageHandlerBean.onMessage(Unknown Source)
      at weblogic.ejb.container.internal.MDListener.execute(MDListener.java:466)
      at weblogic.ejb.container.internal.MDListener.transactionalOnMessage(MDListener.java:371)
      at weblogic.ejb.container.internal.MDListener.onMessage(MDListener.java:327)
      at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:4585)
      at weblogic.jms.client.JMSSession.execute(JMSSession.java:4271)
      at weblogic.jms.client.JMSSession.executeMessage(JMSSession.java:3747)
      at weblogic.jms.client.JMSSession.access$000(JMSSession.java:114)
      at weblogic.jms.client.JMSSession$UseForRunnable.run(JMSSession.java:5096)
      at weblogic.work.ExecuteRequestAdapter.execute(ExecuteRequestAdapter.java:21)
      at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:145)
      at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:117)
      Caused by: com.mslv.oms.security.credstore.CredStoreException: Failed to get password credential with specific map and key names.
      at com.mslv.oms.security.credstore.b.a(Unknown Source)
      at com.mslv.oms.security.credstore.b.a(Unknown Source)
      ... 60 more
      <Jun 29, 2012 12:30:36 PM CEST> <Error> <oms> <BEA-000000> <rule.XQueryHelper: Exception in extension function com.mslv.oms.automation.AutomationException: Fail to find password credential with specified map and key name.. . File[*module with no systemId* (actual location resolved to [*module with no systemId*])] Line[42] Column[-1]
      [

      net.sf.saxon.trans.XPathException: Exception in extension function com.mslv.oms.automation.AutomationException: Fail to find password credential with specified map and key name.
      at net.sf.saxon.functions.ExtensionFunctionCall.call(ExtensionFunctionCall.java:368)
      at net.sf.saxon.functions.ExtensionFunctionCall.iterate(ExtensionFunctionCall.java:224)
      at net.sf.saxon.expr.Expression.evaluateItem(Expression.java:352)
      at net.sf.saxon.expr.ExpressionTool.evaluate(ExpressionTool.java:296)
      at net.sf.saxon.expr.ExpressionTool.lazyEvaluate(ExpressionTool.java:437)
      Truncated. see log file for complete stacktrace
      com.mslv.oms.automation.AutomationException: Fail to find password credential with specified map and key name.
      at com.mslv.oms.automation.OrderContextImpl.getOsmCredentialPassword(Unknown Source)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      Truncated. see log file for complete stacktrace
      com.mslv.oms.security.credstore.CredStoreException: Failed to get password credential with specific map and key names.
      at com.mslv.oms.security.credstore.b.a(Unknown Source)
      at com.mslv.oms.security.credstore.b.a(Unknown Source)
      at com.mslv.oms.automation.OrderContextImpl.getOsmCredentialPassword(Unknown Source)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      Truncated. see log file for complete stacktrace
      >