OIM11gR2: OID connector - value #0 invalid per syntax

hi,
we are using OIM11gR2 and the "OID Connector  11.1.1.6.0" for our LDAP server.
we added 2 required custom attributes to the connector.
while creating a new ldap user we get this error message:
<9fbd3647322a969e:-67b0202:14107733d50:-8000-000000000001c4b8> <1379419286201> <BEA-000000> <oracle.iam.connectors.icfcommon.prov.ICProvisioningManager : createObject : Error while creating user
org.identityconnectors.framework.common.exceptions.ConnectorException: javax.naming.directory.InvalidAttributeValueException: [LDAP: error code 21 - pwdealerid: value #0 invalid per syntax
pwbranchid: value #0 invalid per syntax
this happens, when we enter a number with a leading zero in in. on the ldap server there are no restrictions on these two fields
for example: 
pwdealerid    6282  -> works
pwdealerid    0625 --> ldap error 21
is this a bug in den oid connector, or a problem of the ldap server?
thank you!
br

Which I think is rooted in ORACLE_HOME being messed up. But my feeling is that once i get that resolved, I'll have a similar issue as when I use the JXplorer.

Similar Messages

  • OID connector maps User ID to uppercase

    Hi community,
    I'n configuring OID connector as trusted source reconciliation to OIM. In Lookup Definition => AttrName.Recon.Map.OID, I see the default mapping provided by OID connector is that User ID is mapped to cn.
    However, when i run the reconciliation, all User ID values are converted to uppercase. Is there anyway that I can keep the original values of cn?
    Thanks,
    David

    Re: OIM User Login UPPERCASE.

  • New-MailboxExportRequest -ContentFilter {size -gt 10KB} Invalid filter syntax

    I would like to export massages of a mailbox, where mail item or attachment or anything is larger then XXKB
    New-MailboxExportRequest
    -Mailbox "User1"
    -FilePath "\\server1\pst\User1.pst"
    -ContentFilter {size
    -gt 10KB}
    The provided ContentFilter value is invalid. ContentFilter is invalid. Invalid filter syntax. For a description of
    the filter parameter syntax see the command help.
    "size -gt 10KB" at position 12. --> Invalid filter syntax. For a description of the filter parameter
    syntax see the command help.
    "size -gt 10KB" at position 12.
    + CategoryInfo         
    : InvalidArgument: (size -gt 10KB:String) [], ContentFilterInvalidPermanentException

    Build is CU5.
    I did not try other parameters.  I`m looking how to find and remove e-mail massages grater then 25MB, because users do not clan there mailboxes. They ignore warning, ect. And to cover my »arsh«, priory moving massages to O365, i will do
    export to PST, then delete and delete dumpster.  But simple task like mailbox search, eDiscovery does not 
    search  by size.
    That does not work eider :
    -SearchQuery "Size -gt 2024KB"
    "Size > 1024KB"
    'Size:>1024KB'
    "Size:>1024",

  • Invalid DN Syntax in AD Pwd Sync.

    Hi all,
    I am new to OIM. I am working on AD Password Synchronization, using 9115 Connector.
    After resetting password in AD , the log shows
    Debug [03/16/11 15:14:26] AD search for a user objectGUID is successfull
    Debug [03/16/11 15:14:26] Adding a new node to datastore
    Debug [03/16/11 15:14:26] Inside sgslutilconcatData
    Debug [03/16/11 15:14:26] Entire dn is ==>
    Debug [03/16/11 15:14:26] cn=KRKapoor,OU=oimpwdsync192.168.120.186,OU=oimpwdsynccbs.ad.cbs.net,Persistent Store,DC=cbs,DC=ad,DC=cbs,DC=net
    Debug [03/16/11 15:14:26] 0:318 8 230 308 AQAAANCMnd8BFdERjHoAwE/Cl+sBAAAA2qoEGWkLwUedQw/1C10kAwAAAAAmAAAAUABhAHMAcwB3AG8AcgBkACAARQBuAGMAcgBwAHQAaQBvAG4AAAADZgAAqAAAABAAAABQ11lFTNd6KVxLL5vVazXzAAAAAASAAACgAAAAEAAAAM1J93dxBb3vc3IBseOb3pk4AAAAGeIIPV6VUBK3k90SmsVewrFZpXpW7V7FK2BTHZc0RoevDOLdlz3J9HdoVAy1s5NeWQQxtqBtVvAUAAAAqYX7RjDausL/+CI7keSdDV6WQcg=
    Debug [03/16/11 15:14:26] --------------------------
    Debug [03/16/11 15:14:26] Adding a Node Now
    Debug [03/16/11 15:14:26] Inside sgslcodsaddEPWRecord without Seq Attribute
    Debug [03/16/11 15:14:26] description
    Debug [03/16/11 15:14:26] Encrypted record already exists in Datastore
    Debug [03/16/11 15:14:26] Invalid DN Syntax
    Debug [03/16/11 15:14:26] Operation add completed
    Debug [03/16/11 15:14:26] Inside sgsladac destructor
    Debug [03/16/11 15:14:26] Password updation failed in child process
    Debug [03/16/11 15:14:26] Inside sgsladds::sgslperreadData
    Debug [03/16/11 15:14:26] Only dataattribute
    Debug [03/16/11 15:14:26] Inside sgsladdsSearchUser
    Debug [03/16/11 15:14:26] Firing Search Request
    Debug [03/16/11 15:14:26] Returning Datastore
    Debug [03/16/11 15:14:26]
    About to UNBIND datastore after processing the Records
    Debug [03/16/11 15:14:26]
    Deleting datastore object pointer
    Any idea ??
    What does Invalid DN Syntax mean ?

    Hi,
    I think you will have better luck in the correct forum Identity Manager This forum is for Sun Identity Manager or Oracle Waveset Identity Manager.

  • Problem with OID Connector

    I am having a problem with OIM 9.1.0 + OID
    I am install IOM 9.1.0 + Connector OID according to this guide: http://download.oracle.com/docs/cd/E11223_01/doc.904/e10436/deploy.htm , but to create a user via console Xellere see in the logs of my body OC4J the following errors:
    08/09/09 18:45:58 Running GetTargetAttributeMapping
    08/09/09 18:45:58 Running GetProcessData
    ERROR,09 Sep 2008 18:45:58,529,[XL_INTG.OID],OID:tcUtilAttributeNameMap -> Mapping NOT found for the form field:User ID
    ERROR,09 Sep 2008 18:45:58,529,[XL_INTG.OID],OID:tcUtilAttributeNameMap -> Mapping NOT found for the form field:Password
    ERROR,09 Sep 2008 18:45:58,529,[XL_INTG.OID],OID:tcUtilAttributeNameMap -> Mapping NOT found for the form field:Title
    ERROR,09 Sep 2008 18:45:58,529,[XL_INTG.OID],OID:tcUtilAttributeNameMap -> Mapping NOT found for the form field:First Name
    ERROR,09 Sep 2008 18:45:58,529,[XL_INTG.OID],OID:tcUtilAttributeNameMap -> Mapping NOT found for the form field:Middle Name
    ERROR,09 Sep 2008 18:45:58,529,[XL_INTG.OID],OID:tcUtilAttributeNameMap -> Mapping NOT found for the form field:Last Name
    ERROR,09 Sep 2008 18:45:58,529,[XL_INTG.OID],OID:tcUtilAttributeNameMap -> Mapping NOT found for the form field:Organization DN
    ERROR,09 Sep 2008 18:45:58,529,[XL_INTG.OID],OID:tcUtilAttributeNameMap -> Mapping NOT found for the form field:Department
    ERROR,09 Sep 2008 18:45:58,529,[XL_INTG.OID],OID:tcUtilAttributeNameMap -> Mapping NOT found for the form field:Location
    ERROR,09 Sep 2008 18:45:58,529,[XL_INTG.OID],OID:tcUtilAttributeNameMap -> Mapping NOT found for the form field:Telephone
    ERROR,09 Sep 2008 18:45:58,530,[XL_INTG.OID],OID:tcUtilAttributeNameMap -> Mapping NOT found for the form field:Email ID
    ERROR,09 Sep 2008 18:45:58,530,[XL_INTG.OID],OID:tcUtilAttributeNameMap -> Mapping NOT found for the form field:Preferred Language
    ERROR,09 Sep 2008 18:45:58,530,[XL_INTG.OID],OID:tcUtilAttributeNameMap -> Mapping NOT found for the form field:Time Zone
    ERROR,09 Sep 2008 18:45:58,530,[XL_INTG.OID],OID:tcUtilAttributeNameMap -> Mapping NOT found for the form field:Server Address
    ERROR,09 Sep 2008 18:45:58,530,[XL_INTG.OID],OID:tcUtilAttributeNameMap -> Mapping NOT found for the form field:OID Connector Version
    08/09/09 18:45:58 Running SHOULDUSEXLORG
    08/09/09 18:45:58 Target Class = java.lang.Boolean
    08/09/09 18:45:58 Running SHOULDUSESSL
    08/09/09 18:45:58 Target Class = java.lang.Boolean
    08/09/09 18:45:58 Running CREATEUSER
    08/09/09 18:45:58 Target Class = com.thortech.xl.integration.OID.tcUtilOIDUserOperations
    ERROR,09 Sep 2008 18:45:58,623,[XL_INTG.OID],OID:tcUtilLDAPOperations -> : NamingException: Unable to search LDAP[LDAP: error code 32 - No Such Object]
    ERROR,09 Sep 2008 18:45:58,624,[XL_INTG.OID],tcUtilOIDUserOperations -> NamingException: Error while connecting to target. OID:tcUtilLDAPOperations -> : NamingException : Unable to search LDAP [[LDAP: error code 32 - No Such Object]]
    ERROR,09 Sep 2008 18:45:58,624,[XL_INTG.OID],tcUtilOIDUserOperations -> NamingException: Error while connecting to target. tcUtilOIDUserOperations -> OID:tcUtilLDAPOperations -> : NamingException : Unable to search LDAP [[LDAP: error code 32 - No Such Object]]
    Then the user is not provisioned to OID and in provisioning details this appear in state Rejected.
    Someone has idea where the problem can come?
    Since already thank you very much
    Maro

    Hi,
    The change resolved the issue, Thanks a lot :).
    But when i give Organisation DN as "" (I just cleared the value in the process form), The provisioning is failed.
    Is this Organisation DN a mandatory attribute????
    Also it would be great if you could share the rational behind those changes.
    I am very new to OIM , please bare with my ignorance.
    Thanks
    Edited by: jarah on Oct 1, 2008 10:36 AM

  • Issue with OID Connector

    Hi All,
    I have OIM 11g BP05 installed and OID Connector 11g version installed on my system. Till yesterday, provisioning and reconcilliation was working fine but today after managed server restart, I started seeing below error in the oim_server1.log:
    *<Jan 29, 2013 10:46:49 PM PST> <Error> <ORACLE.IAM.CONNECTORS.ICFCOMMON.PROV.ICPROVISIONINGMANAGER> <BEA-000000> <oracle.iam.connectors.icfcommon.prov.ICProvisioningManager : doUpdate : Error while updating user*
    *org.identityconnectors.framework.common.exceptions.UnknownUidException: Object with Uid 'Attribute: {Name=__UID__, Value=[D3C37FB779E9009EE0430AD1D042009E]}' and ObjectClass 'ObjectClass: __ACCOUNT__' does not exist!*
    *     at org.identityconnectors.ldap.search.LdapSearches.findEntryDN(LdapSearches.java:122)*
    *     at org.identityconnectors.ldap.search.LdapSearches.findEntryDN(LdapSearches.java:82)*
    *     at org.identityconnectors.ldap.modify.LdapUpdate.update(LdapUpdate.java:80)*
    *     at org.identityconnectors.ldap.LdapConnector.update(LdapConnector.java:127)*
    *     at org.identityconnectors.framework.impl.api.local.operations.UpdateImpl.update(UpdateImpl.java:93)*
    *     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)*
    *     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:48)*
    *     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)*
    *     at java.lang.reflect.Method.invoke(Method.java:600)*
    *     at org.identityconnectors.framework.impl.api.local.operations.ConnectorAPIOperationRunnerProxy.invoke(ConnectorAPIOperationRunnerProxy.java:93)*
    *     at $Proxy341.update(Unknown Source)*
    *     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)*
    *     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:48)*
    *     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)*
    *     at java.lang.reflect.Method.invoke(Method.java:600)*
    *     at org.identityconnectors.framework.impl.api.local.operations.ThreadClassLoaderManagerProxy.invoke(ThreadClassLoaderManagerProxy.java:107)*
    *     at $Proxy341.update(Unknown Source)*
    Nothing has been modified wrt to the configuration. "D3C37FB779E9009EE0430AD1D042009E" is the value of orclguid of a user.
    Any idea/pointers for fixing this issue?

    Any updates i am facing same problem.
    thanks in advance

  • AD Pwd. Sync - Invalid DN Syntax

    Hi all,
    I am new to OIM. I am working on AD Password Synchronization, using 9115 Connector.
    After resetting password in AD , the log shows
    Debug [03/16/11 15:14:26] AD search for a user objectGUID is successfull
    Debug [03/16/11 15:14:26] Adding a new node to datastore
    Debug [03/16/11 15:14:26] Inside sgslutilconcatData
    Debug [03/16/11 15:14:26] Entire dn is ==>
    Debug [03/16/11 15:14:26] cn=KRKapoor,OU=oimpwdsync192.168.120.186,OU=oimpwdsynccbs.ad.cbs.net,Persistent Store,DC=cbs,DC=ad,DC=cbs,DC=net
    Debug [03/16/11 15:14:26] 0:318 8 230 308 AQAAANCMnd8BFdERjHoAwE/Cl+sBAAAA2qoEGWkLwUedQw/1C10kAwAAAAAmAAAAUABhAHMAcwB3AG8AcgBkACAARQBuAGMAcgBwAHQAaQBvAG4AAAADZgAAqAAAABAAAABQ11lFTNd6KVxLL5vVazXzAAAAAASAAACgAAAAEAAAAM1J93dxBb3vc3IBseOb3pk4AAAAGeIIPV6VUBK3k90SmsVewrFZpXpW7V7FK2BTHZc0RoevDOLdlz3J9HdoVAy1s5NeWQQxtqBtVvAUAAAAqYX7RjDausL/+CI7keSdDV6WQcg=
    Debug [03/16/11 15:14:26]
    Debug [03/16/11 15:14:26] Adding a Node Now
    Debug [03/16/11 15:14:26] Inside sgslcodsaddEPWRecord without Seq Attribute
    Debug [03/16/11 15:14:26] description
    Debug [03/16/11 15:14:26] Encrypted record already exists in Datastore
    Debug [03/16/11 15:14:26] Invalid DN Syntax
    Debug [03/16/11 15:14:26] Operation add completed
    Debug [03/16/11 15:14:26] Inside sgsladac destructor
    Debug [03/16/11 15:14:26] Password updation failed in child process
    Debug [03/16/11 15:14:26] Inside sgsladds::sgslperreadData
    Debug [03/16/11 15:14:26] Only dataattribute
    Debug [03/16/11 15:14:26] Inside sgsladdsSearchUser
    Debug [03/16/11 15:14:26] Firing Search Request
    Debug [03/16/11 15:14:26] Returning Datastore
    Debug [03/16/11 15:14:26]
    About to UNBIND datastore after processing the Records
    Debug [03/16/11 15:14:26]
    Deleting datastore object pointer
    Any idea ??
    What does Invalid DN Syntax mean ?

    thanks, i corrected the DN, now there is no such error,
    but my original requirement is not yet fulfilled
    i still gives the log as
    Debug [03/17/11 17:03:39] OU=oimpwdsynccbs.ad.cbs.net,OU=Persistent Store,DC=cbs,DC=ad,DC=cbs,DC=net
    Debug [03/17/11 17:03:39] Encrypted record already exists in Datastore
    Debug [03/17/11 17:03:39] Already Exists
    Debug [03/17/11 17:03:39] Encrypted record already exists in Datastore
    Debug [03/17/11 17:03:39] Already Exists
    Debug [03/17/11 17:03:39] Inside sgsladdsSearchUser
    Debug [03/17/11 17:03:39] Firing Search Request
    Debug [03/17/11 17:03:39] AD search for a user objectGUID is successfull
    Debug [03/17/11 17:03:39] Count success
    Debug [03/17/11 17:03:39] Search result fetched
    Debug [03/17/11 17:03:39] 0:318 5 230 308 AQAAANCMnd8BFdERjHoAwE/Cl+sBAAAA2qoEGWkLwUedQw/1C10kAwAAAAAmAAAAUABhAHMAcwB3AG8AcgBkACAARQBuAGMAcgBwAHQAaQBvAG4AAAADZgAAqAAAABAAAADAk6mWf0bxeu1x3OZMa7a0AAAAAASAAACgAAAAEAAAALic5SzAK+YtYb0MEovtn644AAAA7Wcf3ho7HjEDPuXpzeCZ+2MLFPS71d9b+A4vbzrcn1KsaP7ItcgheX7/TOzzEVKhqrOTi1xjI3IUAAAAQSdxRCFR/TR0uC+CoiSkq4W3u0I=
    Debug [03/17/11 17:03:39]
    Encrypted record data updated successfully
    Debug [03/17/11 17:03:39] Inside sgsladac destructor
    Debug [03/17/11 17:03:39] Password updation failed in child process
    Debug [03/17/11 17:03:39]
    Relaxing while processing records from datastore
    My password in OIM is not getting updated.
    I am working on weblogic 10.3 clustered environment with just 1 node. using SSL.
    don.

  • OIM-OID Connector: OID Group Recon Task and organizations

    Hi,
    I'm evaluating OIM and its OID Connector.
    We have groups in our existing OID. We thought that we could use the OID Connector OID Group Recon Task to import those groups into OIM and make them Groups in OIM.
    However, when we run the task, it appears to import our groups from OID as organizations, not as groups. It's not clear to me from the OID Connector documentation what exactly the OID Group Recon task is supposed to do. That's why we assumed it was an OOTB method for reconciling OID groups into OIM groups.
    What are we doing wrong? Why do we end up with our OID Groups becoming OIM Organizations after running the task?
    We are using version 9.4.11 of the OID Connector.
    Also, a side issue: how can we delete unwanted organizations from OIM? There's a delete option but it just seems to mark the organizations as deleted but they are still there.
    Thanks
    Eric
    Edited by: PeachEye on 17/03/2010 11:49

    Hi,
    I am also facing the similar issue. I want to reconcile OID groups into OIM User Groups menu item. Please suggest how to proceed.
    I ran the schedule task- OID Group Recon Task, but it throws error-
    ERROR,12 Mar 2010 09:16:44,265,[XL_INTG.OID],OID:tcTskOIDGrouporRoleReconTask:pe
    rformReconciliation():com.thortech.xl.integration.OID.util.tcUtilLDAPOperations:
    NamingException :Unable to search LDAP. Check the following values and try agai
    n: Base Search detail: cn=abc,ou=Q System1,dc=xoserve-apps,dc=com, filter expres
    sion is (&(objectClass=groupOfUniqueNames)(modifytimestamp>=19000101010001Z)), A
    ttributes : DN, modifytimestamp, Organization Name, orclguid, cn,]
    ERROR,12 Mar 2010 09:16:44,281,[XL_INTG.OID],===================================
    I want to bring OID groups into OIM so that I can manager those OID groups from OIM. Is there any other way to so this? I have to make changes in the OID object class or in the OID field mappings? I have not done any changes in Lookup OID configuration or LookUp Field map parameters.
    Please help.

  • OIM 11g R1: LDAPsync or OID Connector or both?

    Hello,
    at the moment we have ldapsync configured for user/roles provisioning/recon to OID.
    We have the requirement to manage two OIDs (test and prod) with one OIM systems. Both OIDs have the same users and roles!  LDAPsync is a 1:1 mapping and not possible to manage two destinations.
    Now we are thinking about a OID connectors.
    Here my questions:
    1. Is it possible to use ldapsync and OID connector together? Does make this sense?
    2. If using OID connector for role assignment and provisioning, is it possible to use the same role name for an application in both systems (e.g. role: xyz in prod and role: xyz in test?)
    3. We have OAM-OID-OIM integration. Here is ldapsync required, isnt it?
    4. Can i use OID connector alone without ldapsync. How does the user lifecycel (provisioning, reconicilation of user password) works?
    Many thanks in advance!

    any ideas?

  • AD and OID connector installation on Base version 11.1.1.5.0 failed.

    Hi Experts,
    I am trying to install AD and OID connectors on base oim 11.1.1.5.0
    OID connector version: Release 9.0.4.12
    AD connector version: Release 9.1.1.7
    while installing these connectors in 3 steps
    a. Configuration of connector libraries
    b. Import of the connector XML files (by using the Deployment Manager)
    c. Compilation of adapters
    first step passed and it is failing at 2nd step and 3rd
    Error:
    DOBJ.XML_IMPORT_ERROR Missing root objectcom.thortech.xl.dataobj.tcUSR [DataObjectDef] (importable)
    can anyone suggest me on this.
    Thanks,

    What's the error in the log files? full stacktrace?
    -Bikash

  • Set JArray values with invalid key value: "LastUpdatedTime" on new alert rule creation

    Hey all!
    I'm trying to create a new alert rule using version 0.9.11 of the Monitoring Library and am getting this error on alertsClient.rules.CreateOrUpdate:
    "Set JArray values with invalid key value: "LastUpdatedTime". Array position index expected."
    That's interesting because LastUpdatedTime is a DateTime object, and whether I set it or I don't, if I set a breakpoint, it does set itself correctly, but the API appears to be expecting a JSON hash?
    I've tested alertsClient and I'm able to get existing alerts (also metrics with metrics client), so I don't believe it's an access issue.
    Any ideas?
    The full code I'm using for the test (borrowed virtually verbatim from the Cloud Cover video
    here): 
    Rule newRule = new Rule
        Name = "CPU Over 90%",
        Id = Guid.NewGuid().ToString(),
        Description = "CPU Has been over 90% for 5 minutes",
        IsEnabled = true,
        LastUpdatedTime = DateTime.Now,
        Condition = new ThresholdRuleCondition
            Operator = Microsoft.WindowsAzure.Management.Monitoring.Alerts.Models.ConditionOperator.GreaterThan,
            Threshold = 90,
            WindowSize = TimeSpan.FromMinutes(5),
            DataSource = new RuleMetricDataSource
                MetricName = "Percentage CPU",
                ResourceId = "",
                MetricNamespace = ResourceIdBuilder.BuildCloudServiceResourceId(<cloudservicename>, <deploymentname>)
    RuleAction action = new RuleEmailAction
        SendToServiceOwners = true,
    newRule.Actions.Add(action);
    OperationResponse alertResponse = alertsClient.Rules.CreateOrUpdate(new
    RuleCreateOrUpdateParameters { Rule = newRule });
    Console.WriteLine("Create alert rule response: " + alertResponse.StatusCode);

    Hi Greg,
    Thanks for your post!
    Error "JArray" has been fixed in the latest nugget package.
    Refer to:
    http://www.nuget.org/packages/Microsoft.WindowsAzure.Management.Monitoring/
    Hope this helps!
    Regards,
    Sadiqh

  • SQLException:refcursor value is invalid!What happened?

    my database is oracle 9i
    recently
    when I execute a sql query by JDBC
    Connection conn = getConnection();
    stmt = conn.createStatement();
    stmt.setQueryTimeout(20);
    String sqlText = "select * from table";
    ResultSet res = stmt.execute(sqlText);often cause these Exception:
    SQLException refcursor value is invalid
    NullPointerException
    SQLException protocol violate
    sometimes the code
    ResultSet res = stmt.execute(sqlText);cause a NullPointerException!!
    if the stmt is null
    the code
    stmt.setQueryTimeout(20);will cause a NullPointerException first!
    what happened ?

    sorry
    the whole code is
    boolean hasresult= stmt.execute(sqlText);
    if (hasresult)
    res = stmt.getResultSet();
    res.setFetchSize(10);
    }else
    int count = stmt.getUpdateCount();
    }

  • Column values with invalid characters

    How to find the column values with invalid chararcters
    meaning value upper(col) not in ('ABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890')
    For ex.
    1. CDAssyKit,DragonNaturallySpeaking�Preferred7.0,USEnglish
    2. CDAssyKit,DragonNaturallySpeaking Preferred7.0,USEnglish
    Query should retrieve only the first row, since it has extra � character in the column value.
    Thanks for your help.

    Convert all letters and numbers to an arbitrary letter and then remove that letter. If there are any characters left, they are invalid according to your rules.
    select *
      from t
    where replace(translate(lower(column_name), 'abcdefghijklmnopqrstuvwxyz0123456789', 'a'), 'a') is not null;

  • ORA-06502: PL/SQL: numeric or value error: invalid LOB locator specified:

    "ORA-06502: PL/SQL: numeric or value error: invalid LOB locator specified: ORA-22275"
    I use the procedure to convert the documents if it is not already converted before using procedure as follows
    PROCEDURE "STARDOC"."HTMLOUTPUT" (
    "DOCID" IN NUMBER) IS
    mklob clob;
    doccount number;
    errorcode number;
    errormessage varchar2(200);
    BEGIN -- executable part starts here
    SELECT COUNT(document_id) INTO doccount FROM docviewhtml where document_id=docid;
    --dbms_output.put_line(doccount);
    if doccount=0 then
         dbms_output.put_line('Document Not Found: Converting '||docid);
         --If document is not found run document coversion routine
         ctx_doc.filter('idxdocuments',docid, mklob,FALSE);
         INSERT INTO docviewhtml(document_id, html) VALUES (docid, mklob);
         COMMIT;
    elsif doccount=1 then
         --return;
         dbms_output.put_line('Document Found');
         --if document id found then return the document content
         null;
    else
         --dbms_output.put_line('Error occured');
         --need to deal with duplicate documents
         null;
    end if;
    dbms_lob.freetemporary(mklob);
    EXCEPTION
    --rollback when an exception occurs
         WHEN OTHERS THEN
              errorcode:=SQLCODE;
              errormessage:=SQLERRM;     
              dbms_output.put_line(sqlcode || ':' ||sqlerrm);
              ROLLBACK;
              LOGERROR(errorcode,errormessage);
    END "HTMLOUTPUT";
    i get the error when i convert large documents
    "ORA-06502: PL/SQL: numeric or value error: invalid LOB locator specified: ORA-22275"
    what is wrong. please help!

    "ORA-06502: PL/SQL: numeric or value error: invalid
    LOB locator specified: ORA-22275"
    PROCEDURE "STARDOC"."HTMLOUTPUT" (
    "DOCID" IN NUMBER) IS
    mklob clob;
         ctx_doc.filter('idxdocuments',docid, mklob,FALSE);
    INSERT INTO docviewhtml(document_id, html) VALUES (docid, mklob);I think You forget to initialize variable mklob.
    You can do it, assigning the empty_clob().

  • OID Connector.User Id includes "\" when seen through ODSM

    Hi All
    I provsioned a user with OID resource. The prepopulate adapter populates the user id as firstname.lastname.
    When I see the uid on the target it appears as firstname\.lastname.
    Whats going wrong here? any ideas?
    Regards
    user12841694

    Haven't heard such issues.
    prepopulate adapter populates the user id as firstname.lastnameIt means your adapter is working fine.
    Check the OID connector code, how they are handling spaces or . in userid.
    Can you create user in OID with userid firstname.lastname directly ?

Maybe you are looking for