Hello,

Using IDM Apps 4.5.2

We have a PRD that is started from a Null driver.

The PRD in turn should start an integration activity that creates a role
or resource.

The integration activity uses getValueForNamedPassword to get the
password for the user that will authenticate for the SOAP request.

We noticed that if a code map refresh is running at the same time then
this fails.

The code map refresh is against an AD that has about 16 000 groups.
In this case the AD driver had a trace level of 3 which of course slows
everything down.


This is from catalina.out:

2016-07-01 18:30:07,536 [pool-3-thread-8] INFO
com.novell.soa.af.impl.LogEvent- [RBPM] [Workflow_Forwarded] Initiated
by System, Process ID: 2cdf4e3ea7fd4c85a6a717b7a2490213, Process Name:
cn=roleManager,cn=RequestDefs,cn=AppConfig,cn=User Application,cn=DriverSet,ou=System,o=ACME:8,
Activity: checkOperationCreate, Recipient: CN=UAAdmin,OU=System,O=ACME
javax.naming.NamingException: LDAP response read timed out, timeout
used:-1ms.
at com.sun.jndi.ldap.Connection.readReply(Connection. java:483)
at com.sun.jndi.ldap.LdapClient.extendedOp(LdapClient .java:1202)
at com.sun.jndi.ldap.LdapCtx.extendedOperation(LdapCt x.java:3206)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at
com.sssw.fw.directory.realm.impl.jndildap.EboLdapC ontextProxyHandler.invokeMethod(EboLdapContextProx yHandler.java:145)
at
com.sssw.fw.directory.realm.impl.jndildap.EboLdapC ontextProxyHandler.invoke(EboLdapContextProxyHandl er.java:86)
at com.sun.proxy.$Proxy72.extendedOperation(Unknown Source)
at
com.novell.soa.af.impl.scripting.GCVScript.getDefi nition(GCVScript.java:406)
at
com.novell.soa.af.impl.scripting.GCVScript.getValu eAsString(GCVScript.java:239)
at
com.novell.soa.af.impl.scripting.GCVScript.getValu eForNamedPassword(GCVScript.java:117)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at
com.novell.soa.script.mozilla.javascript.MemberBox .invoke(Unknown Source)
at
com.novell.soa.script.mozilla.javascript.NativeJav aMethod.call(Unknown
Source)
at
com.novell.soa.script.mozilla.javascript.Interpret er.interpret(Unknown
Source)
at
com.novell.soa.script.mozilla.javascript.Interpret edFunction.call(Unknown
Source)
at
com.novell.soa.script.mozilla.javascript.ScriptRun time.doTopCall(Unknown
Source)
at
com.novell.soa.script.mozilla.javascript.Interpret edFunction.call(Unknown
Source)
at
com.novell.soa.script.mozilla.javascript.Interpret edFunction.exec(Unknown
Source)
at
com.novell.soa.script.impl.lang.es.impl.EcmaScript Engine.executeExpression(EcmaScriptEngine.java:633 )
at
com.novell.soa.script.impl.lang.es.impl.EcmaScript Engine.evalToObject(EcmaScriptEngine.java:483)
at
com.novell.soa.af.impl.core.DataItemEvaluator.eval uateSource(DataItemEvaluator.java:842)
at
com.novell.soa.af.impl.core.DataItemEvaluator.eval uate(DataItemEvaluator.java:728)
at
com.novell.soa.af.impl.core.DataItemEvaluator.eval uate(DataItemEvaluator.java:700)
at
com.novell.soa.af.impl.activity.IntegrationActivit y.evaluateMaps(IntegrationActivity.java:592)
at
com.novell.soa.af.impl.activity.IntegrationActivit y.evaluateInputMaps(IntegrationActivity.java:526)
at
com.novell.soa.af.impl.activity.IntegrationActivit y.execute(IntegrationActivity.java:470)
at
com.novell.soa.af.impl.activity.IntegrationActivit y.process(IntegrationActivity.java:311)
at
com.novell.soa.af.impl.activity.ActivityNode.notif yArrive(ActivityNode.java:206)
at
com.novell.soa.af.impl.activity.IntegrationActivit y.notifyArrive(IntegrationActivity.java:277)
at
com.novell.soa.af.impl.core.ProcessImpl.startActiv ity(ProcessImpl.java:1697)
at
com.novell.soa.af.impl.core.ProcessImpl.forward(Pr ocessImpl.java:1594)
at
com.novell.soa.af.impl.activity.ActivityNode.forwa rd(ActivityNode.java:265)
at
com.novell.soa.af.impl.activity.ActivityNode.forwa rd(ActivityNode.java:240)
at
com.novell.soa.af.impl.activity.ConditionActivity. process(ConditionActivity.java:87)
at
com.novell.soa.af.impl.activity.ActivityNode.notif yArrive(ActivityNode.java:206)
at
com.novell.soa.af.impl.core.ProcessImpl.startActiv ity(ProcessImpl.java:1697)
at
com.novell.soa.af.impl.core.ProcessImpl.forward(Pr ocessImpl.java:1594)
at
com.novell.soa.af.impl.activity.ActivityNode.forwa rd(ActivityNode.java:265)
at
com.novell.soa.af.impl.activity.ActivityNode.forwa rd(ActivityNode.java:240)
at
com.novell.soa.af.impl.activity.StartActivity.proc ess(StartActivity.java:94)
at
com.novell.soa.af.impl.activity.ActivityNode.notif yArrive(ActivityNode.java:206)
at
com.novell.soa.af.impl.activity.RunnableActivity.r un(RunnableActivity.java:50)
at
java.util.concurrent.ThreadPoolExecutor.runWorker( ThreadPoolExecutor.java:1145)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
2016-07-01 18:30:22,584 [pool-3-thread-8] ERROR
com.novell.soa.af.impl.activity.ActivityNode- [RBPM] Error Evaluating
Script Error Evaluating Script
com.novell.soa.script.mozilla.javascript.WrappedEx ception: Wrapped
com.novell.soa.af.ProvisioningException: Script error evaluating xml
[cn=UserApplication,cn=DriverSet,ou=System,o=ACME] for GCV key
[named-password-uaadmin].
2016-07-01 18:30:22,586 [pool-3-thread-8] ERROR
com.novell.soa.af.impl.LogEvent- [RBPM] [Workflow_Error] Initiated by
cn=UAAdmin,ou=System,o=ACME, Error Message: Dataitem [test_value_0] with
expression [GCV.getValueForNamedPassword('named-password-uaadmin')]
failed to evaluate., Process ID: 2cdf4e3ea7fd4c85a6a717b7a2490213,
Process Name:
cn=roleManager,cn=RequestDefs,cn=AppConfig,cn=User Application,cn=DriverSet,ou=System,o=ACME:8,
Activity: Activity, Recipient: CN=UAAdmin,OU=System,O=ACME