EM after Apps 11i clone?

Hi,
after cloning 11i (using rapidclone), EM isn't configured for the clone target. When I start
EM (emctl start dbconsole) I'm told EM is trying to start on the host of the clone source.
Can I change the way I clone so that I don't have to manually reinstall EM after each clone?
thanks
brh

No. Rapid Clone is not currently aware of the 10g host.domain_sid directory in the $ORACLE_HOME which houses the configuration files for the dbconsole. You only option is to either recreate the repository as you mentioned, or change the repsitory directory and every file that references the source server/host/listener/instance. You would probably want to script that, or find that dropping and recreating the repository is faster.

Similar Messages

  • Application Services Not Starting After Oracle Apps 11i Clone

    Hi All,
    Can any one help me out on this ........
    EBS: 11.5.9
    Database: 9.2.0.3.0
    After the cloning oracle Application Apache, Concurrent managers and other services are up and running perfectly but my forms and reports services are not coming up.
    It is showing time out when i tried to start the services. Please find the below
    Executing service control script:
    /disk1/oracle/dev1comn/admin/scripts/dev1_dataprepdev1/adfrmctl.sh start
    script returned:
    ERROR : Timed out: Interrupted Exception
    Command line may not be valid
    Executing service control script:
    /disk1/oracle/dev1comn/admin/scripts/dev1_dataprepdev1/adrepctl.sh start
    script returned:
    ERROR : Timed out: Interrupted Exception
    Command line may not be valid
    Executing service control script:
    /disk1/oracle/dev1comn/admin/scripts/dev1_dataprepdev1/adfmcctl.sh start
    script returned:
    ERROR : Timed out: Interrupted Exception
    Command line may not be valid
    Executing service control script:
    /disk1/oracle/dev1comn/admin/scripts/dev1_dataprepdev1/adfmsctl.sh start
    script returned:
    ERROR : Timed out: Interrupted Exception
    Command line may not be valid
    Thanks in advance...
    Sai

    976630 wrote:
    Hi Sir,
    The Issue get resolved
    i checked the dbc file and xml file for the password of Guest user it is same...
    But it is not default ORACLE. Checked in dbc , xml and fnd_user table. Changed it to default ORACLE in xml file and ran the adautocfg.sh
    The issue get resolved. Thanks for your help.Thanks for the update and for sharing the solution!
    Regards,
    Hussein

  • Apps 11i clone RAC to Non RAC

    Hi hussein,
    I have 4 node 11i applications with PCP and Load balancer. Now we have a requirement to clone it to single node.
    OS     = Linux 4.6
    Apps   = 11.5.10.2
    *Node details:*
    database:
    Database RAC1 = 10.2.0.4
    Database RAC2 = 10.2.0.4
    Shared db        = ocfs2
    Application:
    Apps01 = Form, web, admin, conc
    Apps02 = Form, web, admin, concI referred tech notes:
    Certified RAC Scenarios for E-Business Suite Cloning [ID 783188.1]
    From this tech note it seems this scenario is not certified with rapidclone.
    *Cloning Oracle Applications Release 11i with Rapid Clone [ID 230672.1]*
    *Manually Cloning Oracle Applications Release 11i with 10g or 11g RAC [ID 760637.1]*
    For database I will use rman backup and use duplicate command to clone it. Now i have doubt for application tier.
    I performed so many multi-node to single-node clones with split configurartion (form, web, admin - node1) and (conc , db -node2), in this situation i used adpreclone.pl merge appsTier on node1 and adpreclone.pl merge appl_top on node two.
    Now I am confused how to do it. As all services exists on both nodes.
    Do i need to run merge appsTier on both nodes? or merge appsTier on one node and merge app_top on other? or no need to run merge appsTier? confused :(
    Any pointers on this appreciated.
    Thanks for your support as always :)
    regards,
    X A H E E R
    Edited by: ora_tech on Feb 14, 2011 10:53 AM

    Hi Hussein,
    Many thanks for tech note.
    I performed so many multi-node to single-node clones with split configurartion (form, web, admin - node1) and (conc , db -node2), in this situation i used adpreclone.pl merge appsTier on node1 and adpreclone.pl merge appl_top on node two.So same on node 1 i need to run preclone with merge appsTier and node two just merge appl_top right. As per the tech note.
    thanks,
    X A H E E R

  • Error while clonning on a new system - APPS 11i

    Hi all
    i am facing an issue
    i am cloning oracle apps 11i
    i have run preclone before copying the db and app tiers
    oracle apps version 11.5.10.2
    DB 9.2.0.6.0
    OS Windows 2003 32 bit with sp1
    i have installed all the pre req
    that are
    MKS TOOLKIT
    VC++
    XML Parser
    java sdk 6
    now when i am running adcfgclone i am getting this below error and two java virtual machine launcher prompts which are
    "Failed to load Main-Class manifest attribute from
    D:\proddb\92267d~1.0\appsutil\clone\jlib\CLASSE~1.JAR"
    after i press ok then 2nd prompt come as this for java virtual machine launcher prompt
    "Failed to load Main-Class manifest attribute from
    D:\proddb\92267d~1.0\appsutil\clone\jlib\rt.jar"
    and after pressing ok it open automatically this zip file
    D:\neproddb\9.2.0\appsutil\clone\jlib\xmlparserv2.zip
    below is the copy paste from command prompt
    perl adcfgclone.pl dbTier
    Enter the APPS password [APPS]:
    apps
    First Creating a new context file for the cloned system.
    The program is going to ask you for information about the new system:
    Usage: java [-options] class [args...]
    (to execute a class)
    or java -jar [-options] jarfile [args...]
    (to execute a jar file)
    where options include:
    -hotspot to select the "hotspot" VM
    If present, the option to select the VM must be first.
    The default VM is -hotspot.
    -cp -classpath <directories and zip/jar files separated by ;>
    set search path for application classes and resources
    -D<name>=<value>
    set a system property
    -verbose[:class|gc|jni]
    enable verbose output
    -version print product version and exit
    -showversion print product version and continue
    -? -help print this help message
    -X print help on non-standard options
    ERROR: context creation not completed successfully.
    Please check C:/DOCUME~1/ADMINI~1/LOCALS~1/Temp/adcfgclone.err file for errors
    and this error file is not having anything inside it its empty
    please help me out
    thanks
    hassan

    Hi;
    Did you set perl and perl5lib before start post clone?
    Setting the Perl Environment PERL5LIB [ID 395294.1]
    Common Perl Setup Issues and Solutions for E-Business Suite 11i [ID 404055.1]
    Did you check clone log for any other error message?
    Regard
    Helios

  • Error while clonning Oracle app 11i

    Hi all Once again, a new day a new error :)
    i am having Error while clonning Oracle app 11i on windows 2003 sp1 32 bit db 9.2.0.6.0
    when running adcfgclone.pl dbTier it successfully runs uptill 70% at this stage it throws the below error
    ================================================================================================
    Beginning database tier Apply - Wed Mar 7 01:49:19 2012
    Log file located at d:\oracle\neproddb\9.2.0\appsutil\log\NPRO_hassan\ApplyDBTier_03070149.log
    RC-50004: Fatal: Error occurred in ApplyDatabase:
    Control file creation failed
    ERROR while running Apply...
    ERROR: Failed to execute adclone.pl
    Please check logfile.
    =================================================================================================
    when i check the ApplyDBTier_03070149.log
    i found this below
    ==============================================================================================================================================================================================================================
    Skipping Profile Phase
    Skipping Apply Phase
    Executing StartDbLsnr...
    ECHO is off.
    ECHO is off.
    Wed 03/07/2012 01:50 AM
    ECHO is off.
    ECHO is off.
    Wed 03/07/2012 01:50 AM
    NPRO_hassan.cmd exiting with status 0
    ECHO is off.
    The environment settings are as follows ...
    ECHO is off.
    ORACLE_HOME : d:\oracle\neproddb\9.2.0
    LOCAL : NPRO
    ORACLE_SID :
    PATH : d:\oracle\neproddb\9.2.0\Apache\perl\5.00503\bin\MSWin32-x86\;d:\oracle\neproddb\9.2.0\bin;d:\oracle\neproddb\9.2.0\jre\1.4.2\bin;d:\oracle\neproddb\9.2.0\jre\1.4.2\bin;../jre/1.3.1/bin;d:\oracle\neproddb\9.2.0\Apache\perl\5.00503\bin\MSWin32-x86\perl.exe;C:\mksnt\bin;C:\mksnt\bin\X11;C:\mksnt\mksnt;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;d:\oracle\neproddb\9.2.0\bin;;d:\oracle\neproddb\9.2.0\jre\1.4.2\bin;d:\oracle\neproddb\9.2.0\jre\1.4.2\bin
    LD_LIBRARY_PATH : d:\oracle\neproddb\9.2.0\lib
    ECHO is off.
    ECHO is off.
    The log information will be written to
         "d:\oracle\neproddb\9.2.0\appsutil\log\NPRO_hassan\addlnctl.txt"
    ECHO is off.
    ECHO is off.
    Starting listener process NPRO ...
    ECHO is off.
    LSNRCTL for 32-bit Windows: Version 9.2.0.6.0 - Production on 07-MAR-2012 01:50:56
    Copyright (c) 1991, 2002, Oracle Corporation. All rights reserved.
    Connecting to (ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROCNPRO))
    TNS-12541: TNS:no listener
    TNS-12560: TNS:protocol adapter error
    TNS-00511: No listener
    32-bit Windows Error: 2: No such file or directory
    Connecting to (ADDRESS=(PROTOCOL=TCP)(Host=hassan.com)(Port=1534))
    TNS-12541: TNS:no listener
    TNS-12560: TNS:protocol adapter error
    TNS-00511: No listener
    32-bit Windows Error: 61: Unknown error
    LSNRCTL for 32-bit Windows: Version 9.2.0.6.0 - Production on 07-MAR-2012 01:50:57
    Copyright (c) 1991, 2002, Oracle Corporation. All rights reserved.
    Starting tnslsnr: please wait...
    TNSLSNR for 32-bit Windows: Version 9.2.0.6.0 - Production
    NL-00280: error creating log stream d:\oracle\neproddb\9.2.0\network\log\npro.log
    NL-00278: cannot open log file
    SNL-00016: snlfohd: error opening file
    32-bit Windows Error: 13: Permission denied
    Listener failed to start. See the error message(s) above...
    addlnctl.cmd exiting with status 3
    .end std out.
    .end err out.
    Executing CreateDB...
    ADX Database Utility
    getConnectionUsingAppsJDBCConnector() -->
    APPS_JDBC_URL='null'
    Trying to get connection using SID based connect descriptor
    getConnection() -->
    sDbHost : hassan
    sDbDomain : com
    sDbPort : 1534
    sDbSid : NPRO
    sDbUser : APPS
    Trying to connect using SID...
    getConnectionUsingSID() -->
    JDBC URL: jdbc:oracle:thin:@hassan.com:1534:NPRO
    Exception occurred: java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
    Trying to connect using SID as ServiceName
    getConnectionUsingServiceName() -->
    JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=hassan.com)(PORT=1534))(CONNECT_DATA=(SERVICE_NAME=NPRO)))
    Exception occurred: java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
    Trying to connect using SID as ServiceName.DomainName
    getConnectionUsingServiceName() -->
    JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=hassan.com)(PORT=1534))(CONNECT_DATA=(SERVICE_NAME=NPRO.com)))
    Exception occurred: java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
    Connection could not be obtained; returning null
    -------------------ADX Database Utility Finished---------------
    ECHO is off.
    ECHO is off.
    Wed 03/07/2012 01:51 AM
    ECHO is off.
    ECHO is off.
    Wed 03/07/2012 01:51 AM
    NPRO_hassan.cmd exiting with status 0
    ECHO is off.
    The environment settings are as follows ...
    ECHO is off.
    ORACLE_HOME : d:\oracle\neproddb\9.2.0
    LOCAL : NPRO
    ORACLE_SID :
    PATH : d:\oracle\neproddb\9.2.0\Apache\perl\5.00503\bin\MSWin32-x86\;d:\oracle\neproddb\9.2.0\bin;d:\oracle\neproddb\9.2.0\jre\1.4.2\bin;d:\oracle\neproddb\9.2.0\jre\1.4.2\bin;../jre/1.3.1/bin;d:\oracle\neproddb\9.2.0\Apache\perl\5.00503\bin\MSWin32-x86\perl.exe;C:\mksnt\bin;C:\mksnt\bin\X11;C:\mksnt\mksnt;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;d:\oracle\neproddb\9.2.0\bin;;d:\oracle\neproddb\9.2.0\jre\1.4.2\bin;d:\oracle\neproddb\9.2.0\jre\1.4.2\bin
    LD_LIBRARY_PATH : d:\oracle\neproddb\9.2.0\lib
    ECHO is off.
    ECHO is off.
    The log information will be written to
         "d:\oracle\neproddb\9.2.0\appsutil\log\NPRO_hassan\adcrdb_NPRO.txt"
    ECHO is off.
    ECHO is off.
    Creating the control file for NPRO database ...
    ECHO is off.
    SQL*Plus: Release 9.2.0.6.0 - Production on Wed Mar 7 01:51:01 2012
    Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
    ERROR:
    ORA-12560: TNS:protocol adapter error
    DIM-00010: SYSTEM\CurrentControlSet\Services\OracleService key does not exist
    O/S-Error: (OS 2) The system cannot find the file specified.
    SQL*Plus: Release 9.2.0.6.0 - Production on Wed Mar 7 01:51:42 2012
    Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
    ERROR:
    ORA-01031: insufficient privileges
    ORA-01031: insufficient privileges
    ERROR:
    ORA-01031: insufficient privileges
    ORA-01031: insufficient privileges
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0640: Not connected
    ORA-01012: not logged on
    ERROR:
    ORA-01031: insufficient privileges
    ORA-01031: insufficient privileges
    SP2-0640: Not connected
    SP2-0641: "EXECUTE" requires connection to server
    ORA-01031: insufficient privileges
    ERROR:
    ORA-01031: insufficient privileges
    ORA-01031: insufficient privileges
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0640: Not connected
    ECHO is off.
    Checking for errors ...
    ECHO is off.
    The database has not been successfully created. Shutting down the instance...
    SQL*Plus: Release 9.2.0.6.0 - Production on Wed Mar 7 01:51:52 2012
    Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
    ERROR:
    ORA-01031: insufficient privileges
    adcrdb.cmd exiting with status 1
    .end std out.
    .end err out.
    ADX Database Utility
    getConnectionUsingAppsJDBCConnector() -->
    APPS_JDBC_URL='null'
    Trying to get connection using SID based connect descriptor
    getConnection() -->
    sDbHost : hassan
    sDbDomain : com
    sDbPort : 1534
    sDbSid : NPRO
    sDbUser : APPS
    Trying to connect using SID...
    getConnectionUsingSID() -->
    JDBC URL: jdbc:oracle:thin:@hassan.com:1534:NPRO
    Exception occurred: java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
    Trying to connect using SID as ServiceName
    getConnectionUsingServiceName() -->
    JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=hassan.com)(PORT=1534))(CONNECT_DATA=(SERVICE_NAME=NPRO)))
    Exception occurred: java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
    Trying to connect using SID as ServiceName.DomainName
    getConnectionUsingServiceName() -->
    JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=hassan.com)(PORT=1534))(CONNECT_DATA=(SERVICE_NAME=NPRO.com)))
    Exception occurred: java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
    Connection could not be obtained; returning null
    -------------------ADX Database Utility Finished---------------
    RC-00118: Error occurred during creation of database
    Raised by oracle.apps.ad.clone.ApplyDatabase
    StackTrace:
    java.lang.Exception: Control file creation failed
         at oracle.apps.ad.clone.ApplyDatabase.<init>(ApplyDatabase.java:474)
         at oracle.apps.ad.clone.ApplyDatabase.<init>(ApplyDatabase.java:319)
         at oracle.apps.ad.clone.ApplyDatabase.<init>(ApplyDatabase.java:295)
         at oracle.apps.ad.clone.ApplyDBTier.<init>(ApplyDBTier.java:154)
         at java.lang.reflect.Constructor.newInstance(Native Method)
         at oracle.apps.ad.clone.util.CloneProcessor.run(CloneProcessor.java:68)
         at java.lang.Thread.run(Unknown Source)
    ==============================================================================================================================================================================================================================
    please help me out with your advices
    Thanks
    Hassan

    Dear Hussein / helios ,
    it worked finally i gave a high number 76 and it worked with out any problem also this time i gave loop back adapter an ip address i just remember now that i was not giving an ip to my loop back adapter i gave as below
    ip : 10.10.10.10
    subnet : 255.255.255.0
    and made my host file look like as
    127.0.0.1 localhost
    10.10.10.10 hassan.com hassan
    then i tested the ping by pinging hassan.com and the reply came from 10.10.10.10
    and also i disabled my wireless network card before running adcfgclone
    and it worked ALLHAMDOLLILAH :)
    Thanks to the great masters Hussein & Helios :)
    Now its time for appsTier cloning hope that it goes smooth :)
    Regards,Re: Error while clonning Oracle app 11i
    Hassan

  • Can't we update the mesages after ceated messages in oracle apps 11i

    Hi All,
    i have created message and ran the concurent programme of generate message in 11i, after that i have called that message name into jdeveloper. message is displaying correctly. i am trying to update the message which i have created and again ran the concurent programme. but updated message is not reflected. its shwing old message.
    Can't we update the mesages after ceated messages in oracle apps 11i? if so what is the process.
    can any one know the process.
    Thanks and Regards,
    krishna

    Kindly check in AOL and confirm that the message is changed. Also make sure the Jdeveloper code refers to the message code and the language for which the message text is set correctly. Thereafter delete the myclasses file and run the code again. Updated message should be shown.
    Regards
    Sumit

  • Clone my exacting oracle apps 11i into another box

    Hi,
    I want to clone my exacting oracle apps 11i into another box.
    Bellow, I am describing current setup:
    OS: Solaris 9
    Application Version: 11.5.7
    Database version: 8.1.7
    Single Node Installation on Sun Cluster (Active / Passive Mode)
    Node 1 Host name: orafin1 (10.1.1.33)
    Node 2 Host Name: orafin2 (10.1.1.34)
    Virtual Host Name: orafin (10.1.1.35)
    Now we want to clone exiting apps on another sun box on bellow setup:
    OS: Solaris 10 (64 Bit)
    Stand Alone cloning with out Sun Cluster.
    Please suggest me , solution about above scenarios.
    Thanks
    Anup

    Dear All,
    One of my previous apps dba suggested me how to do manuall cloning, I have 11.5.10.2 but it is upgraded from 11.5.9, though it is autoconfig enabled but rapid clone has errors and I dont want to touch the Source Production system, my steps will be like this , please correct me if I am wrong.
    1. Copy dbTier - rdbms home to target system
    if (hot backup use rman backup)
    2. copy appsTier to Target system
    On Target System.
    3. set ORACLE_SID, ORACLE_HOME
    run rman target /
    restore controlfile
    mount the database and restore database and recover.
    alter database open resetlogs
    alter tablespace temp add datafile
    shutdown immediate;
    startup.
    4. connect apps/apps
    exec fnd_conc_clone.setup_clean;
    commit;
    exit;
    5. change dbTier context file
    change the host name to Target hostname
    run autoconfig :
    cd /u2/oracle/proddb/9.2.0/appsutil/bin
    adconfig.sh contextfile=conext_file appspass=apps
    6. run autoconfig on appsTier
    cd /u2/oracle/prodappl/ad/11.5.0/bin
    adconfig.sh contextfile=context_file appspass=apps
    Mohammed Vilayath Ali

  • Cant Open Oracle Apps 11i Forms after installing latest JRE

    We are currently on Oracle Apps 11.5.10.2. I had to install latest JRE 1.6 Update23 to be able to work on BI Publisher Templates and now I can't open any of the Oracle Forms under eBusiness Suite. IE just crashes, doesnt show any message on JInitiator Console either. Same issue with Mozilla Firefox browser.
    FYI..I have a colleague who is able to work on both...BI Publisher Template Mgr and Oracle Fin Forms with latest JRE installed..So dont think its a server issue, its just my client setup. Any help is appreciated.
    Thx

    What is the difference between your client and your colleague client (in terms of client OS, browser, installed applications, ..etc)?
    Do you meet the requirements in (Recommended Browsers for Oracle E-Business Suite 11i [ID 285218.1])?
    Can you reproduce the issue with Firefox?
    Please see if these docs help.
    Internet Explorer Crashes When Forms Is Launched [ID 430359.1]
    MS IE Browser Crashes With 'Abnormal Program Termination or 'Register Failk' When Accessing Discoverer 10g From E-Business Suite 11i (forms) or Oracle Forms [ID 396773.1]
    INTERNET EXPLORER CRASHES WITH ORACLE APPS 11I AND MICROSOFT SILVERLIGHT ADD ON INSTALLED [ID 1077496.1]
    Internet Explorer Crash With Unexpected Signal EXCEPTION_ACCESS_VIOLATION [ID 435562.1]
    Thanks,
    Hussein

  • Oracle Apps 11i(11.5.10.2) migration from IBM AIX 5.3 to 6.1 (64-bit)

    Hi,
    Is there any additional steps required after migrating Oracle Apps 11i(11.5.10.2) from IBM AIX 5.3 to 6.1?
    Regards,
    Kiran

    Is there any additional steps required after migrating Oracle Apps 11i(11.5.10.2) from IBM AIX 5.3 to 6.1? Are you cloning or upgrading the OS?
    If you want to upgrade the OS, then you need to make sure you install all OS pre-req software and packages aftet the upgrade and relink executable files.
    How to relink an Applications Installation of Release 11i and Release 12 [ID 356878.1]
    Recommendations To Install Oracle Applications 11i [ID 294932.1]
    Oracle Applications Installation Update Notes, Release 11i (11.5.10.2) [ID 316806.1]
    If you want to clone, then make sure you have all OS pre-req. software and packages installed and use Rapid Clone -- Rapid Clone Documentation Resources For Release 11i and 12 [ID 799735.1]
    Thanks,
    Hussein

  • Oracle Apps 11i: Output Post Manager is down

    Hi Experts,
    I was working on Oracle application cloning 11i lately and after completing the clone, my conc. manager output post manager (OPP) is not coming up in target system.
    I  tried to fix the issue by running "cmclean.sql" and thn ran autoconfig on application node, but still the issue persists
    The logfile for FNDOPP(outout post manager) says:-
    [12/17/13 5:24:30 PM] [main] Starting GSF service with concurrent process id = 154919.
    [12/17/13 5:24:30 PM] [main] Initialization Parameters: oracle.apps.fnd.cp.opp.OPPServiceThread:2:0:max_threads=5
    [12/17/13 5:24:31 PM] [Thread-23] Service thread starting up.
    [12/17/13 5:24:31 PM] [Thread-24] Service thread starting up.
    [12/17/13 6:52:55 PM] [GSMServiceController:154919] Received shutdown request.
    [12/17/13 6:52:55 PM] [GSMServiceController:154919] Preparing to shutdown service.
    [12/17/13 6:52:55 PM] [GSMServiceController:154919] Stopping all Service Threads.
    [12/17/13 6:52:55 PM] [OPPServiceThread1] Preparing to shut down service thread.
    [12/17/13 6:52:55 PM] [OPPServiceThread0] Preparing to shut down service thread.
    [12/17/13 6:53:55 PM] [OPPServiceThread0] Service thread has shutdown.
    [12/17/13 6:54:00 PM] [OPPServiceThread1] Service thread has shutdown.
    [12/17/13 6:54:00 PM] [GSMServiceController:154919] All Service Threads have completed.
    [12/17/13 6:54:00 PM] [GSMServiceController:154919] Service has shut down.
    FYI, The below metalink note did not help
    Concurrent Processing - R12 Output Post Processor Service Not Coming Up. (Doc ID 460578.1)
    Can anyone help me to fix the issue? Your assistance will be highly appreciated.
    DB version: 11.2.0.3
    EBS Version: 11.5.10.2
    Platform: 2.6.39-300.17.3.el5uek (Linux)

    Thanks for replying Asif.
    In ICM log file, I see occurrence of these error messages in bulk.It looks Mangers are wrongly defined or fnd_nodes having some incorrect values.
    Do I have to perform the application clone again or is there any another way to fix it.
    Process monitor session started : 17-DEC-2013 21:29:02
    Could not find service instance context for service instance number 1072
    Could not find service instance context for service instance number 1092
    Could not find service instance context for service instance number 1089
    Could not find service instance context for service instance number 1090
    Could not find service instance context for service instance number 1091
    Could not find service instance context for service instance number 1043
    1. Output of the first query
    Concurrent Manager's Name                 
    TARGET Processes ACTUAL Processes
    Conflict Resolution Manager                              
    1           
    1
    Internal Manager                                         
    1           
    1
    Scheduler/Prereleaser Manager                            
    1           
    1
    Standard Manager                                        
    20          
    20
    PO Document Approval Manager                             
    3           
    3
    Receiving Transaction Manager                            
    5           
    5
    PA Streamline Manager                                    
    0           
    0
    Inventory Manager                                        
    2           
    2
    INV Remote Procedure Manager                             
    5           
    5
    SFM Controller Service                                   
    0           
    0
    SFM Order Queue Service                                  
    0           
    0
    Concurrent Manager's Name                 
    TARGET Processes ACTUAL Processes
    SFM Work Item Queue Service                              
    0           
    0
    SFM Fulfillment Actions Queue Service                    
    0           
    0
    SFM Fulfillment Element Ready Queue Service              
    0           
    0
    SFM Event Manager Queue Service                          
    0           
    0
    SFM Inbound Messages Queue Service                       
    0           
    0
    SFM Timer Queue Service                                  
    0           
    0
    SFM Application Monitoring Service                       
    0           
    0
    SFM SM Interface Test Service                            
    0           
    0
    Session History Cleanup                                  
    1           
    1
    C AQCART Service                                         
    1           
    0
    Marketing Data Mining Manager                            
    5           
    5
    Concurrent Manager's Name                 
    TARGET Processes ACTUAL Processes
    Workflow Document Web Services Service                   
    1           
    0
    UWQ Worklist Items Release for Crashed session           
    1           
    1
    WMS Task Archiving Manager                               
    2           
    2
    OAM Metrics Collection Manager                           
    1           
    1
    Workflow Agent Listener Service                          
    1           
    0
    Workflow Mailer Service                                  
    1           
    0
    Transportation Manager                                  
    10          
    10
    Output Post Processor                                    
    1           
    0
    2. Output of 2nd query
    SQL> select CONCURRENT_QUEUE_NAME, TARGET_NODE from fnd_concurrent_queues;
    CONCURRENT_QUEUE_NAME          TARGET_NODE
    FNDCRM                         GDDEVAP1
    FNDICM                         GDDEVAP1
    FNDSCH                         GDDEVAP1
    FNDTMTST
    STANDARD                       GDDEVAP1
    PODAMGR                        GDDEVAP1
    RCVOLTM                        GDDEVAP1
    ARTAXMGR
    PASMGR
    OKCCONCMGR                     GDDEVAP1
    INVMGR                         GDDEVAP1
    CONCURRENT_QUEUE_NAME          TARGET_NODE
    INVTMRPM                       GDDEVAP1
    MRPMGR                         GDDEVAP1
    CRPINQMGR                      ORACLE
    IEXCONMGR                      ORACLE
    XDP_CTRL_SVC
    XDP_Q_ORDER_SVC
    XDP_Q_WI_SVC
    XDP_Q_FA_SVC
    XDP_Q_FE_READY_SVC
    XDP_Q_EVENT_SVC
    XDP_Q_IN_MSG_SVC
    CONCURRENT_QUEUE_NAME          TARGET_NODE
    XDP_Q_TIMER_SVC
    XDP_APPL_SVC
    XDP_SMIT_SVC
    WFMGSMD
    MET_CL_gddevap1_9160
    MET_SRV_gddevap1_9260
    OAMGCS_192.168.2.22
    OAMGCS_GDDEVAP1
    FNDSM_GDDEVAP1                 GDDEVAP1
    FNDIM_GDDEVAP1
    APACHE_gddevap1_8060
    CONCURRENT_QUEUE_NAME          TARGET_NODE
    FORMS_gddevap1_9060
    XDP_MANAGER                    GDDEVAP1
    REPORTS_gddevap1_7060
    IEU_SH_CS                      GDDEVAP1
    WFMGSMS
    C_AQCT_SVC                     ORACLE
    AMSDMIN                        GDDEVAP1
    WFWSSVC                        ORACLE
    IEU_WL_CS                      GDDEVAP1
    WMSTAMGR                       GDDEVAP1
    Debug_Service                  ORACLE
    CONCURRENT_QUEUE_NAME          TARGET_NODE
    MWA001
    OAMCOLMGR                      GDDEVAP1
    WFALSNRSVC                     ORACLE
    WFMLRSVC                       ORACLE
    FTE_TXN_MANAGER                GDDEVAP1
    FNDCPOPP                       ORACLE

  • Install instructions for Search Modeler and integrating with Apps 11i

    Below are all the steps I took for creating integrating Search Modeler with an Oracle E-Business Suite 11.5.10.2 ATG RUP 7 instance called ERNIE.
    Much thanks to Oracle Support ( Rajesh Ghosh, Vikas Soolapani and Roger Ford), as this simply wouldn't have been possible without them.
    There are a few things in this document that may not be pertinent to your environment if you're doing this. I've made attempts to clarify those possibly optional sections in the documentation.
    I've broken the document down into the following multiple parts
    o Setting up a new RedHat 4.8 x86 server called ausSEARCHdev (The server is in AUStin, TX, is dedicated to SEARCH, and is for our DEV environment)
    o SES (Secure Enterprise Search 10.1.8.2 install
    o SES 10.1.8.4 patchset install
    o SES CPU patch apply
    o Standalone OC4J and ADF installation
    o Search Modeler installation and configuration
    o Configure ERNIE Apps instance to be on valid self-signed SSL certificate
    o Import ERNIE SSL certificate into SES and Search Modeler
    using aussearchdev initially
    rh4 x86, default oracle build
    ** htop and collectl are open source free performance monitoring packages we utilize**
    --start
    install htop and collectl
    wget http://dag.wieers.com/rpm/packages/htop/htop-0.7-1.el4.rf.i386.rpm
    rpm -ivh htop-0.7-1.el4.rf.i386.rpm
    wget http://downloads.sourceforge.net/project/collectl/collectl/collectl-3.4.0-4/collectl-3.4.0-4.noarch.rpm?use_mirror=voxel
    rpm -ivh collectl-3.4.0-4.noarch.rpm
    chkconfig collectl on
    service collectl start
    **We still need to install the necessary rpms so that collectl logs are compressed
    --end
    useradd -u 501 oracle
    groupadd -g 504 dba
    usermod -G 504 oracle
    verification:
         [root@aussearchdev ~]# su - oracle
         [oracle@aussearchdev ~]$ id
         uid=501(oracle) gid=501(oracle) groups=501(oracle),504(dba)
    passwd oracle
    ** /mnt/oraclebackup is a network dumpspot we use to hold Software installs, RPMs, etc
    ** /mnt/rpms is a network dumpspot we use to hold ISOs for OS software such as Redhat Linux
    mkdir /mnt/oraclebackup
    mkdir /mnt/rpms
    add the following to /etc/fstab
    XXXXXXX:/patches/oraclebackup /mnt/oraclebackup nfs defaults,hard,nolock 0 0
    XXXXXXX:/esxpress/nfs /mnt/rpms nfs rw,addr=XXX.XXX.XXX.XXX 0 0
    mount /mnt/rpms
    Next need to install various oracle needed RPMs.
    cd /mnt/rpms/rh40_upd8/RedHat/RPMS/
    rpm -ivh perl-Compress-Zlib-1.42-1.el4.i386.rpm
    rpm -ivh libaio-devel-0.3.105-2.i386.rpm
    rpm -ivh sysstat-5.0.5-25.el4.i386.rpm
    rpm -ivh unixODBC-devel-2.2.11-1.RHEL4.1.i386.rpm
    service collectl restart
    cd /tmp
    wget http://oss.oracle.com/el4/oracle-validated/oracle-validated-1.0.0-18.el4.i386.rpm
    rpm -ivh oracle-validated-1.0.0-18.el4.i386.rpm
    Now we should have all the RPMs we need.
    cd /etc/sysconfig/oracle-validated
    ./oracle-validated-verify
    cd /var/log/oracle-validated/results
    more orakernel.log
    uname -a
    should return 2.6.9 or higher
    rpm -qa|grep gcc-
    should return 3.4.3 or higher
    rpm -qa|grep glibc
    should return 2.3.4-2.9 or higher
    rpm -qa|grep make
    should return 3.80 or higher
    rpm -qa|grep binutils
    should return 2.15.92.0.2 or higher
    rpm -qa|grep openmotif
    should return 2.2.3-9.RHEL4.1 or higher
    rpm -qa|grep compat-db
    should return 4.1.25-9 or higher
    rpm -qa|grep setarch
    should return 1.6-1 or higher
    cat /proc/sys/kernel/sem
    should return 250 32000 100 128 or higher (250 32000 100 142 in our case)
    cat /proc/sys/kernel/shmall (1073741824 in our case)
    should return 2097152 or higher
    cat /proc/sys/kernel/shmmax
    should return half the size of physical memory (4294967295 in our case - NO LARGER on 32-bit OS)
    cat /proc/sys/kernel/shmmni
    should return 4096
    cat /proc/sys/fs/file-max
    should return 65536 (327679 in our case)
    cat /proc/sys/net/ipv4/ip_local_port_range
    should return 1024 65000
    values in /etc/security/limits.conf set by oracle-validated rpm, no changes necessary
    add the following line to /etc/pam.d/login
    session required /lib/security/pam_limits.so
    add the following to /etc/profile
    if [ $USER = "oracle" ]; then
    if [ $SHELL = "/bin/ksh" ]; then
    ulimit -p 16384
    ulimit -n 65536
    else
    ulimit -u 16384 -n 65536
    fi
    fi
    mkdir -p /d01/oracle
    chmod 777 /d01/oracle
    init 6 the box (aka reboot)
    Time to start the SES 10.1.8.2 installer
    running SES 10.1.8.2 installer
    as oracle
    cd /mnt/oraclebackup/deathstar_patches/SES/SES10182
    ./runInstaller
    search server name sesprod
    administrative password XXXXXXXX for dev,
    http port 7777
    destination path /d01/oracle/10.1.8/sesdev (dev)
    data storage path /d01/oracle/sesdevdata (dev)
    next
    inventory /d01/oracle/oraInventory
    dba group
    run orainstroot.sh as requested
    continue
    all tests should pass, continue
    finished clean
    tried logging in to admin console at http://aussearchdev:7777/search/admin - worked fine
    tried bringing up search query at http://aussearchdev:7777/search/query/search - worked fine
    Now we need to get to 10.1.8.4 of SES
    (yes, you need to keep the system up)
    cd /mnt/oraclebackup/deathstar_patches/SES/SES10184/ses_10184pst_linux/
    ./runInstaller
    Destination, choose sesdev
    Next
    Patchset successful
    tried logging in to admin console at http://aussearchdev:7777/search/admin - worked fine
    tried bringing up search query at http://aussearchdev:7777/search/query/search - worked fine
    Apply CPU Patch to SES
    CPU JAN 10 says patch 9119261 is required - but patch requires extended support contract
    CPU OCT 09 says patch 8836540 is required - but patch requires extended support contract
    CPU JUL 09 says patch 8534394 is required - but patch requires extended support contract
    CPU APR 09 says patch 8290534 is required - and you can actually download it
    Need opatch from 6880880
    cp -r /mnt/oraclebackup/deathstar_patches/SES/CPUAPR09/OPatch $ORACLE_HOME
    export PATH=$ORACLE_HOME/OPatch:$PATH
    shut down everything
    cd $ORACLE_HOME/bin
    ./searchctl stopall
    cd /mnt/oraclebackup/deathstar_patches/SES/CPUAPR09/8290534
    opatch apply
    cd $ORACLE_HOME/cpu/CPUApr2009
    **Note: your sys password is what you set for your administrative password above
    sqlplus "sys/XXXXXX" as sysdba;
    startup
    @catcpu
    @?/rdbms/admin/utlrp
    shutdown immediate
    exit
    cd /d01/oracle/10.1.8/sesdev/cpu/view_recompile/
    sqlplus "sys/XXXXXXX" as sysdba;
    startup upgrade;
    @view_recompile_jan2008cpu.sql
    @?/rdbms/admin/utlrp
    shutdown immediate
    cd /d01/oracle/10.1.8/sesdev/jdk/jre/lib/ext
    mv mail.jar $HOME/mail.jar.backup02222010
    mv mailapi.jar $HOME/mailapi.jar.back02222010
    cp /d01/oracle/10.1.8/sesdev/search/lib/mail.jar .
    SES 10.1.8.4 is now installed and updated with latest available CPU
    tried logging in to admin console at http://aussearchdev:7777/search/admin - worked fine
    tried bringing up search query at http://aussearchdev:7777/search/query/search - worked fine
    we're going to go with the standalone OC4j 10.1.3.3 and Oracle ADF 10.1.3.3 method
    The URLs for these products are
    http://blogs.oracle.com/ebssearch/2009/10/available_now_oracle_search_modeler_11_for_oracle_e-business_suite_11i.html
    and specifically
    OC4J - http://download.oracle.com/otn/java/oc4j/101330/oc4j_extended_101330.zip
    ADF - http://www.oracle.com/technology/software/products/jdev/htdocs/adfinstaller10133.html
    OC4J install
    First you need to have Java 1.5 on the machine. Latest is 1.5.0_22. Package is in /mnt/oraclebackup/deathstar_patches/SES
    as root on aussearchdev
    cd /usr/local
    cp /mnt/oraclebackup/deathstar_patches/SES/jdk-1_5_0_22-linux-i586.bin .
    chmod 700 jdk-1_5_0_22-linux-i586.bin
    ./jdk-1_5_0_22-linux-i586.bin
    yes
    install OC4J just by copying over the directory
    as oracle on aussearchdev
    mkdir -p /d01/oracle/oc4j
    cd /d01/oracle/oc4j
    cp -r /mnt/oraclebackup/deathstar_patches/SES/oc4j/* .
    ADF install
    vi /mnt/oraclebackup/deathstar_patches/SES/adf/adfinstaller.properties
    change the following
    OracleHome = /mnt/oraclebackup/deathstar_patches/SES/adf
    DesHome = /d01/oracle/oc4j/
    type = OC4J
    as root
    cd /usr/bin
    rm java
    (yes)
    ln -s /usr/local/jdk1.5.0_22/bin/java
    su - oracle
    java -version     should now return 1.5.0_22
    export JAVA_HOME=/usr/local/jdk1.5.0_22
    cd /mnt/oraclebackup/deathstar_patches/SES/adf
    java -jar runinstaller.jar -version
    returns The version for the ADF libraries being installed is 10.1.3.41.57 - yes, that is apparently 10.1.3.3.
    java -jar runinstaller.jar adfinstaller.properties
    output looks good, do not be concerned by
    WARNING: 'Could not delete: /d01/oracle/oc4j/BC4J/redist/bc4j' whilst deleting bc4j application
    WARNING: 'Could not delete: /d01/oracle/oc4j/BC4J/redist/datatags' whilst deleting datatags application
    as it was trying to delete the old version that didn't exist
    Start OC4J
    as oracle on aussearchdev
    export JAVA_HOME=/usr/local/jdk1.5.0_22
    export ORACLE_HOME=/d01/oracle/oc4j
    cd $ORACLE_HOME/bin
    ./oc4j -start
    you will be prompted for password - we're setting it. use XXXXXXXXXX
    after it's up, kill it (ctrl-c) and restart it with
    nohup ./oc4j -start &
    last lines in nohup.out is
    Starting OC4J from /d01/oracle/oc4j/j2ee/home ...
    10/02/23 03:22:38 Oracle Containers for J2EE 10g (10.1.3.3.0) initialized
    So now on to search modeler installation, going by Installation steps in Note 781366.1
    8326128 - This is not a patch to be applied to the Apps, keep reading
    as oracle on aussearchdev
    cd /mnt/oraclebackup/deathstar_patches/SES/8326128
    mkdir -p /d01/oracle/oc4j/uploaded
    vi build.properties, changing
    installation.type=OC4J
    oracle.home=/d01/oracle/oc4j
    deploy.server=aussearchdev.domainname.com
    deploy.port=23791
    web.port=7777
    password=XXXXXXXXX
    extra.classpath=/d01/oracle/oc4j/uploaded
    now set the following environment values in your ssh session
    export ORACLE_HOME=/d01/oracle/oc4j
    export JAVA_HOME=/usr/local/jdk1.5.0_22
    export PATH=$ORACLE_HOME/ant/bin:$ORACLE_HOME/bin:$PATH
    ant main
    whole bunch of stuff to screen, errors due to undeploy something that doesn't exist. Finished after a minute with
    BUILD SUCCESSFUL
    Total time: 58 seconds
    Now on to post install steps
    restart OC4j
    cd $ORACLE_HOME/bin
    ./modeler.sh -shutdown -port 23791 -password r*l*r*0*
    export ORACLE_HOME=/d01/oracle/oc4j
    export JAVA_HOME=/usr/local/jdk1.5.0_22
    export PATH=$ORACLE_HOME/ant/bin:$ORACLE_HOME/bin:$PATH
    nohup ./modeler.sh -start &
    end of nohup.out should show
    Starting OC4J from /d01/oracle/oc4j/j2ee/home ...
    Try going to http://aussearchdev:8888/modeler/faces/ModelerHome.jsp
    Should get login screen, but wait, we haven't installed Oracle Apps interface yet...
    Next let's do the Apps side of things
    Going by note 953378.1
    Using ERNIE (a development instance of E-Business Suite running 11.5.10.2 ATG RUP 7)
    as applmgr on ausernieapp (ausernieapp is our app tier)
    shut down apps services
    apps patch 8225631
    verify all the pre-req patches are in ERNIE
    select * from ad_bugs where bug_number = '5903765';
    select * from ad_bugs where bug_number = '6372396';
    select * from ad_bugs where bug_number = '3219567';
    select * from ad_bugs where bug_number = '3264822';
    select * from ad_bugs where bug_number = '3261254';
    select * from ad_bugs where bug_number = '5161676';
    select * from ad_bugs where bug_number = '3036401';
    select * from ad_bugs where bug_number = '3263588';
    select * from ad_bugs where bug_number = '3264818';
    select * from ad_bugs where bug_number = '3218526';
    select * from ad_bugs where bug_number = '3263645';
    select * from ad_bugs where bug_number = '4206794';
    select * from ad_bugs where bug_number = '3262486';
    select * from ad_bugs where bug_number = '3261243';
    select * from ad_bugs where bug_number = '2614213';
    select * from ad_bugs where bug_number = '3262159';
    select * from ad_bugs where bug_number = '2819091';
    select * from ad_bugs where bug_number = '3412795';
    patch went in smooth
    Log in to ERNIE Apps GUI as sysadmin user responsibility
    Give users such as sysadmin FND Search Crawler responsibility
    Go to system profile options, set
    set FND: Search Enabling Flag to Y at site level
    as applmgr on ausernieapp
    cd /d01/oracle/ernieappl/fnd/11.5.0/patch/115/sql
    sqlplus apps/$APPS_PWD @AFSRCHCF
    Enter SES endpoint URL [e.g. http://ap637atg.us.oracle.com:7780]: http://aussearchdev.domainname.com:7777
    Enter Apps Admin username [e.g. sysadmin]: sysadmin
    Enter Apps Admin password: sysadmin_password
    Enter SES Admin username [e.g. eqsys]: eqsys
    Enter SES Admin password: eqsyspassword <-- This is the same as sys's password
    on aussearchdev as oracle
    had to kill modeler and start all the processes, so
    kill -9 the modeler oc4j process, then
    cd $ORACLE_HOME/bin
    ./searchctl startall
    enter the password when prompted
    in IE browser go to
    http://aussearchdev.domainname.com:7777/search/admin
    log in with eqsys password
    global settings tab
    identity management setup
    click circle next to oracle.search.plugin.security.identity.ebs.EBS12IdentityPliginMgr
    (yes, we're going with 12 even though we use Oracle Apps 11i)
    http end point https://ausernieapp.domainname.com:8443/webservices/AppSearch/SecurityService
    username sysadmin
    password XXXXXXX
    finish
    Global Settings
    Federation Trusted Entitites
    ####entity name sysadmin
    ####Entity Password XXXXXXXX
    According to web conference with Oracle, this should NOT be eqsys but instead be sysadmin from above.
    Select the Use Entity Plug-in for authentication check box
    add
    Trying to go to http://aussearchdev.domainname.com:7777/search/query/search and login (sysadmin / password)
    stop midtier on both SES and Apps
    cd $ORACLE_HOME/bin
    ./searchctl stopall
    ./adstpall.sh apps/$APPS_PWD on EBS app tier
    start midtier on both SES and Apps
    cd $ORACLE_HOME/bin
    ./searchctl startall
    ./adstrtal.sh apps/$APPS_PWD on EBS app tier
    Now try and log in to Oracle SES user interface to verify the configuration
    http://aussearchdev.domainname.com:7777/search/query
    Now start up modeler again
    export JAVA_HOME=/usr/local/jdk1.5.0_22
    export ORACLE_HOME=/d01/oracle/oc4j
    export PATH=$ORACLE_HOME/bin:$PATH
    cd $ORACLE_HOME/bin
    nohup ./modeler.sh -start &
    Works now.
    Now go to http://aussearchdev.domainname.com:8888/modeleradmin/AdminHome.jsp log in as oc4jadmin/XXXXXXX
    Configure new target
    Target Type 11i
    Description ERNIE
    Name ERNIE
    EBS Database Host Name auserniedb
    EBS Database Port 1521
    EBS Database SID ERNIE
    username apps
    password XXXXXXXXx
    oc4jadmin XXXXXXXx
    export JAVA_HOME=/usr/local/jdk1.5.0_22
    export ORACLE_HOME=/d01/oracle/oc4j
    export PATH=$ORACLE_HOME/bin:$PATH
    cd $ORACLE_HOME/j2ee/home
    java -jar admin_client.jar deployer:oc4j:aussearchdev oc4jadmin XXXXXXXXX -addDataSourceConnectionPool -name "ERNIE2-pool" -factoryClass "oracle.jdbc.pool.OracleDataSource" -dbUser "apps" -dbPassword "XXXXXXX" -url "jdbc:oracle:thin:@auserniedb.domainname.com:1521:ERNIE" -applicationName appsearch
    java -jar admin_client.jar deployer:oc4j:aussearchdev oc4jadmin XXXXXXX -addManagedDataSource -name "ERNIEDS" -jndiLocation "jdbc/ERNIEDS" -connectionPoolName "ERNIE2-pool" -applicationName appsearch
    http://aussearchdev.domainname.com:8888/modeler/faces/ModelerHome.jsp
    So, creating a self signed SSL certificate for ERNIE EBS instance (this will not work if you use an SSL certificate for another server like say, PROD)
    doing this on ausernieapp
    openssl genrsa -des3 -out ausernieapp.key 1024
    PEM key is ausernieapp
    openssl req -new -key ausernieapp.key -out ausernieapp.csr
    PEM key is ausernieapp
    Country US
    State Texas
    Locality Austin
    Organization Name Corporation
    Organizational Unit Name Information Technology
    Common Name ausernieapp.domainname.com
    Email address [email protected]
    No challenge password
    No optional company name
    Now let's remove the passphrase from the key
    cp ausernieapp.key ausernieapp.key.orig
    openssl rsa -in ausernieapp.key.orig -out ausernieapp.key
    Now let's generate a self-signed certificate
    openssl x509 -req -days 1000 -in ausernieapp.csr -signkey ausernieapp.key -out ausernieapp.crt
    Install the private key and certificate
    cd $IAS_ORACLE_HOME/Apache/Apache/conf/ssl.crt
    cp server.crt server.crt.backup.03102010
    chown applmgr:applmgr server.crt.backup.03102010
    cp $HOME/ausernieapp.crt /d01/oracle/ernieora/new/iAS/Apache/Apache/conf/ssl.crt/server.crt
    cd $IAS_ORACLE_HOME/Apache/Apache/conf/ssl.key/
    cp server.key server.key.backup.03102010
    cp $HOME/ausernieapp.key /d01/oracle/ernieora/new/iAS/Apache/Apache/conf/ssl.key/server.key
    chown applmgr:applmgr server.key.backup.03102010
    bounce apache as applmgr
    cd /d01/oracle/erniecomn/admin/scripts/ERNIE_ausernieapp
    ./adapcctl.sh stop
    ./adapcctl.sh start
    In IE
    https://ausernieapp.domainname.com:8443
    Continue
    Click on Certificate Error next to URL bar
    Install Certificate -> Next-> Place all certificates in the following store -> trusted root certificate authorities ->finish
    close browser, back to https://ausernieapp.domainname.com:8443
    no errors,
    Next step will be to import key into the SES and Search modelers
    as oracle on aussearchdev
    cd /d01/oracle/10.1.8/sesdev/jdk/jre/lib/security/
    cp cacerts cacerts.backup.03102010
    scp root@ausernieapp:/root/ausernieapp.crt .
    export LANG=c
    export PATH=$ORACLE_HOME/jdk/bin:$PATH
    keytool -keystore ./cacerts -storepass changeit -alias rootausernieapp -import -trustcacerts -file ausernieapp.crt
    --output
    Owner: [email protected], CN=ausernieapp.domainname.com, OU=Information Technology, O=Corporation, L=Austin, ST=Texas, C=US
    Issuer: [email protected], CN=ausernieapp.domainname.com, OU=Information Technology, O=Corporation, L=Austin, ST=Texas, C=US
    Serial number: b4e92089cf73076f
    Valid from: Wed Mar 10 13:22:38 CST 2010 until: Tue Dec 04 13:22:38 CST 2012
    Certificate fingerprints:
    MD5: 2C:6B:EE:1A:63:6D:XX:A6:05:90:F6:XX:DD:88:F7:80
    SHA1: F8:DC:E5:2A:3E:68:XX:E1:EA:E4:75:AE:CC:4F:4A:10:2F:8A:FE:9B
    Trust this certificate? [no]: yes
    Certificate was added to keystore
    Now load our cert
    keytool -keystore ./cacerts -import -trustcacerts -file ausernieapp.crt
    keytool -list -v -keystore ./cacerts now shows
    Alias name: rootausernieapp
    Creation date: Mar 10, 2010
    Entry type: trustedCertEntry
    Owner: [email protected], CN=ausernieapp.domainname.com, OU=Information Technology, O=Corporation, L=Austin, ST=Texas, C=US
    Issuer: [email protected], CN=ausernieapp.domainname.com, OU=Information Technology, O=Corporation, L=Austin, ST=Texas, C=US
    Serial number: b4e92089cf73076f
    Valid from: Wed Mar 10 13:22:38 CST 2010 until: Tue Dec 04 13:22:38 CST 2012
    Certificate fingerprints:
    MD5: 2C:6B:EE:1A:63:6D:CB:XX:05:90:F6:78:DD:88:F7:80
    SHA1: F8:DC:E5:2A:3E:68:9C:CE:EA:4E:75:AE:CC:FA:9E:10:2F:8A:FE:9B
    Now we need to load it into the search modeler keystore
    as root on aussearchdev
    export JAVA_HOME=/usr/local/jdk1.5.0_22/
    export PATH=$JAVA_HOME/bin:$PATH
    cd /usr/local/jdk1.5.0_22/jre/lib/security/
    scp root@ausernieapp:/root/ausernieapp.crt .
    output
    keytool -keystore ./cacerts -import -trustcacerts -file ausernieapp.crt
    Enter keystore password: changeit
    Owner: [email protected], CN=ausernieapp.domainname.com, OU=Information Technology, O=Corporation, L=Austin, ST=Texas, C=US
    Issuer: [email protected], CN=ausernieapp.domainname.com, OU=Information Technology, O=Corporation, L=Austin, ST=Texas, C=US
    Serial number: b4e92089cf73076f
    Valid from: Wed Mar 10 13:22:38 CST 2010 until: Tue Dec 04 13:22:38 CST 2012
    Certificate fingerprints:
    MD5: 2C:6B:EE:1A:63:6D:CB:A1:05:90:F6:78:DD:88:F7:80
    SHA1: F8:DC:E5:2A:3E:68:9C:CE:EA:4E:75:AE:CC:4F:9E:10:2F:8A:FE:9B
    Trust this certificate? [no]: yes
    Certificate was added to keystore
    [root@aussearchdev security]#
    output
    For troubleshooting, if you go to end of /d01/oracle/10.1.8/sesdev/search/data/config/crawler.dat
    you can modify the logLevel from the default of 4 to 2 to get better debug data. No services need to be restarted, it will become active with the next crawl.
    While talking with Oracle, they mentioned the following patches
    The patches identified 8321527 and 7586924 are SES patches to help with indexing
    They also identified patch 9103851 which is an apps patch dealing with responsibilities <-- This is not yet available
    Applying patch 7586924
    as oracle on aussearchdev
    cd $ORACLE_HOME/bin
    ./searchctl stopall
    cd /mnt/oraclebackup/deathstar_patches/SES/post_patches/7586924
    opatch apply
    cd $ORACLE_HOME/bin
    ./searchctl startall
    sqlplus eqsys/XXXXXX@SESDEV
    define SCH_NAME=EQSYS
    define PROXY_USER=EQPROXY
    define INST_USER=EQ_TEST
    @$ORACLE_HOME/search/admin/eq0pkh.sql
    @$ORACLE_HOME/search/admin/eq0plb.sql
    @$ORACLE_HOME/search/admin/eq0bug_7586924.sql
    cd $ORACLE_HOME/search/data/config/
    cp crawler.dat crawler.dat.backup.03102010
    vi crawler.dat
    We're using the Oracle E-Business Suite R12 crawler, so we will add the line
    USE_IN_MEMORY_QUEUE Oracle E-Business Suite R12
    as the line immediately preceding IMPORT -
    so the end of the file looks like this:
    # system properies: separated by space for multiple system properties or define multiple SYSTEM_PROPERTIES
    # logLevel values: DEBUG(2), INFO(4), WARN(6), ERROR(8), FATAL(10)
    SYSTEM_PROPERTIES -Doracle.search.logLevel=4 -Doracle.search.log=oracle.search.util.Log4jImpl
    USE_IN_MEMORY_QUEUE Oracle E-Business Suite R12
    IMPORT -
    Now on to patch 8321527
    cd /mnt/oraclebackup/deathstar_patches/SES/post_patches/8321527
    cd $ORACLE_HOME/bin
    ./searchctl stopall
    cd -
    opatch apply
    cd $ORACLE_HOME/bin
    ./searchctl startall
    sqlplus eqsys/XXXXXXX@SESDEV
    define SCH_NAME=EQSYS
    define PROXY_USER=EQPROXY
    select object_name from user_objects where status = 'INVALID';
    --should be no rows selected
    @$ORACLE_HOME/search/admin/eq0pkh.sql
    @$ORACLE_HOME/search/admin/eq0plb.sql
    --should be no rows selected
    restart SES
    cd -
    ./searchctl stopall
    ./searchctl startall

    Below are all the steps I took for creating integrating Search Modeler with an Oracle E-Business Suite 11.5.10.2 ATG RUP 7 instance called ERNIE.
    Much thanks to Oracle Support ( Rajesh Ghosh, Vikas Soolapani and Roger Ford), as this simply wouldn't have been possible without them.
    There are a few things in this document that may not be pertinent to your environment if you're doing this. I've made attempts to clarify those possibly optional sections in the documentation.
    I've broken the document down into the following multiple parts
    o Setting up a new RedHat 4.8 x86 server called ausSEARCHdev (The server is in AUStin, TX, is dedicated to SEARCH, and is for our DEV environment)
    o SES (Secure Enterprise Search 10.1.8.2 install
    o SES 10.1.8.4 patchset install
    o SES CPU patch apply
    o Standalone OC4J and ADF installation
    o Search Modeler installation and configuration
    o Configure ERNIE Apps instance to be on valid self-signed SSL certificate
    o Import ERNIE SSL certificate into SES and Search Modeler
    using aussearchdev initially
    rh4 x86, default oracle build
    ** htop and collectl are open source free performance monitoring packages we utilize**
    --start
    install htop and collectl
    wget http://dag.wieers.com/rpm/packages/htop/htop-0.7-1.el4.rf.i386.rpm
    rpm -ivh htop-0.7-1.el4.rf.i386.rpm
    wget http://downloads.sourceforge.net/project/collectl/collectl/collectl-3.4.0-4/collectl-3.4.0-4.noarch.rpm?use_mirror=voxel
    rpm -ivh collectl-3.4.0-4.noarch.rpm
    chkconfig collectl on
    service collectl start
    **We still need to install the necessary rpms so that collectl logs are compressed
    --end
    useradd -u 501 oracle
    groupadd -g 504 dba
    usermod -G 504 oracle
    verification:
         [root@aussearchdev ~]# su - oracle
         [oracle@aussearchdev ~]$ id
         uid=501(oracle) gid=501(oracle) groups=501(oracle),504(dba)
    passwd oracle
    ** /mnt/oraclebackup is a network dumpspot we use to hold Software installs, RPMs, etc
    ** /mnt/rpms is a network dumpspot we use to hold ISOs for OS software such as Redhat Linux
    mkdir /mnt/oraclebackup
    mkdir /mnt/rpms
    add the following to /etc/fstab
    XXXXXXX:/patches/oraclebackup /mnt/oraclebackup nfs defaults,hard,nolock 0 0
    XXXXXXX:/esxpress/nfs /mnt/rpms nfs rw,addr=XXX.XXX.XXX.XXX 0 0
    mount /mnt/rpms
    Next need to install various oracle needed RPMs.
    cd /mnt/rpms/rh40_upd8/RedHat/RPMS/
    rpm -ivh perl-Compress-Zlib-1.42-1.el4.i386.rpm
    rpm -ivh libaio-devel-0.3.105-2.i386.rpm
    rpm -ivh sysstat-5.0.5-25.el4.i386.rpm
    rpm -ivh unixODBC-devel-2.2.11-1.RHEL4.1.i386.rpm
    service collectl restart
    cd /tmp
    wget http://oss.oracle.com/el4/oracle-validated/oracle-validated-1.0.0-18.el4.i386.rpm
    rpm -ivh oracle-validated-1.0.0-18.el4.i386.rpm
    Now we should have all the RPMs we need.
    cd /etc/sysconfig/oracle-validated
    ./oracle-validated-verify
    cd /var/log/oracle-validated/results
    more orakernel.log
    uname -a
    should return 2.6.9 or higher
    rpm -qa|grep gcc-
    should return 3.4.3 or higher
    rpm -qa|grep glibc
    should return 2.3.4-2.9 or higher
    rpm -qa|grep make
    should return 3.80 or higher
    rpm -qa|grep binutils
    should return 2.15.92.0.2 or higher
    rpm -qa|grep openmotif
    should return 2.2.3-9.RHEL4.1 or higher
    rpm -qa|grep compat-db
    should return 4.1.25-9 or higher
    rpm -qa|grep setarch
    should return 1.6-1 or higher
    cat /proc/sys/kernel/sem
    should return 250 32000 100 128 or higher (250 32000 100 142 in our case)
    cat /proc/sys/kernel/shmall (1073741824 in our case)
    should return 2097152 or higher
    cat /proc/sys/kernel/shmmax
    should return half the size of physical memory (4294967295 in our case - NO LARGER on 32-bit OS)
    cat /proc/sys/kernel/shmmni
    should return 4096
    cat /proc/sys/fs/file-max
    should return 65536 (327679 in our case)
    cat /proc/sys/net/ipv4/ip_local_port_range
    should return 1024 65000
    values in /etc/security/limits.conf set by oracle-validated rpm, no changes necessary
    add the following line to /etc/pam.d/login
    session required /lib/security/pam_limits.so
    add the following to /etc/profile
    if [ $USER = "oracle" ]; then
    if [ $SHELL = "/bin/ksh" ]; then
    ulimit -p 16384
    ulimit -n 65536
    else
    ulimit -u 16384 -n 65536
    fi
    fi
    mkdir -p /d01/oracle
    chmod 777 /d01/oracle
    init 6 the box (aka reboot)
    Time to start the SES 10.1.8.2 installer
    running SES 10.1.8.2 installer
    as oracle
    cd /mnt/oraclebackup/deathstar_patches/SES/SES10182
    ./runInstaller
    search server name sesprod
    administrative password XXXXXXXX for dev,
    http port 7777
    destination path /d01/oracle/10.1.8/sesdev (dev)
    data storage path /d01/oracle/sesdevdata (dev)
    next
    inventory /d01/oracle/oraInventory
    dba group
    run orainstroot.sh as requested
    continue
    all tests should pass, continue
    finished clean
    tried logging in to admin console at http://aussearchdev:7777/search/admin - worked fine
    tried bringing up search query at http://aussearchdev:7777/search/query/search - worked fine
    Now we need to get to 10.1.8.4 of SES
    (yes, you need to keep the system up)
    cd /mnt/oraclebackup/deathstar_patches/SES/SES10184/ses_10184pst_linux/
    ./runInstaller
    Destination, choose sesdev
    Next
    Patchset successful
    tried logging in to admin console at http://aussearchdev:7777/search/admin - worked fine
    tried bringing up search query at http://aussearchdev:7777/search/query/search - worked fine
    Apply CPU Patch to SES
    CPU JAN 10 says patch 9119261 is required - but patch requires extended support contract
    CPU OCT 09 says patch 8836540 is required - but patch requires extended support contract
    CPU JUL 09 says patch 8534394 is required - but patch requires extended support contract
    CPU APR 09 says patch 8290534 is required - and you can actually download it
    Need opatch from 6880880
    cp -r /mnt/oraclebackup/deathstar_patches/SES/CPUAPR09/OPatch $ORACLE_HOME
    export PATH=$ORACLE_HOME/OPatch:$PATH
    shut down everything
    cd $ORACLE_HOME/bin
    ./searchctl stopall
    cd /mnt/oraclebackup/deathstar_patches/SES/CPUAPR09/8290534
    opatch apply
    cd $ORACLE_HOME/cpu/CPUApr2009
    **Note: your sys password is what you set for your administrative password above
    sqlplus "sys/XXXXXX" as sysdba;
    startup
    @catcpu
    @?/rdbms/admin/utlrp
    shutdown immediate
    exit
    cd /d01/oracle/10.1.8/sesdev/cpu/view_recompile/
    sqlplus "sys/XXXXXXX" as sysdba;
    startup upgrade;
    @view_recompile_jan2008cpu.sql
    @?/rdbms/admin/utlrp
    shutdown immediate
    cd /d01/oracle/10.1.8/sesdev/jdk/jre/lib/ext
    mv mail.jar $HOME/mail.jar.backup02222010
    mv mailapi.jar $HOME/mailapi.jar.back02222010
    cp /d01/oracle/10.1.8/sesdev/search/lib/mail.jar .
    SES 10.1.8.4 is now installed and updated with latest available CPU
    tried logging in to admin console at http://aussearchdev:7777/search/admin - worked fine
    tried bringing up search query at http://aussearchdev:7777/search/query/search - worked fine
    we're going to go with the standalone OC4j 10.1.3.3 and Oracle ADF 10.1.3.3 method
    The URLs for these products are
    http://blogs.oracle.com/ebssearch/2009/10/available_now_oracle_search_modeler_11_for_oracle_e-business_suite_11i.html
    and specifically
    OC4J - http://download.oracle.com/otn/java/oc4j/101330/oc4j_extended_101330.zip
    ADF - http://www.oracle.com/technology/software/products/jdev/htdocs/adfinstaller10133.html
    OC4J install
    First you need to have Java 1.5 on the machine. Latest is 1.5.0_22. Package is in /mnt/oraclebackup/deathstar_patches/SES
    as root on aussearchdev
    cd /usr/local
    cp /mnt/oraclebackup/deathstar_patches/SES/jdk-1_5_0_22-linux-i586.bin .
    chmod 700 jdk-1_5_0_22-linux-i586.bin
    ./jdk-1_5_0_22-linux-i586.bin
    yes
    install OC4J just by copying over the directory
    as oracle on aussearchdev
    mkdir -p /d01/oracle/oc4j
    cd /d01/oracle/oc4j
    cp -r /mnt/oraclebackup/deathstar_patches/SES/oc4j/* .
    ADF install
    vi /mnt/oraclebackup/deathstar_patches/SES/adf/adfinstaller.properties
    change the following
    OracleHome = /mnt/oraclebackup/deathstar_patches/SES/adf
    DesHome = /d01/oracle/oc4j/
    type = OC4J
    as root
    cd /usr/bin
    rm java
    (yes)
    ln -s /usr/local/jdk1.5.0_22/bin/java
    su - oracle
    java -version     should now return 1.5.0_22
    export JAVA_HOME=/usr/local/jdk1.5.0_22
    cd /mnt/oraclebackup/deathstar_patches/SES/adf
    java -jar runinstaller.jar -version
    returns The version for the ADF libraries being installed is 10.1.3.41.57 - yes, that is apparently 10.1.3.3.
    java -jar runinstaller.jar adfinstaller.properties
    output looks good, do not be concerned by
    WARNING: 'Could not delete: /d01/oracle/oc4j/BC4J/redist/bc4j' whilst deleting bc4j application
    WARNING: 'Could not delete: /d01/oracle/oc4j/BC4J/redist/datatags' whilst deleting datatags application
    as it was trying to delete the old version that didn't exist
    Start OC4J
    as oracle on aussearchdev
    export JAVA_HOME=/usr/local/jdk1.5.0_22
    export ORACLE_HOME=/d01/oracle/oc4j
    cd $ORACLE_HOME/bin
    ./oc4j -start
    you will be prompted for password - we're setting it. use XXXXXXXXXX
    after it's up, kill it (ctrl-c) and restart it with
    nohup ./oc4j -start &
    last lines in nohup.out is
    Starting OC4J from /d01/oracle/oc4j/j2ee/home ...
    10/02/23 03:22:38 Oracle Containers for J2EE 10g (10.1.3.3.0) initialized
    So now on to search modeler installation, going by Installation steps in Note 781366.1
    8326128 - This is not a patch to be applied to the Apps, keep reading
    as oracle on aussearchdev
    cd /mnt/oraclebackup/deathstar_patches/SES/8326128
    mkdir -p /d01/oracle/oc4j/uploaded
    vi build.properties, changing
    installation.type=OC4J
    oracle.home=/d01/oracle/oc4j
    deploy.server=aussearchdev.domainname.com
    deploy.port=23791
    web.port=7777
    password=XXXXXXXXX
    extra.classpath=/d01/oracle/oc4j/uploaded
    now set the following environment values in your ssh session
    export ORACLE_HOME=/d01/oracle/oc4j
    export JAVA_HOME=/usr/local/jdk1.5.0_22
    export PATH=$ORACLE_HOME/ant/bin:$ORACLE_HOME/bin:$PATH
    ant main
    whole bunch of stuff to screen, errors due to undeploy something that doesn't exist. Finished after a minute with
    BUILD SUCCESSFUL
    Total time: 58 seconds
    Now on to post install steps
    restart OC4j
    cd $ORACLE_HOME/bin
    ./modeler.sh -shutdown -port 23791 -password r*l*r*0*
    export ORACLE_HOME=/d01/oracle/oc4j
    export JAVA_HOME=/usr/local/jdk1.5.0_22
    export PATH=$ORACLE_HOME/ant/bin:$ORACLE_HOME/bin:$PATH
    nohup ./modeler.sh -start &
    end of nohup.out should show
    Starting OC4J from /d01/oracle/oc4j/j2ee/home ...
    Try going to http://aussearchdev:8888/modeler/faces/ModelerHome.jsp
    Should get login screen, but wait, we haven't installed Oracle Apps interface yet...
    Next let's do the Apps side of things
    Going by note 953378.1
    Using ERNIE (a development instance of E-Business Suite running 11.5.10.2 ATG RUP 7)
    as applmgr on ausernieapp (ausernieapp is our app tier)
    shut down apps services
    apps patch 8225631
    verify all the pre-req patches are in ERNIE
    select * from ad_bugs where bug_number = '5903765';
    select * from ad_bugs where bug_number = '6372396';
    select * from ad_bugs where bug_number = '3219567';
    select * from ad_bugs where bug_number = '3264822';
    select * from ad_bugs where bug_number = '3261254';
    select * from ad_bugs where bug_number = '5161676';
    select * from ad_bugs where bug_number = '3036401';
    select * from ad_bugs where bug_number = '3263588';
    select * from ad_bugs where bug_number = '3264818';
    select * from ad_bugs where bug_number = '3218526';
    select * from ad_bugs where bug_number = '3263645';
    select * from ad_bugs where bug_number = '4206794';
    select * from ad_bugs where bug_number = '3262486';
    select * from ad_bugs where bug_number = '3261243';
    select * from ad_bugs where bug_number = '2614213';
    select * from ad_bugs where bug_number = '3262159';
    select * from ad_bugs where bug_number = '2819091';
    select * from ad_bugs where bug_number = '3412795';
    patch went in smooth
    Log in to ERNIE Apps GUI as sysadmin user responsibility
    Give users such as sysadmin FND Search Crawler responsibility
    Go to system profile options, set
    set FND: Search Enabling Flag to Y at site level
    as applmgr on ausernieapp
    cd /d01/oracle/ernieappl/fnd/11.5.0/patch/115/sql
    sqlplus apps/$APPS_PWD @AFSRCHCF
    Enter SES endpoint URL [e.g. http://ap637atg.us.oracle.com:7780]: http://aussearchdev.domainname.com:7777
    Enter Apps Admin username [e.g. sysadmin]: sysadmin
    Enter Apps Admin password: sysadmin_password
    Enter SES Admin username [e.g. eqsys]: eqsys
    Enter SES Admin password: eqsyspassword <-- This is the same as sys's password
    on aussearchdev as oracle
    had to kill modeler and start all the processes, so
    kill -9 the modeler oc4j process, then
    cd $ORACLE_HOME/bin
    ./searchctl startall
    enter the password when prompted
    in IE browser go to
    http://aussearchdev.domainname.com:7777/search/admin
    log in with eqsys password
    global settings tab
    identity management setup
    click circle next to oracle.search.plugin.security.identity.ebs.EBS12IdentityPliginMgr
    (yes, we're going with 12 even though we use Oracle Apps 11i)
    http end point https://ausernieapp.domainname.com:8443/webservices/AppSearch/SecurityService
    username sysadmin
    password XXXXXXX
    finish
    Global Settings
    Federation Trusted Entitites
    ####entity name sysadmin
    ####Entity Password XXXXXXXX
    According to web conference with Oracle, this should NOT be eqsys but instead be sysadmin from above.
    Select the Use Entity Plug-in for authentication check box
    add
    Trying to go to http://aussearchdev.domainname.com:7777/search/query/search and login (sysadmin / password)
    stop midtier on both SES and Apps
    cd $ORACLE_HOME/bin
    ./searchctl stopall
    ./adstpall.sh apps/$APPS_PWD on EBS app tier
    start midtier on both SES and Apps
    cd $ORACLE_HOME/bin
    ./searchctl startall
    ./adstrtal.sh apps/$APPS_PWD on EBS app tier
    Now try and log in to Oracle SES user interface to verify the configuration
    http://aussearchdev.domainname.com:7777/search/query
    Now start up modeler again
    export JAVA_HOME=/usr/local/jdk1.5.0_22
    export ORACLE_HOME=/d01/oracle/oc4j
    export PATH=$ORACLE_HOME/bin:$PATH
    cd $ORACLE_HOME/bin
    nohup ./modeler.sh -start &
    Works now.
    Now go to http://aussearchdev.domainname.com:8888/modeleradmin/AdminHome.jsp log in as oc4jadmin/XXXXXXX
    Configure new target
    Target Type 11i
    Description ERNIE
    Name ERNIE
    EBS Database Host Name auserniedb
    EBS Database Port 1521
    EBS Database SID ERNIE
    username apps
    password XXXXXXXXx
    oc4jadmin XXXXXXXx
    export JAVA_HOME=/usr/local/jdk1.5.0_22
    export ORACLE_HOME=/d01/oracle/oc4j
    export PATH=$ORACLE_HOME/bin:$PATH
    cd $ORACLE_HOME/j2ee/home
    java -jar admin_client.jar deployer:oc4j:aussearchdev oc4jadmin XXXXXXXXX -addDataSourceConnectionPool -name "ERNIE2-pool" -factoryClass "oracle.jdbc.pool.OracleDataSource" -dbUser "apps" -dbPassword "XXXXXXX" -url "jdbc:oracle:thin:@auserniedb.domainname.com:1521:ERNIE" -applicationName appsearch
    java -jar admin_client.jar deployer:oc4j:aussearchdev oc4jadmin XXXXXXX -addManagedDataSource -name "ERNIEDS" -jndiLocation "jdbc/ERNIEDS" -connectionPoolName "ERNIE2-pool" -applicationName appsearch
    http://aussearchdev.domainname.com:8888/modeler/faces/ModelerHome.jsp
    So, creating a self signed SSL certificate for ERNIE EBS instance (this will not work if you use an SSL certificate for another server like say, PROD)
    doing this on ausernieapp
    openssl genrsa -des3 -out ausernieapp.key 1024
    PEM key is ausernieapp
    openssl req -new -key ausernieapp.key -out ausernieapp.csr
    PEM key is ausernieapp
    Country US
    State Texas
    Locality Austin
    Organization Name Corporation
    Organizational Unit Name Information Technology
    Common Name ausernieapp.domainname.com
    Email address [email protected]
    No challenge password
    No optional company name
    Now let's remove the passphrase from the key
    cp ausernieapp.key ausernieapp.key.orig
    openssl rsa -in ausernieapp.key.orig -out ausernieapp.key
    Now let's generate a self-signed certificate
    openssl x509 -req -days 1000 -in ausernieapp.csr -signkey ausernieapp.key -out ausernieapp.crt
    Install the private key and certificate
    cd $IAS_ORACLE_HOME/Apache/Apache/conf/ssl.crt
    cp server.crt server.crt.backup.03102010
    chown applmgr:applmgr server.crt.backup.03102010
    cp $HOME/ausernieapp.crt /d01/oracle/ernieora/new/iAS/Apache/Apache/conf/ssl.crt/server.crt
    cd $IAS_ORACLE_HOME/Apache/Apache/conf/ssl.key/
    cp server.key server.key.backup.03102010
    cp $HOME/ausernieapp.key /d01/oracle/ernieora/new/iAS/Apache/Apache/conf/ssl.key/server.key
    chown applmgr:applmgr server.key.backup.03102010
    bounce apache as applmgr
    cd /d01/oracle/erniecomn/admin/scripts/ERNIE_ausernieapp
    ./adapcctl.sh stop
    ./adapcctl.sh start
    In IE
    https://ausernieapp.domainname.com:8443
    Continue
    Click on Certificate Error next to URL bar
    Install Certificate -> Next-> Place all certificates in the following store -> trusted root certificate authorities ->finish
    close browser, back to https://ausernieapp.domainname.com:8443
    no errors,
    Next step will be to import key into the SES and Search modelers
    as oracle on aussearchdev
    cd /d01/oracle/10.1.8/sesdev/jdk/jre/lib/security/
    cp cacerts cacerts.backup.03102010
    scp root@ausernieapp:/root/ausernieapp.crt .
    export LANG=c
    export PATH=$ORACLE_HOME/jdk/bin:$PATH
    keytool -keystore ./cacerts -storepass changeit -alias rootausernieapp -import -trustcacerts -file ausernieapp.crt
    --output
    Owner: [email protected], CN=ausernieapp.domainname.com, OU=Information Technology, O=Corporation, L=Austin, ST=Texas, C=US
    Issuer: [email protected], CN=ausernieapp.domainname.com, OU=Information Technology, O=Corporation, L=Austin, ST=Texas, C=US
    Serial number: b4e92089cf73076f
    Valid from: Wed Mar 10 13:22:38 CST 2010 until: Tue Dec 04 13:22:38 CST 2012
    Certificate fingerprints:
    MD5: 2C:6B:EE:1A:63:6D:XX:A6:05:90:F6:XX:DD:88:F7:80
    SHA1: F8:DC:E5:2A:3E:68:XX:E1:EA:E4:75:AE:CC:4F:4A:10:2F:8A:FE:9B
    Trust this certificate? [no]: yes
    Certificate was added to keystore
    Now load our cert
    keytool -keystore ./cacerts -import -trustcacerts -file ausernieapp.crt
    keytool -list -v -keystore ./cacerts now shows
    Alias name: rootausernieapp
    Creation date: Mar 10, 2010
    Entry type: trustedCertEntry
    Owner: [email protected], CN=ausernieapp.domainname.com, OU=Information Technology, O=Corporation, L=Austin, ST=Texas, C=US
    Issuer: [email protected], CN=ausernieapp.domainname.com, OU=Information Technology, O=Corporation, L=Austin, ST=Texas, C=US
    Serial number: b4e92089cf73076f
    Valid from: Wed Mar 10 13:22:38 CST 2010 until: Tue Dec 04 13:22:38 CST 2012
    Certificate fingerprints:
    MD5: 2C:6B:EE:1A:63:6D:CB:XX:05:90:F6:78:DD:88:F7:80
    SHA1: F8:DC:E5:2A:3E:68:9C:CE:EA:4E:75:AE:CC:FA:9E:10:2F:8A:FE:9B
    Now we need to load it into the search modeler keystore
    as root on aussearchdev
    export JAVA_HOME=/usr/local/jdk1.5.0_22/
    export PATH=$JAVA_HOME/bin:$PATH
    cd /usr/local/jdk1.5.0_22/jre/lib/security/
    scp root@ausernieapp:/root/ausernieapp.crt .
    output
    keytool -keystore ./cacerts -import -trustcacerts -file ausernieapp.crt
    Enter keystore password: changeit
    Owner: [email protected], CN=ausernieapp.domainname.com, OU=Information Technology, O=Corporation, L=Austin, ST=Texas, C=US
    Issuer: [email protected], CN=ausernieapp.domainname.com, OU=Information Technology, O=Corporation, L=Austin, ST=Texas, C=US
    Serial number: b4e92089cf73076f
    Valid from: Wed Mar 10 13:22:38 CST 2010 until: Tue Dec 04 13:22:38 CST 2012
    Certificate fingerprints:
    MD5: 2C:6B:EE:1A:63:6D:CB:A1:05:90:F6:78:DD:88:F7:80
    SHA1: F8:DC:E5:2A:3E:68:9C:CE:EA:4E:75:AE:CC:4F:9E:10:2F:8A:FE:9B
    Trust this certificate? [no]: yes
    Certificate was added to keystore
    [root@aussearchdev security]#
    output
    For troubleshooting, if you go to end of /d01/oracle/10.1.8/sesdev/search/data/config/crawler.dat
    you can modify the logLevel from the default of 4 to 2 to get better debug data. No services need to be restarted, it will become active with the next crawl.
    While talking with Oracle, they mentioned the following patches
    The patches identified 8321527 and 7586924 are SES patches to help with indexing
    They also identified patch 9103851 which is an apps patch dealing with responsibilities <-- This is not yet available
    Applying patch 7586924
    as oracle on aussearchdev
    cd $ORACLE_HOME/bin
    ./searchctl stopall
    cd /mnt/oraclebackup/deathstar_patches/SES/post_patches/7586924
    opatch apply
    cd $ORACLE_HOME/bin
    ./searchctl startall
    sqlplus eqsys/XXXXXX@SESDEV
    define SCH_NAME=EQSYS
    define PROXY_USER=EQPROXY
    define INST_USER=EQ_TEST
    @$ORACLE_HOME/search/admin/eq0pkh.sql
    @$ORACLE_HOME/search/admin/eq0plb.sql
    @$ORACLE_HOME/search/admin/eq0bug_7586924.sql
    cd $ORACLE_HOME/search/data/config/
    cp crawler.dat crawler.dat.backup.03102010
    vi crawler.dat
    We're using the Oracle E-Business Suite R12 crawler, so we will add the line
    USE_IN_MEMORY_QUEUE Oracle E-Business Suite R12
    as the line immediately preceding IMPORT -
    so the end of the file looks like this:
    # system properies: separated by space for multiple system properties or define multiple SYSTEM_PROPERTIES
    # logLevel values: DEBUG(2), INFO(4), WARN(6), ERROR(8), FATAL(10)
    SYSTEM_PROPERTIES -Doracle.search.logLevel=4 -Doracle.search.log=oracle.search.util.Log4jImpl
    USE_IN_MEMORY_QUEUE Oracle E-Business Suite R12
    IMPORT -
    Now on to patch 8321527
    cd /mnt/oraclebackup/deathstar_patches/SES/post_patches/8321527
    cd $ORACLE_HOME/bin
    ./searchctl stopall
    cd -
    opatch apply
    cd $ORACLE_HOME/bin
    ./searchctl startall
    sqlplus eqsys/XXXXXXX@SESDEV
    define SCH_NAME=EQSYS
    define PROXY_USER=EQPROXY
    select object_name from user_objects where status = 'INVALID';
    --should be no rows selected
    @$ORACLE_HOME/search/admin/eq0pkh.sql
    @$ORACLE_HOME/search/admin/eq0plb.sql
    --should be no rows selected
    restart SES
    cd -
    ./searchctl stopall
    ./searchctl startall

  • Registering Forms in Oracle Apps 11i

    Hi hussein,
    This is the docs for registering an Oracle Form in Oracle Apps 11i.
    To Register a custom form in Oracle Applications, take the following steps.
    (As practice, copy the form FNDRSRUN.fmx under the $FND_TOP/forms to a file
    called RUNRPT.fmx. The form RUNRPT.fmx will now be used in the following steps.)
    1.Log into the Applications Developer responsibility
    2.Navigate to Application > Form
    3.Enter the form name under the "Form" column
         RUNRPT
    4.Enter the Application under the "Application" column using the list of value
      button, or the "List of Values" function under the "Edit" menu option.
         Application Object Library
    5.Enter a name for the form under the "User Form Name" column
         My Report Run Form
    6.Enter a description for the form under the "Description" column
         Custom Report Run Form
    7.Save
    [\code]
    My question is, how do I run the form in the Oracle Apps? After registering it.
    And this is also another doc:Rgistering form will takes following steps
    1) Create custom form
    2) place it in CUSTOM_TOP in unix box
    3) compile form with f60 gen and check whether compiled form .fmx is generated.
    4) register your from
    Registering a Form
    Navigation – Application Developer -> Application->Form
    5) Register Form Functions
    Navigation – Application Developer -> Application->Function
    6) attach it to menu.
    7) menu must be submenu to menu or attached as to responsibility from which you are going to run form.
    For report we are attaching concurrent program to responsibility but here form function must be attached to Menu.
    My question is, how do I know if a form has a function that needs to be registered?
    Thanks a lot
    msk

    Hi,
    My question is, how do I run the form in the Oracle Apps? After registering it.You already have the steps in your post, just add the form to the menu and attach it to the responsibility.
    My question is, how do I know if a form has a function that needs to be registered?Sorry, I cannot be of much help here, but you may check the Developer Guide and see if it helps.
    Oracle Applications Developer's Guide
    http://download.oracle.com/docs/cd/B25284_01/current/acrobat/115devg.pdf
    Regards,
    Hussein

  • Where does SSO information gets stored in Apps 11i

    Hi,
    I installed Oracle Apps 11.5.10.2. This has been further integrated with Oracle Single Sign On server (Oracle iAS 10.1.2.0.2).
    Does any one know where does the SSO infrormation gets stored in Apps, i.e. is there any table which stores these details? How does Apps come to know where to look for SSO server ?
    Thanks in advace.

    dumbdba wrote:
    We had a strange issue while enabling SSO for one of the test instances. After registering with the SSO server, the user was still directed to the >AppsLocalLogin.jsp page. The user preferences are SSO and we did take a Apache restart but it did not work.Is this true for all users, or just one? If not all users, this may be a case of cached files on the client (web browser) side. Can the affected users connect from other browsers on other machines, or from their own browsers after clearing the cache?
    I ran the test, but it shows me the information which already is known. I mean we know the URL's of SSO server. I was wondering as to how txkrun.pl script handles the login preferences ? Does it changes the aplogon.html file or does something other ?
    How does the instance comes to know that it is now single sign-on enabled and has to redirect to the SSO server rather than LocalLogin.jsp.txkrun.pl and AutoConfig should make all the necessary changes to the various configuration files (Apache httpd.conf and mod_osso.conf, Oracle AS ias.properties files, etc). As Hussein states, there should be no need to manually modify aplogon.html. Changes there will be overwritten the next time you (or adpatch) run AutoConfig, anyway.
    Vikram Das has written a [useful and thorough treatment|http://oracleappstechnology.blogspot.com/2007/08/apps-11i-login-flow.html] of what goes on in the course of logging in to an 11i system that is integrated with SSO.
    It's also possible that you have stale/corrupt JSPs cached on the web server; a simple restart of Apache will not necessarily fix this. Have you tried using ojspCompile.pl (in $FND_TOP/patch/115/bin) to recompile some of the JSPs associated with the login process?
    Regards,
    John P.
    http://only4left.jpiwowar.com

  • Requirement to enable auditing on every form in Oracle apps 11i,Dynamically

    Hello All,
    I have following requirement Oracle apps 11i forms6i:
    Client want to audit the changes in data which user does on the oracle form and save old values and new values in DB table.
    Currently they do have this system working but, only for some forms.
    Now they want generic. Means, user will navigate to any form in Oracle apps. there he will get Menu option in menu "Enable this form for auditing". After pressing this menu option, another form will come where he will be able to see all fields on the form with check box in front of each field.
    Here user will select those fields which he want to enable for auditing.
    Thereafter all changes which user do on the form, those old and new values will get store in one custom table.
    Since information about fields is not stored in database, how can I make it generic. So that user will navigate to any form in oracle apps and will be able to enable it for auditing?
    can we do this by using any interface with Java with oracle form?
    Let me know, if my requirement is not clear to you.
    Regards,
    Parag

    Parag,
    This is the General Forms discussion forum. Please post your question in the [EBS General Discussion|http://forums.oracle.com/forums/forum.jspa?forumID=475] forum. Having worked with EBS several years ago, I confident that Oracle already has an Auditing feature built into their system, I just don't recall how it is implemented or if it would work for your situation where the customer wants to turn it on and off on the fly. To be honest, I'm not sure it is a good design to allow the user to enable/disable auditing as this just seems to violate the "Auditing Paradigm." In any case, someone in the EBS Forum would be better able to answer your question.
    Craig...

  • What does APP.FND-01238 error mean in oracle apps 11i?

    In Oracle Apps 11i after opening person detail screen, It says cannot set value for field PADDV.CREATED_BY and gives APP.FND-01238 error.
    Can anybody help me with that?

    Please see these docs.
    APP-FND-01238:Extra Information Flexfield Error on People form [ID 368874.1]
    Cannot Query Element Link Using People Group Field, Getting Error: 'APP-FND-01238 CANNOT SET VALUE FOR FIELD LINK.PEOPLE_GROUP_ID ERROR ON QUERY', How Can This be Accomplished? [ID 967058.1]
    Translation Issues In Form PERWSDOR [ID 1103968.1]
    Thanks,
    Hussein

Maybe you are looking for

  • Ipod not recognized by windows, the updater, or itunes

    I have a click wheel ipod, that i've had for little more then a year now. Recently, my itunes when i started it, told me i had to update it's software, which i did, problem solved. However, now my ipod won't update, and i cannot put any songs on it.

  • How to authenticate userid and password of b2b user in a b2c portal

    I am having a reqirement in B2C web portal , where in i have to create two input text fields which will accept userid and password ( the userid and password will be of b2b users)and button to logon and if i click on the logon button, it should take i

  • JDK 1.5 verifier broken?

    I'm trying to load a version 1.4 class file with a 1.5 virtual machine, but I get the following stack trace:Exception in thread "main" java.lang.ClassFormatError: Illegal field name "this+0"         at java.lang.ClassLoader.defineClass1(Native Method

  • Tween Problem - Can Anyone help

    I have two loaded movies loaded into a main movie. I would like to perform an action in one movie by hitting a button in the other. Here is the basic setup var mc_location = _level0.movie_1.my_mc; import mx.transitions.Tween; import mx.transitions.ea

  • Java Webstart - Java 7_7 on 32-bit Windows 7  will not run in IE

    Hi, I cannot get javaws running from the browser. it works fine from the command line? any help?