XPRESS invoke exception:

Hellos.
I am trying to test a rule. I get the error "com.waveset.util.WavesetException: Can't call method listObjects on class com.waveset.session.RemoteSession"
We need to generate a unique AD samaccountname. We need to check all IDM user accounts to test if an extended attribute has same value as the newly generated value.
I try and build a list of User objects and then test attribute, like so..
<defvar name='currentMatches'>
<invoke name='toList'>
<invoke name='listObjects'>
<ref>:display.session</ref>
<s>User</s>
<map>
<s>condition</s>
<new class='com.waveset.object.AttributeCondition'>
<s>ADuid</s>
<s>equals</s>
<ref>testSAM</ref>
</new>
</map>
</invoke>
<s>name</s>
</invoke>
</defvar>
ADuid is name of our extended attribute and testSAM is name of generated SAM.
Why do I run out of memory running the rule and it fails "com.waveset.util.WavesetException: Can't call method listObjects on class com.waveset.session.RemoteSession" ?

Hi,
The reason for your exception has to be analyzed but what you are trying to do can be achieved by using :
<invoke name='getResourceObjects' class='com.waveset.ui.FormUtil'>
We are using the same method to check for email id uniqueness.
rgds,
Suren

Similar Messages

  • XPRESS invoke exception... why?

    I got this error in the syslog of my was...
    [11/17/11 9:38:34:407 CET] 00000319 SystemOut O XPRESS <invoke> exception:
    [11/17/11 9:38:34:415 CET] 00000319 SystemOut O com.waveset.util.WavesetException: Couldn't find method executeQuery() in class oracle.jdbc.driver.OraclePreparedStatementWrapper
    I am a bit baffled here...
    Anyone seen this and have an idea on how to fix?
    Call is...
    <rule name="MCN - Database Rules:SQL Query" passThrough="false">
        <argument name="command" value="$(sqlCmd)" />
        <argument name="args" value="$(sqlArgs)" />                
        <argument name="resourceName" value="$(dbResName)" />
    </rule>where sqlCmd is a prepared statement string a.k.a.
    <defvar name="sqlCmd">
        <concat>
            <s>insert into ad_group_change_task (owner, task_name, schedule_date, action,</s>
         <s> target_groups, source_groups, user_list, state)</s>
            <s> values(?, ?, TO_DATE(?, 'YYYY-MM-DD HH24:MI'), ?, ?, ?, ?, ?)</s>
        </concat>
    </defvar>sqlArgs is a <list> of strings to fill the ? in the prepared statement (eight of them)
    and resourceName is the AD resource...
          <Rule name="SQL Query" protected="false" protectedFromDelete="false" hidden="false" localScope="false" authorize="false">
            <RuleArgument name="command" locked="false" />
            <RuleArgument name="args" locked="false" />
            <RuleArgument name="resourceName" locked="false" />
            <block trace="false">
              <defvar name="connection" />
              <defvar name="counter" />
              <defvar name="preparedStatement" />
              <defvar name="queryResult" />
              <setvar name="connection">
                <rule name="RuleLibrary_MCN-Common:getConnectionFromDatabaseAdapter" passThrough="false">
                  <argument name="resourceName" value="$(resourceName)" />
                </rule>
              </setvar>
              <setvar name="preparedStatement">
                <invoke name="prepareStatement">
                  <ref>connection</ref>
                  <ref>command</ref>
                </invoke>
              </setvar>
              <setvar name="counter">
                <i>1</i>
              </setvar>
              <dolist name="argument">
                <ref>args</ref>
                <block trace="false">
                  <invoke name="setString">
                    <ref>preparedStatement</ref>
                    <ref>counter</ref>
                    <ref>argument</ref>
                  </invoke>
                  <setvar name="counter">
                    <add>
                      <ref>counter</ref>
                      <i>1</i>
                    </add>
                  </setvar>
                </block>
              </dolist>
              <setvar name="queryResult">
                <rule name="MCN - Database Rules:Result Set To List" passThrough="false">
                  <argument name="resultSet">
                    <invoke name="executeQuery">
                      <ref>preparedStatement</ref>
                    </invoke>
                  </argument>
                </rule>
              </setvar>
              <rule name="RuleLibrary_MCN-Common:closeConnectionFromDatabaseAdapter" passThrough="false">
                <argument name="resourceName">
                  <ref>resourceName</ref>
                </argument>
                <argument name="connection">
                  <ref>connection</ref>
                </argument>
              </rule>
              <ref>queryResult</ref>
            </block>
          </Rule>Edited by: Dhurgan on Nov 17, 2011 9:50 AM

    Well, doing an invoke with connection and preparedStatement as references did not, as I expected, work...
    XPRESS <invoke> exception:
    Couldn't find method execute(oracle.jdbc.driver.OraclePreparedStatementWrapper) in class com.waveset.util.PooledConnection ==> java.lang.NoSuchMethodException: com.waveset.util.PooledConnection.execute(oracle.jdbc.driver.OraclePreparedStatementWrapper) Reverting back to just an invoke with preparedStatement as reference did as before render this message...
    XPRESS <invoke> exception:
    Couldn't find method execute() in class oracle.jdbc.driver.OraclePreparedStatementWrapper So I decided to write it in javascript within scripttags instead...
          <Rule name="SQL Command" protected="false" protectedFromDelete="false" hidden="false" localScope="false" authorize="false">
            <RuleArgument name="command" locked="false" />
              <RuleArgument name="args" locked="false" />
            <RuleArgument name="resourceName" locked="false" />
            <RunAsUser>
              <ObjectRef type="User" id="#ID#Configurator" name="Configurator" isWeak="false" />
            </RunAsUser>
            <block trace="false">
              <defvar name="connection">
                <rule name="RuleLibrary_SEB-Common:getConnectionFromDatabaseAdapter" passThrough="false">
                  <argument name="resourceName" value="$(resourceName)" />
                </rule>
              </defvar>
              <defvar name="result" />
              <setvar name="result">
                <script>
    var con = env.get("connection");
    var cmd = env.get("command");
    var args = env.get("args");
    java.lang.System.out.println("SQL Command connection: "+con);
    java.lang.System.out.println("SQL Command command: "+cmd);
    java.lang.System.out.println("SQL Command args: "+args);
    if (con == null) {
      throw new Packages.com.waveset.util.WavesetException('Can not connect to metadata database.',Packages.com.waveset.msgcat.Severity.ERROR);
    var stm = con.prepareStatement(cmd);
    var i=0;
    while (i &lt; args.size()){
      java.lang.System.out.println("SQL Command prepareStatement( "+i+", "+args.get(i)+" )");
      stm.setString(i+1,args.get(i));
      i++;
    var result = null;
    result = stm.executeUpdate();
    if (stm != null) stm.close();
    java.lang.System.out.println("SQL Command result: "+result);
    result;
                </script>
              </setvar>
                <rule name="RuleLibrary_SEB-Common:closeConnectionFromDatabaseAdapter" passThrough="false">
                <argument name="resourceName">
                  <ref>resourceName</ref>
                </argument>
                <argument name="connection">
                  <ref>connection</ref>
                </argument>
              </rule>
              <ref>result</ref>
            </block>
          </Rule>...and voaila, it works!
    Output in the was log...
    [11/21/11 13:55:29:864 CET] 0000031b SystemOut     O SQL Command connection: com.waveset.util.PooledConnection@3fd538
    [11/21/11 13:55:29:865 CET] 0000031b SystemOut     O SQL Command command: insert into ad_group_change_task (owner, task_name, schedule_date, action, target_groups, source_groups, user_list, state) values(?, ?, TO_DATE(?, 'YYYY-MM-DD HH24:MI'), ?, ?, ?, ?, ?)
    [11/21/11 13:55:29:865 CET] 0000031b SystemOut     O SQL Command args: [Johan, Remove me from IDMTST1, 2011-11-21 13:55, Remove, AG-AD-IDMTST1, null, s44569, Scheduled]
    [11/21/11 13:55:29:866 CET] 0000031b SystemOut     O SQL Command prepareStatement( 0, Johan )
    [11/21/11 13:55:29:866 CET] 0000031b SystemOut     O SQL Command prepareStatement( 1, Remove me from IDMTST1 )
    [11/21/11 13:55:29:866 CET] 0000031b SystemOut     O SQL Command prepareStatement( 2, 2011-11-21 13:55 )
    [11/21/11 13:55:29:866 CET] 0000031b SystemOut     O SQL Command prepareStatement( 3, Remove )
    [11/21/11 13:55:29:866 CET] 0000031b SystemOut     O SQL Command prepareStatement( 4, AG-AD-IDMTST1 )
    [11/21/11 13:55:29:867 CET] 0000031b SystemOut     O SQL Command prepareStatement( 5, null )
    [11/21/11 13:55:29:867 CET] 0000031b SystemOut     O SQL Command prepareStatement( 6, s44569 )
    [11/21/11 13:55:29:867 CET] 0000031b SystemOut     O SQL Command prepareStatement( 7, Scheduled )
    [11/21/11 13:55:29:874 CET] 0000031b SystemOut     O SQL Command result: 1So it works fine with javascript, but not with invoke... no clue as to why.

  • Invoke Exception:exception on JaxRpc invoke:Http Transport Error:

    Hi,
    I created a BPEL process which access a Java class using WSIF. I deploy the Process to my local BPEL console. When i enter an input value and click on Post XML Message button, the process errors out.
    The Error is in the Invoke Section,
    <summary>exception on JaxRpc invoke: HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Bad response: 404 Not Found</summary>
    Please advice

    I noticed this Error when i selected Soap 1.2 and WSIF binding during creating a J2ee Web Service. When i select soap 1.1 and WSIF binding, i don't see this error.

  • Invoke Exception Thrown

    Hi Guys,
    While setting a password using the following line on a newly created user:
    Dim newUser As DirectoryEntry = adUsers.Add("CN=" & sUserName, "user")
    newUser.Invoke("SetPassword", New Object() {sPassword})
    Adding the user works but the Invoke seems to cause issues..
    I get the following error:
    System.Reflection.TargetInvocationException was unhandled by user code
      Message=Exception has been thrown by the target of an invocation.
      Source=System.DirectoryServices
      StackTrace:
           at System.DirectoryServices.DirectoryEntry.Invoke(String methodName, Object[] args)
           at Add.CreateAdAccount(String sUserName, String sPassword, String sFirstName, String sLastName, String sGroupName) in C:\ActiveDirectory\Test_Add.aspx.vb:line 365
           at Add.AddUser_Click(Object sender, EventArgs e) in C:\ActiveDirectory\Test_Add.aspx.vb:line 268
           at System.Web.UI.WebControls.Button.OnClick(EventArgs e)
           at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)
           at System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument)
           at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
           at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
           at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
      InnerException: System.UnauthorizedAccessException
           Message=Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
           Source=""
           InnerException: 

    So what would you like to see, I could give you the entire user sub, but it is long and nasty and after a desensitizing run won't tell a heap.
    Than make it less nasty and try to avoid that invoke. 
    Probably it becomes than also much smaller.
    Be aware that a long sub very seldom shows the work of a good programmer.
    Success
    Cor

  • ListResourceObjects and exceptions in Xpress

    Hi all,
    When editing a user with SAP resource, I use the following code to get the SAP Roles List:
    <invoke name='listResourceObjects' class='com.waveset.ui.FormUtil'>
      <ref>display.session</ref>
      <s>activityGroups</s>
      <ref>name</ref>
      <map>
        <s>templateParameters</s>
        <ref>accounts[$(name)].templateParameters</ref>
      </map>
      <s>true</s>
    </invoke>Problem: When the resource is unavailable (for instance if the SAP system has changed its number) I get the following error and it prevents the edition of the user via the tabbed user form:
    XPRESS <invoke> exception ==> com.waveset.util.WavesetException:
    Can’t call method listResourceObjects on class com.waveset.ui.FormUtil
    ==> com.waveset.util.WavesetException: An error occurred starting the connection.
    ==> com.sap.mw.jco.JCO$Exception: Le mandant 401 n’existe pas dans le système"+Le mandant 401 n’existe pas dans le système+" means that the SAP System number 401 doesn't exist.
    Question: Is it possible to display the error but enter the tabbed user form despite the error ?
    Thanks,
    Ben

    Saritha,
    Sales: Condition
    Displaying sales of a Salesman where sales is greater than 10,000.
    Create a condition...select Keyfigure SALES...operator >= and value as 10,000
    Then the data will be displayed for the sales man who is having Sales more than 10,000.
    Sales: Exception
    Define a Threshhold value and identify who is falling outside that value.
    Ex: KeyFigure SALES...Value 5000...operator <=  and color red
          KeyFigure SALES...Value 10,000...operator <=  and color Yellow
           KeyFigure SALES...Value 10,000...operator >  and color Green.
    Here you can find out the sales man pointed out in Color.
    Red means = Their sales is lessthan or = 5000 ( Performing poor )
    Yellow means = Yellow means = Their sales is lessthan or = 10,000 ( Needs to be improved )
    Green means = Their sales is Greaterthan or  10,000 ( Performing greatly ).
    Regards,
    Ramkumar Ghattamaneni.

  • Invoke sql

    I am a new comer to IDM and I am starting a little RnD in Sun Java Identity Manager for an up and coming project. I am creating a rule using Business Process Editor (BPE). I am trying the invoke �<invoke name='sql' class='com.waveset.util.JdbcUtil'>� method with the Map constructor method. ../javadoc/com/waveset/util/JdbcUtil.html#sql(java.util.Map). All I am trying to do below is insert a row into a mysql DB with 4 bind parameters. I have successfully inserted a row with one bind parameter but when I add 2-4 bind parameters it always bombs on me and gives the output below. I can assure you all my values are set including arg 2. Any help would be appreciated.
    Also I have turned logging on in MySQL and honestly it is no help because I can only see the prepare statement in the logs. I assume that the exception occurs before the execution.
    --Snippet of Error�
    XPRESS <invoke> exception:
    com.waveset.util.WavesetException: Can't call method sql on class com.waveset.util.JdbcUtil
    ==> com.waveset.util.WavesetException:
    ==> java.sql.SQLException: Statement parameter 2 not set.
    at com.waveset.util.Reflection.invoke(Reflection.java:895)
    at com.waveset.util.Reflection.invoke(Reflection.java:833)
    at com.waveset.expression.ExInvoke.evalInternal(ExInvoke.java:171)
    at com.waveset.expression.ExNode.eval(ExNode.java:79)
    at com.waveset.expression.ExNode.evalToObject(ExNode.java:498)
    at com.waveset.object.Rule.eval(Rule.java:933)
    at com.waveset.ui.editor.rule.RuleTester.execute(RuleTester.java:268)
    at com.waveset.ui.editor.rule.ExpressionEvaluator$10.invoke(ExpressionEvaluator.java:597)
    at com.waveset.ui.editor.util.SwingUtil$InvokableWrapper.run(SwingUtil.java:1555)
    at com.waveset.ui.editor.util.ProgressDialog$2.run(ProgressDialog.java:101)
    Wrapped exception:
    Snippet of Rule
    <invoke name='sql' class='com.waveset.util.JdbcUtil'>
    <map>
    <s>type</s>
    <ref>type</ref>
    <s>driverClass</s>
    <ref>driverClass</ref>
    <s>driverPrefix</s>
    <ref>driverPrefix</ref>
    <s>url</s>
    <ref>url</ref>
    <s>host</s>
    <ref>host</ref>
    <s>port</s>
    <ref>port</ref>
    <s>database</s>
    <ref>database</ref>
    <s>user</s>
    <ref>user</ref>
    <s>password</s>
    <ref>password</ref>
    <s>sql</s>
    <s>insert into waveset.form (firstname, lastname, email, phone) value (?,?,?,?)</s>
    <s>arg1</s>
    <ref>firstname</ref>
    <s>arg2</s>
    <ref>lastname</ref>
    <s>arg3</s>
    <ref>email</ref>
    <s>arg4</s>
    <ref>phone</ref>
    </map>
    </invoke>

    Tip 1 : turn on tracing for the class com.waveset.util.JdbcUtil (I'm assuming you know how to do this)
    Tip 2 : instead of arg1, arg2, etc. try :
    <s>parameters</s>
    <list>
      <s>john</s>
      <s>smith</s
      <s>[email protected]</s>
      <s>1234</s
    </list>

  • Error when running a rule to get password

    I am using the following code in Rule to get the password for user named "ahall". I am getting the following error
    <invoke name='decryptToString'>
    <invoke name='generatePassword'>
    <new class='com.waveset.provision.PasswordGenerator'>
    <invoke name='getLighthouseContext'>
    <ref>WF_CONTEXT</ref>
    </invoke>
    </new>
    <invoke name='getObject' class='com.waveset.ui.FormUtil'>
    <invoke name='getLighthouseContext'>
    <ref>WF_CONTEXT</ref>
    </invoke>
    <s>ahall</s>
    </invoke>
    </invoke>
    </invoke>
    Error:
    XPRESS <invoke> exception:
    com.waveset.util.WavesetException: Couldn't find method getObject(null, null) in class com.waveset.ui.FormUtil
    ==> java.lang.NoSuchMethodException: com.waveset.ui.FormUtil.getObject(null, java.lang.String)
    at com.waveset.util.Reflection.getMethod(Reflection.java:477)
    at com.waveset.util.Reflection.getMethod(Reflection.java:441)
    at com.waveset.expression.ExInvoke.evalInternal(ExInvoke.java:167)
    at com.waveset.expression.ExNode.eval(ExNode.java:79)
    at com.waveset.expression.ExNode.evalToObject(ExNode.java:498)
    at com.waveset.expression.ExInvoke.evalInternal(ExInvoke.java:140)
    at com.waveset.expression.ExNode.eval(ExNode.java:79)
    at com.waveset.expression.ExNode.evalToObject(ExNode.java:498)
    at com.waveset.expression.ExInvoke.evalInternal(ExInvoke.java:130)
    at com.waveset.expression.ExNode.eval(ExNode.java:79)
    at com.waveset.expression.ExNode.evalToObject(ExNode.java:498)
    at com.waveset.object.Rule.eval(Rule.java:955)
    at com.waveset.ui.editor.rule.RuleTester.execute(RuleTester.java:268)
    at com.waveset.ui.editor.rule.ExpressionEvaluator$10.invoke(ExpressionEvaluator.java:597)
    at com.waveset.ui.editor.util.SwingUtil$InvokableWrapper.run(SwingUtil.java:1555)
    at com.waveset.ui.editor.util.ProgressDialog$2.run(ProgressDialog.java:101)
    Wrapped exception:
    java.lang.NoSuchMethodException: com.waveset.ui.FormUtil.getObject(null, java.lang.String)
    at java.lang.Class.getMethod(Class.java:1581)
    at com.waveset.util.Reflection.getMethod(Reflection.java:458)
    at com.waveset.util.Reflection.getMethod(Reflection.java:441)
    at com.waveset.expression.ExInvoke.evalInternal(ExInvoke.java:167)
    at com.waveset.expression.ExNode.eval(ExNode.java:79)
    at com.waveset.expression.ExNode.evalToObject(ExNode.java:498)
    at com.waveset.expression.ExInvoke.evalInternal(ExInvoke.java:140)
    at com.waveset.expression.ExNode.eval(ExNode.java:79)
    at com.waveset.expression.ExNode.evalToObject(ExNode.java:498)
    at com.waveset.expression.ExInvoke.evalInternal(ExInvoke.java:130)
    at com.waveset.expression.ExNode.eval(ExNode.java:79)
    at com.waveset.expression.ExNode.evalToObject(ExNode.java:498)
    at com.waveset.object.Rule.eval(Rule.java:955)
    at com.waveset.ui.editor.rule.RuleTester.execute(RuleTester.java:268)
    at com.waveset.ui.editor.rule.ExpressionEvaluator$10.invoke(ExpressionEvaluator.java:597)
    at com.waveset.ui.editor.util.SwingUtil$InvokableWrapper.run(SwingUtil.java:1555)
    at com.waveset.ui.editor.util.ProgressDialog$2.run(ProgressDialog.java:101)
    XPRESS <invoke> exception:
    com.waveset.util.WavesetException: Can't call method generatePassword on class com.waveset.provision.PasswordGenerator
    ==> java.lang.NullPointerException:
    at com.waveset.util.Reflection.invoke(Reflection.java:895)
    at com.waveset.util.Reflection.invoke(Reflection.java:833)
    at com.waveset.expression.ExInvoke.evalInternal(ExInvoke.java:171)
    at com.waveset.expression.ExNode.eval(ExNode.java:79)
    at com.waveset.expression.ExNode.evalToObject(ExNode.java:498)
    at com.waveset.expression.ExInvoke.evalInternal(ExInvoke.java:130)
    at com.waveset.expression.ExNode.eval(ExNode.java:79)
    at com.waveset.expression.ExNode.evalToObject(ExNode.java:498)
    at com.waveset.object.Rule.eval(Rule.java:955)
    at com.waveset.ui.editor.rule.RuleTester.execute(RuleTester.java:268)
    at com.waveset.ui.editor.rule.ExpressionEvaluator$10.invoke(ExpressionEvaluator.java:597)
    at com.waveset.ui.editor.util.SwingUtil$InvokableWrapper.run(SwingUtil.java:1555)
    at com.waveset.ui.editor.util.ProgressDialog$2.run(ProgressDialog.java:101)
    Wrapped exception:
    java.lang.NullPointerException
    at com.waveset.provision.PolicyProcessor.getEffectivePolicy(PolicyProcessor.java:178)
    at com.waveset.provision.PasswordGenerator.generatePassword(PasswordGenerator.java:138)
    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:585)
    at com.waveset.util.Reflection.invoke(Reflection.java:872)
    at com.waveset.util.Reflection.invoke(Reflection.java:833)
    at com.waveset.expression.ExInvoke.evalInternal(ExInvoke.java:171)
    at com.waveset.expression.ExNode.eval(ExNode.java:79)
    at com.waveset.expression.ExNode.evalToObject(ExNode.java:498)
    at com.waveset.expression.ExInvoke.evalInternal(ExInvoke.java:130)
    at com.waveset.expression.ExNode.eval(ExNode.java:79)
    at com.waveset.expression.ExNode.evalToObject(ExNode.java:498)
    at com.waveset.object.Rule.eval(Rule.java:955)
    at com.waveset.ui.editor.rule.RuleTester.execute(RuleTester.java:268)
    at com.waveset.ui.editor.rule.ExpressionEvaluator$10.invoke(ExpressionEvaluator.java:597)
    at com.waveset.ui.editor.util.SwingUtil$InvokableWrapper.run(SwingUtil.java:1555)
    at com.waveset.ui.editor.util.ProgressDialog$2.run(ProgressDialog.java:101)
    null
    help me out

    The WF_CONTEXT variable is set in Workflows only, otherwise it is null, so the type of the first argument to getObject() is unknown

  • Error while click on the accounts created in AD

    Recently we have installed IDM 8.0 and mYsql as a idm repository.Started creating users in domain controller with default attributes after succesfull configuration of Active directory resource .It all works fine for creating the user.After created the user in Active directory when i clicking the user account in IDM console to see the assignment or to update anything I am getting the following error.I enabled from trace workflow and gateway logs.However this not happend in IDM 7.1...Please help me out where should I go to debug and resolve the issue.Thanks in advance for all
    Few lines of Gateway.log
    Enter: getAccountLocked01/02/2009 19.55.46.359000 [2556] (../../../../src/wps/agent/adsi/ADSIExtension.cpp,3936): Exit: getAccountLocked
    01/02/2009 19.55.46.359000 [2556] (../../../../src/wps/agent/adsi/ADSIExtension.cpp,7205): Getting attr: name: 'co'
    01/02/2009 19.55.46.359000 [2556] (../../../../src/wps/agent/adsi/ADSIExtension.cpp,7231): failure getting attribute using getEx
    01/02/2009 19.55.46.359000 [2556] (../../../../src/wps/agent/adsi/ADSIExtension.cpp,7240): Unable to get attribute 'co': GetEx(): 0X8000500D: E_ADS_PROPERTY_NOTFOUND,
    few lines of workflow.log
    WavesetResult><ResultItem type='error' status='UI_MSG_SEVERITY_ERROR'>
    <ResultError throwable='com.waveset.util.WavesetException'>
    <Message id='SES_VIEW_RESOURCE_INVALID'>
    <String>AD</String>
    <String>tset</String>
    </Message>
    <StackTrace>com.waveset.util.WavesetException: Invalid resource 'AD' for user 'tset'. at com.waveset.view.UserViewConverter.discoverNewAccounts(UserViewConverter.java:5403) at com.waveset.view.UserViewConverter.refresh(UserViewConverter.java:3544) at com.waveset.view.UserViewer.convertView(UserViewer.java:2550) at com.waveset.provision.WorkflowServices.convertView(WorkflowServices.java:3096) at com.waveset.provision.WorkflowServices.storeView(WorkflowServices.java:3261) at com.waveset.provision.WorkflowServices.reProvision(WorkflowServices.java:3192) at com.waveset.provision.WorkflowServices.call(WorkflowServices.java:814) at com.waveset.workflow.WorkflowEngine.callApplication(WorkflowEngine.java:4385) at com.waveset.workflow.WorkflowEngine.callAction(WorkflowEngine.java:4212) at com.waveset.workflow.WorkflowEngine.callAction(WorkflowEngine.java:3525) at com.waveset.workflow.WorkflowEngine.execute(WorkflowEngine.java:3363) at com.waveset.workflow.WorkflowEngine.makeTransition(WorkflowEngine.java:2903) at com.waveset.workflow.WorkflowEngine.checkExplicitTransitions(WorkflowEngine.java:2794) at com.waveset.workflow.WorkflowEngine.checkTransitions(WorkflowEngine.java:2580) at com.waveset.workflow.WorkflowEngine.processSteps(WorkflowEngine.java:1985) at
    </ResultError>
    </ResultItem>
    </WavesetResult>
    few lines of Form trace stdout
    XPRESS <invoke> exception
    com.waveset.util.WavesetException: Can't call method listResourceObjects on class com.waveset.ui.FormUtil
    ==> com.waveset.exception.ItemNotFound: Resource:AD
    READY task cycle
    EVENT cycle.
    READY task cycle.
    EVENT cycle.
    READY task cycle.
    EVENT cycle.
    XPRESS <invoke> exception:
    com.waveset.util.WavesetException: Can't call method listResourceObjects on class com.waveset.ui.FormUtil
    ==> com.waveset.exception.ItemNotFound: Resource:AD
    Console tracing have the following lines
    XPRESS <invoke> exception:
    Can't call method listResourceObjects on class com.waveset.ui.FormUtil ==> com.waveset.exception.ItemNotFound: Resource:AD
    Invalid resource 'AD' for user 'testuser'.
    Edited by: siteminder on Jan 2, 2009 8:10 PM
    Edited by: siteminder on Jan 2, 2009 8:12 PM

    We have installed IDM80 gateway software on domain controller.Its a brand new server.We didnt install any pacthes for IDM80..We just installed gateway software that come along with IDM 80 bundle.Do I need install the patch for gateway?
    http://sunsolve.sun.com/search/document.do?assetkey=1-21-139010-04-1
    I saw this description in patch document which similar to this case.I will try install patch and let you know.
    Problem Description: 15529     Error selecting users in Accounts Tab with forward/backwa...
    Thanks for suggestion Chapo
    Edited by: siteminder on Jan 6, 2009 7:01 PM

  • DB password on scripted JDBC adapter

    I am evaluating IDM 7.0 and tried to make a scripted JDBC Resource adapter
    based on the simple table example. I succeeded in testing the DB connection
    (Oracle 10.1 on Linux), but when I try to add the resource to an account, I get
    [codeThere was an error while attempting to check the dictionary for the new password. Failure : com.waveset.util.WavesetException: XPRESS <invoke> exception&#xA;==> com.waveset.util.WavesetException: Can't call method queryString on class com.waveset.util.JdbcUtil&#xA;==> com.waveset.util.WavesetException: &#xA;==> java.sql.SQLException: ORA-01017: invalid username/password; logon denied&#xA;]
    which implies that the db user name (or password) is not right. But it should
    be, since the connection test succeeded ?!

    Yes, you are right, there was problems with dictionary password. I had
    set the password dictionary , since it was dropped for some reason.
    Now the resource works; well actually not. I get error
    Account 'base' not found in Resource 'Oracle JDBC'.
    But, I am trying to add the resource to existing account. The Linux resource
    creates the account if it does not exist, so how can I do this on scripted JDBC?
    BTW where is the password dictionary documented? I had to trace
    Oracle to see what name the table is and then guess the attribute name
    and type. I found a file dictionary.txt which describes the DDL, but not for
    what it is (i.e. password list is not mentioned).

  • Errors while Configuring a Oracle DB on RAC

    Iam configuring a DB Table in IDM 8.0.
    Here is my URL
    jdbc:oracle:thin:@(DESCRIPTION=(LOAD_BALANCE=on)(ADDRESS=(PROTOCOL=TCP)(HOST=10.240.149.191) (PORT=1521))(ADDRESS=(PROTOCOL=TCP)(HOST=10.240.149.192) (PORT=1521))(CONNECT_DATA=(SERVICE_NAME=IDMPROD)))The User/Password are mentioned in the Resource wizard .
    When I move to the next page it should display the Table names & later the column names of the selected table, but its not happening. In fact its throwing errors like ..
    XPRESS <invoke> exception:
    Can't call method getTableColumns on class com.waveset.ui.web.resources.wizard.DBTableUtil ==> com.waveset.util.WavesetException: ==> java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
    The Network is OK as Iam able to ping the server continuously..
    Even Iam able to configure the URL in Oracle SQL developer. The Test connection shows Success & failure. Sometimes showing the above error.
    Plz provide some inputs

    Hi,
    thankz for da reply.
    Iam able to configure to a single host & I can edit the configuration again & save it.
    But for the RAC config Iam facing the SQLException & IOException
    Iam able to continuously ping the Servers Ping 10.129.149.191 -t
    Even telnet 10.129.149.191 1521 is showing as connected.
    Plz correct me if Iam wrong in the config for RAC.
    Edited by: idm_guy on Dec 15, 2009 3:03 AM

  • View access denied to Subject Reset on Policy

    Hi, there.
    I created a custom workflow so that anonymous user can launch the workflow, then start creating an account.
    During the workflow activity, the first form is asking user to enter the accountID of his/her choice, and the form has a validation logic to catch any conflict with the accountId policy. (for example, the accountID must be at least 4 character long)
    <Rule name='Validate String With AccountId Policy'>
    <Description>returns "true" if validation succeeded. returns error message if validation failed.
    </Description>
    <RuleArgument name='string'/>
    <block trace="true">
    <invoke name='checkStringQualityPolicy' class = 'com.waveset.ui.FormUtil'>
    <rule name='getCallerSession'/>
    <s>AccountId Policy</s>
    <ref>string</ref>
    <null/>
    <null/>
    <s>user</s>
    </invoke>
    </block>
    </Rule>
    The validation rule specified above works well if the form is used by the existing IDM admin user, however, this throws an exception when the form is used by the anonymous user.
    XPRESS <invoke> exception:
    com.waveset.util.WavesetException: Can't call method checkStringQualityPolicy on class com.waveset.ui.FormUtil
    ==> com.waveset.util.WSAuthorizationException: View access denied to Subject Reset on Policy: AccountId Policy.
    It seems like the anonymous user does not have any access right to Policy objects.
    Does anyone know how to get around this problem?
    In worst case, I can create another rule that is checking the string length, but I really wish I can take advantage of the built-in policy checking routine.
    Thanks for reading my post. :)

    Can you use the <RunAsUser> functionality within your rule?
    To use it you add this inside the <Rule>
    <RunAsUser>
    <ObjectRef type='User' name='Configurator'/>
    </RunAsUser>
    More information can be found in IDM FAQ.
    HTH..

  • Get WorkItem attributes

    I have a workflow and would like write a rule to get the Workitem Id. How can this be done?

    but some command looks does not work like
    using the getObjectRef( ) method in com.waveset.ui.FormUtil class
    <invoke name='getObjectRef' class='com.waveset.ui.FormUtil'>
    the error message
    XPRESS <invoke> exception:
    Couldn't find method getObjectRef(null) in class com.waveset.ui.FormUtil ==> java.lang.NoSuchMethodException: com.waveset.ui.FormUtil.getObjectRef(null)

  • Custom adaptor error??? in SQL Server

    When i work on Custom Adaptor for Ms. SQL Server, i am not able to configure sucess fully, i am giving the following parameter???
    Host Name --- Server HostName --- my Windows 2003 Server Name or i used localhost because SQL Server is Installed on Same OS/Maschine
    TCP-PORT --- 1433
    User Name --- Windows Authentication User Name or id MS SQL Server is with out Authentication mode then no need to user name and password
    Password --- *********
    JDBC Driver --- com.microsoft.sqlserver.jdbc.SQLServerDriver ( I have all the three driver i.e msbase.jar / mssqlserver.jar / msutil.jar ( Because i am using MS SQL
    Server 2000 on Service Pack 1 or 2003 Windows Server
    JDBC URL Template ---- jdbc:sqlserver://imserver1:1433/master.mdf ( Host Name - IMSERVER1: Port Number / 1433 , Database Name ( currently i am using one test Databasein MS Sql Server for Test Purpose that i have created manually)
    When i test the configuration it will show this error
    Test connection failed for resource(s):
    MSSQLServer: ==> java.lang.ClassNotFoundException: com.microsoft.sqlserver.jdbc.SQLServerDriver
    **ERRORS**
    XPRESS <invoke> exception:
    Can't call method listDatabaseNames on class com.waveset.ui.web.resources.wizard.SQLServerUtil ==> com.waveset.util.WavesetException: ==> java.sql.SQLException: No suitable driver found for jdbc:sqlserver://imserver1:1433/idmtest_Data.mdf
    XPRESS <invoke> exception:
    Can't call method listDatabaseNames on class com.waveset.ui.web.resources.wizard.SQLServerUtil ==> com.waveset.util.WavesetException: ==> java.sql.SQLException: No suitable driver found for jdbc:sqlserver://imserver1:1433/idmtest_Data.mdf
    XPRESS <invoke> exception:
    Can't call method listDatabaseNames on class com.waveset.ui.web.resources.wizard.SQLServerUtil ==> com.waveset.util.WavesetException: ==> java.sql.SQLException: No suitable driver found for jdbc:sqlserver://imserver1:1433/idmtest_Data.mdf
    please reply if you have face the same solution and you have got the answer??????
    will thankfull

    Hi,
    java.lang.ClassNotFoundException: com.microsoft.sqlserver.jdbc.SQLServerDriver that error means it does not find the classes for microsoft jdbc in the classpath of the idm webapp.
    copy the microsoft jdbc driver jar (e.g. sqljdbc.jar) to the WEB-INF/lib folder of your application servers webapp directory. for example:
    /tomcat/webapps/idm/WEB-INF/lib

  • Error after upgrading to Wavset 8.1.1

    Has anyone seen this error message. I just upgraded to Waveset 8.1.1. I bring up the IDM GUI (8.1 which doesn't seem to reflect the upgrade release) and then select the ROLES tab and get the following:
    XPRESS <invoke> exception:
    Couldn't find method is SRMintegrate(com.waveset.session.LocalSession) in class com.waveset.ul.FormUtil ==>java.lang.NoSuchMethodException:com.waveset.ui.FormUtil.isSRMintegrated
    Since I'm green at using this product, I have no idea what it means. The installation was performed on Red Hat Linux 5 and indicated that it was successul.

    Hi,
    For the issue, it can happen for a wide variety of reasons.
    I suggest we try the following methods to narrow down the issue.
    Method 1.
    Clear the Secure Sockets Layer (SSL) state:
    In Internet Explorer, click Tools, and then click Internet Options.
    Click the Content tab, and then click Clear SSL state.
    Method 2.
    Press Win+X, and then click Command Prompt(Admin).
    At the command prompt, type sfc /scannow, and then press ENTER.
    Method 3.
    Press Win+R, type regedit in the box, and then press ENTER.
    Locate and then click the following registry subkey:
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\Main\FeatureControl
    On the Edit menu, point to New, and then click Key.
    Type FEATURE_ERROR_PAGE_BYPASS_ZONE_CHECK_FOR_HTTPS_KB950067 to name the new registry subkey, and then press ENTER.
    On the Edit menu, point to New, and then click DWORD Value.
    Type iexplore.exe to name the new registry entry, and then press ENTER.
    On the Edit menu, click Modify.
    Type 1, and then click OK.
    Exit Registry Editor.
    If the issue persists, I suggest you reinstall the IE to check the result.
    Hope these could be helpful.
    Regards,
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Oracle waveset 8.1.1.5 find user issue

    Hi All,
    we recently applied the oracle waveset 8.1.1 patch5. everything went smooth. but in the findusers i am getting this error message. after this message i am getting the users. please help me on this. what i am missing here. Thanks in advance......
    XPRESS <invoke> exception:
    Couldn't find method testPermission(com.waveset.session.LocalSession, java.lang.String, java.lang.String, java.lang.String) in class com.waveset.ui.FormUtil ==> java.lang.NoSuchMethodException: com.waveset.ui.FormUtil.testPermission(com.waveset.session.LocalSession, java.lang.String, java.lang.String, java.lang.String)
    XPRESS <invoke> exception:
    Couldn't find method testPermission(com.waveset.session.LocalSession, java.lang.String, java.lang.String, java.lang.String) in class com.waveset.ui.FormUtil ==> java.lang.NoSuchMethodException: com.waveset.ui.FormUtil.testPermission(com.waveset.session.LocalSession, java.lang.String, java.lang.String, java.lang.String)
    XPRESS <invoke> exception:
    Couldn't find method testPermission(com.waveset.session.LocalSession, java.lang.String, java.lang.String, java.lang.String) in class com.waveset.ui.FormUtil ==> java.lang.NoSuchMethodException: com.waveset.ui.FormUtil.testPermission(com.waveset.session.LocalSession, java.lang.String, java.lang.String, java.lang.String)
    XPRESS <invoke> exception:

    Also I have one query - suppose I have SUN IDM 8.0 installed in local system, Can I install oracle waveset 8.1.1 directly or first I need to install oracle waveset 8.1.0. If this is the case then I am not able to see oracle waveset 8.1.0 in oracle site for download. please help me on this.

Maybe you are looking for

  • Hard drive failing on brand new laptop?

    Hello, I have an HP 2000-2d11dx that I bought on November 14, 2013.  I've been incredibly happy with it as it has done more and worked better than I expected for what I paid for it. However, I noticed during the past week or so, the disk had been run

  • Low quality call

    Hi. I am in Canada, on a low-speed upload connection (1 Mbps). That's how it is, all providers offer pretty much the same speed. I use skype to call my parents in Romania, with a huge upload speed (40 Mbps). For several months we have this problem: t

  • N97 pc charging problems

    I have my non-branded N97 firmware version 11 for a week now and I everythin was workin fine. Until today that is. Now, everytime I connect it to the PC or laptop  either by PCsuite or transfer mode the phone starts charging and after 3 sec stops. th

  • What does 7.3.1 fix?

    I looked at the download, and the file size is the same as 7.3. Are the security issues outlined here resolved? http://www.news.com/8301-10784_3-9823040-7.html?tag=cd.blog

  • Transfer Objects in Value List Handler

    Do we need really the EJB for Caching the data using Value List Handler.If EJB is not required then how can we cache the data using Value List Handler