Custom plugin in OIM 11.1.1.5

Hi all,
I'm trying to develope an OIM custom plugin which will perform email generation after "+Create User+" request submit.
The version of OIM is 11.1.1.5.
I followed official documentation at [this link|http://docs.oracle.com/cd/E21764_01/doc.1111/e14309/plugins.htm#CHDFHIGE] and basically have done the following steps:
1. developed custom java code with JDeveloper
2. built the source code
3. declared the custom plugin in plugin.xml file
4. copied the custom plugin class to OIM server for example in $MIDDLEWARE_HOME/OIMPlugins/lib
     NOTE: during this operation I have exactly mantained the same directory structure of custom java package.
     For example custom plugin class is under my.custom.plugin java package and I have copied custom java class under $MIDDLEWARE_HOME/OIMPlugins/lib/my/custom/plugin folder
5. created a zip file containing custom plugin class (always with its directory structure) and plugin.xml file
6. copied the zip file to $OIM_HOME/server/plugins
7. edited ant.properties file (under $OIM_HOME/server/plugin_utility) setting wls.home and oim.home variables
8. built the wlfullclient.jar (only the first time)
9. registered the custom plugin
10. created the custom plugin dataset file
11. imported it in OIM database using "+weblogicImportMetadata+" utility
12. purged cache using "+PurgeCache+" utility
NOTE: all the steps above was executed using the system user running OIM process
Then I create a user using "+Create User+" request template, this custom plugin should be triggered and should generate email address for user within the request.
This does not happen, the plugin does not work; in fact I can't see neither any custom plugin log message that I wrote in my code nor the user email properly filled.
I have tried exactly the same procedure on another version of OIM (11.1.1.3) and the custom plugin works.
So, which are the missing steps for OIM 11.1.1.5? I can't find any differences comparing the related document of OIM 11.1.1.5 with OIM 11.1.13 one.
Thanks
Daniele

Hi,
thanks for your reply.
Here sample java code, plugin.xml file and event handler xml.
Sample java code+*
package com.mycompany.custom.eventhandlers;
import java.util.HashMap;
import java.io.Serializable;
import oracle.iam.identity.usermgmt.api.UserManagerConstants;
import oracle.iam.platform.kernel.spi.ConditionalEventHandler;
import oracle.iam.platform.kernel.spi.PreProcessHandler;
import oracle.iam.platform.kernel.vo.AbstractGenericOrchestration;
import oracle.iam.platform.kernel.vo.BulkEventResult;
import oracle.iam.platform.kernel.vo.BulkOrchestration;
import oracle.iam.platform.kernel.vo.EventResult;
import oracle.iam.platform.kernel.vo.Orchestration;
import com.thortech.util.logging.Logger;
public class RequestUserEmailHandler implements PreProcessHandler, ConditionalEventHandler {
private static final Logger logger = Logger.getLogger("com.mycompany.custom.eventhandlers");
private static final String className = "RequestUserEmailHandler";
     @Override
     public boolean cancel(long arg0, long arg1, AbstractGenericOrchestration arg2) {
          // TODO Auto-generated method stub
          return false;
     @Override
     public void compensate(long arg0, long arg1, AbstractGenericOrchestration arg2) {
          // TODO Auto-generated method stub
     @Override
     public EventResult execute(long processId, long eventId, Orchestration orchestration) {
          // TODO Auto-generated method stub
          String methodName = "EventREsult execute";
          System.out.println("###### " + className + " - method " + methodName + " - STARTED");
HashMap<String, Serializable> parameters = orchestration.getParameters();
String userLogin = (String)parameters.get(UserManagerConstants.AttributeName.USER_LOGIN.getId());
System.out.println("###### " + className + " - method " + methodName + " - User Login: " + userLogin);
parameters.put(UserManagerConstants.AttributeName.EMAIL.getId(), userLogin + "@mycompany.com");
          System.out.println("###### " + className + " - method " + methodName + " - ENDED");
          return new EventResult();
     @Override
     public BulkEventResult execute(long arg0, long arg1, BulkOrchestration arg2) {
          // TODO Auto-generated method stub?
          String methodName = "BulkEventResult execute";
System.out.println("### " + className + " - " + methodName + " - NOT implemented!");
return new BulkEventResult();
     @Override
     public void initialize(HashMap<String, String> arg0) {
          // TODO Auto-generated method stub
     @Override
     public boolean isApplicable(AbstractGenericOrchestration arg0) {
          // TODO Auto-generated method stub
          return true;
Plugin.xml file+*
<?xml version="1.0" encoding="UTF-8" ?>
<oimplugins>
<plugins pluginpoint="oracle.iam.platform.kernel.spi.EventHandler">
<plugin pluginclass="com.mycompany.custom.eventhandlers.RequestUserEmailHandler" version="1.0" name="RequestUserEmailHandler" />
</plugins>
</oimplugins>
Event handler xml+*
<?xml version='1.0' encoding='UTF-8'?>
<eventhandlers>
<!-- PRE-PROCESS - CREATE-->
<action-handler class="com.mycompany.custom.eventhandlers.RequestUserEmailHandler" entity-type="User" operation="CREATE" name="RequestUserEmailHandler" stage="preprocess" sync="TRUE" order="1010"/>
<!-- POST-PROCESS - CREATE-->
<!-- POST-PROCESS - MODIFY-->
<!-- POST-PROCESS - DISABLE-->
</eventhandlers>
Thanks
Daniele

Similar Messages

  • Custom plugin based on user role membership

    Hi all,
    I would like to develope a custom plugin that generates account userid (on process form) with different syntax against role membership.
    With "syntax" I mean name.surname.random_number for employee users and surname.company.random_number for example.
    I'll try to explain the scenario more in details:
    1. I create a user identity through a request
    2. After user identity has created successfully, I assign a role to the user. Since roles are associated with access policies, role assignment triggers provisioning on target system.
    3. The custom plugin that I would like to develope shuold be able to generate proper userid against role membership. For example if I assigned the role "Project Manager" the custom plugin should generate the account userid with name.surname.random_number format; viceversa if I assigned the role "External Reseller" the custom plugin should generate the account userid with surname.company.random_number format.
    Looking for custom plugin based on role membership in forum, I found a couple of threads about this subject:
    - Email notifications after role grant
    - Re: OIM 11g Role Membership Event Handlers.
    I tried to implement what explained in the threads, but I would be sure about what I've done.
    Here what I've done:
    1. created plugin.xml file
    2. created EventHandler.xml metadata file
    3. developed a java calss for testing pourpose
    4. copied the custom plugin class to OIM server for example in $MIDDLEWARE_HOME/OIMPlugins/lib
    NOTE: during this operation I have exactly mantained the same directory structure of custom java package.
    For example custom plugin class is under my.custom.plugin java package and I have copied custom java class under $MIDDLEWARE_HOME/OIMPlugins/lib/my/custom/plugin folder
    5. created a zip file containing custom plugin class (always with its directory structure) and plugin.xml file
    6. copied the zip file to $OIM_HOME/server/plugins
    7. edited ant.properties file (under $OIM_HOME/server/plugin_utility) setting wls.home and oim.home variables
    8. built the wlfullclient.jar (only the first time)
    9. registered the custom plugin
    10. created the custom plugin dataset file
    11. imported it in OIM database using "weblogicImportMetadata" utility
    12. purged cache using "PurgeCache" utility
    NOTE: all the steps above was executed using the system user running OIM process
    test java class
    package com.zeropiu.sky.custom.eventhandlers;
    import java.io.Serializable;
    import java.util.HashMap;
    import com.thortech.util.logging.Logger;
    import oracle.iam.platform.kernel.spi.ConditionalEventHandler;
    import oracle.iam.platform.kernel.spi.PostProcessHandler;
    import oracle.iam.platform.kernel.vo.AbstractGenericOrchestration;
    import oracle.iam.platform.kernel.vo.BulkEventResult;
    import oracle.iam.platform.kernel.vo.BulkOrchestration;
    import oracle.iam.platform.kernel.vo.EventResult;
    import oracle.iam.platform.kernel.vo.Orchestration;
    import oracle.iam.platform.context.ContextManager;
    import java.util.Set;
    public class TestUserAnonimi implements PostProcessHandler, ConditionalEventHandler {
         private static final Logger logger = Logger.getLogger("com.zeropiu.sky.custom.eventhandlers");
    private static final String className = "TestUserAnonimi";
         @Override
         public void initialize(HashMap<String, String> arg0) {
              // TODO Auto-generated method stub
              String methodName = "initialize";
              System.out.println("###### " + className + " - " + methodName);
         @Override
         public boolean isApplicable(AbstractGenericOrchestration abstractGenericOrchestration) {
              // TODO Auto-generated method stub
              String methodName = "isApplicable";
    System.out.println("###### " + className + " - " + methodName + " - STARTED");
    System.out.println("###### " + className + " - " + methodName + " - ContextManager.getContextType(): " + ContextManager.getContextType());
    System.out.println("###### " + className + " - " + methodName + " - ContextManager.getContextSubType(): " + ContextManager.getContextSubType());
    System.out.println("###### " + className + " - " + methodName + " - abstractGenericOrchestration.getOperation(): " + abstractGenericOrchestration.getOperation());
    System.out.println("###### " + className + " - " + methodName + " - Printing ContextManager parameters");
    HashMap allContextManagerPairs = ContextManager.getAllValuesFromCurrentContext();
    Set<String> allContextManagerParams = allContextManagerPairs.keySet();
    String[] parameters = allContextManagerParams.toArray(new String[allContextManagerParams.size()]);
    for (int i = 0; i < parameters.length; i++) {
              System.out.println("###### " + className + " - " + methodName + " - Context parameter " + i + ": " + parameters[i] + " - Object type is: " + Utils.getObjectType(ContextManager.getValue(parameters)));
    System.out.println("###### " + className + " - " + methodName + " - ENDED");
    return true;
         @Override
         public boolean cancel(long arg0, long arg1,     AbstractGenericOrchestration arg2) {
              // TODO Auto-generated method stub
              String methodName = "cancel";
              System.out.println("###### " + className + " - " + methodName);
              return false;
         @Override
         public void compensate(long arg0, long arg1, AbstractGenericOrchestration arg2) {
              // TODO Auto-generated method stub
              String methodName = "compensate";
              System.out.println("###### " + className + " - " + methodName);
         @Override
         public EventResult execute(long arg0, long arg1, Orchestration orchestration) {
              // TODO Auto-generated method stub
              String methodName = "Eventresult execute";
              System.out.println("###### " + className + " - " + methodName);
              return null;
         @Override
         public BulkEventResult execute(long arg0, long arg1, BulkOrchestration arg2) {
              // TODO Auto-generated method stub
              String methodName = "BulkEventResult execute";
              System.out.println("###### " + className + " - " + methodName);
              return null;
    plugin.xml file
    <?xml version="1.0" encoding="UTF-8"?>
    <oimplugins xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <plugins pluginpoint="oracle.iam.platform.kernel.spi.EventHandler">
    <plugin pluginclass="com.zeropiu.sky.custom.eventhandlers.TestUserAnonimi" version="1.0" name="TestUserAnonimi">
    </plugin>
    </plugins>
    </oimplugins>
    EventHandler.xml metadata file
    <?xml version='1.0' encoding='UTF-8'?>
    <eventhandlers xmlns="http://www.oracle.com/schema/oim/platform/kernel" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.oracle.com/schema/oim/platform/kernel orchestration-handlers.xsd">
    <action-handler class="com.zeropiu.sky.custom.eventhandlers.TestUserAnonimi" entity-type="RoleUser" operation="CREATE" name="TestUserAnonimi" stage="preprocess" order="1007" sync="FALSE" />
    </eventhandlers>When I assign a role to a user through OIM web interface, I can see in OIM log file all System.out.println contained in initialize(), isApplicable() and BulkEventResult execute() methods. Is it correct? Can I implement my custom plugin logic now, or my starting point is wrong?
    ###### TestUserAnonimi - initialize
    ###### TestUserAnonimi - isApplicable - STARTED
    ###### TestUserAnonimi - isApplicable - ContextManager.getContextType(): ADMIN
    ###### TestUserAnonimi - isApplicable - ContextManager.getContextSubType():
    ###### TestUserAnonimi - isApplicable - abstractGenericOrchestration.getOperation(): CREATE
    ###### TestUserAnonimi - isApplicable - Printing ContextManager parameters
    ###### TestUserAnonimi - isApplicable - Context parameter 0: origuser - Object type is: java.lang.String
    ###### TestUserAnonimi - isApplicable - Context parameter 1: oimuser - Object type is: java.lang.String
    ###### TestUserAnonimi - isApplicable - Context parameter 2: RESOLVED_LOCALE - Object type is: java.lang.String
    ###### TestUserAnonimi - isApplicable - Context parameter 3: counter - Object type is: java.lang.String
    ###### TestUserAnonimi - isApplicable - Context parameter 4: TIME_ZONE - Object type is: java.lang.String
    ###### TestUserAnonimi - isApplicable - Context parameter 5: ipaddress - Object type is: java.lang.String
    ###### TestUserAnonimi - isApplicable - ENDED
    ##### TestUserAnonimi - BulkEventResult execute
    Thanks,
    Daniele
    Edited by: 886636 on Jan 24, 2012 2:53 AM
    Edited by: 886636 on Jan 24, 2012 2:53 AM

    Probably I don't explain myself clearly....sorry for that!
    Anyway you are right, the role of the user can change after the user is initially provisioned.
    I'll try to summarize to be sure to have understood your answer and to explain my scenario more in details:
    1. After user identity creation, I'll assign the role "Project Manager". Before role assignment the user has not any role. So using a pre-populate adapter I can retrieve the assigned role and compose the right userid.
    2. After step 1, I need to assign another role to the user, the new role should be "External Reseller" for example. In this case the user has a role already. What I would is: basing on the role that I'm assigning (External Reseller), the pre-populate should compose the right userid. Obviously this second userid will be different from the first one and this means a new account will be created for the user. At the moment I don't care to deprovisioning the first userid.
    Is it possible with pre-populate adapter?
    Sorry again for my not very clear explanations.
    Daniele
    Edited by: 886636 on Jan 24, 2012 4:10 AM

  • Error while running a custom report in OIM

    Hi All,
    I have created a new custom report for OIM and written a stored procedure for that. But while running the report from Admin console, its throws the below error:
    java.sql.SQLException: ORA-00911: invalid character
    ORA-06512: at "IDM.XL_EXCEPTION", line 149
    ORA-06512: at line 1
    ERROR,19 Jun 2011 22:09:31,665,[XELLERATE.WEBAPP],Class/Method: ReportAction/displayTabularReport encounter some problems: Error executing stored procedure
    Thor.API.Exceptions.tcAPIException: Error executing stored procedure
    Line 149 : DBMS_OUTPUT.PUT_LINE('select stmt ='|| select_stmt);
    "select_stmt" is a select query based on the OIM tables.
    Please advice.

    Seems like there is a invalid character in your SQL (Report's store procedure). Could you share with me whole content of this "select_stmt" variable?
    regards,
    Thiago L Guimaraes

  • Unable to authenticate users using Custom plugins in OAM 11g

    We are working on a requirement in which we have to write a custom authentication plugin in OAM 11g.
    we were able to import and activate the plugin
    we created a new authentication module with steps in the following order
    1)UserIdentificationPlugin
    2)UserAuthenticationPlugin
    3)Our custom plugin to create custom responses(We just created the class with mandatory methods and process method returning success)
    but finally when we try to authenticate,authentication fails resulting in OAM-2 error.We had entered valid credentials
    Can somebody please help me on resolving this issue.
    The plugin code,manifest file and Metadata XML is shared below.
    Plugin Code
    public class NewPlugin extends AbstractAuthenticationPlugIn {
    private static final String CLASS_NAME = "FirstTestClass";
    public ExecutionStatus initialize (PluginConfig config){
    super.initialize(config);
    if(LOGGER.isLoggable(Level.FINE)){
    LOGGER.logp(Level.FINE,CLASS_NAME,"initialize","Entering initialize");
    return ExecutionStatus.SUCCESS;
    @Override
    public String getDescription() {
    // TODO Auto-generated method stub
    return null;
    @Override
    public Map<String, MonitoringData> getMonitoringData() {
    // TODO Auto-generated method stub
    return null;
    @Override
    public String getPluginName() {
    // TODO Auto-generated method stub
    return null;
    @Override
    public int getRevision() {
    // TODO Auto-generated method stub
    return 0;
    @Override
    public ExecutionStatus process(AuthenticationContext context)
    throws AuthenticationException {
    if(LOGGER.isLoggable(Level.FINE)){
    LOGGER.logp(Level.FINE,CLASS_NAME,"initialize","Entering process");
    return ExecutionStatus.SUCCESS;
    @Override
    public void setMonitoringStatus(boolean arg0) {
    // TODO Auto-generated method stub
    @Override
    public boolean getMonitoringStatus() {
    // TODO Auto-generated method stub
    return false;
    MANIFEST.MF
    Manifest-Version: 1.0
    Bundle-ManifestVersion: 2
    Bundle-Name: NewPlugin Plug-in
    Bundle-SymbolicName: NewPlugin
    Bundle-Version: 1.0.0
    ImportPackage:org.osgi.framework;version="1.3.0",oracle.security.am.plugin,oracle.security.am.plugin.authn,oracle.security.am.plugin.api,oracle.security.am.common.utilities.principal,oracle.security.idm,javax.naming,javax.sql,javax.security.auth
    Bundle-RequiredExecutionEnvironment: JavaSE-1.6
    METADATA XML
    <?xml version="1.0" encoding="UTF-8" ?>
    <Plugin name="NewPlugin" type="Authentication">
    <author>me</author>
    <email>[email protected]</email>
    <creationDate>11:40:20,2012-13-02</creationDate>
    <version>1</version>
    <description>Custom User Authentication Plugin</description>
    <interface>oracle.security.am.plugin.authn.AbstractAuthenticationPlugIn</interface>
    <implementation>newplugin.NewPlugin</implementation>
    <configuration>
    <AttributeValuePair>
    <Attribute type="String" length="20">DataSource</Attribute>
    <mandatory>true</mandatory>
    <instanceOverride>false</instanceOverride>
    <globalUIOverride>true</globalUIOverride>
    <value>jdbc/CISCO</value>
    </AttributeValuePair>
    </configuration>
    </Plugin>

    Your search results show that the user "collini" was not found (nentries=0). This could be caused by a number of reasons.
    1) The user doesn't exist under "ou=people,dc=our,dc=domain"
    2) The user doesn't contain the posixAccount objectclass
    3) The user account that performed the search doesn't have access rights to read/search that user account
    What user account was used to BIND on the connection that the search was done on?
    Try performing the same exact search with an account you know can retrieve the entry. For example:
    ldapsearch -D "cn=Directory Manager" -w - -b ou=people,dc=our,dc=domain -s one "(&(objectClass=posixAccount)(uid=collini))"
    If the entry doesn't return as a result of the search then either #1 or #2 above is the problem. If the entry does return then #3 is your problem.

  • How to create a custom plugin in Oracle Access Manager to create a cookie

    How to create a custom plugin in Oracle Access Manager to create a cookie or Header Variable..
    Vipin

    Its has more steps which you need to consider in addition to Note:101048.1 which is mentioned by Prashant_Pathak. Both notes have enough information. If not, let's know what else you need to set

  • Java error while registering plugin in OIM

    Hello friends
    I am registering a plugin in OIM using ant utility
    ant -f pluginregistration.xml register
    Buildfile: pluginregistration.xml
    register:
         [echo]
         [echo] *******************************************************************************
         [echo]                                 REGISTRATION TOOL TO REGISTER
         [echo] *******************************************************************************
         [echo]             This tool can be used to register or unregister plugins to OIM.
         [echo]
         [echo]         Edit the ant.properties file to set the properties.
         [echo]         Invoke the corresponding ant targets (register or unregister) to perform registration or unregistration correspondingly.
         [echo]
         [echo]             Following are the additional system properties accepted by the utility. They would be prompted if not passed at the time of invoking the utility.
         [echo]
         [echo]             OIM.Username (User ID of the oim user)
         [echo]             ServerURL (URL of the server. t3://<host>:<port>)
         [echo]             PluginZipToRegister (Complete name with path of the plugin file. Required for registering a plugin.)
         [echo]
         [echo]             Set the other properties in ant.properties file:
         [echo]             wls.home
         [echo]             oim.home
         [echo]             login.config
         [echo]
         [echo]
        [input] Enter the oim user id:
    xelsysadm
        [input]Enter the oim user password:
        [input] Enter the server url [t3://<host>:<port>] :
    t3://ttus1app.ges.com:14000
        [input] Enter name (complete file name with path) of the plugin file:
    /staging/sandeep/DataSetValidator_NEW_Changes/DataSetValidator.zip
         [java] Java Result: 1
         [echo] Could not create the Java virtual machine.
         [echo] Error occurred during initialization of VM
         [echo] Could not reserve enough space for object heap
    BUILD SUCCESSFUL
    Total time: 1 minute 11 seconds
    It is showing that it cannot create JVM, can someone suggest me a solution for this?
    Thank You
    Sandeep

    http://stackoverflow.com/questions/12808752/error-could-not-create-the-java-virtual-machine
    This almost always means that your -Xmx is too high for the machine. There is a message above:
    Change these values in setDomainEnv.sh and setSOADomainEnv.sh files in $DOMAIN_HOME/bin

  • Acrobat PDF reader for Internet Explorer may be unloading/unabling custom plugin

    Hi,
    My question is basically to understand what is happening in this situation so that I can find where is the problem and how to solve it.
    We have used Acrobat 6.0 SDK to develop our custom plugin. This plugin is basically wrapper to few basic tools  (note, stamp, text ) etc.. provided by Acrobat 6.0 SDK. We have also developed PDFViewer.dll to view PDF document within Internet Explorer. So when user load document within our website this PDFViewer loaded with the custom plugin and user can use those tools.
    We are installing this plugin under <Acrobat X>/Plug_ins/<Company Name>/MyPlugin.API.
    In our web site we are giving list of documents and when user click on a document it will load the PDFViewer and custom plugin. We are loading Acrobat.exe in advance so that we can load quickly.  Now the problem happens when user open any other PDF in different tab or instance of Internet explorer. ?How?
    Consider in a internet explorer user logged in our web site and then he/she can see let's say 10 documents. 1.pdf, 2.pdf, 3.pdf, etc...
    Now when user select document 1.pdf we are loading that PDF in the IE within our PDFViewer with custom plugin. (Here I have seen that behind the scene Acrobat.exe is loaded in the processed using task manager)/  If at this time if user opens another instance of Internet explorer or another tab and open a PDF document it opens PDF in the standard Adobe Reader PDF viewer for Internet Explorer resides at (C:\Program Files\Common Files\Adobe\Acrobat\ActiveX).
    If at this time user goes back to our site and tried to work on 1.pdf our custom plugin works fine BUT if user opens any other document (let's say 2.pdf) the plug in stops working basically looks like it is not loaded.
    This issue only happens if user opens a document in another internet tab or explorer instance and open PDF which resulted in to open Acrobat Activex for internet explorer. If user opens a PDF document out side of internet explorer it is not creating any problem because at that time ActiveX does not loaded.
    So my guess is something is going on when ActiveX for PDF is get loaded into Internet Explorer.
    I want to know more what is happening and why it is happening. Due to this behavior our web site users can't use any other web site which opens PDF documents because then they have to log off and log back in our web site.
    Please we need immediate help.
    I am open to provide more details with screen captures.
    Thanks,
    Twinkle

    Hi,
    Thanks.
    So I want to make sure this is because with Acrobat 9 - the new way to deal with PDF's?  Because as per my knowledge it was working fine with Acrobat 8.
    Moreover, if I am understanding correctly and I have tested too, the order is important here, right? If I will load PDF in IE first and then I will work on my web site it is not creating problem but if I will launch my web site first and then open PDF within IE in different tab it is creating problem because they are using same interface and when AcroPDF instantiating overriding and failed to load plug_in
    Here I have seen that both Acrobat.exe and AcroPDF.dll is using same Acrobat.dll pointing to same memory addresses and that's why problem is happening.
    IT would be great if you can provide any other way to "hook" adobe because the bottom line I have to use AcroExch.App from SDK.
    One last question, I have seen that if I am opening a PDF in Internet Explorer in a different tab (not in my web app) while pressing SHIFT key and the move to my web site and load different document it is working fine, so the question is what different is happening when we open PDF in IE with pressing SHIFT key and without pressing SHIFT key. IS AcroPDF.dll behaves differently while opening PDF with SHIFT key pressed?
    Thanks for all your help.
    Twinkle    

  • Can we generate custom reports in oIM 10g

    hi,
    Is it possible to generate custom reports in OIM 10g? Is it a complex process?
    Thanks

    Thanks for the reply,
    I am able to generate the report, but the issue is with the filter condition, I am trying to filter the results with a udf field but filtering is not happening and in logs the error coming is
    Thor.API.Exceptions.tcColumnNotFoundException
    at Thor.API.tcMetaDataSet.getStringValue(Unknown Source)
    at com.thortech.xl.webclient.util.ReportUtilities.getLinkHref(Unknown Source)
    at com.thortech.xl.webclient.util.ReportUtilities.populateTableDataForTabularDisplay(Unknown Source)
    at com.thortech.xl.webclient.util.ReportUtilities.displayReportWithTabularLayout(Unknown Source)
    at com.thortech.xl.webclient.util.ReportUtilities.displayReportWithLayout(Unknown Source)
    at com.thortech.xl.webclient.actions.ReportAction.displayTabularReport(Unknown Source)
    at com.thortech.xl.webclient.actions.ReportAction.displayReport(Unknown Source)
    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:597)
    at org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:270)
    at com.thortech.xl.webclient.actions.tcLookupDispatchAction.execute(Unknown Source)
    at com.thortech.xl.webclient.actions.tcActionBase.execute(Unknown Source)
    at com.thortech.xl.webclient.actions.tcAction.execute(Unknown Source)
    at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
    at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:
    and one more thing , how to give two conditions in where clause in stored procedure , for e.g i have given like
    strWhereClause := 'usr_key IN(SELECT DISTINCT usr_key FROM usr) and UPPER(usr.usr_status) like '
    || UPPER(''''||strstatus_in||'''')
    || ' AND UPPER(usr.USR_UDF_CUSTOMATTR) LIKE '
    || UPPER(''''||strcustattr_in||'''')
    || ' ';
    and its not taking the two values.pls tell me where its going wrong

  • Error registering the Plugin in OIm 11g

    HI All,
    I am receiving the following error while registering the plugin in OIM11g
    [oracle@orclfmw plugin_utility]$ ant -f pluginregistration.xml register
    Buildfile: pluginregistration.xml
    register:
    [echo]
    [echo] *******************************************************************************
    [echo] REGISTRATION TOOL TO REGISTER
    [echo] *******************************************************************************
    [echo] This tool can be used to register or unregister plugins to OIM.
    [echo]
    [echo] Edit the ant.properties file to set the properties.
    [echo] Invoke the corresponding ant targets (register or unregister) to perform registration or unregistration correspondingly.
    [echo]
    [echo] Following are the additional system properties accepted by the utility. They would be prompted if not passed at the time of invoking the utility.
    [echo]
    [echo] OIM.Username (User ID of the oim user)
    [echo] ServerURL (URL of the server. t3://<host>:<port>)
    [echo] PluginZipToRegister (Complete name with path of the plugin file. Required for registering a plugin.)
    [echo]
    [echo] Set the other properties in ant.properties file:
    [echo] wls.home
    [echo] oim.home
    [echo] login.config
    [echo]
    [echo]
    [echo] /home/oracle/Oracle/Middleware/Oracle_IDM1/server/ext/spring.jar:/home/oracle/Oracle/Middleware/Oracle_IDM1/server/ext/jakarta-commons/commons-logging.jar:/home/oracle/Oracle/Middleware/Oracle_IDM1/server/ext/internal/toplink.jar:/home/oracle/Oracle/Middleware/Oracle_IDM1/server/platform/iam-platform-context.jar:/home/oracle/Oracle/Middleware/Oracle_IDM1/server/platform/iam-platform-utils.jar:/home/oracle/Oracle/Middleware/Oracle_IDM1/server/platform/iam-platform-auth-client.jar:/home/oracle/Oracle/Middleware/Oracle_IDM1/server/platform/iam-platform-pluginframework.jar:/home/oracle/Oracle/Middleware/Oracle_IDM1/server/client/oimclient.jar:/home/oracle/Oracle/Middleware/wlserver_10.3/server/lib/wlfullclient.jar
    [input] Enter the oim user id:
    xelsysadm
    BUILD FAILED
    /home/oracle/Oracle/Middleware/Oracle_IDM1/server/plugin_utility/pluginregistration.xml:73: The <input> type doesn't support the nested "handler" element.
    i don't know what causing this problem..please help
    thank you
    Edited by: Harsha.kashyap on May 6, 2012 3:12 AM

    make sure that you have followed the steps carefully.
    1. Modify ant.properties
    2. Build the wlfullclient.jar
    http://docs.oracle.com/cd/E28389_01/doc.1111/e14309/plugins.htm#CJACGBJB
    let me know the OIM version.
    Thanks,
    Kuldeep

  • How to compile and deploy an custom plugin access gate with java?

    Hi.
    How can deploy and registrer my custom plugin, for ready to use in the Access System Console in Authentication Managment?
    thanks

    Hi,
    Is it an AccessGate, or an authentication plugin? The procedure for adding custom plugins for use in OAM authentication schemes is described here:
    http://docs.oracle.com/cd/E21764_01/doc.1111/e12491/authnapi.htm#BABCEIIA
    Regards,
    Colin

  • Is there a way where we can set the headers from custom plugin

    Using OAM 11.1.1.5 and webgate 11g. I am trying to custom cookie using a authentication plugin. So I created a custom authentication module with three steps. First identification then authentication both using Oracle's out of box plugins. Have set the identity store to OID. The third step is creating the cookie. In addition to this since we have integrated EBS with OAM, it is a requriement from Oracle and EBS that we pass two parameters in header, User name set to $user.userid and USR_ORCLGUID to $user.attr.orclguid. We are trying to set this paramters from authentication polices response settings, the $user.userid is being set properly however we are getting an exception in $user.attr.orclguid . Is there a way where we can set the headers from custom plugin or any other way. Thsi exception is only with custom authentication module. When we use LDAP Authentication module it works.
    Exception below:-
    Apr 17, 2013 4:47:54 PM CDT> <Error> <oracle.oam.user.identity.provider> <OAMSSA-20005> <Error initializing User/Role API : Identity Provider Configuration not found for : NONE..>
    <Apr 17, 2013 4:47:54 PM CDT> <Error> <oracle.oam.user.identity.provider> <OAMSSA-20005> <Error initializing User/Role API : Error initializing User/Role API : Identity Provider Configuration not found for : NONE...>
    <Apr 17, 2013 4:47:54 PM CDT> <Warning> <oracle.oam.engine.authz> <OAMSSA-14007> <Provider failed to retrieve value for policy: "null" in domain: "null". Response details: "RuntimeResponse name="USER_ORCLGUID", value="$user.attr.orclguid", type="HEADER"".>
    <Apr 17, 2013 4:47:54 PM CDT> <Warning> <oracle.oam.engine.authz> <OAMSSA-14005> <Error thrown during response processing:
    oracle.security.am.engines.authz.ResponseException: oracle.security.am.engines.common.identity.provider.exceptions.IdentityProviderException: OAMSSA-20005: Error initializing User/Role API : Error initializing User/Role API : Identity Provider Configuration not found for : NONE...
         at oracle.security.am.engines.authz.IdentityValueProvider.getUserAttribute(IdentityValueProvider.java:243)
         at oracle.security.am.engines.authz.IdentityValueProvider.getValue(IdentityValueProvider.java:138)
         at oracle.security.am.engines.authz.ResponseProcessor.processOne(ResponseProcessor.java:310)
         at oracle.security.am.engines.authz.ResponseProcessor.process(ResponseProcessor.java:153)
         at oracle.security.am.engines.authz.ResponseProcessor.processAuthz(ResponseProcessor.java:120)
         at oracle.security.am.engines.authz.AuthorizationEngine.isAuthorized(AuthorizationEngine.java:122)
         at oracle.security.am.engines.enginecontroller.AuthzEngineController.authorize(AuthzEngineController.java:570)
         at oracle.security.am.engines.enginecontroller.AuthzEngineController.processEvent(AuthzEngineController.java:168)
         at oracle.security.am.controller.MasterController.processEvent(MasterController.java:418)
         at oracle.security.am.controller.MasterController.processRequest(MasterController.java:586)
         at oracle.security.am.proxy.oam.requesthandler.NGProvider.getAuthorizationResponse(NGProvider.java:1617)
         at oracle.security.am.proxy.oam.requesthandler.NGProvider.getResponse(NGProvider.java:264)
         at oracle.security.am.proxy.oam.requesthandler.RequestHandler.handleRequest(RequestHandler.java:356)
         at oracle.security.am.proxy.oam.requesthandler.RequestHandler.handleMessage(RequestHandler.java:169)
         at oracle.security.am.proxy.oam.requesthandler.ControllerMessageBean.getResponseMessage(ControllerMessageBean.java:75)
         at oracle.security.am.proxy.oam.requesthandler.ControllerMessageBean_eo7ylc_MDOImpl.__WL_invoke(Unknown Source)
         at weblogic.ejb.container.internal.MDOMethodInvoker.invoke(MDOMethodInvoker.java:35)
         at oracle.security.am.proxy.oam.requesthandler.ControllerMessageBean_eo7ylc_MDOImpl.getResponseMessage(Unknown Source)
         at oracle.security.am.proxy.oam.mina.ObClientToProxyHandler.messageReceived(ObClientToProxyHandler.java:215)
         at org.apache.mina.common.DefaultIoFilterChain$TailFilter.messageReceived(DefaultIoFilterChain.java:743)
         at org.apache.mina.common.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:405)
         at org.apache.mina.common.DefaultIoFilterChain.access$1200(DefaultIoFilterChain.java:40)
         at org.apache.mina.common.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:824)
         at org.apache.mina.common.IoFilterEvent.fire(IoFilterEvent.java:54)
         at org.apache.mina.common.IoEvent.run(IoEvent.java:63)
         at oracle.security.am.proxy.oam.mina.CommonJWorkImpl.run(CommonJWorkImpl.java:42)
         at weblogic.work.j2ee.J2EEWorkManager$WorkWithListener.run(J2EEWorkManager.java:183)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    Caused By: oracle.security.am.engines.common.identity.provider.exceptions.IdentityProviderException: OAMSSA-20005: Error initializing User/Role API : Error initializing User/Role API : Identity Provider Configuration not found for : NONE...
         at oracle.security.am.engines.common.identity.provider.impl.IdentityProviderImpl.<init>(IdentityProviderImpl.java:180)
         at oracle.security.am.engines.common.identity.provider.impl.IdentityProviderPool.getProvider(IdentityProviderPool.java:89)
         at oracle.security.am.engines.common.identity.provider.UserIdentityProviderFactory.getProviderInternal(UserIdentityProviderFactory.java:116)
         at oracle.security.am.engines.common.identity.provider.UserIdentityProviderFactory.getProvider(UserIdentityProviderFactory.java:97)
         at oracle.security.am.engines.common.identity.util.OAMIdentity.getAttribute(OAMIdentity.java:539)
         at oracle.security.am.engines.authz.IdentityValueProvider.getUserAttribute(IdentityValueProvider.java:241)
         at oracle.security.am.engines.authz.IdentityValueProvider.getValue(IdentityValueProvider.java:138)
         at oracle.security.am.engines.authz.ResponseProcessor.processOne(ResponseProcessor.java:310)
         at oracle.security.am.engines.authz.ResponseProcessor.process(ResponseProcessor.java:153)
         at oracle.security.am.engines.authz.ResponseProcessor.processAuthz(ResponseProcessor.java:120)
         at oracle.security.am.engines.authz.AuthorizationEngine.isAuthorized(AuthorizationEngine.java:122)
         at oracle.security.am.engines.enginecontroller.AuthzEngineController.authorize(AuthzEngineController.java:570)
         at oracle.security.am.engines.enginecontroller.AuthzEngineController.processEvent(AuthzEngineController.java:168)
         at oracle.security.am.controller.MasterController.processEvent(MasterController.java:418)
         at oracle.security.am.controller.MasterController.processRequest(MasterController.java:586)
         at oracle.security.am.proxy.oam.requesthandler.NGProvider.getAuthorizationResponse(NGProvider.java:1617)
         at oracle.security.am.proxy.oam.requesthandler.NGProvider.getResponse(NGProvider.java:264)
         at oracle.security.am.proxy.oam.requesthandler.RequestHandler.handleRequest(RequestHandler.java:356)
         at oracle.security.am.proxy.oam.requesthandler.RequestHandler.handleMessage(RequestHandler.java:169)
         at oracle.security.am.proxy.oam.requesthandler.ControllerMessageBean.getResponseMessage(ControllerMessageBean.java:75)
         at oracle.security.am.proxy.oam.requesthandler.ControllerMessageBean_eo7ylc_MDOImpl.__WL_invoke(Unknown Source)
         at weblogic.ejb.container.internal.MDOMethodInvoker.invoke(MDOMethodInvoker.java:35)
         at oracle.security.am.proxy.oam.requesthandler.ControllerMessageBean_eo7ylc_MDOImpl.getResponseMessage(Unknown Source)
         at oracle.security.am.proxy.oam.mina.ObClientToProxyHandler.messageReceived(ObClientToProxyHandler.java:215)
         at org.apache.mina.common.DefaultIoFilterChain$TailFilter.messageReceived(DefaultIoFilterChain.java:743)
         at org.apache.mina.common.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:405)
         at org.apache.mina.common.DefaultIoFilterChain.access$1200(DefaultIoFilterChain.java:40)
         at org.apache.mina.common.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:824)
         at org.apache.mina.common.IoFilterEvent.fire(IoFilterEvent.java:54)
         at org.apache.mina.common.IoEvent.run(IoEvent.java:63)
         at oracle.security.am.proxy.oam.mina.CommonJWorkImpl.run(CommonJWorkImpl.java:42)
         at weblogic.work.j2ee.J2EEWorkManager$WorkWithListener.run(J2EEWorkManager.java:183)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)

    Caused By: oracle.security.am.engines.common.identity.provider.exceptions.IdentityProviderException: OAMSSA-20005: Error initializing User/Role API : Identity Provider Configuration not found for : NONE..
         at oracle.security.am.engines.common.identity.provider.util.ConfigUtil.getInitParams(ConfigUtil.java:146)
         at oracle.security.am.engines.common.identity.provider.impl.IdentityProviderImpl.<init>(IdentityProviderImpl.java:164)
         at oracle.security.am.engines.common.identity.provider.impl.IdentityProviderPool.getProvider(IdentityProviderPool.java:89)
         at oracle.security.am.engines.common.identity.provider.UserIdentityProviderFactory.getProviderInternal(UserIdentityProviderFactory.java:116)
         at oracle.security.am.engines.common.identity.provider.UserIdentityProviderFactory.getProvider(UserIdentityProviderFactory.java:97)
         at oracle.security.am.engines.common.identity.util.OAMIdentity.getAttribute(OAMIdentity.java:539)
         at oracle.security.am.engines.authz.IdentityValueProvider.getUserAttribute(IdentityValueProvider.java:241)
         at oracle.security.am.engines.authz.IdentityValueProvider.getValue(IdentityValueProvider.java:138)
         at oracle.security.am.engines.authz.ResponseProcessor.processOne(ResponseProcessor.java:310)
         at oracle.security.am.engines.authz.ResponseProcessor.process(ResponseProcessor.java:153)
         at oracle.security.am.engines.authz.ResponseProcessor.processAuthn(ResponseProcessor.java:90)
         at oracle.security.am.engines.authz.AuthorizationEngine.fillAuthenticationResponses(AuthorizationEngine.java:225)
         at oracle.security.am.engines.enginecontroller.util.ResponseHelper.populateAuthnResponses(ResponseHelper.java:127)
         at oracle.security.am.engines.enginecontroller.util.ResponseHelper.populateAuthnResponses(ResponseHelper.java:267)
         at oracle.security.am.engines.enginecontroller.util.ResponseHelper.handleAllPolicyResponses(ResponseHelper.java:178)
         at oracle.security.am.engines.enginecontroller.AuthzEngineController.authorize(AuthzEngineController.java:679)
         at oracle.security.am.engines.enginecontroller.AuthzEngineController.processEvent(AuthzEngineController.java:168)
         at oracle.security.am.controller.MasterController.processEvent(MasterController.java:418)
         at oracle.security.am.controller.MasterController.processRequest(MasterController.java:586)
         at oracle.security.am.proxy.oam.requesthandler.NGProvider.getAuthorizationResponse(NGProvider.java:1617)
         at oracle.security.am.proxy.oam.requesthandler.NGProvider.getResponse(NGProvider.java:264)
         at oracle.security.am.proxy.oam.requesthandler.RequestHandler.handleRequest(RequestHandler.java:356)
         at oracle.security.am.proxy.oam.requesthandler.RequestHandler.handleMessage(RequestHandler.java:169)
         at oracle.security.am.proxy.oam.requesthandler.ControllerMessageBean.getResponseMessage(ControllerMessageBean.java:75)
         at oracle.security.am.proxy.oam.requesthandler.ControllerMessageBean_eo7ylc_MDOImpl.__WL_invoke(Unknown Source)
         at weblogic.ejb.container.internal.MDOMethodInvoker.invoke(MDOMethodInvoker.java:35)
         at oracle.security.am.proxy.oam.requesthandler.ControllerMessageBean_eo7ylc_MDOImpl.getResponseMessage(Unknown Source)
         at oracle.security.am.proxy.oam.mina.ObClientToProxyHandler.messageReceived(ObClientToProxyHandler.java:215)
         at org.apache.mina.common.DefaultIoFilterChain$TailFilter.messageReceived(DefaultIoFilterChain.java:743)
         at org.apache.mina.common.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:405)
         at org.apache.mina.common.DefaultIoFilterChain.access$1200(DefaultIoFilterChain.java:40)
         at org.apache.mina.common.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:824)
         at org.apache.mina.common.IoFilterEvent.fire(IoFilterEvent.java:54)
         at org.apache.mina.common.IoEvent.run(IoEvent.java:63)
         at oracle.security.am.proxy.oam.mina.CommonJWorkImpl.run(CommonJWorkImpl.java:42)
         at weblogic.work.j2ee.J2EEWorkManager$WorkWithListener.run(J2EEWorkManager.java:183)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    >
    <Apr 17, 2013 4:47:55 PM CDT> <Error> <oracle.apps.fnd.ext.sso> <BEA-000000> <SEVERE exception while finding AppsUser details for GUID $user.attr.orclguid -->
    java.sql.SQLException: ORA-01465: invalid hex number
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:457)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:405)
         at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:889)
         at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:476)
         at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:204)
         at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:540)
         at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:217)
         at oracle.jdbc.driver.T4CPreparedStatement.executeForDescribe(T4CPreparedStatement.java:924)
         at oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatement.java:1261)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1419)
         at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3752)
         at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3806)
         at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeQuery(OraclePreparedStatementWrapper.java:1667)
         at weblogic.jdbc.wrapper.PreparedStatement.executeQuery(PreparedStatement.java:135)
         at oracle.apps.fnd.ext.jdbc.utils.QueryRunner.query(QueryRunner.java:85)
         at oracle.apps.fnd.ext.sso.SsoUser.getAppsUsers(Unknown Source)
         at oracle.apps.fnd.ext.sso.SsoUser.getAppsUser(Unknown Source)
         at oracle.apps.fnd.ext.common.server.FndSsoLoginProcess2.doGet(Unknown Source)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
         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.ServletStubImpl.execute(ServletStubImpl.java:183)
         at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:523)
         at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:253)
         at oracle.apps.fnd.ext.common.server.FndSsoLogin.doPost(Unknown Source)
         at oracle.apps.fnd.ext.common.server.FndSsoLogin.doGet(Unknown Source)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
         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 oracle.apps.fnd.ext.common.server.FndSsoFilter.doFilter(Unknown Source)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
         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.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)
    >
    Apr 17, 2013 4:47:55 PM oracle.apps.fnd.ext.sso.SsoUser getAppsUsers
    SEVERE: SEVERE exception while finding AppsUser details for GUID $user.attr.orclguid -->
    java.sql.SQLException: ORA-01465: invalid hex number
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:457)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:405)
         at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:889)
         at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:476)
         at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:204)
         at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:540)
         at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:217)
         at oracle.jdbc.driver.T4CPreparedStatement.executeForDescribe(T4CPreparedStatement.java:924)
         at oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatement.java:1261)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1419)
         at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3752)
         at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3806)
         at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeQuery(OraclePreparedStatementWrapper.java:1667)
         at weblogic.jdbc.wrapper.PreparedStatement.executeQuery(PreparedStatement.java:135)
         at oracle.apps.fnd.ext.jdbc.utils.QueryRunner.query(QueryRunner.java:85)
         at oracle.apps.fnd.ext.sso.SsoUser.getAppsUsers(Unknown Source)
         at oracle.apps.fnd.ext.sso.SsoUser.getAppsUser(Unknown Source)
         at oracle.apps.fnd.ext.common.server.FndSsoLoginProcess2.doGet(Unknown Source)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
         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.ServletStubImpl.execute(ServletStubImpl.java:183)
         at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:523)
         at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:253)
         at oracle.apps.fnd.ext.common.server.FndSsoLogin.doPost(Unknown Source)
         at oracle.apps.fnd.ext.common.server.FndSsoLogin.doGet(Unknown Source)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
         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 oracle.apps.fnd.ext.common.server.FndSsoFilter.doFilter(Unknown Source)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
         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.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)
    <Apr 17, 2013 4:47:55 PM CDT> <Error> <oracle.apps.fnd.ext.common.server> <BEA-000000> <SEVERE SQL error==>
    java.sql.SQLException: ORA-01465: invalid hex number
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:457)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:405)
         at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:889)
         at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:476)
         at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:204)
         at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:540)
         at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:217)
         at oracle.jdbc.driver.T4CPreparedStatement.executeForDescribe(T4CPreparedStatement.java:924)
         at oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatement.java:1261)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1419)
         at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3752)
         at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3806)
         at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeQuery(OraclePreparedStatementWrapper.java:1667)
         at weblogic.jdbc.wrapper.PreparedStatement.executeQuery(PreparedStatement.java:135)
         at oracle.apps.fnd.ext.jdbc.utils.QueryRunner.query(QueryRunner.java:85)
         at oracle.apps.fnd.ext.sso.SsoUser.getAppsUsers(Unknown Source)
         at oracle.apps.fnd.ext.sso.SsoUser.getAppsUser(Unknown Source)
         at oracle.apps.fnd.ext.common.server.FndSsoLoginProcess2.doGet(Unknown Source)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
         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.ServletStubImpl.execute(ServletStubImpl.java:183)
         at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:523)
         at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:253)
         at oracle.apps.fnd.ext.common.server.FndSsoLogin.doPost(Unknown Source)
         at oracle.apps.fnd.ext.common.server.FndSsoLogin.doGet(Unknown Source)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
         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 oracle.apps.fnd.ext.common.server.FndSsoFilter.doFilter(Unknown Source)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
         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.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)
    >
    Apr 17, 2013 4:47:55 PM oracle.apps.fnd.ext.common.server.FndSsoLoginProcess2 doGet
    SEVERE: SEVERE SQL error==>
    java.sql.SQLException: ORA-01465: invalid hex number
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:457)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:405)
         at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:889)
         at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:476)
         at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:204)
         at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:540)
         at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:217)
         at oracle.jdbc.driver.T4CPreparedStatement.executeForDescribe(T4CPreparedStatement.java:924)
         at oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatement.java:1261)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1419)
         at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3752)
         at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3806)
         at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeQuery(OraclePreparedStatementWrapper.java:1667)
         at weblogic.jdbc.wrapper.PreparedStatement.executeQuery(PreparedStatement.java:135)
         at oracle.apps.fnd.ext.jdbc.utils.QueryRunner.query(QueryRunner.java:85)
         at oracle.apps.fnd.ext.sso.SsoUser.getAppsUsers(Unknown Source)
         at oracle.apps.fnd.ext.sso.SsoUser.getAppsUser(Unknown Source)
         at oracle.apps.fnd.ext.common.server.FndSsoLoginProcess2.doGet(Unknown Source)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
         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.ServletStubImpl.execute(ServletStubImpl.java:183)
         at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:523)
         at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:253)
         at oracle.apps.fnd.ext.common.server.FndSsoLogin.doPost(Unknown Source)
         at oracle.apps.fnd.ext.common.server.FndSsoLogin.doGet(Unknown Source)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
         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 oracle.apps.fnd.ext.common.server.FndSsoFilter.doFilter(Unknown Source)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
         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.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)
    <Apr 17, 2013 4:47:55 PM CDT> <Error> <oracle.apps.fnd.ext.common.server> <BEA-000000> <ERROR found--redirecting to error.jsp>
    Apr 17, 2013 4:47:55 PM oracle.apps.fnd.ext.common.server.FndSsoLoginProcess2 doGet
    SEVERE: ERROR found--redirecting to error.jsp

  • Custom Webservice Using OIM APIs

    Hi..
    How can we create and publish a custom webservice from OIM APIs??
    OOTB SPML Webservice does not support all my requirements.
    Thanks...

    The OOTB Web services are mostly asynchronous, so its not mostly suitable for our synchronous activity in OIM. like create,update,enable,disable etc
    So in order to develop the webservices...
    first of all list down all the methods which u need to publish.
    Write Java code for each methods..
    after that publish all methods as Webservices (JAX-WS) on Weblogic server where OIM is running.
    After that you can access your custom webservices of OIM.
    Regards,
    J

  • VBAI Development Toolkit, Custom Plugin: How to get TCP data / connection ID configured in VBAI Communication Manager?

    Hello,
    I would like to create a custom plugin using the VBAI Dev. Toolkit. I'm using VBAI 2010 with LabView 2010.
    In this step I would like to send a TCP message over a TCP connection defined in VBAI Communication Manager. How can I get the open Connection ID? Or do I have to open the connection in the Plugin? In this case, how to get the defined TCP data from the Communication Manager?
    Thanks for your help.
    Best regards,
    Yellow

    Yes you could. You can even create a simple VBAI inspection that uses the TCP step and then migrate it to LabVIEW to see how VBAI opens the connection and uses it in the TCP step. It may be more involved if you want to allow the user to configure all the TCP settings (IP Address/port) and have all your custom steps use the same settings (maybe save them to an INI and have all steps use the same INI to get the settings).
    Hope this helps,
    Brad

  • Writing a custom plugin for Crystal Report Designer

    Hi,
    I need to add a custom functionality to Crystal Report Designer so that itu2019s available as a menu option is the CRD and should able to be selected by the Report Designer when they design a report using CRD. Is it possible to write and add custom plugins to the CRD? Is there a SDK available to do this or is there a specific method that I could use? Is this supported at all? I need to add the to Crystal Report Designer XI R2 but I could use Crystal 2008 is this is available in that version.
    Thank you in advance,
    Regards,
    Chanaka

    Hi Jamie,
    This sure looks promising  information for me this is exactly what I want to do. Can you direct me to a working Crystal Report 2008 .net Developer Guide and API reference? The chm files I got from searching doesn't seems to work
    [http://www.sdn.sap.com/irj/boc/crystalreports-sdk]
    [http://www.sdn.sap.com/irj/boc/sdklibrary#section7]
    [http://help.sap.com/businessobject/product_guides/boexir31/en/crsdk_net_dg_12_en.chm]
    [http://help.sap.com/businessobject/product_guides/boexir31/en/crsdk_net_apiRef_12_en.chm]
    Thanks,
    Regards,
    Chanaka

  • How to deploy a custom plugin in OVD 11g/ODSM 11g?

    Hi,
    I created a sample plugin and trying to deploy it using ODSM. Looks like there is no facility to do it as we used to do it using OVD Manager GUI. I copied the plugin jar file under the existing pluigns directory. Restarted OVD servers, ODSM but i am still not seeing the custom plugin in ODSM. Any help is appreciated.
    Thanks,
    Ramnath

    Ok, I found a work around for this issue.
    I developed the plugin using OVD MAnager (10g), deployed it in OVD 10g server. Copied the deployed plugin into OVD 11g environment and it works!. So it is the only way to develope custom plugins in 11g by using OVD10g environment? Any other work around not involving 10g is highly appreciated.

Maybe you are looking for

  • Error code when emptying trash

    I'm getting the following message when I try to empty the trash: The Finder cannot complete the operation because some data in "" could not be read or written. (Error code -36) I've tried Secure empty trash and "option" empty trash and nothing seems

  • Will a 510 intel SSD work with MacBook Pro?

    Coulnd't find anyone who has tried this. I am trying to update my crappy harddrive which is on the edge of dying and want to go SSD to speed up the performance and boot times. Will an intel 510 series SSD work with my 2.4GHz intel core duo / DDr3 15.

  • Which is better transfer routine or update routine???

    HI ALL, I have read some documents, but I didnt get the real concept. Can any one explain in detail as to how do we decide where to write the code i.e a start routine or transfer routine or update routine...and which one is better  for a given scenar

  • Alignment Failure

    i just bought a new c6380, right out of the box, have the same problem with alignment failure.  called hp customer service, tells me i have to bring the inks and the printhead to get replaced.  i bought the thing brand new.  they also tell me there i

  • Unable to update ' PSILOC World Traveler v 1.9(3)"...

    I have Nokia E5-00 phone with latest version  091.001 installed. I have PSILOC World Traveler version 1.9(3). I checked for updates to this from within this App a few days before, an update for World Traveler was available. Now when I try to update t