NameNotFoundException while reconciling OIM  from ldap

Hi experts, please help me to resolve this OIM sync issue.
When I ran LDAPConfigPostSetup.sh to reconcile OIM from OID all most all ldap entries are entered into OIM except few which are under cn=OracleContext. I am getting around 20 below messages :
wls_oim1-diagnostic.log:javax.naming.NameNotFoundException: [LDAP: error code 32 - LDAP Error 32 : No Such Object]; remaining name 'cn=OracleDASConfiguration, cn=Groups,cn=OracleContext.
In my ldap, the Distinguished Name is -- cn=OracleDASConfiguration, cn=Groups,cn=OracleContext,dc=example,dc=com.
But few of them have been successfully synced with OIM and I see bunch of the roles in OIM console like :
cn=iASAdmins,cn=Groups,cn=OracleContext,dc=example,dc=com
cn=IAS & User Mgmt Application Admins,cn=OracleContext,dc=example,dc=com
and many more.
Kindly anybody help me why bunch of them have been successfully reconciled and some gave error. I do not think I need to udpate any xml file in this regard.
thank you for your time.
Jyothi

When in doubt, please try to use the default values as much as possible...
Hope it is development environment you are working on...
I am pasting some of the default values.... in ldapconfig.props
# OIMAdmin User Login
# e.g.: OIMAdminUser=xelsysadm
OIMAdminUser=
So give xelsysadm.
# Admin user name to connect to OID
# e.g.: OIDAdminUsername=cn=orcladmin
OIDAdminUsername=
So give cn=orcladmin
# Search base
# e.g.: OIDSearchBase=dc=company,dc=com
OIDSearchBase=
So give dc=company,dc=com
Hope you have kept the back up file.. Restore it and put all the default values as it is... cn=orcladmin is the super-most OID Admin just like xelsysadm is the super most OIM admin..
Also as far as obUserAccountControl is concerned, you can find this attribute mentioned in Oracle_IDM1\idmtools\templates\oid in oam_user_write_acl.ldif and idm_xelsysadmin_user.ldif...
Hopefully this information is helpful.

