OIM Custom File Connector

Hi Guys,
I'm new to custom connector development. I'm developing a custom file connector for OIM. The AIM is that when a user is added to OIM a custom file connector is invoked and the user should dumped into a file. Can some one outline high level step to follow to accomplish the following task? Also can someone suggest good resources which will help for the development?
Thanks in advance for help.
Regards,
Prasad Shinde

just write a post process event handler, which will trigger on create user.
Now write a java code(file handling) to write on the file for current user data. The data will be available in Orchestration
http://docs.oracle.com/cd/E14571_01/doc.1111/e14309/oper.htm#CCHHHGEC
If you need periodic (ie twice or thrice a day) then implement Scheduled task.

Similar Messages

  • Custom Flat file connector

    All,
    I have a clustered environment with OIM 11gR2.
    And I have developed a custom flat file connector using a schedule job and it is working properly.
    The issue is when I run the job manually, it is running only on one node from which I triggered manually. In this run, the calll not at all going to second node.
    Please let me know how to make it is being processed in all the nodes that are in the cluster.

    There are 2 ways to create Scheduler in 11g.
    1. Extending SchedulerBaseTask - 10g approach. This requires that jar file containing the code to be placed in ScheduleTask folder in all the servers of weblogic cluster.
    2. Extending TaskSupport - 11g approach. This requires importing metadata for scheduler and registering the scheduler code as plugin.
    If you following approach 1, check if the jar file is placed in all the managed servers of weblogic cluster.
    For the second approach, since it is registered in DB, job trigger would work from any member of the cluster.

  • Flat file connector : provisioning failed

    Hi All,
    I'm developing a custom flat file connector, so that when a resource is provisioned to a user the connector will dump the user data to a file. I have created the connector and plugged in it OIM. When I'm provisioning the user, The provisioning fails throwing the following exception. Any help on this is appreciated. Thanks in advance for help.
    ####<Sep 27, 2012 5:40:54 AM PDT> <Error> <HTTP> <michelson> <oim_server1> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1348749654015> <BEA-101017> <[ServletContext@1183994828[app:oim module:xlWebApp path:/xlWebApp spec-version:2.5 version:11.1.1.3.0]] Root cause of ServletException.
    javax.servlet.jsp.JspException: Can't insert page '/tiles/common/tjspHeader.jsp' : Software caused connection abort: socket write error
         at org.apache.struts.tiles.taglib.InsertTag$InsertHandler.doEndTag(InsertTag.java:902)
         at org.apache.struts.tiles.taglib.InsertTag.doEndTag(InsertTag.java:465)
         at jsp_servlet._layouts.__tjspclassiclayout._jsp__tag1(__tjspclassiclayout.java:302)
         at jsp_servlet._layouts.__tjspclassiclayout._jspService(__tjspclassiclayout.java:236)
         at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:183)
         at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:523)
         at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:444)
         at weblogic.servlet.jsp.PageContextImpl.include(PageContextImpl.java:163)
         at weblogic.servlet.jsp.PageContextImpl.include(PageContextImpl.java:184)
         at sun.reflect.GeneratedMethodAccessor1107.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at org.apache.struts.tiles.TilesUtilImpl.doInclude(TilesUtilImpl.java:129)
         at org.apache.struts.tiles.TilesUtil.doInclude(TilesUtil.java:152)
         at org.apache.struts.tiles.taglib.InsertTag.doInclude(InsertTag.java:764)
         at org.apache.struts.tiles.taglib.InsertTag$InsertHandler.doEndTag(InsertTag.java:896)
         at org.apache.struts.tiles.taglib.InsertTag.doEndTag(InsertTag.java:465)
         at jsp_servlet._pages.__taskdetailspage._jsp__tag0(__taskdetailspage.java:111)
         at jsp_servlet._pages.__taskdetailspage._jspService(__taskdetailspage.java:76)
         at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.ServletStubImpl.onAddToMapException(ServletStubImpl.java:416)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:326)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:183)
         at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:523)
         at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:253)
         at org.apache.struts.chain.commands.servlet.PerformForward.handleAsForward(PerformForward.java:113)
         at org.apache.struts.chain.commands.servlet.PerformForward.perform(PerformForward.java:96)
         at org.apache.struts.chain.commands.AbstractPerformForward.execute(AbstractPerformForward.java:54)
         at org.apache.struts.chain.commands.ActionCommandBase.execute(ActionCommandBase.java:51)
         at org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:191)
         at org.apache.commons.chain.generic.LookupCommand.execute(LookupCommand.java:305)
         at org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:191)
         at org.apache.struts.chain.ComposableRequestProcessor.process(ComposableRequestProcessor.java:283)
         at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
         at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:462)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at com.thortech.xl.webclient.security.CSRFFilter.doFilter(CSRFFilter.java:76)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.iam.platform.auth.web.PwdMgmtNavigationFilter.doFilter(PwdMgmtNavigationFilter.java:121)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.iam.platform.auth.web.OIMAuthContextFilter.doFilter(OIMAuthContextFilter.java:107)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
         at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    >
    ####<Sep 27, 2012 5:40:54 AM PDT> <Notice> <Diagnostics> <michelson> <oim_server1> <[STANDBY] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1348749654015> <BEA-320068> <Watch 'UncheckedException' with severity 'Notice' on server 'oim_server1' has triggered at Sep 27, 2012 5:40:54 AM PDT. Notification details:
    WatchRuleType: Log
    WatchRule: (SEVERITY = 'Error') AND ((MSGID = 'WL-101020') OR (MSGID = 'WL-101017') OR (MSGID = 'WL-000802') OR (MSGID = 'BEA-101020') OR (MSGID = 'BEA-101017') OR (MSGID = 'BEA-000802'))
    WatchData: DATE = Sep 27, 2012 5:40:54 AM PDT SERVER = oim_server1 MESSAGE = [ServletContext@1183994828[app:oim module:xlWebApp path:/xlWebApp spec-version:2.5 version:11.1.1.3.0]] Root cause of ServletException.
    javax.servlet.jsp.JspException: Can't insert page '/tiles/common/tjspHeader.jsp' : Software caused connection abort: socket write error
         at org.apache.struts.tiles.taglib.InsertTag$InsertHandler.doEndTag(InsertTag.java:902)
    These are teh error details which i got from resource history tab(user->resources->resource history) :
    Error Details
    Sep 27, 2012: Adapter Execution Error: could not get value for , Table = UD_FLAT_FIL.Setting task status... "ADAPTER_ERROR" does not correspond to a known Response Code. Using "UNKNOWN".
    Thanks and Regards,
    Prasad

    These are the errors from the oimserver_diagnostic log file
    [2012-09-27T06:27:34.906-07:00] [oim_server1] [WARNING] [] [org.apache.struts.chain.commands.AbstractExceptionHandler] [tid: [ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: xelsysadm] [ecid: 0000Jc7uIcwFs1WFLz7U8A1GP47E00005E,0] [APP: oim#11.1.1.3.0] Unhandled exception[[
    javax.servlet.ServletException: javax.servlet.jsp.JspException: Can't insert page '/tiles/common/tjspHeader.jsp' : Software caused connection abort: socket write error
         at weblogic.servlet.jsp.PageContextImpl.handlePageException(PageContextImpl.java:417)
         at jsp_servlet._layouts.__tjspclassiclayout._jspService(__tjspclassiclayout.java:274)
         at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:183)
         at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:523)
         at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:444)
         at weblogic.servlet.jsp.PageContextImpl.include(PageContextImpl.java:163)
         at weblogic.servlet.jsp.PageContextImpl.include(PageContextImpl.java:184)
         at sun.reflect.GeneratedMethodAccessor1107.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at org.apache.struts.tiles.TilesUtilImpl.doInclude(TilesUtilImpl.java:129)
         at org.apache.struts.tiles.TilesUtil.doInclude(TilesUtil.java:152)
         at org.apache.struts.tiles.taglib.InsertTag.doInclude(InsertTag.java:764)
         at org.apache.struts.tiles.taglib.InsertTag$InsertHandler.doEndTag(InsertTag.java:896)
         at org.apache.struts.tiles.taglib.InsertTag.doEndTag(InsertTag.java:465)
         at jsp_servlet._pages.__taskdetailspage._jsp__tag0(__taskdetailspage.java:111)
         at jsp_servlet._pages.__taskdetailspage._jspService(__taskdetailspage.java:76)
         at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:183)
         at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:523)
         at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:253)
         at org.apache.struts.chain.commands.servlet.PerformForward.handleAsForward(PerformForward.java:113)
         at org.apache.struts.chain.commands.servlet.PerformForward.perform(PerformForward.java:96)
         at org.apache.struts.chain.commands.AbstractPerformForward.execute(AbstractPerformForward.java:54)
         at org.apache.struts.chain.commands.ActionCommandBase.execute(ActionCommandBase.java:51)
         at org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:191)
         at org.apache.commons.chain.generic.LookupCommand.execute(LookupCommand.java:305)
         at org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:191)
         at org.apache.struts.chain.ComposableRequestProcessor.process(ComposableRequestProcessor.java:283)
         at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
         at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:462)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at com.thortech.xl.webclient.security.CSRFFilter.doFilter(CSRFFilter.java:76)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.iam.platform.auth.web.PwdMgmtNavigationFilter.doFilter(PwdMgmtNavigationFilter.java:121)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.iam.platform.auth.web.OIMAuthContextFilter.doFilter(OIMAuthContextFilter.java:107)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
         at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    Caused by: javax.servlet.jsp.JspException: Can't insert page '/tiles/common/tjspHeader.jsp' : Software caused connection abort: socket write error
         at org.apache.struts.tiles.taglib.InsertTag$InsertHandler.doEndTag(InsertTag.java:902)
         at org.apache.struts.tiles.taglib.InsertTag.doEndTag(InsertTag.java:465)
         at jsp_servlet._layouts.__tjspclassiclayout._jsp__tag1(__tjspclassiclayout.java:302)
         at jsp_servlet._layouts.__tjspclassiclayout._jspService(__tjspclassiclayout.java:236)
         ... 70 more
    [2012-09-27T06:27:34.906-07:00] [oim_server1] [WARNING] [] [XELLERATE.SERVER] [tid: [ACTIVE].ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: xelsysadm] [ecid: 0000Jc7uIcwFs1WFLz7U8A1GP47E00005F,0] [APP: oim#11.1.1.3.0] readme.txt is not a valid connector resource file.
    [2012-09-27T06:27:34.906-07:00] [oim_server1] [WARNING] [] [XELLERATE.SERVER] [tid: [ACTIVE].ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: xelsysadm] [ecid: 0000Jc7uIcwFs1WFLz7U8A1GP47E00005F,0] [APP: oim#11.1.1.3.0] readme.txt is not a valid connector resource file.
    [2012-09-27T06:27:34.906-07:00] [oim_server1] [WARNING] [] [org.apache.struts.chain.commands.ExceptionCatcher] [tid: [ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: xelsysadm] [ecid: 0000Jc7uIcwFs1WFLz7U8A1GP47E00005E,0] [APP: oim#11.1.1.3.0] Exception from exceptionCommand 'servlet-exception'[[
    javax.servlet.ServletException: javax.servlet.jsp.JspException: Can't insert page '/tiles/common/tjspHeader.jsp' : Software caused connection abort: socket write error
         at weblogic.servlet.jsp.PageContextImpl.handlePageException(PageContextImpl.java:417)
         at jsp_servlet._layouts.__tjspclassiclayout._jspService(__tjspclassiclayout.java:274)
         at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:183)
         at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:523)
         at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:444)

  • Syslog Collector w/ File Connector Parsing Issue

    Dear all,
    Recently, I had a requirement from a customer.
    They have various Linux systems. They want to pass all syslog to
    sentinel, but not by syslog connector for some reasons.
    Therefore, they throw us those syslog in text file, and ftp it for
    sentinel reading.
    The problem is that this.RXBufferstring could not be 100% parsed in all
    kinds of messages. Sometimes there would be error.
    But when they use Syslog connector. Every event fields seem to be parsed
    correctly.
    So is there any methods to use syslog collector w/file connector
    correctly?
    Or how do people handle this kind of problem?
    Please assist. Thanks a lot.
    andy_ho
    andy_ho's Profile: https://forums.netiq.com/member.php?userid=4568
    View this thread: https://forums.netiq.com/showthread.php?t=51453

    On 08/01/2014 04:26 AM, andy ho wrote:
    >
    > Dear all,
    >
    > Recently, I had a requirement from a customer.
    >
    > They have various Linux systems. They want to pass all syslog to
    > sentinel, but not by syslog connector for some reasons.
    > Therefore, they throw us those syslog in text file, and ftp it for
    > sentinel reading.
    >
    > The problem is that this.RXBufferstring could not be 100% parsed in all
    > kinds of messages. Sometimes there would be error.
    > But when they use Syslog connector. Every event fields seem to be parsed
    > correctly.
    >
    > So is there any methods to use syslog collector w/file connector
    > correctly?
    > Or how do people handle this kind of problem?
    No supported way, no. The testing between collector and connector is done
    so that certain methods are easy, reliable, and supported. Just because
    data are grabbed from one media (network, syslog specifically) and written
    to another (file) does not mean that nothing else is changed, and the
    syslog collectors may be assuming other properties (such as the event
    source IP address) are there when they are not.
    You can probably make this work, but you'll likely need to customize the
    collector in order to do it. The alternative is to use the debugging
    feature of the collector to find out what is wrong with certain events and
    possibly modify them on the event source side. Either way, you're going
    to have a scenario that is not supported so it may be worth revisiting the
    requirement to use a file vs. syslog just in case support matters more
    than the "for some reasons" that they want to go with a file.
    Good luck.
    If you find this post helpful and are logged into the web interface,
    show your appreciation and click on the star below...

  • AD-OIM password synchronization connector error

    Hi,
    I have installed the AD password synchronization connector 9.1.1. to Windows 2003 SP2 server successfully. When I reset the users password I can see from the 20091217OIMMain.log file the following errors:
    Debug [12/17/2009 2:08:31 PM] The SOAP start element is
    Debug [12/17/2009 2:08:31 PM] <SPMLv2Document xmlns="http://xmlns.oracle.com/OIM/provisioning">
    Debug [12/17/2009 2:08:31 PM] The SOAP end element is
    Debug [12/17/2009 2:08:31 PM] </SPMLv2Document>
    Debug [12/17/2009 2:08:31 PM] The path is
    Debug [12/17/2009 2:08:31 PM] /spmlws/HttpSoap11
    Debug [12/17/2009 2:08:31 PM] End of sgsloidi::setParameters
    Debug [12/17/2009 2:08:31 PM] <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Header/><env:Body><env:Fault xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><faultcode xmlns="">env:Server</faultcode><faultstring
    xmlns="">Internal Server Error</faultstring><faultactor xmlns=""></faultactor></env:Fault></env:Body></env:Envelope>
    Debug [12/17/2009 2:08:31 PM] Inside sgsloidiOIMGeneralErrorHandler
    Debug [12/17/2009 2:08:31 PM] Unable to update USR_NAME. There are error messages in the searchReponse. Please check log for details
    Debug [12/17/2009 2:08:32 PM] Password updation failed in child process
    Where is this searchResponce log file? I tried to see all the Windows log files, which has been updated after my password reset, but none of them has any errors which makes sense or the time would match. Also in 20091216043_PasswordChange.log everthing seems to go okay.
    SPML web service is deployed and up and I can hit that URL from my machine. I don't get any printouts to the OIM log file.
    Any ideas...? Thanks a bunch!
    -J-

    1. Check your ports, make sure they are open.
    2. For password sync you'll need to have SSL certificates configured so AD, OIM and the connector can talk securely. Make sure the proper keystore is used and certificate is present on all 3 (the connector includes the guide to install them)
    With the above I got my connector working to this point. Hope that helps.
    - JP

  • Webstart - Registering a custom file type

    I'm trying to use a jnlp file to register a custom file type (*.flf) with Windows XP / Vista. I have added the following line to the jnlp file near the bottom (right by the main class tag):
    <association extensions="flf" mime-type="application-x/flf" />On some sites I have found this listed as mime type first and extensions second and also with just a > no the end without a />. Neither seems to be working. I also found it listed inside the information section but this didn't work either.
    Am I missing something blindingly obvious? For reference heres the entire jnlp file
    <?xml version="1.0" encoding="utf-8"?>
    <!-- JNLP File for SimpleExample Application -->
      <jnlp codebase="http://ukpcw032:8080/jclock" href="jFreelancer.jnlp">
        <information>
           <title>CVC Freelancer Time Sheets</title>
           <vendor>CVC</vendor>
           <description>CVC Freelancer Time Sheets - Program to allow freelancers to generate their time sheets for submission.</description>
           <description kind="short">Fee</description>
           <offline-allowed/>
           <icon href="images/overview.png" />
           <icon kind="splash" href="images/splash.jpg" with="365" height="260"/>
           <shortcut>
           <desktop/>
           <menu submenu="CVC"/>
           </shortcut>
         </information>
         <resources>
           <j2se version="1.6"/>
           <jar href="jFreelancer.jar"/>
           <jar href="libs/mysql-connector-java-5.1.6-bin.jar"/>
           <jar href="libs/iText-2.1.3.jar"/>
           <jar href="libs/DateChooser.jar"/>
           <jar href="libs/dsn.jar" />
           <jar href="libs/imap.jar" />
           <jar href="libs/pop3.jar" />
           <jar href="libs/smtp.jar" />
           <jar href="libs/mailapi.jar" />
         </resources>
         <security>
           <all-permissions/>
         </security>
         <association extensions="flf" mime-type="application-x/flf" />
         <application-desc main-class="freelancer.UserLogin"/>
    </jnlp>

    That JNLP file is invalid. Try this variant..
    <?xml version="1.0" encoding="utf-8"?>
    <!-- JNLP File for SimpleExample Application -->
      <jnlp codebase="http://ukpcw032:8080/jclock" href="jFreelancer.jnlp">
        <information>
           <title>CVC Freelancer Time Sheets</title>
           <vendor>CVC</vendor>
           <description>CVC Freelancer Time Sheets - Program to allow freelancers to generate their time sheets for submission.</description>
           <description kind="short">Fee</description>
           <icon href="images/overview.png" />
           <icon kind="splash" href="images/splash.jpg" width="365" height="260"/>
           <offline-allowed/>
           <shortcut>
           <desktop/>
           <menu submenu="CVC"/>
           </shortcut>
         <association extensions="flf" mime-type="application-x/flf" />
         </information>
         <security>
           <all-permissions/>
         </security>
         <resources>
           <j2se version="1.6"/>
           <jar href="jFreelancer.jar"/>
           <jar href="libs/mysql-connector-java-5.1.6-bin.jar"/>
           <jar href="libs/iText-2.1.3.jar"/>
           <jar href="libs/DateChooser.jar"/>
           <jar href="libs/dsn.jar" />
           <jar href="libs/imap.jar" />
           <jar href="libs/pop3.jar" />
           <jar href="libs/smtp.jar" />
           <jar href="libs/mailapi.jar" />
         </resources>
         <application-desc main-class="freelancer.UserLogin"/>
    </jnlp>I also have a demo of the [FileOpen/SaveService|http://pscode.org/jws/api.html#fs] that you might also test, but I just noticed that launch file is also slightly invalid. I have seen it work on Win XP using Java 1.6 though.
    Edit 1:
    I used YAXV to validate the launch file against an XSD that is based on the DTD distributed by Sun. YAXV is freeware, and I highly recommend* using it to check the JNLP file(s) for any JWS launch that does not work as expected.
    * OK - I wrote it, so I might be biased. ;-)
    Edited by: AndrewThompson64 on Aug 12, 2008 11:05 PM

  • Custom CMIS Connector MoveHandler Cache issue

    Hi everybody.
    At the momment I'm working the custom CMIS connector, that should work only with Alfresco. Connector is almost done, but I'm having strange issue with MoveHandler. What happens is when I move file into another directory, and try to move it back, Windows Explorer display the message like the file already exists, and do I want to replace, rename or cancel moving. The same thing happens with moving folders. After initial move, asset is really moved, I checked on Alfresco, and also Adobe Drive displays that the asset is moved into right directory. So, probably there are some cache leftovers after first move. I followed next procedure: rename asset, than delete if exists in destination directory, than move, and than UpdateRecipe for destination object. I tried even to create delete recipe for original file, but it didn't help. Can anybody help me please?
    Thanks in advance

    Hi everybody.
    At the momment I'm working the custom CMIS connector, that should work only with Alfresco. Connector is almost done, but I'm having strange issue with MoveHandler. What happens is when I move file into another directory, and try to move it back, Windows Explorer display the message like the file already exists, and do I want to replace, rename or cancel moving. The same thing happens with moving folders. After initial move, asset is really moved, I checked on Alfresco, and also Adobe Drive displays that the asset is moved into right directory. So, probably there are some cache leftovers after first move. I followed next procedure: rename asset, than delete if exists in destination directory, than move, and than UpdateRecipe for destination object. I tried even to create delete recipe for original file, but it didn't help. Can anybody help me please?
    Thanks in advance

  • Custom ICF Connector; Upd ChildTableValues (delete) not sending group name

    I'm building a custom ICF connector implemented as a .Net bundle. The UpdateChildTableValues operations for add and update on groups pass the group name into the code but the delete does not. There doesn't seem to be any indication of the operation itself for groups so it seems the developer must handle target group memberships in the code, which is fine. However, if a delete doesn't send the group name, how do I know what group to even look for? It seems this also adds the burden of API calls against OIM to identify the user's group assignments as well as a target search to compare and decide what was removed.
    OIM 11gR1 on RHEL 6.4 (64-bit)
    11.1.2 Connector Server on Win2K8R2 (64-bit)
    .Net 4 target build/C# 4.0

    You have 2 options when working with child tables:
    1) use ICProvisioningManager#updateChildTableValues -- this provides the list of values after the update, so let's say the attribute has values group1, group2, group3, you remove group1 then the UpdateOp#update with attribute values group2, group3 will be called on your connector (so in this case your connector needs to implement UpdateOp). You are right, it might mean additional target API call in your connector (depending on target).
    2) use ICProvisioningManager#addChildTableValue, ICProvisioningManager#updateChildTableValue, ICProvisioningManager#removeChildTableValue -- when you use these methods, the connector will get the changes only. In the previous example UpdateAttributeValuesOp#removeAttributeValues with value group1 would be called on your connector. You connector needs to implement UpdateAttributeValuesOp to make this work.
    Tomas

  • Writing Customized AD Connector.

    Expert,
    My New client has a requirment that , they dont want to buy OOTB AD connector for project (OIM 9.1.0.1). So I have to write a custom AD Connector for project.
    Need your help to know what all componant i need to write/configure apart from Java Code. like Look-up , IT Resource etc.
    It would be more helpful , if you reply with ..which all componant use for what?
    Cheers
    Edited by: OIMAndMe on Jan 9, 2013 7:01 PM

    You should anyway download the OOTB AD connector,
    learn the connector architecture thoroughly,
    Learn how to make JNDI calls by Google online tutorials
    Learn all the components provided by the connector
    And Then develop only those components which are needed by your customer requirement
    I hope that since your customer is not ready to bye the connector, their requirements too should be comparatively simpler.
    Even then This is going to be a month long effort, may be more. Moreover Oracle won't provide any support for any custom connector you develop in house particularly when your customer does not want to use one of the most popular connectors.
    If you are comfortable with JNDI call technique things should be comparatively easier. So first of all focus on JNDI tutorials for 2/3 days.
    Once you are comfortable with normal provisioning operations like user creation, group creation, group assignment, fetching and searching of users, groups and OUs you should go for next stage.
    Then install OOTB connector in any test machine and learn its various components. Go through basic online training about OIM about Resources, lookups etc.
    You must study a lot, learn a lot and implement a lot. It would be a good learning experience. However it would be quite time consuming and painful too.
    Also cost wise too, purchasing OOTB connector seems to be good idea because it anyway will take you one month effort minimum.

  • "OIM Database Application Connector" is Recon the same user many times!

    Hey,
    I am facing an interesting issue that my OIM Database Application Connector is reconning (Creating) the same user many times.
    I have created/configured the "OIM DB Application Connector" which should Recon the new user in to OIM when ever new user created in the database via portal. I scheduled the connector every 15 min. The connector is working as expected and creating new OIM user if any new user has created in the DB table.
    Issue here is: I have created one user in the table which has reconed to OIM and I can see the entry in design console Recon Manager table. After 15 min when connecotr is run it is picking up the same user. So it is picking the same user every time it runs!!!. It stops picking the user after some time, but dont have exact time when it stop picking the user. But I could see min 25+ times same user and all the time the status is EVENT LINKED. Any idea please why it is happening. My matching criteria is Time Stamp Attribute: "Updated_By_Sysate" & Unique Attribute = "User_ID".
    My Env:
    OIM Version: 9101
    Server : Weblogic
    DB : SQL Server 2005 (Source DB)
    Any idea please?
    thanks
    kln

    1) Yes, you should add in your resource object all fields that are defined in xel_data_source parameters of config.xml file.
    2) Correct. You have to create a user defined field in your form designer and map it to a column in your process definition (reconciliation field mapping tab).
    3) Reconciliation rule is the rule that OIM use to link Database users and OIM users. You need to create a recon rule using an attribute who has the same value in both systems. Also, you need to define this rule in your config.xml file (see how to configure reconcile tasks in connector documentation). So, this attribute used in your recon rule must be required because it will be used to create or link users. You can define any other fields as required, but if one of these required fields are not filled, you will receive a "Required Data Missing" error in your reconciliation manager event.
    4) Reconciliation is used to update OIM with changes made directly in your database table. To update your database table based on OIM changes, you must modify an user attribute in your UD_DBAPP user's form.
    Regards.

  • Custom File Name Format in B2B Console

    Hi,
    Please let me know if we can have a customized File Name Format in the B2B Console for the X12 EDI/XML Files.
    I have read the Oracle doc and only the following formats are mentioned:
    %FROM_PARTY%
    %TO_PARTY%
    %DOCTYPE_NAME%
    %DOCTYPE_REVISION%
    %MSG_ID%
    %TIMESTAMP%
    Is there a way to have a PO# (From the Trading Partner Payload) in the filename format?
    You help is appreciated.
    Thanks
    Priyanka G

    no. It has the format which helps B2B in identifying the agreement

  • How to create a custom file dialog box/vi (win)??

    Hello,
    I'd like to create a custom file dialog box to handle the reading of my tdms files. Basicly I want to extend the existing file select dialog box with a graphical preview of the data in the selected file. I know I can create all the logic for file selection by hand and use a list box to display the filelist, but I would rather prefer to somehow use the existing windows controls. So is it possible to get the windows file selector on the front panel of a vi and react to the user selection? If so, is there any example available on how to do this? Any other options? I'm using labview 8.2
    thanks for your input!
    klaus

    Klaus,
    I wouldn't know that Microsoft provides access to the controls that Explorer and file dialog consist of.
    There might be a different and more powerful solution though. The
    WINDOWS Explorer / file dialog have a plugin API that allows you to
    associate your own application for thumbnail creation with a particular
    file extension. That way, TDMS thumbnails will show in any instance of
    Explorer and
    File Dialog without you having to make your own dialog. Basically, you
    would need to compile the VI that creates the thumbnail into a
    LabVIEW-built DLL and then wrap this DLL with some C++ boilerplate code
    that Microsoft provides. You might want to have a look at the bottom of
    this article to get an idea of how the whole thing works:
    http://msdn.microsoft.com/msdnmag/issues/0600/w2kui2/default.aspx.
    Hope that helps,
    Herbert

  • Can I create an automatic custom file save name/path once I click digital signature field?

    Hi,
    What I'm trying to do is once I click on a digital signature and I add my digital signature it requires me to sign it.  I want to know if there's a workaround to where once I click it it will automatically save to a file name based on a field and to a pre-determined directory?  Say, if I want it to save to a users desktop.  My supervisor is wanting to eliminate his employees having to change the file name to the format he wants and selecting the save location and make it automatic for everyone to have it saved at the same location on their computers. 
    Will likely have everyone in the office create a folder named 'Leave Requests'.  This will be the location on the desktop where all these automatically saved files would go.  The custom file name would be Emp_Name + "Leave Request" + Date where Emp_Name and Date are 2 variables that are user inputted field values on the form.  I have looked around but there doesn't seem to be too much on this one.  I do realize I can't create a custom 'Save As' location and path name but I have read a little about creating a custom automatic save feature and wanted to know if I could implement that.  Here is the information I read about:
    http://acrobatusers.com/tutorials/print/how-save-pdf-acrobat-javascript
    I appreciate all help any of you can give me in this matter.  Thanks!!!

    This tutorial is great!
    http://mydesignpad.com/create-a-complex-html-email-signature-for-mail-on-mac-os- x-10-9-mavericks

  • DW CS3 - custom file extension no longer working correctly

    Hi - for a particular job, I needed to use a custom file
    extension .htmx and it has been working fine.
    However, I went into DW CS3 today, and the file opens in the
    DW editor, but the code coloring and code hints etc seem to be
    broken.
    I've checked the Extensions.txt and MMDocumentTypes.xml
    files, and all seems present and correct - see
    this screencast to
    see the problem.
    Any ideas why it's not working? (I'm on Vista Business, but
    it has definitely been working and now isn't....)
    Mike

    Well, I managed to fix it by overwriting my
    MMDocumentTypes.xml file with a clean version from another machine.
    Weird.

  • Custom File Accesor implementation in 6.1 MP1

    I have made an custom file accessor (IPTCustomFileAccessor) using the Portal Server API for a crawler that is crawling a news website. I found example of the implementation of a custom file accessor to ALI version 5 but it seems that it does not go the same way in version 6.1.
    Here is what I have done:
    1. copied my custom accessor .jar file to <PORTAL_HOME>\accessors\customfa.jar2. Created accesors.xml to <PORTAL_HOME>\settings\config with following content:
    <accessorlibs>
    <accessorlib name="sampleaccessor" path="accessors/" />
    </accessorlibs>3. After that restarted the Portal. When the portal is starting it gives me some error about 5.0 configs not suitable in 6.1
    After that I tried to use the 6.1's dynamic loads:
    1. I created a new folder named accessors to <PT_HOME>\settings\portal\dynamicloads and moved the accessors.xml to that location
    2. Restarted the portal and then I get an error message:
    1559     portal.xxxx.xxx     8-22-2007     10:57:56.250     Fatal     UI_Infrastructure     Thread-0     com.plumtree.uiinfrastructure.application.startup.LoadCustomLoads     Fatal Exception loading lib file: c:\bea\alui\settings\portal\dynamicloads\Accessors\accessors.xml
    com.plumtree.openfoundation.util.XPNullPointerException: XPDynamicDiscovery failed to find all needed information in the xml file: c:\bea\alui\settings\portal\dynamicloads\Accessors\accessors.xml. Please make sure that the file is formatted correctly.Does anyone have a clue how should the accessors.xml be formatted? Thanks in advance!
    Greets,
    Nils-Erik Siren

    SSO info - as well as most other portal config info that used to be in various XML files - was moved to $PT_HOME/settings/portal/portalconfig.xml in G6.
    john

Maybe you are looking for