Identify service failure on middle tier

My middle tier PM is getting worse. Now the identify service is failing. It sites the error stack but I don't no where to access that. The logs don't seem to show anything significant. I've gone so far as to restart the PM, rebuild the user task service, and try another user task. Nothing shows resolution.
initiateTask (faulted)
[2005/06/24 00:29:00] "{http://xmlns.oracle.com/pcbpel/taskservice/taskmanager}taskErroredFault" has been thrown. less
<taskErroredFault xmlns="http://xmlns.oracle.com/pcbpel/taskservice/taskmanager">
<part name="faultInfo">
<faultInfo>Identity service system error. Error while invoking Identity service. Service cannot resolve identity in realm "{0}" Check the error stack and fix the cause of the error. Contact oracle support if error is not fixable.</faultInfo>
</part>

Please disregard. More pilot error.

Similar Messages

  • OID Install Failure on Middle Tier

    I'm trying to install the middle tier components on a second Linux server. The infrastructure install went fine but when I try to install the middle tier, I get an error message saying the OUI process can't connect to the OID process on the infrastructure. I can connect to the OID through oidadmin successfully but not from a different machine.
    Can someone point me in the right direction on fixing this problem? I've been working on this for a couple of days.
    Thanks.

    Did you find a solution to the problem.
    I am facing a similar one.
    My install info as follows:
    OS Linux
    Kernel 2.4.18-14smp
    Linux Distribution Redhat 8.0 (Psyche)
    Would like to get as much info as possible
    Thanks

  • Windows Integrated Authentication Help From Middle Tier

    We are trying to enable single sign-on using Windows Integrated Authentication so that the user does not have to enter a username or password, they just get logged in automatically. I created the current Oracle account on the database and it works just fine when I try to connect from my local computer to the database. Our problem is that our application calls an application that runs as a Windows services on the middle tier, and so it gets an invalid username/password error. I can see in the audit logs that it is trying to connect to the database as NT AUTHORITY\ANONYMOUS LOGON.
    The client, middle tier, and database are all Windows based operating systems. The applications is a .Net application and we turned on Impersonation which we read will help pass the client OS user to middle tier so that the application runs as them. And that appears to be working correctly. Again we can get this working when we host the windows service locally, it just wont work when it is hosted on the middle tier. Any ideas how to get this to work?
    Oracle version 11.2.0.2 and 11.2.0.3
    Windows Server 2008 R2

    Hi, jeff81.
    I had same problem with Win2003 server. Try this:
    Start -> Settings -> Control Panel -> Administrative Tools -> Services
    then select "PROPERTIES/LOGON" for necessary service.
    Change "Local System account" to your user account.
    Make sure that user account have necessary grants.
    ps. sorry my poor english :(

  • Oracle forms 10g (win Xp middle tier IE 8             Win 7- IE 8 client)

    forms services 10.1.2.0.2
    Database 11gR2 also on Win Xp pro SP3
    Hi
    I have a problem with java and Jinitiator and my understanding of what is / should be happening.
    In the file forms/server/formsweb.cfg see below. I can alter the parameter
    baseHTMLjinitiator=basejini.htm
    ###baseHTMLjinitiator=basejpi.htm
    between the two alternatives. As it stands as shown the IE8 on the middle tier and on the database PC both work as near correctly as i can tell. On the Win 7 client IE 8 however crashes. switch it to the other way around and the
    win 7 works and the win xp on the database server stops with frm-92095 error version number too low. while on the middle tier Xp PC a blank doucument is displayed.
    How can i have both working at the same time please. I you need more information i will happily supply it.
    Neill
    # $Id: formsweb.cfg 15-apr-2005.13:17:30 pkuhn Exp $
    # formsweb.cfg defines parameter values used by the FormsServlet (frmservlet)
    # This section defines the Default settings. Any of them may be overridden in the
    # following Named Configuration sections. If they are not overridden, then the
    # values here will be used.
    # The default settings comprise two types of parameters: System parameters,
    # which cannot be overridden in the URL, and User Parameters, which can.
    # Parameters which are not marked as System parameters are User parameters.
    # SYSTEM PARAMETERS
    # These have fixed names and give information required by the Forms
    # Servlet in order to function. They cannot be specified in the URL query
    # string. But they can be overridden in a named configuration (see below).
    # Some parameters specify file names: if the full path is not given,
    # they are assumed to be in the same directory as this file. If a path
    # is given, then it should be a physical path, not a URL.
    # USER PARAMETERS
    # These match variables (e.g. %form%) in the baseHTML file. Their values
    # may be overridden by specifying them in the URL query string
    # (e.g. "http://myhost.mydomain.com/forms/frmservlet?form=myform&width=700")
    # or by overriding them in a specific, named configuration (see below)
    [default]
    # System parameter: default base HTML file
    baseHTML=base.htm
    # System parameter: base HTML file for use with JInitiator client
    baseHTMLjinitiator=basejini.htm
    ###baseHTMLjinitiator=basejpi.htm
    # System parameter: base HTML file for use with Sun's Java Plug-In
    baseHTMLjpi=basejpi.htm
    # System parameter: delimiter for parameters in the base HTML files
    HTMLdelimiter=%
    # System parameter: working directory for Forms runtime processes
    # WorkingDirectory defaults to <oracle_home>/forms if unset.
    workingDirectory=
    # System parameter: file setting environment variables for the Forms runtime processes
    envFile=default.env
    # Forms runtime argument: whether to escape certain special characters
    # in values extracted from the URL for other runtime arguments
    escapeparams=true
    # Forms runtime argument: which form module to run
    form=test.fmx
    # Forms runtime argument: database connection details
    userid=scott/xxxxxxxxxxx@orcl
    # Forms runtime argument: whether to run in debug mode
    debug=no
    # Forms runtime argument: host for debugging
    host=
    # Forms runtime argument: port for debugging
    port=
    # Other Forms runtime arguments: grouped together as one parameter.
    # These settings support running and debugging a form from the Builder:
    otherparams=buffer_records=%buffer% debug_messages=%debug_messages% array=%array% obr=%obr% query_only=%query_only% quiet=%quiet% render=%render% record=%record% tracegroup=%tracegroup% log=%log% term=%term%
    # Sub argument for otherparams
    buffer=no
    # Sub argument for otherparams
    debug_messages=no
    # Sub argument for otherparams
    array=no
    # Sub argument for otherparams
    obr=no
    # Sub argument for otherparams
    query_only=no
    # Sub argument for otherparams
    quiet=yes
    # Sub argument for otherparams
    render=no
    # Sub argument for otherparams
    record=
    # Sub argument for otherparams
    tracegroup=
    # Sub argument for otherparams
    log=
    # Sub argument for otherparams
    term=
    # HTML page title
    pageTitle=Oracle Application Server Forms Services
    # HTML attributes for the BODY tag
    HTMLbodyAttrs=
    # HTML to add before the form
    HTMLbeforeForm=
    # HTML to add after the form
    HTMLafterForm=
    # Forms applet parameter: URL path to Forms ListenerServlet
    serverURL=/forms/lservlet
    # Forms applet parameter
    codebase=/forms/java
    # Forms applet parameter
    imageBase=DocumentBase
    # Forms applet parameter
    width=750
    # Forms applet parameter
    height=600
    # Forms applet parameter
    separateFrame=false
    # Forms applet parameter
    splashScreen=
    # Forms applet parameter
    background=
    # Forms applet parameter
    lookAndFeel=Oracle
    # Forms applet parameter
    colorScheme=teal
    # Forms applet parameter
    logo=
    # Forms applet parameter
    restrictedURLparams=HTMLbodyAttrs,HTMLbeforeForm,pageTitle,HTMLafterForm,log,allow_debug,allowNewConnections
    # Forms applet parameter
    formsMessageListener=
    # Forms applet parameter
    recordFileName=
    # Forms applet parameter
    serverApp=default
    # Forms applet archive setting for JInitiator
    archive_jini=frmall_jinit.jar
    # Forms applet archive setting for other clients (Sun Java Plugin, Appletviewer, etc)
    archive=frmall.jar
    # Number of times client should retry if a network failure occurs. You should
    # only change this after reading the documentation.
    networkRetries=0
    # Page displayed to Netscape users to allow them to download Oracle JInitiator.
    # Oracle JInitiator is used with Windows clients.
    # If you create your own page, you should set this parameter to point to it.
    jinit_download_page=/forms/jinitiator/us/jinit_download.htm
    # Parameter related to the version of JInitiator
    jinit_classid=clsid:CAFECAFE-0013-0001-0022-ABCDEFABCDEF
    # Parameter related to the version of JInitiator
    jinit_exename=jinit.exe#Version=1,3,1,22
    # Parameter related to the version of JInitiator
    jinit_mimetype=application/x-jinit-applet;version=1.3.1.22
    # Page displayed to users to allow them to download Sun's Java Plugin.
    # Sun's Java Plugin is typically used for non-Windows clients.
    # (NOTE: you should check this page and possibly change the settings)
    jpi_download_page=http://java.sun.com/products/archive/j2se/1.4.2_06/index.html
    # Parameter related to the version of the Java Plugin
    jpi_classid=clsid:CAFEEFAC-0014-0002-0006-ABCDEFFEDCBA
    # Parameter related to the version of the Java Plugin
    jpi_codebase=http://java.sun.com/products/plugin/autodl/jinstall-1_4_2-windows-i586.cab#Version=1,4,2,06
    # Parameter related to the version of the Java Plugin
    jpi_mimetype=application/x-java-applet;jpi-version=1.4.2_06
    # EM config parameter
    # Set this to "1" to enable Enterprise Manager to track Forms processes
    em_mode=0
    # Single Sign-On OID configuration parameter
    oid_formsid=%OID_FORMSID%
    # Single Sign-On OID configuration parameter
    oracle_home=E:\DSHome_1
    # Single Sign-On OID configuration parameter
    formsid_group_dn=%GROUP_DN%
    # Single Sign-On OID configuration parameter: indicates whether we allow
    # dynamic resource creation if the resource is not yet created in the OID.
    ssoDynamicResourceCreate=true
    # Single Sign-On parameter: URL to redirect to if ssoDynamicResourceCreate=false
    ssoErrorUrl=
    # Single Sign-On parameter: Cancel URL for the dynamic resource creation DAS page.
    ssoCancelUrl=
    # Single Sign-On parameter: indicates whether the url is protected in which
    # case mod_osso will be given control for authentication or continue in
    # the FormsServlet if not. It is false by default. Set it to true in an
    # application-specific section to enable Single Sign-On for that application.
    ssoMode=false
    # The parameter allow_debug determines whether debugging is permitted.
    # Administrators should set allow_debug to "true" if servlet
    # debugging is required, or to provide access to the Forms Trace Xlate utility.
    # Otherwise these activities will not be allowed (for security reasons).
    allow_debug=false
    # Parameter which determines whether new Forms sessions are allowed.
    # This is also read by the Forms EM Overview page to show the
    # current Forms status.
    allowNewConnections=true
    # EndUserMonitoring
    # EndUserMonitoringEnabled parameter
    # Indicates whether EUM/Chronos integration is enabled
    EndUserMonitoringEnabled=
    # EndUserMonitoringURL
    # indicates where to record EUM/Chronos data
    EndUserMonitoringURL=
    # Example Named Configuration Section
    # Example 1: configuration to run forms in a separate browser window with
    # "generic" look and feel (include "config=sepwin" in the URL)
    # You may define your own specific, named configurations (sets of parameters)
    # by adding special sections as illustrated in the following examples.
    # Note that you need only specify the parameters you want to change. The
    # default values (defined above) will be used for all other parameters.
    # Use of a specific configuration can be requested by including the text
    # "config=<your_config_name>" in the query string of the URL used to run
    # a form. For example, to use the sepwin configuration, your could issue
    # a URL like "http://myhost.mydomain.com/forms/frmservlet?config=sepwin".
    [sepwin]
    separateFrame=True
    lookandfeel=Generic
    # Example Named Configuration Section
    # Example 2: configuration forcing use of the Java Plugin in all cases (even if
    # the client browser is on Windows)
    [jpi]
    baseHTMLJInitiator=basejpi.htm
    # Example Named Configuration Section
    # Example 3: configuration running the Forms ListenerServlet in debug mode
    # (debug messages will be written to the servlet engine's log file).
    [debug]
    serverURL=/forms/lservlet/debug
    # Sample configuration for deploying WebUtil. Note that WebUtil is shipped with
    # DS but not AS and is also available for download from OTN.
    [webutil]
    WebUtilArchive=frmwebutil.jar,jacob.jar
    WebUtilLogging=off
    WebUtilLoggingDetail=normal
    WebUtilErrorMode=Alert
    WebUtilDispatchMonitorInterval=5
    WebUtilTrustInternal=true
    WebUtilMaxTransferSize=16384
    baseHTMLjinitiator=webutiljini.htm
    baseHTMLjpi=webutiljpi.htm
    archive_jini=frmall_jinit.jar
    archive=frmall.jar
    lookAndFeel=oracle

    You have a mixture of problems here.
    1. Oracle Jinitiator is not supported for use on Windows 7
    2. JRE 1.7 is not supported for use with any version of Forms on any platform. Be sure you do not have this version installed.
    3. JRE 1.6 is not supported for use with Forms 10.1.2.0.2, however is supported with 10.1.2.3 (10.1.2.0.2 + patch ID 5983622) and only with IE 8
    4. In order to use Win 7 with Forms 10 in a certified and supported manner, you must use 10.1.2.3 (meaning 10.1.2.0.2 + patch ID 5983622).
    In short, my recommendation would be the following:
    o Patch to 10.1.2.3 (assuming you have access to MyOracleSupport)
    o Don't bother trying to use Oracle Jinitiator as it is old and has been desupported for a long time.
    o Uninstall any instances of Jinitiator as it can cause conflicts with other JRE installations.
    o Uninstall all instances of JRE 1.7. Reconfig your formsweb.cfg to use the JRE (Java Plugin) 1.6.0
    baseHTMLJInitiator=basejpi.htm
    jpi_classid=clsid:8AD9C840-044E-11D1-B3E9-00805F499D93
    jpi_mimetype=application/x-java-applet;version=1.6
    jpi_download_page=http://www.oracle.com/technetwork/java/javase/downloads/jre-6u27-download-440425.html
    jpi_codebase=http://javadl-esd.sun.com/update/1.6.0/jinstall-6u27-windows-i586.cab#Version=1,6,0Finally, refer to this:
    http://www.oracle.com/technetwork/middleware/ias/downloads/as-certification-r2-101202-095871.html#BABGCBHA

  • Errors Upgrading 904 Middle Tier to 10.1.2.0.2 on AIX

    Hi,
    I am trying to upgrade our 9.0.4.1 AS Middle Tier on an AIX host to version 10.1.2.0.2. The plan is to eventually get to AS 10.1.2.3.
    I successfully created a new 10.1.2.0.2 Middle Tier home for the upgrade, and kicked off the Oracle AS Upgrade Assistant -GUI Version- to start the upgrade.
    Everything else looks okay except that the Oracle Containers for J2EE component failed during Examination. I see "*ADMN-705002*" error in the iasua.log file. All other components passed the Examination.
    It does not look like we are having any compliance issues identified in the "4.5.1.3 Reasons for Oracle Application Server Containers for J2EE Upgrade and Deployment Failures" section of the Upgrade and Compatibility Guide.
    Has anyone perfomed a similar upgrade from version 9.0.4.1 to version 10.1.2.*? Did you encounter a similar problem during your upgrade? If so, what was the resolution?
    What other pitfalls can you warn me about since I still have an upgrade of the corresponding Infrastructure to perform after the middle tier upgrade?
    Plus we have in the plans a Portal 10.1.4 upgrade before the AS 10.1.2.3 patch. With respect to that, do we have to have our Infrastructure upgrade to 10.1.2.0.2 complete before upgrading Portal to 10.1.4?
    Or can we upgrade Portal to 10.1.4 with a 10.1.2.0.2 Middle Tier and a 9.0.4.1 Infrastructure?
    Any help would be appreciated.
    Thanks.
    CV

    Oracle helped me figure the problem out. The ORA_NLS33 env variable had to be unset before starting up the Upgrade Assistant.
    After that upgrade assistant finished successfully.
    CV

  • Error During Install Oracle Application Server middle tier

    Hi all!
    When I install Business Intelligence and Forms, I get error when Portal Configuration Assistant:
    STEP 3: STEP 3 : Populating Portal seed in OID
    Creating/Modifying Directory Provisioning Profiles in OID
    Subscriber: dc=thanhba,dc=com
    INSTALL_ERROR: Checking the status of Provisioning Profile: User-Defined Exception : 81: Can't contact LDAP server
    And:
    Followed:
    STEP 4 : Adding iAS Provider Group to Portal
    ERROR:
    ORA-12154: TNS:could not resolve the connect identifier specified
    I can help you!!!
    Thanhks!

    You have Infrastructure and middle tier is running in the same box. please consider the below steps.
    Because middle tiers depend on OracleAS Infrastructure services, you need to ensure that the OracleAS Infrastructure services are started first, followed by middle-tier services. You can do this in the following ways:
    1.Give the OracleAS Infrastructure an Oracle home name that alphabetically comes before the middle-tier name. (When you restart a computer, Windows typically starts up services in alphabetical order.) For example: name the OracleAS Infrastructure "Infra", and name the middle tier "J2EE".
    2.Edit the registry (using the Registry Editor) to delay the start of the middle-tier services by setting up dependencies between the OracleAS Infrastructure and middle-tier services. You do this after installing both OracleAS Infrastructure and middle tier. See Section 16.6, "Service Dependencies" for details.
    This is from installtion document ..
    http://download-east.oracle.com/docs/cd/B14101_12/install.1012/install/basic.htm#CHDCIEBA

  • Installing a Forms & Report middle Tier (10.1.2) on a 10.1.3 farm

    I have to install a new farm based on the 10.1.3 release. I will install the Infrastracture and one middle tier in two different Oracle Homes. The problem is that I need also Forms & Report Services, and we know that there will be no F&R services until release 11. The question is:
    can I install a 10.1.2 middle tier instance on top of a 10.1.3 infrastructure (with a different Oracle Homve, of course)?
    Thanks in advance
    Rino

    AS 10.1.3 doesn't have any infrastructure (as well as not having Web Cache etc). The latest full release is 10.1.2.0.2, which includes infrastructure and Forms/Reports. For Identity Management, I'd recommend the new 10.1.4.
    As indicated above, the latest Forms/Reports release is 10.1.2.0.2 (patched to 10.1.2.2), which is the one you should use. You can install either the full Application Server 10.1.2.0.2 with Forms/Reports, or use the Forms&Reports Only release.
    Regards,
    Martin

  • Bea.jolt.ApplicationException:TPESVCFAIL-application level service failure

    Hi All,
    When I try to open PIA 3 tier I'm getting following error on webpage: "bea.jolt.ApplicationException: TPESVCFAIL - application level service failure".
    Thanks and Regards,
    Vineel.

    This is a very generic error
    See this doc for possible causes and resolutions.
    E-AS: Master Note for "'bea.jolt.ApplicationException: TPESVCFAIL" Error [ID 1201223.1]
    https://support.oracle.com/epmos/faces/DocContentDisplay?id=1201223.1

  • TPESVCFAIL - application level service failure

    #include <atmi.h>
    #include <fml32.h>
    #include <fml1632.h>
    #include <tpadm.h>
    #include <stdio.h>
    #include <stdlib.h>
    int main(void)
    long len = 0;
    char lmid[16];
    char serverName[64];
    char srvID[64];
    char srvGrp[16];
    char rqAddr[16];
    char totWorkl[16];
    char state[16];
    char numReq[16];
    if (tpinit((TPINIT*)NULL) == -1) {
    fprintf(stderr, "tpint error\n");
    exit(1);
    int flags = MIB_LOCAL;
    FBFR32* rqbuf = (FBFR32*)tpalloc(FMLTYPE32, NULL, 0);
    Finit32(rqbuf, (FLDLEN32)Fsizeof32(rqbuf));
    Fchg32(rqbuf,TA_OPERATION, 0, "GET", 0);
    Fchg32(rqbuf, TA_CLASS, 0, "T_SERVER", 0);
    Fchg32(rqbuf, TA_FLAGS, 0, (char*)&flags, 0); **/+/if i add this line: compile succeed, but run wrong!!! error info: TPESVCFAIL - application level service failure+**
    if (tpcall(".TMIB",(char*)rqbuf, 0, (char**)&rqbuf, &len, 0) != -1)
    int i, j;
    i = Foccur32(rqbuf, TA_SERVERNAME);
    for (j = 0; j < i; ++j) {
    Fget32(rqbuf, TA_SERVERNAME, j, serverName, 0 );
    Fget32(rqbuf, TA_SRVID, j, srvID, 0);
    Fget32(rqbuf, TA_STATE, j, state, 0);
    Fget32(rqbuf, TA_SRVGRP, j, srvGrp, 0);
    Fget32(rqbuf, TA_RQADDR, j, rqAddr, 0);
    Fget32(rqbuf, TA_TOTWORKL, j, totWorkl, 0);
    Fget32(rqbuf, TA_NUMREQ, j, numReq, 0);
    if (strcmp(state, "ACTIVE") == 0)
    printf("%s,%s,%s,%s,%s,%s,%s\n",serverName, srvID, state, srvGrp, rqAddr, totWorkl, numReq);
    else{
    printf("%s\n", tpstrerror(tperrno));
    exit(1);
    tpfree((char*)rqbuf);
    tpterm();
    return 0;
    how to get local information ,not global information ?
    thinks!!!
    Edited by: 998527 on 2013-4-7 上午7:27

    See the TA_FLAGS in the docs;
    TA_FLAGS
    Long valued FML32 field identifying generic and component MIB specific flag values. Component MIB specific values that may be set in this attribute are defined within each component MIB reference page. Generic flag values and uses are listed below.
    MIB_LOCAL
    This flag is used to modify retrievals from certain classes defined in this MIB. For a number of classes in this MIB, there exists both global information (available at any site in an active application) and local information (available on the particular site where the object is active). Requests to retrieve information from these classes will by default retrieve only the global information and not the local for efficiency. If the application user is willing to wait for local information to be collected, possibly from multiple sites, this flag should be set on the retrieval request. Classes with local information have local attributes listed last in the attribute table with a subheading indicating that they are local attributes. Classes which have only local information will automatically default to retrieving local information even if this flag value is not set.
    MIB_PREIMAGE
    indicates that a pre-image check must be passed before a SET operation will be performed. A pre-image check insures that occurrence 0 of any MIB specific class attributes match the existing object. If so, the object is updated using occurrence 1 of any MIB specific class attributes. Attributes occurring less than two times are not considered for pre-image checking. Multiply occurring fields are checked if their associated count attribute is specified twice.
    MIB_SELF
    This flag is used as a shorthand to indicate that identification attributes for the client or server originating the request should be added to the request buffer prior to processing. For clients, TA_CLIENTID is added and for servers, TA_GRPNO and TA_SRVID are added.

  • Can we Run a simple SQL statement from OBIEE Middle Tier node

    Hi
    i am working in OBIEE 11g environment. Database is installed on one node and Middle tier (BI services ) in other node,
    Can i use any utility to run a simple SQL statement from Middle tier ?
    Thanks
    Reddy

    Any utility means?
    We can create an ODBC connection on the BI server and run the sql.
    Mark if helps.

  • Oracle application server middle tier not starting

    I installed oracle 10g application server( version 10.1.2) in windows 2003 server.
    In the same machine we have infrastucture and middle tier installed.
    last 6 months it is working fine.
    now i stop all from ias console to stop the middle tier.
    in the ias console page it is showing all component is down.
    Now when i click on start all it is giving error "all components are already started."
    But in the ias console page all component are showing down.
    Now if i give stop all then it is showing error all component already stop.
    Please let me know where is the problem.
    Thanks and Regards,
    Partha

    You have Infrastructure and middle tier is running in the same box. please consider the below steps.
    Because middle tiers depend on OracleAS Infrastructure services, you need to ensure that the OracleAS Infrastructure services are started first, followed by middle-tier services. You can do this in the following ways:
    1.Give the OracleAS Infrastructure an Oracle home name that alphabetically comes before the middle-tier name. (When you restart a computer, Windows typically starts up services in alphabetical order.) For example: name the OracleAS Infrastructure "Infra", and name the middle tier "J2EE".
    2.Edit the registry (using the Registry Editor) to delay the start of the middle-tier services by setting up dependencies between the OracleAS Infrastructure and middle-tier services. You do this after installing both OracleAS Infrastructure and middle tier. See Section 16.6, "Service Dependencies" for details.
    This is from installtion document ..
    http://download-east.oracle.com/docs/cd/B14101_12/install.1012/install/basic.htm#CHDCIEBA

  • Handling Locking for transaction in Middle Tier versus Database backend

    Hi,
    If we implement middle tier with C# as the programming language and backend as SQL Server database, if we now wanted to implement locking where we take the classic case of money withdrawal from a bank account, we could implement this as a single atomic transaction
    using locks / monitor in the middle tier or we could do this in a stored procedure and handle it using a begin tran commit tran in SQL Server.
    What would be the recommended way? middle tier or sql server database backend?
    Thanks

    > the two different servers having the same middle tier executing the same code at the same time will be handled by the backend by putting one on hold while the other is being serviced.
    Yes.  A SQL Server database provides a single coherent state repository for the whole application.  And you can use the database transactions to control which business transactions run concurrently, and which do not.
    David
    David http://blogs.msdn.com/b/dbrowne/

  • Disable autostart of middle tier whily patching OAS

    Hi,
    I have an OAS installation of 10gR2(10.1.2.0.2) with Bussiness Intelligence Middle Tier and ready to install patch 5983622 10g Release 2 Patch Set 3 (10.1.2.3.0).
    The readme says that only the database, listener and infrastructure should be running.
    I make sure the middle tier is down, but after a little time elapses, the middle tier services automatically start up. How can I prevent them from starting up until patching is complete?
    I'd very much appreciate if someone could please explain.
    Pat

    Oracle instances do not automatically go up or down. Either a user or a process starts or stops them.
    Just do the following and the server would stay down unless some cron job or another user would bring it up.
    set and export your ORACLE_HOME to midtier;
    $ORACLE_HOME/bin/emctl.bat stop iasconsole
    $ORACLE_HOME/opmn/bin/opmnctl stopall
    thanks,
    AMN

  • [OIM] Middle tier upgrade Policy Store configuration  not found exception

    Hi,
    During the middle tier upgrade of OIM we are facing the issue the logs are mentioned below.
    Creating oracle/iam/authzpolicydefn/resources/Logging_zh_CN.properties
    Creating oracle/iam/authzpolicydefn/resources/Logging_zh_TW.properties
    Creating oracle/iam/authzpolicydefn/resources/PolicyValidation.properties
    Creating oracle/iam/authzpolicydefn/resources/default_policies/ApprovalPolicyManagementPolicies.xml
    Creating oracle/iam/authzpolicydefn/resources/default_policies/AuthorizationManagementPolicies.xml
    Creating oracle/iam/authzpolicydefn/resources/default_policies/DiagnosticDashboardPolicies.xml
    Creating oracle/iam/authzpolicydefn/resources/default_policies/NotificationMgmtPolicies.xml
    Creating oracle/iam/authzpolicydefn/resources/default_policies/OESPolicy.xsd
    Creating oracle/iam/authzpolicydefn/resources/default_policies/PlatformServicePolicies.xml
    Creating oracle/iam/authzpolicydefn/resources/default_policies/PlugInPolicies.xml
    Creating oracle/iam/authzpolicydefn/resources/default_policies/ReconciliationApiPolicies.xml
    Creating oracle/iam/authzpolicydefn/resources/default_policies/ReconciliationManagementPolicies.xml
    Creating oracle/iam/authzpolicydefn/resources/default_policies/RequestTemplateManagementPolicies.xml
    Creating oracle/iam/authzpolicydefn/resources/default_policies/RoleManagementPolicies.xml
    Creating oracle/iam/authzpolicydefn/resources/default_policies/SchedulerPolicies.xml
    Creating oracle/iam/authzpolicydefn/resources/default_policies/SelfServiceUserManagementPolicies.xml
    Creating oracle/iam/authzpolicydefn/resources/default_policies/SystemPropertiesPolicies.xml
    Creating oracle/iam/authzpolicydefn/resources/default_policies/UserManagementConfigurationPolicies.xml
    Creating oracle/iam/authzpolicydefn/resources/default_policies/UserManagementPolicies.xml
    Creating oracle/iam/authzpolicydefn/utils/FeatureManagerUtils.class
    Creating oracle/iam/authzpolicydefn/utils/OESPolicyConstants.class
    Creating oracle/iam/authzpolicydefn/utils/PolicyNameValidationUtils.class
    Creating oracle/iam/authzpolicydefn/utils/PolicyValidationUtils.class
    Creating oracle/iam/authzpolicydefn/vo/AuthzPolicy.class
    Creating oracle/iam/authzpolicydefn/vo/DMAuthzPolicy.class
    Creating oracle/iam/authzpolicydefn/vo/DataConstraint.class
    Creating oracle/iam/authzpolicydefn/vo/EmptyDataConstraint.class
    Creating oracle/iam/authzpolicydefn/vo/OESPolicyServiceFactory.class
    Creating oracle/iam/authzpolicydefn/vo/Result.class
    Creating oracle/iam/authzpolicydefn/vo/RoleDataConstraint.class
    Creating oracle/iam/authzpolicydefn/vo/UserDataConstraint.class
    Creating oracle/iam/authzpolicydefn/vo/package.html
    upgrade-oes-ootb-policies:
    upgrade-oes-ootb-policies:
    ----> UPDATING OUT OF THE bOX OES POLICIES
    Db password jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=10.1.5.70) (PORT=1555))(CONNECT_DATA=(SERVICE_NAME=testoid)))
    [EL Info]: 2012-09-05 16:06:16.212--ServerSession(662907)--EclipseLink, version: Eclipse Persistence Services - 1.1.0.r3634
    [EL Info]: 2012-09-05 16:06:18.938--ServerSession(662907)--file:/restore/middleware_74/wls_home/Oracle_IDM_F/modules/oracle.oes_11.1.1/jps-internal.jar-JpsDBDataManager login successful
    oracle.security.jps.service.policystore.ConfigurationNotFoundException
            at oracle.security.jps.internal.policystore.entitymanager.impl.ConfigurationManagerImpl.getSecurityModule(ConfigurationManagerImpl.java:371)
            at oracle.iam.authzpolicydefn.impl.OESPolicyServiceImpl.deleteAndUnbindAppPolicy(OESPolicyServiceImpl.java:1703)
            at oracle.iam.authzpolicydefn.impl.OESPolicyServiceImpl.init(OESPolicyServiceImpl.java:452)
            at oracle.iam.authzpolicydefn.impl.OESPolicyServiceImpl.<init>(OESPolicyServiceImpl.java:234)
            at oracle.iam.authzpolicydefn.loader.PolicyLoader.createPolicies(PolicyLoader.java:117)
            at oracle.iam.authzpolicydefn.loader.PolicyLoader.main(PolicyLoader.java:204)
    Exception in thread "main" oracle.security.jps.service.policystore.ConfigurationNotFoundException
            at oracle.security.jps.internal.policystore.entitymanager.impl.ConfigurationManagerImpl.getSecurityModule(ConfigurationManagerImpl.java:371)
            at oracle.iam.authzpolicydefn.impl.OESPolicyServiceImpl.deleteAndUnbindAppPolicy(OESPolicyServiceImpl.java:1703)
            at oracle.iam.authzpolicydefn.impl.OESPolicyServiceImpl.init(OESPolicyServiceImpl.java:452)
            at oracle.iam.authzpolicydefn.impl.OESPolicyServiceImpl.<init>(OESPolicyServiceImpl.java:234)
            at oracle.iam.authzpolicydefn.loader.PolicyLoader.createPolicies(PolicyLoader.java:117)
            at oracle.iam.authzpolicydefn.loader.PolicyLoader.main(PolicyLoader.java:204)The Database connect string is correct. I have written the echo statement in the script just to confirm it. The error is occurring in the createPolicies method has someone encountered this before.

    Is this OIM 11g R2?? if yes have you configured the security store as mentioned in the doc while installing
    OIM 11gR2 - Where is the OES Console?

  • Reading CSV on middle tier

    I have two applications where I need to read standard comma delimited text data. I would like to bind a VO to a csv as its data source, and am assuming that many have done this before. Is there a 'ready to use' extended class I can use?
    In one app, I only need to read the rows in a table. Period.
    In another I need to write the rows to a 9.2 database.
    Any help, much appreciated.
    -Nat

    Nat,
    By the Middle Tier I assume you mean an EJB bean (Session or Entity).
    Read the J2EE Spec, Chapter 24.1.2, Programming Restrictions regarding File I/O. The spec states "An enterprise bean must not use the java.io package to attempt to access files and directories in the file system." The reason provided by the spec is "The file system API's are not well suited for business components to access data. Business components should use a resource manager API, such as JDBC, to store data."
    My application needs to create database records and corresponding directories in the file system. I have succeeded in doing this by using JNDI File System Service provider as sketched below:
    ***** Session Bean ******
    package myco.i.Demo.ejb;
    import javax.ejb.SessionBean;
    import myco.i.Demo.dao.DocDAO;
    public class DemoFacadeBean implements SessionBean
    { private   DocDAO aDocDao;
    public void ejbCreate()
    {  aDocDao = new DocDAO();  }
    public void addDoc(DocDto theDoc)
    throws DocDAOException
    {  DocDAO.addDoc(theDoc);  }
    ***** DAO Code ******
    package myco.i.Demo.dao;
    import myco.i.Demo.dto.DocDto;
    public class DocDAO {
    private Context fsCtx;
    // Constructor
    public DocDAO()
    super();
         // Set up the initial File System context
         Hashtable env = new Hashtable(11);
         env.put(Context.INITIAL_CONTEXT_FACTORY,
         "com.sun.jndi.fscontext.RefFSContextFactory");
         env.put(Context.PROVIDER_URL, "file : /Demo");
         try { fsCtx = new InitialContext(env); }
         catch {...}
    // Business methods
    public void addDoc(aDoc)
    throws DocDAOException
    Context newDir = fsCtx.createSubcontext(aDoc.getLocation());
    ... JDBC Code to create new database record ...
    To make this work I had to copy the JNDI File System provider classes (fscontext.jar, providerutil.jar)into the JRE (inherently insecure if someone hacks your site). I don't know if this is any better then setting the security on your app server to allow Java.io.* (JNDI has some overhead).
    You can use java.io from within the web container (jsp's/Servelets), but you loose a little bit of transaction processing. I may end up choosing this direction to stay within the spec.
    Hope this helps.
    Jake

Maybe you are looking for