Similar Messages

  • Getting error while upgrading OIM from 9101 to 9102

    I am trying to upgrade OIM from 9101 to 9102 but getting following error.
    bash-3.00$ sh ./LoadXLIF.sh jdbc:oracle:thin:@DB_HOST_IP:SID <Database User Name> <Database Password> AUDITCOMPLIANCE
    /opt/oracle/oim/jdk_1.5.0_06/bin/java -cp /:/lib/xlUtils.jar com.thortech.xl.util.LoadXLIF Oracle oracle.jdbc.driver.OracleDriver jdbc:oracle:thin:@DB_HOST_IP:SID <Database User Name> <Database Password> xliff/XLIFsequence.properties xliff AUDITCOMPLIANCE
    Exception in thread "main" java.lang.NoClassDefFoundError: com/thortech/xl/util/LoadXLIF
    I confirmed that /xellerate/lib/xlUtils.jar has com/thortech/xl/util/LoadXLIF.class
    Thanks.
    Vinay

    Hi, please update the reason and how you were able to resolve the issue. So that it will help other users too.

  • Error while initializing OIM from eclipse

    Hi All,
    I am trying to connect OIM deployed on WAS 6.1 through eclipse. Connection is getting established but when I am calling finduser api getting error
    Below is the error:
    Exception in thread "P=727545:O=0:CT" java.lang.NullPointerException
         at Thor.API.Operations.tcUserOperationsClient.findAllUsers(Unknown Source)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
         at java.lang.reflect.Method.invoke(Method.java:618)
         at Thor.API.Base.SecurityInvocationHandler$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(AccessController.java:214)
         at javax.security.auth.Subject.doAs(Subject.java:495)
         at com.ibm.websphere.security.auth.WSSubject.doAs(WSSubject.java:118)
         at Thor.API.Security.LoginHandler.websphereLoginSession.runAs(Unknown Source)
         at Thor.API.Base.SecurityInvocationHandler.invoke(Unknown Source)
         at $Proxy0.findAllUsers(Unknown Source)
         at com.anz.ts.DelAdmin1.findUserKey(DelAdmin1.java:56)
         at com.anz.ts.DelAdmin1.main(DelAdmin1.java:203)

    Ya we are trying different options..
    For your error "0000002c SecurityColla A SECJ0053E: Authorization failed for /UNAUTHENTICATED while invoking (Home)ejb/tcUserOperations create:2 securityName: /UNAUTHENTICATED;accessID: UNAUTHENTICATED is not granted any of the required roles: User "
    If you are using Websphere then you must add 'User' role to your user through WAS console.

  • Date parse error while importing users from OIM to OIA (SRM 5.0.3)

    Hi All,
    Env Details:
    OIA (SRM 5.0.3), Weblogic and Oracle 10g DB
    We have integrated OIM to OIA with extended attributes mapping by modifying iam-context.xml file to load users. Its done successfully. But when we map "Date" related attribute, its giving "Date Parsing error" and its not loading the users.
    We have tried loading users using flatFile mechanism, its also giving same result.
    Please suggest me. Thanks in Advance !!!
    Regards,
    Ravi G.

    Hi,
    Its a problem with OOB's OIMIAMSolution.class file, which is called while importing users from OIM. It used DateParse () conversion method only for all attributes which OIA attributes' name is ends with "Date". It defined, the conversion of date from (yyyy-MM-dd). So its expecting the input value should be in defined format(yyyy-MM-dd), if not, it gives a parse error.
    We found work around for this as follows,
    We have used other related OIA attribute which name ends other than "Date" string.
    Thanks,
    Ravi G.

  • NameNotFoundException in session bean  while running application from jdeve

    hi
    i am getting NameNotFoundException while connection to session bean when i run from Jdeveloper;
    i put ejb.jar.xml and orion-ejb-jar.xml put in classes/META-INF folder;
    in my application index.jsp connects to sessionbean;
    when i run index.jsp i am getting the follo
    [Starting OC4J using the following ports: HTTP=9000, RMI=23891, JMS=9227.]
    C:\j2sdk1.4.2_06\bin\javaw.exe -client -classpath C:\JDeveloper903\j2ee\home\oc4j.jar -Xverify:none -Doracle.j2ee.dont.use.memory.archive=true com.evermind.server.OC4JServer -config C:\JDeveloper903\jdev\system9.0.3.1035\oc4j-config\server.xml
    [waiting for the server to complete its initialization...]
    Embedded OC4J startup time: 4640 ms.
    Target URL -- http://192.168.68.214:9000/1304Release3-etrans-context-root/index.jsp
    Copying default deployment descriptor from archive at C:\JDeveloper903\jdev\mywork\1304Release3.0\EJB\classes/META-INF/orion-ejb-jar.xml to deployment directory C:\JDeveloper903\jdev\system9.0.3.1035\oc4j-config\application-deployments\current-workspace-app\classes...
    Auto-deploying file:/C:/JDeveloper903/jdev/mywork/1304Release3.0/EJB/classes/ (New server version detected)...
    The system is out of resources.
    Consult the following stack trace for details.
    java.lang.OutOfMemoryError
    Error compiling C:\JDeveloper903\jdev\mywork\1304Release3.0\EJB\classes: Syntax error in source
    Log4j Properties file Initialized with Path = C:\JDeveloper903\jdev\mywork\1304Release3.0\etrans\WEB-INF\log4j.properties
    Oracle9iAS (9.0.3.0.0) Containers for J2EE initialized
    No of Hits to this page : 1
    [ERROR   ] ESACLoginController.jsp -- Un Authorised User Not Enough Credentials : ANIL
    [ERROR   ] ESACLoginController.jsp -- Un Authorised User Not Enough Credentials : ANIL
    [ERROR   ] ESACLoginController.jsp -- Un Authorised User Not Enough Credentials : ANIL
    javax.naming.NameNotFoundException: AccessControlSessionBean not found
    at com.evermind.server.rmi.RMIContext.lookup(RMIContext.java:130)
    at com.evermind.server.ApplicationContext.lookup(ApplicationContext.java:195)
    at com.evermind.server.ApplicationContext.lookup(ApplicationContext.java:66)
    at javax.naming.InitialContext.lookup(InitialContext.java:347)
    at ESACLoginController.jspService(ESACLoginController.jsp:89)
    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:721)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
    at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
    at java.lang.Thread.run(Thread.java:534)
    wing in jdeveloper console;

    java.lang.OutOfMemoryError
    Set the jdev.conf directive
    AddVMOption     -Xmx512M

  • Getting NameNotFoundException while trying to look up timer from startup cl

    Hi all,
    I am getting NameNotFoundException while trying to look up timer from startup class.
    I have configured commonj.timers.TimerManager in ejb-jar.xml of my MDB. I am using statrtup classes to initialize some static components immidiate to the MDB's active state. I have to initialize the timer manager object immidiate to the MDB's active state which is configured in ejb-jar.xml. I wrote this lookup logic in postStart() method of ApplicationLifecycleListener, The method getting called but the lookup logic getting failed, the same look up logic is working in MDB class (MDBTimer.java). I have tried different ways, I did’nt get solution, finally I am posting the problem here.
    Could any of weblogic experts please help out on this Issue?
    Here I am giving my code.
    weblogic-application.xml
    <?xml version='1.0' encoding='UTF-8'?>
    <weblogic-application
         xmlns="http://www.bea.com/ns/weblogic/weblogic-application" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://www.bea.com/ns/weblogic/weblogic-application http://www.bea.com/ns/weblogic/weblogic-application/1.0/weblogic-application.xsd">
         <listener>
              <listener-class>my.examples.mdb.timer.TestApplicationListener</listener-class>
         </listener>     
    </weblogic-application>
    ejb-jar.xml
              <ejb-jar xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                   xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
              http://java.sun.com/xml/ns/j2ee/ejb-jar_3_0.xsd"
                   version="3.0">
                   <enterprise-beans>
                        <message-driven>
                             <ejb-name>MyTimerMDB</ejb-name>
                             <ejb-class>my.examples.mdb.timer.MDBTimer
                             </ejb-class>
                             <resource-ref>
                                  <description>My Default Timer Manager</description>
                                  <res-ref-name>timer/MyDefaultTimer</res-ref-name>
                                  <res-type>commonj.timers.TimerManager</res-type>
                                  <res-auth>Container</res-auth>
                                  <res-sharing-scope>Unshareable</res-sharing-scope>
                             </resource-ref>
                        </message-driven>
                   </enterprise-beans>
              </ejb-jar>
    MDBTimer.java
    package my.examples.mdb.timer;
    import javax.ejb.MessageDriven;
    import javax.ejb.TransactionAttribute;
    import javax.ejb.TransactionAttributeType;
    import javax.jms.Message;
    import javax.jms.MessageListener;
    import javax.jms.ObjectMessage;
    import commonj.timers.Timer;
    import commonj.timers.TimerManager;
    @MessageDriven(mappedName = "TEST_Q", name = "MyTimerMDB", activationConfig = {
              @javax.ejb.ActivationConfigProperty(propertyName = "acknowledgeMode", propertyValue = "Auto-acknowledge"),
              @javax.ejb.ActivationConfigProperty(propertyName = "destinationType", propertyValue = "javax.jms.Queue"),
              @javax.ejb.ActivationConfigProperty(propertyName = "transactionType", propertyValue = "Container"), })
    @TransactionAttribute(TransactionAttributeType.REQUIRED)
    public class MDBTimer implements MessageListener {
         public static TimerManager manager = null;
         @Override
         public void onMessage(Message arg0) {
              System.out.println("onMessage() method called...\n\n");
              if (arg0 instanceof ObjectMessage) {
                   ObjectMessage msg = (ObjectMessage) arg0;
                   try {
                        if (msg.getObject() instanceof String) {
                             Thread.sleep(1000);
                             System.out
                                       .println("Message received >> " + msg.getObject());
                   } catch (Exception e) {
                        e.printStackTrace();
              System.out.println("onMessage() method returned...\n\n");
              if(manager==null){
                   manager=MyUtil.getTimerManager();
    TestApplicationListener.java
    package my.examples.mdb.timer;
    import commonj.timers.TimerManager;
    import weblogic.application.ApplicationException;
    import weblogic.application.ApplicationLifecycleEvent;
    import weblogic.application.ApplicationLifecycleListener;
    public class TestApplicationListener extends ApplicationLifecycleListener {
         public void preStart(ApplicationLifecycleEvent evt)throws ApplicationException {
              String logStr = ">>>>TestApplicationListener.preStart()>>>>";
              System.out.println(logStr+"entered...");
              super.preStart(evt);
              System.out.println(logStr+"leveaing...");
         public void postStart(ApplicationLifecycleEvent evt)throws ApplicationException {
              String logStr = ">>>>TestApplicationListener.postStart()>>>>";
              System.out.println(logStr+"entered...");
              super.postStart(evt);
              TimerManager timerManager = MyUtil.getTimerManager();
              System.out.println(logStr+"Got timer manager ==> "+timerManager);
              System.out.println(logStr+"leveaing...");
         public void preStop(ApplicationLifecycleEvent evt)throws ApplicationException {
              String logStr = ">>>>TestApplicationListener.preStop()>>>>";
              System.out.println(logStr+"entered...");
              TimerManager timerManager = MyUtil.getTimerManager();
              System.out.println(logStr+"Got timer manager ==> "+timerManager);
              super.preStop(evt);
              System.out.println(logStr+"leveaing...");
         public void postStop(ApplicationLifecycleEvent evt) throws ApplicationException{
              String logStr = ">>>>TestApplicationListener.postStop()>>>>";
              System.out.println(logStr+"entered...");
              super.preStop(evt);
              System.out.println(logStr+"leveaing...");
    MyUtil.java
    package my.examples.mdb.timer;
    import javax.naming.InitialContext;
    import javax.naming.NamingException;
    import commonj.timers.TimerManager;
    public class MyUtil {
         public static TimerManager getTimerManager() {
              TimerManager timerManager = null;
              try {
                   InitialContext ctx = new InitialContext();
                   timerManager = (TimerManager) ctx
                             .lookup("java:comp/env/timer/MyDefaultTimer");
                   System.out
                             .println("@@@@@Looked-up using java:comp/env/timer/MyDefaultTimer : "
                                       + timerManager);
              } catch (NamingException e) {
                   e.printStackTrace();
              return timerManager;
    }

    Thaks for your valuble information. I tried as you suggested!!! But NO luck . Still I am getting the issue.
    I am using a class(TestApplicationListener) implements ApplicationLifecycleListener to listen my application.
    I have overriden the methods preStart(), postStart(), preStop() and postStop().
    Given following entries in weblogic-application.xml
    <listener>
              <listener-class>my.examples.mdb.timer.TestApplicationListener</listener-class>
    </listener>     
    Also given
    <ejb>
                   <start-mdbs-with-application>false</start-mdbs-with-application>
    </ejb>          As you suggested.
    If I try to look-up timer manager from postStart() method of TestApplicationListener then it is giving NameNotFoundException
    , same exception is giving in preStop() method.
    If it is problem with initialization; I think, it should not give problem with preStop() method. (Correct me if I am wrong)
    If I try to lookup the timer manager from onMessage() method of my MDB, It is not giving any problem.
    I didn’t understand the reason why it is happening.
    Note: All the life cycle methods (preStart(), postStart(), preStop() and postStop() ) are getting executed when I start/stop/redeploy my application from console.

  • How to authenticate OIM from AD using LDAP sync

    Hi Team,
    We do not want to use password synchronization connector for AD password sync to OIM
    After reading few article' I found two probable ways for it:
    1. Authenticate OIM via AD using libOVD with OIM and LDAP sync enable
    2. Authenticate OIM via AD using libOVD, OID and LDAP sync enable.
    Please suggest whether theses approcahes are practicaly possible or not.
    If yes then please shae related architecture docs.
    Thanks,
    Gaurav

    Here is the one of the doc:
    Configuring LDAP Authentication When LDAP Synchronization is Enabled

  • Error while reconciling - Data is not Base64 encoded

    I was trying do a Full reconciliation and it failed with following error.
    Reconciliation was terminated because the number of errors exceeded the configured threshold.
    The following errors were received during reconciliation:
    Error while reconciling accountId uid=1testRecordReviewOnl,ou=people,ou=AppUser,dc=educ,dc=mde on resource MIDMS Edp LDAP:
    java.lang.RuntimeException: Data is not Base64 encoded.
    I removed the password attribute from the reconciliation policy and reconciliation ran till the end without any error . What I need to do to fix this.
    Thanks!
    Kabi
    Edited by: kpp on May 5, 2009 7:25 PM

    I am using IDM 8.0.0.0 which dows not allow to load "malformd passwords" into the repository at all. This hit might help you to understand IDM but most likely will not directly solve you problem.
    As mentioned before: Debug page: http://<server>/idm/debug
    Locate the "List Objects" row, select "Resources", push the "List Objects" button.
    Select your resource; Click View; search for "credentials"
    The encrypted credential (aka password) has to be syntactically correct.
    e.g.
    <ResourceAttribute name='credentials' displayName='com.waveset.adapter.RAMessages:RESATTR_PASSWORD' type='encrypted' description='RESATTR_HELP_219' value='0D84E1E9E897E0A5:1C6C4889:11C74E0F02B:-7FF1|hjp/S8m0uNe5Rxs4CGU7uw=='>
    </ResourceAttribute>
    The vertical bar sign "|" splits the credentials in two parts
    1. Server encryption key
    2. Base64 encoded password
    If the later is not Base64 encoded, you will get the error described.
    Again, I doubt that this is or solves your problem but it might help to understand.
    btw. what exactely do you mean with "I removed the password attribute from the reconciliation policy "

  • An error occurred while searching tasks from the SOA Server

    While clicking task tab in self service page i am getting
    "An error occurred while searching tasks from the SOA Server." even after sao server is up.

    http://host1:8001/soa-infra/ is down
    I restarted soa server and found the soa changed to Running status after the below error in console
    Nov 16, 2011 12:06:21 PM GMT+05:30> <Error> <Deployer> <BEA-149231> <Unable to set the activation state to true for the application 'soa-infra'.
    weblogic.application.ModuleException:
    at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1510)
    at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:482)
    at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
    at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
    Truncated. see log file for complete stacktrace
    Caused By: java.lang.RuntimeException: Failed to start Service "Cluster" (ServiceState=SERVICE_STOPPED, STATE_ANNOUNCE)
    at com.tangosol.coherence.component.util.daemon.queueProcessor.Service.start(Service.CDB:38)
    at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.start(Grid.CDB:6)
    at com.tangosol.coherence.component.net.Cluster.onStart(Cluster.CDB:637)
    at com.tangosol.coherence.component.net.Cluster.start(Cluster.CDB:11)
    at com.tangosol.coherence.component.util.SafeCluster.startCluster(SafeCluster.CDB:3)
    Truncated. see log file for complete stacktrace
    I checked OIM log also after clicking the task tab and found below error in log
    Error occurred while connecting to BPEL
    [2011-11-16T14:59:02.703+05:30] [oim_server1] [ERROR] [] [oracle.iam.tasklist.agentry.task] [tid: [ACTIVE].ExecuteThread: '5' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: xelsysadm] [ecid: bb6ba2093960fbcc:-2164bc25:133aba77382:-8000-00000000000000a4,0] [APP: oim#11.1.1.3.0] javax.naming.NameNotFoundException: Unable to resolve 'TaskQueryService'. Resolved '' [Root exception is javax.naming.NameNotFoundException: Unable to resolve 'TaskQueryService'. Resolved '']; remaining name 'TaskQueryService'
    [2011-11-16T14:59:02.703+05:30] [oim_server1] [WARNING] [] [oracle.iam.consoles.faces.mvc.common] [tid: [ACTIVE].ExecuteThread: '5' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: xelsysadm] [ecid: bb6ba2093960fbcc:-2164bc25:133aba77382:-8000-00000000000000a4,0] [APP: oim#11.1.1.3.0] oracle.iam.platform.canonic.base.NoteException: An error occurred while searching tasks from the SOA Server.

  • Retriving user list from ldap (username - first and last, dn, cn)

    Hi,
    I tried connecting LDAP server and succesfully connected and now i need to get userlist from LDAP can anyone give me a sample code to get userlist from LDAP.
    public static boolean testLDAP() {
                   InitialDirContext ctx = null;
                   try {
                           Hashtable htbl = new Hashtable();
                           htbl.put(Context.INITIAL_CONTEXT_FACTORY,"com.sun.jndi.ldap.LdapCtxFactory");
                           htbl.put(Context.PROVIDER_URL, "ldap://padl:389");
                           htbl.put(Context.URL_PKG_PREFIXES, "com.sun.jndi.url");
                           htbl.put(Context.REFERRAL, "ignore");
                           htbl.put(Context.SECURITY_AUTHENTICATION, "simple");
                           htbl.put(Context.SECURITY_PRINCIPAL, "cn=administrator");
                           htbl.put(Context.SECURITY_CREDENTIALS, "password");
                           ctx = new InitialDirContext(htbl);                       
                           if (ctx != null) {
                                   ctx.close();
                                   return true;
                   catch (NamingException e) {
                           System.out.println("Error Connecting to LDAP Server.");
                           System.out.println(e.toString());
                           ctx=null;
                           return false;
                   return false;
           }Thank You.

    Ok here is the code to fetch userlist(First Name, Last Name, cn, dn, mail) from LDAP.
    import java.util.Hashtable;
    import javax.naming.Context;
    import javax.naming.NameNotFoundException;
    import javax.naming.NamingEnumeration;
    import javax.naming.NamingException;
    import javax.naming.directory.Attributes;
    import javax.naming.directory.DirContext;
    import javax.naming.directory.InitialDirContext;
    import javax.naming.directory.SearchControls;
    import javax.naming.directory.SearchResult;
    public class UserListFromLDAP
       public static void main(String args[])
          Hashtable env = new Hashtable();
          env.put(Context.INITIAL_CONTEXT_FACTORY,"com.sun.jndi.ldap.LdapCtxFactory");
          env.put(Context.PROVIDER_URL,"ldap://host:389");
          DirContext ctx;
          try {
             ctx = new InitialDirContext(env);
          } catch (NamingException e) {
             throw new RuntimeException(e);
          NamingEnumeration results = null;
          try {
             SearchControls controls = new SearchControls();
             controls.setSearchScope(SearchControls.SUBTREE_SCOPE);
             results = ctx.search("", "(objectclass=person)", controls);
             while (results.hasMore()) {
                SearchResult searchResult = (SearchResult) results.next();           
                Attributes attributes = searchResult.getAttributes(); 
                System.out.println("dn----------> "+searchResult.getName());
                System.out.println("cn----------> "+attributes.get("cn").get());
                if (attributes.get("givenName")!=null)
                     System.out.println("First Name--> "+attributes.get("givenName").get());
                System.out.println("Last Name---> "+attributes.get("sn").get());
                System.out.println("Mail--------> "+attributes.get("mail").get()+"\n\n");
          } catch (NameNotFoundException e) {
               System.out.println("Error : "+e);
          } catch (NamingException e) {
             throw new RuntimeException(e);
          } finally {
             if (results != null) {
                try {
                   results.close();
                } catch (Exception e) {
                     System.out.println("Error : "+e);
             if (ctx != null) {
                try {
                   ctx.close();
                } catch (Exception e) {
                     System.out.println("Error : "+e);
    }Here is the code to search user from LDAP based on cn and sn
    import java.util.Hashtable;
    import javax.naming.Context;
    import javax.naming.NameNotFoundException;
    import javax.naming.NamingEnumeration;
    import javax.naming.NamingException;
    import javax.naming.directory.Attributes;
    import javax.naming.directory.DirContext;
    import javax.naming.directory.InitialDirContext;
    import javax.naming.directory.SearchControls;
    import javax.naming.directory.SearchResult;
    public class LDAPUserSearch
       public static void main(String args[])
          Hashtable env = new Hashtable();
          env.put(Context.INITIAL_CONTEXT_FACTORY,"com.sun.jndi.ldap.LdapCtxFactory");
          env.put(Context.PROVIDER_URL,"ldap://host:10389");
          DirContext ctx;
          try {
             ctx = new InitialDirContext(env);
          } catch (NamingException e) {
             throw new RuntimeException(e);
          NamingEnumeration results = null;
          // give either cn or sn to check     
          String cn = "Common Name";
          String sn = "lastName";
          try {
             SearchControls controls = new SearchControls();
             controls.setSearchScope(SearchControls.SUBTREE_SCOPE);
             if(!cn.equalsIgnoreCase("") && !sn.equalsIgnoreCase("")){
                  System.out.println("Please test with either cn or sn");
             else if(cn!=null && !cn.equalsIgnoreCase("")){
                  System.out.println("Result based on cn:");
                  results = ctx.search("", "(cn="+cn+")", controls);
             else if(sn!=null && !sn.equalsIgnoreCase("")){
                  System.out.println("Result based on sn:");
                  results = ctx.search("", "(sn="+sn+")", controls);
             else{
                  System.out.println("No results found");
             while (results.hasMore()) {
                 SearchResult searchResult = (SearchResult) results.next();
                 Attributes attributes = searchResult.getAttributes();
                 System.out.println("Full Name:--------> "+attributes.get("cn").get());
                 if(attributes.get("givenName")!=null)
                      System.out.println("First Name:-------> "+attributes.get("givenName").get());
                 System.out.println("Last Name:--------> "+attributes.get("sn").get());
                 System.out.println("Mail:-------------> "+attributes.get("mail").get());
          } catch (NullPointerException e) {
               // Leave this...
          catch (NameNotFoundException e) {
             System.out.println("Error : "+e);
          } catch (NamingException e) {
             throw new RuntimeException(e);
          } finally {
             if (results != null) {
                try {
                   results.close();
                } catch (Exception e) {
                     System.out.println("Error : "+e);
             if (ctx != null) {
                try {
                   ctx.close();
                } catch (Exception e) {
                     System.out.println("Error : "+e);
       public static void common() {
    }

  • Error while runnig OIM task purging script OIM_TasksArch.sh

    Error while runnig OIM task purging script OIM_TasksArch.sh
    ## Enter date in YYYYMMDD format
    (All the task data for users which have been disabled/deleted on or before the entered date would be archived) :
    ## All the task data for users which have been disabled/deleted on or before TODAY's date would be archived,
    Do you want to continue [y,Y,n,N]? :
    y
    Calculating the number of records that would be archived,
    this may take some time, please wait...
    ERROR ==> An error has occurred during the process
    Please check logs created at /export/home/oracle/Purging_Task/Err_Arch_tasks_2012_11_05_16_51_22.log and try again
    ./OIM_TasksArch.sh: test: argument expected
    bash-3.00$ cat /export/home/oracle/Purging_Task/Err_Arch_tasks_2012_11_05_16_51_22.log
    -- Task Archival Execution Status
    Task Data Archival Summary
    ORA-00942: table or view does not exist

    In this link you resolved this issue by giving all privileges to DEV_OIM...
    Re: Getting error while running OIM in built purging script OIM_ReconArch.sh
    Now if again this ORA-00942: table or view does not exist is coming, possibility is that there is no issue regarding privileges as you already have given all privileges to DEV_OIM...
    Anyway try again giving full permissions to it just in case for some reasons permissions might have reset...
    Now the only option is to study OIM_TasksArch.sh and figure out which tables or view it wants to refer to and is not available to it..
    *./OIM_TasksArch.sh: test: argument expected*
    The above line means that this sh file needs some arguments... Please study a bit more to figure out those arguments.. It will work...
    *23.2.1 Understanding the Task Archival Utility*
    http://docs.oracle.com/cd/E21764_01/doc.1111/e14308/archival_utilities.htm#OMADM3033
    Following Parameters i.e. Arguments  are needed
    # File : OIM_TasksArch.sh
    # Purpose : To archive data from active task tables to archival task
    # tables and to delete data from active task tables.
    # Arguments : 1 --> Location of the Oracle Home(ORACLE_HOME)
    # 2 --> Oracle Identity Manager Database Name
    # 3 --> Oracle Identity Manager Database User Name
    # 4 --> Password for the Oracle Identity Manager Database User

  • Error while installing OIM, during the OC4J Instance Configuration Assistan

    Hi, running RHEL 4 32Bit Linux. There's an installation of the SOA Suite 10.1.3.1 (Release 2) on /u01/app/oracle/OracleAS_1, and I am installing OIM on /u01/app/oracle/OraHome_2
    Near the end of the installation, when it's installing the recommended configuration assistants, I get an error while the OC4J Instance Configuration Assistant piece is running.
    Here's the full readout:
    Launched configuration assistant 'OC4J Instance Configuration Assistant'
    Tool type is: Recommended.
    The command being spawned is: '/u01/app/oracle/OraHome_2/jdk/bin/java -Djava.net.preferIPv4Stack=true -Djava.io.tmpdir=/tmp -mx512M -classpath /u01/app/oracle/OraHome_2/dcm/lib/dcm.jar:/u01/app/oracle/OraHome_2/dcm/lib/oc4j_deploy_tools.jar:/u01/app/oracle/OraHome_2/opmn/lib/opmnplugin.jar -Doracle.ias.sysmgmt.logging.logdir=/u01/app/oracle/OraHome_2/j2ee/home/log oracle.j2ee.tools.deploy.Oc4jDeploy -oraclehome /u01/app/oracle/OraHome_2 -verbose -inifile /u01/app/oracle/OraHome_2/j2ee/deploy.ini '
    Start output from spawned process:
    Reading ini file - '/u01/app/oracle/OraHome_2/j2ee/deploy.ini'
    Adding web-app 'wirelesssso-web.war' for app 'wirelesssso'.
    Adding web-app 'web.war' for app 'sso'.
    Adding web-app 'ssohelp.war' for app 'sso'.
    Adding web-app 'pls.war' for app 'sso'.
    OC4J instance 'OC4J_SECURITY': Adding java stop command line option '-server'
    OC4J instance 'OC4J_SECURITY': Adding java command line option '-Xmx512m'
    OC4J instance 'OC4J_SECURITY': Adding Environment variable 'LD_LIBRARY_PATH' with value '/u01/app/oracle/OraHome_2/lib32:/u01/app/oracle/OraHome_2/lib'
    OC4J instance 'OC4J_SECURITY': Adding Environment variable 'DISPLAY' with value 'oracleb.djl.com:0.0'
    Adding web-app 'ui.war' for app 'oiddas'.
    OC4J instance 'OC4J_SECURITY': Adding java stop command line option '-Xss1M'
    Ignoring jvm command-line option '-Xmx512m'. Larger heap already specified with '-Xmx512m'
    OC4J instance 'OC4J_SECURITY': Env Option 'LD_LIBRARY_PATH' already exists with value '/u01/app/oracle/OraHome_2/lib32:/u01/app/oracle/OraHome_2/lib'
    Initializing DCM...done.
    Creating OC4J instance 'OC4J_SECURITY' (protected)...done.
    Adding dependent libraries for application 'default'...done.
    Calling SMI to save changes.
    SMISession.saveChanges succeeded.
    Starting OC4J instance 'OC4J_SECURITY'...done.
    Deploying application 'wirelesssso' to OC4J instance 'OC4J_SECURITY'.
    Notification ==> Application Deployer for wirelesssso STARTS [ 2006-11-27T17:20:23.691EST ]
    Notification ==> Undeploy previous deployment
    Notification ==> Removing files for app file:/u01/app/oracle/OraHome_2/j2ee/OC4J_SECURITY/applications/wirelesssso.ear
    Notification ==> Copy the archive to /u01/app/oracle/OraHome_2/j2ee/OC4J_SECURITY/applications/wirelesssso.ear
    Notification ==> Unpack wirelesssso.ear begins...
    Notification ==> Unpack wirelesssso.ear ends...
    Notification ==> Initialize wirelesssso.ear begins...
    Notification ==> Initialize wirelesssso.ear ends...
    Notification ==> Initialize wirelesssso-web begins...
    Notification ==> Initialize wirelesssso-web ends...
    Notification ==> deleting: /u01/app/oracle/OraHome_2/j2ee/OC4J_SECURITY/applications/wirelesssso.ear
    Notification ==> deleting: /u01/app/oracle/OraHome_2/j2ee/OC4J_SECURITY/applications/wirelesssso/wirelesssso-web.war
    Notification ==> Application Deployer for wirelesssso COMPLETES [ 2006-11-27T17:20:24.193EST ]
    Deploying application 'oiddas' to OC4J instance 'OC4J_SECURITY'.
    Notification ==> Application Deployer for oiddas STARTS [ 2006-11-27T17:20:24.246EST ]
    Notification ==> Undeploy previous deployment
    Notification ==> Removing files for app file:/u01/app/oracle/OraHome_2/j2ee/OC4J_SECURITY/applications/oiddas.ear
    Notification ==> Copy the archive to /u01/app/oracle/OraHome_2/j2ee/OC4J_SECURITY/applications/oiddas.ear
    Notification ==> Unpack oiddas.ear begins...
    Notification ==> Unpack oiddas.ear ends...
    Notification ==> Initialize oiddas.ear begins...
    Notification ==> Initialize oiddas.ear ends...
    Notification ==> Initialize ui begins...
    Notification ==> Initialize ui ends...
    Notification ==> deleting: /u01/app/oracle/OraHome_2/j2ee/OC4J_SECURITY/applications/oiddas.ear
    Notification ==> deleting: /u01/app/oracle/OraHome_2/j2ee/OC4J_SECURITY/applications/oiddas/ui.war
    Notification ==> Application Deployer for oiddas COMPLETES [ 2006-11-27T17:20:28.312EST ]
    Deploying application 'sso' to OC4J instance 'OC4J_SECURITY'.
    Notification ==> Application Deployer for sso STARTS [ 2006-11-27T17:20:28.351EST ]
    Notification ==> Undeploy previous deployment
    Notification ==> Removing files for app file:/u01/app/oracle/OraHome_2/j2ee/OC4J_SECURITY/applications/sso.ear
    Notification ==> Copy the archive to /u01/app/oracle/OraHome_2/j2ee/OC4J_SECURITY/applications/sso.ear
    Notification ==> Unpack sso.ear begins...
    Notification ==> Unpack sso.ear ends...
    Notification ==> Initialize sso.ear begins...
    Notification ==> Initialize sso.ear ends...
    Notification ==> Initialize web begins...
    Notification ==> Initialize web ends...
    Notification ==> Initialize ssohelp begins...
    Notification ==> Initialize ssohelp ends...
    Notification ==> Initialize pls begins...
    Notification ==> Initialize pls ends...
    Notification ==> deleting: /u01/app/oracle/OraHome_2/j2ee/OC4J_SECURITY/applications/sso.ear
    Notification ==> deleting: /u01/app/oracle/OraHome_2/j2ee/OC4J_SECURITY/applications/sso/web.war
    Notification ==> deleting: /u01/app/oracle/OraHome_2/j2ee/OC4J_SECURITY/applications/sso/ssohelp.war
    Notification ==> deleting: /u01/app/oracle/OraHome_2/j2ee/OC4J_SECURITY/applications/sso/pls.war
    Notification ==> Application Deployer for sso COMPLETES [ 2006-11-27T17:20:29.806EST ]
    Calling updateConfig to notify DCM of new deployments...done.
    Adding OC4J mount points for application 'wirelesssso'...done.
    Adding OC4J mount points for application 'oiddas'...done.
    Adding dependent libraries for application 'sso'...done.
    Adding OC4J mount points for application 'sso'...done.
    Calling SMI to save changes.
    SMISession.saveChanges succeeded.
    Binding web app 'wirelesssso-web' to default-web-site for application 'wirelesssso' in OC4J instance 'OC4J_SECURITY'
    Web app 'wirelesssso-web' bound successfully.
    Binding web app 'ui' to default-web-site for application 'oiddas' in OC4J instance 'OC4J_SECURITY'
    Web app 'ui' bound successfully.
    Binding web app 'web' to default-web-site for application 'sso' in OC4J instance 'OC4J_SECURITY'
    ERROR: Caught exception while binding web app 'web' to default-web-site:
    Calling updateConfig to notify DCM of new web-bindings...java.lang.reflect.InvocationTargetException
         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:324)
         at oracle.j2ee.tools.deploy.Oc4jDeploy.doDeploy(Unknown Source)
         at oracle.j2ee.tools.deploy.Oc4jDeploy.execute(Unknown Source)
         at oracle.j2ee.tools.deploy.Oc4jDeploy.deploy(Unknown Source)
         at oracle.j2ee.tools.deploy.Oc4jDeploy.main(Unknown Source)
    Caused by: com.evermind.client.orion.AdminCommandException: Disconnected: RMIConnection Disconnected
         at com.evermind.client.orion.BindWebAppCommand.execute(BindWebAppCommand.java:31)
         at com.evermind.client.orion.Oc4jAdminConsole.executeCommand(Oc4jAdminConsole.java:139)
         ... 8 more
    Caused by: com.evermind.server.rmi.OrionRemoteException: Disconnected: RMIConnection Disconnected
         at com.evermind.server.rmi.RMIConnection.EXCEPTION_ORIGINATES_FROM_THE_REMOTE_SERVER(RMIConnection.java:1621)
         at com.evermind.server.rmi.RMIConnection.invokeMethod(RMIConnection.java:1572)
         at com.evermind.server.rmi.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:55)
         at com.evermind.server.rmi.RecoverableRemoteInvocationHandler.invoke(RecoverableRemoteInvocationHandler.java:22)
         at __Proxy0.bindWebApp(Unknown Source)
         at com.evermind.client.orion.BindWebAppCommand.execute(BindWebAppCommand.java:28)
         ... 9 more
    done.
    Adding application 'wirelesssso' to the DCM repository...done.
    Application 'wirelesssso' deployed successfully.
    Adding application 'oiddas' to the DCM repository...done.
    Application 'oiddas' deployed successfully.
    Undeploying application 'sso' from OC4J instance 'OC4J_SECURITY'.
    java.lang.reflect.InvocationTargetException
         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:324)
         at oracle.j2ee.tools.deploy.Oc4jDeploy.doDeploy(Unknown Source)
         at oracle.j2ee.tools.deploy.Oc4jDeploy.execute(Unknown Source)
         at oracle.j2ee.tools.deploy.Oc4jDeploy.deploy(Unknown Source)
         at oracle.j2ee.tools.deploy.Oc4jDeploy.main(Unknown Source)
    Caused by: com.evermind.client.orion.AdminCommandException: IOException communicating with the remote server: Connection reset
         at com.evermind.client.orion.Oc4jAdminConsole.executeCommand(Oc4jAdminConsole.java:121)
         ... 8 more
    Caused by: java.net.SocketException: Connection reset
         at java.net.SocketInputStream.read(SocketInputStream.java:168)
         at java.io.BufferedInputStream.fill(BufferedInputStream.java:183)
         at java.io.BufferedInputStream.read(BufferedInputStream.java:201)
         at com.evermind.server.rmi.RMIConnection.connect(RMIConnection.java:2508)
         at com.evermind.server.rmi.RMIConnection.connect(RMIConnection.java:2361)
         at com.evermind.server.rmi.RMIConnection.lookup(RMIConnection.java:1800)
         at com.evermind.server.rmi.RMIServer.lookup(RMIServer.java:725)
         at com.evermind.server.rmi.RMIContext.lookup(RMIContext.java:149)
         at com.evermind.client.orion.Oc4jAdminConsole.executeCommand(Oc4jAdminConsole.java:106)
         ... 8 more
    FAILED!
    ERROR: Caught exception while undeploying 'sso' from 'OC4J_SECURITY':
    Removing OC4J mount points for application 'sso'...done.
    Calling SMI to save changes.
    SMISession.saveChanges succeeded.
    Calling updateConfig to notify DCM of undeployments...done.
    Stopping OC4J instance 'OC4J_SECURITY'...done.
    Calling SMI to retry init of failed plugins...done.
    Terminating DCM...done.
    Copying /u01/app/oracle/OraHome_2/j2ee/deploy.ini to /u01/app/oracle/OraHome_2/j2ee/deploy.ini.1164667126315.bak.
    Writing any undeployed entries back to /u01/app/oracle/OraHome_2/j2ee/deploy.ini.
    Oc4jDeploy tool completed, but with errors.
    End output from spawned process.
    Any help is appreciated, thanks!

    Hi, did you ever resolve this problem? We've got the same error.
    Cheers,
    Eystein

  • Error while create user in LDAP - LDAP: error code 1

    Hi Guy's, I am getting below error while creating user in LDAP MS AD.
    cn=3001,ou=sAP_IDM,dc=springswf,dc=comcn<mx:TEXT>putNextEntry failed storingOU=SAP_IDM,DC=springswf,DC=com</mx:TEXT>
    <mx:LTEXT>Exception from Add operation:javaxnaming.NamingException: {LDAP: error code 1 = 00000000: LdapErr: DSID-OC090AE2, coment: In order to perform this operation a successful bind must be completed on the connection.,data0,vece
    Steps I am following:
    1. create a job through wizard and pick from (IC->jobs->Active Directory->Create Active Directory User)
    2. Destination tab values that I am passing:
    dn: cn=Dummyuser,ou=SAP_IDM,dc=<main domain>,dc=com
    objectClass: top|person|organizationalPerson|user
    sn: Surname
    givenName: GivenName
    displayName: Dummy user displayname
    Under <main domain> an OU has been created called SAP_IDM for testing user creation from IDM.
    Admin user account created called <XYZ> and has full control over SAP_IDM OU.
    I am passing <XYZ> credentials into my job for user creation.
    Thanks for you help!

    Farhan,
    Based on the error message presented,
    In order to perform this operation a successful bind must be completed on the connection
    Make sure that you're using the correct information to do the AD Bind.  User name should be something like cn=administrator,cn=users,dc=xxx,dc=xxx and the proper password.
    Matt

  • Error while patching OIM with BP06

    Hi ,
    I am facing error while patching OIM 11.1.1.5.0 with BP 06.
    Please see the logs below:-
    patch:
    [input] skipping input as property weblogic_password has already been set.
    [echo] unzipping the archives.....
    explode-archived-apps:
    [delete] Deleting directory /apps/oracle/middleware/Oracle_IDM1/server/apps/oim.ear
    [delete] Deleting directory /apps/oracle/middleware/Oracle_IDM1/server/apps/Nexaweb.ear
    [mkdir] Created dir: /apps/oracle/middleware/Oracle_IDM1/server/apps/oim.ear
    [mkdir] Created dir: /apps/oracle/middleware/Oracle_IDM1/server/apps/Nexaweb.ear
    [unzip] Expanding: /apps/oracle/middleware/Oracle_IDM1/server/patching/oim.ear into /apps/oracle/middleware/Oracle_IDM1/server/apps/oim.ear
    [unzip] Expanding: /apps/oracle/middleware/Oracle_IDM1/server/patching/Nexaweb.ear into /apps/oracle/middleware/Oracle_IDM1/server/apps/Nexaweb.ear
    [echo] archives unzipped successfully.....
    [echo]           seeding the out of the box jobs into db
    seed-ootb-jobs:
    seed-ootb-jobs:
    [echo] ----> SEEDING OUT OF THE BOX SCHEDULE JOBS AND TRIGGERS
    [java] Mar 25, 2013 7:32:31 PM org.quartz.core.QuartzScheduler <init>
    [java] INFO: Quartz Scheduler v.1.6.0 created.
    [java] Mar 25, 2013 7:32:31 PM org.quartz.impl.jdbcjobstore.JobStoreSupport initialize
    [java] INFO: Using thread monitor-based data access locking (synchronization).
    [java] Mar 25, 2013 7:32:31 PM org.quartz.impl.jdbcjobstore.JobStoreSupport cleanVolatileTriggerAndJobs
    [java] INFO: Removed 0 Volatile Trigger(s).
    [java] Mar 25, 2013 7:32:31 PM org.quartz.impl.jdbcjobstore.JobStoreSupport cleanVolatileTriggerAndJobs
    [java] INFO: Removed 0 Volatile Job(s).
    [java] Mar 25, 2013 7:32:31 PM org.quartz.impl.jdbcjobstore.JobStoreTX initialize
    [java] INFO: JobStoreTX initialized.
    [java] Mar 25, 2013 7:32:31 PM org.quartz.impl.StdSchedulerFactory instantiate
    [java] INFO: Quartz scheduler 'OIMQuartzScheduler' initialized from an externally provided properties instance.
    [java] Mar 25, 2013 7:32:31 PM org.quartz.impl.StdSchedulerFactory instantiate
    [java] INFO: Quartz scheduler version: 1.6.0
    [java] Mar 25, 2013 7:32:36 PM org.quartz.core.QuartzScheduler shutdown
    [java] INFO: Scheduler OIMQuartzScheduler_$_NON_CLUSTERED shutting down.
    [java] Mar 25, 2013 7:32:36 PM org.quartz.core.QuartzScheduler standby
    [java] INFO: Scheduler OIMQuartzScheduler_$_NON_CLUSTERED paused.
    [java] Mar 25, 2013 7:32:36 PM org.quartz.core.QuartzScheduler shutdown
    [java] INFO: Scheduler OIMQuartzScheduler_$_NON_CLUSTERED shutdown complete.
    [echo] ----> SEEDING COMPLETE LOG FILE
    [echo] ----> LOG FILE : ${work.dir}
    [echo] jobs seded succefully.....
    [echo]           updating the oes out of the box policies in oim db
    update-oes-ootb-policies:
    update-oes-ootb-policies:
    [echo] ----> UPDATING OUT OF THE BOX OES POLICIES     
    [java] [EL Info]: 2013-03-25 19:32:45.952--ServerSession(139722802)--EclipseLink, version: Eclipse Persistence Services - 1.1.0.r3634
    [java] [EL Info]: 2013-03-25 19:32:48.824--ServerSession(139722802)--file:/apps/oracle/middleware/Oracle_IDM1/modules/oracle.oes_11.1.1/jps-internal.jar-JpsDBDataManager login successful
    [echo] ----> SEEDING COMPLETE LOG FILE
    [echo] ----> LOG FILE : /apps/oracle/middleware/Oracle_IDM1/server/seed_data/Seed/OESPolicies
    [echo] oes policies updated successfully..
    [echo]           upgrading the oes-ootb policies accordin g to the patched xml
    upgrade-oes-ootb-policies:
    upgrade-oes-ootb-policies:
    [echo] ----> UPDATING OUT OF THE BOX OES POLICIES     
    [java] java.io.IOException: No such file or directory
    [java]      at java.io.UnixFileSystem.createFileExclusively(Native Method)
    [java]      at java.io.File.createNewFile(File.java:883)
    [java]      at oracle.iam.authzpolicydefn.loader.PolicyLoadDataLogger.createLogFile(PolicyLoadDataLogger.java:68)
    [java]      at oracle.iam.authzpolicydefn.loader.PolicyLoader.main(PolicyLoader.java:196)
    [java] Exception in thread "Main Thread" java.lang.NullPointerException
    [java]      at java.lang.Throwable.printStackTrace(Throwable.java:508)
    [java]      at oracle.iam.authzpolicydefn.loader.PolicyLoadDataLogger.createLogFile(PolicyLoadDataLogger.java:73)
    [java]      at oracle.iam.authzpolicydefn.loader.PolicyLoader.main(PolicyLoader.java:196)
    BUILD FAILED
    /apps/oracle/middleware/Oracle_IDM1/server/setup/deploy-files/setup.xml:94: The following error occurred while executing this line:
    /apps/oracle/middleware/Oracle_IDM1/server/setup/deploy-files/setup.xml:215: The following error occurred while executing this line:
    /apps/oracle/middleware/Oracle_IDM1/server/seed_data/seed-rcu-data.xml:136: Java returned: 1
    Total time: 2 minutes 25 seconds
    I have seen similar error on forum but it has not been answered.
    I have set all variables correctly and the directory has all permissions as well.
    Please let me know what I am missing here.
    Thanks in advance.

    Hi,
    Thanks for your help.
    The directory was already created during patch execution.
    My error was related to MDS password.
    The password for mds was different from OIM password so the patch errored out.
    Once the mds password was updated correctly in the profile file, the patch executed successfully.

  • Error while sending emails from SOA 11G BPEL

    Hi All,
    I have configured an error email in my catch/catch-all blocks. Incase I dont have any retry action in my faultpolicies.xml file, the error email is sent fine. However if any remote/binding fault occurs and retry is done on partnerlink, in those cases the Error Notification service fails with below error:
    ORABPEL-31015
    Error while sending notification.
    Error while sending notification to email.
    Possible causes : SDPMessaging Driver not configured; Invalid To Address is used; Email server/Messaging gateway is down; using IP address as part of email ID instead of domain name;.
    Caused by: javax.naming.NameNotFoundException: While trying to look up comp/env/ejb/services/NotificationServiceBean in /app/ejb/ejb_ob_engine_wls.jar#BPELActivityManagerBean.; remaining name 'comp/env/ejb/services/NotificationServiceBean'
    sendEmailNotification WSIF Exception occured. Please check stack trace "Cannot get Object part 'Responses'. No parts are set on the message"
    If I throw a remote/binding fault (throw activity), the error email gets sent. However whenever the retry happens incase of a fault, the above error comes.
    Any idea what can be reason behing this...
    Regards
    Subhankar

    try to call a sub process from your catch all block and use the email activity in that subprocess. this should work

Maybe you are looking for

  • IPOD Shuffle not recognized by XP out of box

    I need some help. My IPOD shuffle is not being read at all. I put the install CD in the computer and get error 1607, can not install. What do I do? Thanks in advance. Alan

  • Problems with reinstall Creative Suite CS4 win7 64

    Windows 7 64bit (I'm from germany, please talk nerdy with me for understanding) yesterday: installed programs: cs4 creative suite cs 6 photoshop reason for deinstall cs4 creative suite: i need onl PS CS6 and not PS CS4 anymore. need place at C: my ta

  • How to test message mapping in XMLSPY if two receive message types exist?

    Hi gurus, In our message mapping, we have one send message and two receive messages, the testing is ok in message mapping test tool in ESR. While in XMLSPY, it gave the error because of the reason as follows: <ns0:Messages xmlns:ns0="http://sap.com/x

  • Site of the day 21-nov-2014

    Hello people, I was browsing the "site of the day" page to find some inspiration and I got into a website with a layout that I'd like to recreate, sort of... This is the one: http://www.astridantun.no Vertical layout, with fullscreen background image

  • Headphones Not Working

    I get no sound from my headphone jack. I checked the sound settings in "system preferences" and it recognizes when my headphones or external speakers are plugged in but there is no sound. My internal speakers work though. Someone please help, it grea