Enable SMTP debug for OIM 11g notifications

Hi,
OIM 11g here. I am trying to set up reset password notification, but no way. I would like to know how to enable the debug mode to see what SMTP commands are issued towards the mail server. I have already trying setting to TRACE:32 the logger class oracle.iam.notification, but didn't help
thanks in advance.
Alex

Rajiv,
that's exactly what I have tried, i created an IT Resource (Mail server type) with authentication=false, no user/password (the server allows unauthenticated connections) and the hostname of the SMTP server (reachable, no firewall in between). The IT Resource name is the same one that i have specified in the system properties. That's all and it didn't work. No error, only something like "mail notification not successful". That's why I am asking a way to see the SMTP commands issued by OIM.

Similar Messages

  • Available attributes in OIM 11g notifications

    We have been using the new notifications templates in oim11g following the descriptions as given in the blog post below.
    http://fusionsecurity.blogspot.com/2011/07/oim-11g-notifications.html
    This is how an event is specified:
    <?xml version='1.0' encoding='UTF-8'?>
    <Events xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../notification/metadata/NotificationEvent.xsd">
    <EventType name="ApprovalTaksOpenEvent">
    <StaticData>
    <Attribute Name="usrLogin" DataType="X2-Entity" EntityName="User"/>
    </StaticData>
    <Resolver class="oracle.iam.request.notification.CustomResolver">
    <Param Name="usrLogin" DataType="X2-Entity" EntityName="Request"/>
    </Resolver>
    </EventType>
    </Events>
    Basically we found that wat is in the StaticData part is show in the notification template interface as Available data (in the above example all user attributes are shown). Now my question is it somehow possible to have any attribute show in the Available Data section of an Notification Template. It would be create if "business" users don't have to "guess" which placeholders are available for a certain notification template. I already tried the variant below but it did not have the desired result.
    <StaticData>
    <Attribute Name="somePlaceHolder" DataType="String"/>
    </StaticData>
    Greetings
    Bas
    Edit-> As per documentation it should be possible to do this with the non static data, I will investigate it furter
    Edited by: bsteen on Apr 6, 2012 7:11 AM

    You can open the jar file with a decompiler and just view the NotificationResolver class and see what attributes are being sent to it.
    -Kevin

  • How to enable remote debugging for a session other than the current one

    Hi all,
    I am trying to figure out how to enable remote debugging for a session other than the one I am currently using.
    More specifically, we have an application that is making database calls to Oracle 11gR2. Something is causing an exception during this invocation. My system is currently not set up to recompile said application, so I can't just add the debug call to the code and recompile. Therefore I would like to be able to log into the database (as sys, if necessary) and invoke dbms_debug_jdwp.connect_tcp on the desired session.
    The docs indicate that I should be able to do so:
    dbms_debug_jdwp.connect_tcp(
    host IN VARCHAR2,
    port IN VARCHAR2,
    session_id IN PLS_INTEGER := NULL,
    session_serial IN PLS_INTEGER := NULL,
    debug_role IN VARCHAR2 := NULL,
    debug_role_pwd IN VARCHAR2 := NULL,
    option_flags IN PLS_INTEGER := 0,
    extensions_cmd_set IN PLS_INTEGER := 128);
    But when I try (even as sys), I get the following:
    exec dbms_debug_jdwp.connect_tcp('1.2.3.4',5678,<session id>,<session serial>);ORA-00022: invalid session ID; access denied
    ORA-06512: at "SYS.DBMS_DEBUG_JDWP", line 68
    ORA-06512: at line 1
    00022. 00000 - "invalid session ID; access denied"
    *Cause:    Either the session specified does not exist or the caller
    does not have the privilege to access it.
    *Action:   Specify a valid session ID that you have privilege to access,
    that is either you own it or you have the CHANGE_USER privilege.
    I've tried granting the 'BECOME USER' privilege for the relevant users, but that didn't help. I read something about having to set some kind of ACL as of 11gR1, but the reference documentation was very confusing.
    Would someone be able to point me in the right direction? Is this even possible, or did I misread the documentation?

    Interesting deduction, that would be very useful indeed. I hate recompiling just to add the debug call, and it can't be done in our production environment. But it seems unlikely to me it would be implemented this way.
    I would cross-post this in the SQL AND PL/SQL forum though, as this is really a database issue, not with the SQL Developer tool. Do add the links to the other posts in each.
    Regards,
    K.

  • URGENT: Is Weblogic 10.3.4 not supported for OIM 11g ?

    Hi Everyone,
    Is Weblogic 10.3.4 not supported for OIM 11g ?
    I installe & configured all IAM suite components (OAM,OIM,OAAM,SOA) on WLS 10.3.4. I am able to start all servers including OIM. However it is unable deploy "oim". After doing some research , I found below URL which tells WLS 10.3.4 is NOT SUPPORTED for OIM 11g.
    Not able start oim_server1, could not open oim url
    If that is true, Is there anyway to downgrade Weblogic to 10.3.3 ?
    Please provide your inputs and suggestions.
    Thanks
    GK

    No. 11G has been released with all type of supporting infrastructure components to be residing at the same level (i.e 11G only). So you would not be able to just downgrade weblogic to any lower versions.

  • Service IDs API for OIM 11g

    Hello,
    I have one requirement to get ServiceID details in OIM 11g using APIs. basicllay I need to get the Service Ids from OIM .
    Please let me know if you have any solutions for this.
    Thanks!

    Hello,
    Any proposed solution for doing ServiceId provisioning in OIM11g ?I see there is an option for Service ID check bo while creating a provisioning request.I am note sure what is the use of this? any information would be helpful.
    Thanks,

  • Steps to enable Automatic provisioning in OIM 11g

    Hi,
    I am trying to configure my OIM 11g to automatically provision the resource into OID.
    I am able to do the provisioning manually but as per my requirement, when I register the user details in OIM the record must be created in OID automatically.
    Can u please mention the steps I must follow for the same.
    Regards

    Hi Pk
    I Checked the task "System Validation" status for the Resource.It was Pending as told I selected Auto Save in the process definition of the resource in design console.
    Now my resource gets provisioned but only when I attach user to the Role created by me. By default user gets attached to the All Users Role.
    What configuration changes should i make so that the user on creation gets attached to custom Role created by me.
    Regards

  • Upgrading Linux for OIM 11g

    Hi Friends,
    I have installed Redhat Linux 5 Os and installed oim 11g successfully on it. Also, installed all kinds of connectors and using it in production environment.
    Now, my client is planning to upgrade Redhat linux 5 to Redhat linux 6.
    In this case, do I need to install oim 11g from the scratch as this is OS upgradation? if there any way to upgrade os version without re-installing oim 11g? Please let me know.

    Everything on linux is a directory. Take back of your complete OIM directories and after OS upgrade you can replace them. You may need to modify kernel parameters again as per your current environment. It should work provided your new OS is certified with OIM 11g.
    regards,
    GP

  • Domain creation for OIM 11g R2

    Hi All.....
    Have a doubt during domain creation stage to use OIM 11g R2. Please help which one would be prefered and why between the following 2 models,
    Model 1
    a) Contains only 1 domain and it has following servers
    - Admin server
    - OIM managed server
    - SOA managed server
    Model 2 (This model has two domains namely Domain1, Domain2)
    a) Domain1 contains
    - Admin server1
    - OIM managed server
    b) domain2 contains
    - Admin server2
    - SOA managed server
    Thanks in advance,

    http://www.oracle.com/technetwork/database/availability/maa-deployment-blueprint-1735105.pdf Page 15-16
    http://docs.oracle.com/cd/E27559_01/doc.1112/e35961/imdtr.htm#BEHGBGAE
    :-)

  • Gmail settings to send OIM 11g Notifications

    Hi
    I would like to send custom email notifications when user is created in OIM11g. I am planning to use Gmail to send noitifications.
    Below are the connection details I've given for Mail Server IT Resource.
    Authentication : yes
    Server Name : smtp.gmail.com:587
    User Login : [email protected]
    User Password : *************
    But when i tried to test connection in IT Resource, it says "Could not establish the connection to the Mail Server."
    I even tried with 465 port but no luck. Does anyone configured Gmail Server to send notifications(not using SOA server).
    Thanks!

    If you want to test just the mailing features then you can use Test Mail Server tool. It is very light weight component and easy to install.
    http://www.toolheap.com/test-mail-server-tool/
    Once Installed, open Mail Server IT Resource and provide values for Server Name and Authentication as No.
    This should trigger you notifications for testing.

  • Help needed for OIM 11g

    Hi All,
    I have a requirement to develop SPML webservices for Create User, Modify user, Password Set, Forgotten Password on OIM11g.
    These WebServices will be called from some portal.
    Can anyone guide me how to start with it?
    I am new to WebServices on OIM so I need some guide or documentation available on net.
    Regads,
    J
    Edited by: J_IDM on Mar 17, 2011 3:08 AM

    *10G*
    SPML in OIM by default would give you everything that you require. I don't know you have seen this document or not:
    http://download.oracle.com/docs/cd/E14049_01/doc.9101/e14067/spml.htm#sthref97
    Refer section *12 SPML Web Service* and also *12.7 Developing the Client for the SPML Web Service*
    The former section talks about the sample wsdl and sample http requests format which are supposed to be generated from your client and the latter talks about the actual client. Find related java code and sample files in Xellerate\SPMLWS folder. Everything would be there.
    To start with, try your hands on this sample data and see if you can get SPML working. Once through bundle this sample client code to your actual
    *11G*
    The older version of OIM 10G was a little more detailed in this regard and the integration with SPML appeared a little easy. Although the features in 11G looks mroe exhaustive but unluckily the documentation also looks like limited.
    By the the operations which might cover your requirements could be:
    - addRequest for Create User
    - modifyRequest for Modify user, Password Set, Forgotten Password
    I would do 'Password Set & Forgotten Password' to behave in the same way.
    To start with I would use a tool like soapUI to point to the existing 11G wsdl and see what I can do with it:
    http://HOST_NAME:PORT/spml-xsd/SPMLService?WSDL
    Once clear, create another hosted SPML webservice and assign an end-point URL.

  • Missing Features Within the Design Console for OIM 11g?

    Hello, I am currently trying to develop an approval workflow for a connector, however, under the process definition section, when I double-click the type I only have access to 'Provisioning', however many unofficial Oracle guides show an additional 'Approval' type. For what I need to do, I am in need of this 'Approval' choice. Is there an extension for the Design Console?
    As far as connectors go, I only have the DBUM connector installed. I am currently using Oracle Identity Manager 11.1.1.3.0.

    You'll want to read through the Upgrade document in the 11.1.1.5 version to know what the differences are in the features of 9.x and 11g or you will be asking many more questions about pieces that don't exist where they used to.
    -Kevin

  • Enabling BPM worklist for AIA error notification

    Is there a way to check (database, config file etc.) to check if HWF is enabled or not.
    I have followed the steps to enable BPM Worklist
    Set the EH.INVOKE.HWF property value to true.
    Reload updates to the AIAConfigurationProperties.xml file.
    But after that when there is an error in my BPEL process , it goes upto AIAReadJMSNotificationProcess , but there it goes to the flow Empty_HWFNotEnabled. And I don't see the error in the BPM Worklist.
    Have I missed any step?
    I checked the BPEL process for AIAReadJMSNotificationProcess and the function it calls to check HWF enablement is :aia:getSystemModuleProperty('ErrorHandler','EH.INVOKE.HWF',true())= 'true'
    Does anybody know what it does?

    Hi,
    I am facing the same error.
    Scenario 1:
    More specifically, I have developed my SOA Composite and deployed it using the EM Console. Then I exported my Human Task Adf application as an EAR and deployed the same using EM.
    I also updated the URI under Component metrics--> Adminstration ( However, I am not sure what form this URI should take??)
    Whenever, I am trying to access the task details, I am seeing the Internal Server Error.
    Scenario 2:
    If I follow the standard procedure of deploying using Jdeveloper, there are no issues and I am able to access the task details.
    So I know that the applications are built properly and working. There is some association missing when I do the deployments manually as stated in Scenario 1.
    Any help would be appreciated in getting the Scenario 1 to work is highly appreciated....
    Thanks in advance !!

  • Which architecture do you use for OIM 11g IHM (admin, self service, etc)?

    Hi,
    I would like to know if you use :
    - The native IHM with native extension (Event handlers, prepopulate adapters, etc).
    - Custom tabs in ADF added to OIM.
    - A web application in ADF (war) added to the oim.ear.
    - A J2EE application in ADF which communicates through webservices.
    - A J2EE application in another technology which communicates through webservices.
    - Other architectures.
    And why did you choose this architecture?
    Thank you very much for your replies.
    Regards
    Pierre.

    Note that you can use the internal LDAP that comes with WebLogic, for your users and groups if you want.
    When you have multiple domains, you have a problem with this set-up as the internal LDAP is coupled to
    a specific domain. This means that users you created in one domain are not visible in the other. When using
    a separate LDAP that contains the users. You can configure in each domain an authenticator that points
    to the LDAP. In this way you can share to user accross multiple domains.
    When you are planning to use one domain you can stick with the internal LDAP if you want.
    An example set-up (that uses access manager not identity manager) can be found here: http://middlewaremagic.com/weblogic/?p=7819,
    which might help you in how to proceed.

  • OIM 11g ootb notification

    Hi All,
    I'm new to OIM 11g.I'm trying to create user using web interface and user is successfully created but no OOTB email notification are triggering..
    I have configured Mail Server It Resource.
    IT Resource Name           Email Server      
    IT Resource Type           Mail Server
    Authentication                No
    I'm using Toolheap software to test notifications.
    Regards.
    Krish.

    find the steps here
    Enabling The Logging in OIM 11g
    Any Custom Schedule Task and Event Handlers to debug in the OIM 11g Server to enable the logging. The following way to enable the logging in Oracle Identity Manager 11g.
    Pre-Requisite
    Java Code Configuration
    Add the following line into your java code.
    Import Statement
    import com.thortech.util.logging.Logger;
    private Logger logger=Logger.getLogger("Logger-Name");
    Configuration Of Logging
    Go to the $DOMAIN_HOME/config/fmwconfig/servers/oim_server1 directory and edit the logging.xml file.
    Configure The Log Handler
    <log_handler name='logger Handel Name' level='FINEST' class='oracle.core.ojdl.logging.ODLHandlerFactory'>
    <property name='logreader:' value='off'/>
    <property name='path' value='Log File Location'/>
    <property name='format' value='ODL-Text'/>
    <property name='useThreadName' value='true'/>
    <property name='locale' value='en'/>
    <property name='maxFileSize' value='5242880'/>
    <property name='maxLogSize' value='52428800'/>
    <property name='encoding' value='UTF-8'/>
    Include The Logger Handler Logger Configuration
    <logger name="Logger-Name" level="Log Level" useParentHandlers="false">
    <handler name="logger-Handel-Name"/>
    <handler name="console-handler"/>
    </logger>
    Oracle Identity Manager 11G Log Levels
    Log Level ODL Message Type:Level
    SEVERE.intValue()+100 INCIDENT_ERROR:1
    SEVERE ERROR:1
    WARNING WARNING:1
    INFO NOTIFICATION:1
    CONFIG NOTIFICATION:16
    FINE TRACE:1
    FINER TRACE:16
    FINEST TRACE:32
    The FINEST log level will give the more debug info. If you want to debug your schedule task or event handlers, please use FINEST Log level.
    --nayan                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Allowed set of characters for user name and password in OIM 11g

    Hi,
    Can anyone provide us quickly what is the characters (no.s,alpahbets,special symbols) that are supported for username and password field in OIM 11.1.1.5 ?
    Thanks,
    Karthik

    Read it , it is general for OIM 11g
    http://docs.oracle.com/cd/E14571_01/relnotes.1111/e10132/oim.htm#CHDFFDGH

Maybe you are looking for