./rapidwiz -techstack
Rapid Install Wizard is validating your file system...... CMDDIR=/appstier3/stage/startCD/Disk1/rapidwiz Rapid Install Wizard will now launch the Java Interface..... [appclone@prodapp rapidwiz]$ Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException at oracle.apps.ad.rapidwiz.ui.TxkContextPanel.OnNext(TxkContextPanel.java:418) at oracle.apps.ad.rapidwiz.RIWizard.wizardValidatePage(RIWizard.java:1524) at oracle.ewt.wizard.WizardPage.processWizardValidateEvent(Unknown Source) at oracle.ewt.wizard.WizardPage.validatePage(Unknown Source) at oracle.ewt.wizard.BaseWizard.validateSelectedPage(Unknown Source) at oracle.ewt.wizard.BaseWizard.doNext(Unknown Source) at oracle.ewt.wizard.BaseWizard$Action.actionPerformed(Unknown Source) at oracle.ewt.button.PushButton.processActionEvent(Unknown Source) at oracle.ewt.button.PushButton.processEventImpl(Unknown Source) at oracle.ewt.lwAWT.LWComponent.redispatchEvent(Unknown Source) at oracle.ewt.lwAWT.LWComponent.processEvent(Unknown Source) at oracle.ewt.button.PushButton.activate(Unknown Source) at oracle.ewt.lwAWT.AbstractButton.processMouseReleased(Unknown Source) at oracle.ewt.lwAWT.AbstractButton.processMouseEvent(Unknown Source) at java.awt.Component.processEvent(Unknown Source) at java.awt.Container.processEvent(Unknown Source) at oracle.ewt.lwAWT.LWComponent.processEventImpl(Unknown Source) at oracle.ewt.button.PushButton.processEventImpl(Unknown Source) at oracle.ewt.lwAWT.LWComponent.redispatchEvent(Unknown Source) at oracle.ewt.lwAWT.LWComponent.processEvent(Unknown Source) at java.awt.Component.dispatchEventImpl(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Window.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.EventQueue.dispatchEventImpl(Unknown Source) at java.awt.EventQueue.access$000(Unknown Source) at java.awt.EventQueue$1.run(Unknown Source) at java.awt.EventQueue$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source) at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source) at java.awt.EventQueue$2.run(Unknown Source) at java.awt.EventQueue$2.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.run(Unknown Source) Errors at step 3 while selecting fs1 and fs2 xml files. |
Administrator
|
You are supplying context files in the stage.
So you are probably using a wrong context file here.. Most probably, that java.lang.NullPointerException is caused by that. Please check the context files that you are supplying in this stage. |
Agreed.
Earlier i created the xml files for source tier. I am recreating the xml file in target side now where i am getting the new error. Customer Problem Description --------------------------------------------------- Problem Summary --------------------------------------------------- ebs 12.2 migration errors at context file creation Problem Description --------------------------------------------------- Hello, I am following doc id for ebs 12.2 migration from solaris to linux. I am encountering the below while performing the step 6b. [appclone@prodapp bin]$ perl adclonectx.pl migrate java=/appstier1/CLONE/fs2/EBSapps/comn/util/jdk pairsfile=/tmp/CLONE_ahqtest_run.txt contextfile=/appstier1/CLONE/fs2/inst/apps/CLONE_prodapp/appl/admin/CLONE_ahqtest.xml stage=/appstier3/stage Copyright (c) 2011, 2015 Oracle Corporation Redwood Shores, California, USA Oracle E-Business Suite Rapid Clone Version 12.2 adclonectx Version 120.30.12020000.21 Enter the APPS passwd : Executing command: /appstier1/CLONE/fs2/EBSapps/comn/util/jdk/bin/java -Xmx600M -classpath /appstier1/CLONE/fs2/EBSapps/comn/clone/bin/../jlib/ojdbc6.jar:/appstier1/CLONE/fs2/EBSapps/comn/clone/bin/../jlib/xmlparserv2.jar:/appstier1/CLONE/fs2/EBSapps/comn/clone/bin/../jlib/java: oracle.apps.ad.context.CloneContext -e /appstier1/CLONE/fs2/inst/apps/CLONE_prodapp/appl/admin/CLONE_ahqtest.xml -stage /appstier3/stage -pairsfile /tmp/CLONE_ahqtest_run.txt -migrate Enter the APPS password : Enter the APPS password : Log file located at /appstier1/CLONE/fs2/EBSapps/comn/clone/bin/CloneContext_1014054708.log AC-10006: Exception - java.io.FileNotFoundException: /appstier3/stage/context/apps/patch/CTXORIG.xml (No such file or directory) thrown while creating OAVars object for file: /appstier3/stage/context/apps/patch/CTXORIG.xml Target System Base Directory set to /a01/appsclone/CLONE RC-00002: Warning: Directory /a01/appsclone/CLONE not found. ERROR: context creation not completed successfully. [appclone@prodapp bin]$ Error : /appstier3/stage/context/apps/patch/CTXORIG.xml (No such file or directory) I dont even see context directory in my stage. stage has passed md5sum successfully |
Administrator
|
What is this directory -> /a01/appsclone/CLONE ?
Is it present? |
This directory is base directory in source tier. I am not sure why its expecting this target tier. i have different directory structure in target tier. should we use same directory structure between source and target?
Command : perl adclonectx.pl migrate java=/appstier1/CLONE/fs2/EBSapps/comn/util/jdk pairsfile=/appstier1/CLONE/fs2/EBSapps/comn/clone/bin/CLONE_ahqtest_run.txt contextfile=/appstier1/CLONE/fs2/inst/apps/CLONE_prodapp/appl/admin/CLONE_ahqtest.xml stage=/appstier1/CLONE/fs2/EBSapps/comn/clone/ Please find the latest log : sing admin directory: /appstier1/CLONE/fs2/EBSapps/comn/clone/bin #---------------------------------------------- #------Log File time stamp: 1016113656------------ # $Header: CloneContext.java 120.146.12020000.96 2017/05/31 09:21:12 karisjai ship $ # Running on - prodapp # Source Host - null # Domain Name - ahq.com # Context Location - /appstier1/CLONE/fs2/inst/apps/CLONE_prodapp/appl/admin/CLONE_ahqtest.xml # Context Type - null # Context Template - null # Clone Stage Area - /appstier1/CLONE/fs2/EBSapps/comn/clone/ # Pairs File - /appstier1/CLONE/fs2/EBSapps/comn/clone/bin/CLONE_ahqtest_run.txt # Destination Context - null # Validation - true # Platform Migration - true # no prompt - false #---------------------------------------------- Initializing the Apps Service Context variable Hash **************************************************** **************************************************** hostname = Variables extracted from pairsfile: /appstier1/CLONE/fs2/EBSapps/comn/clone/bin/CLONE_ahqtest_run.txt ****************************************************/n s_base = /a01/appsclone/CLONE s_current_base = /a01/appsclone/CLONE/fs2 s_other_base = /a01/appsclone/CLONE/fs1 s_ne_base = /a01/appsclone/CLONE/fs_ne s_applptmp = /usr/tmp s_appsgroup = dba s_appsuser = appclone s_dbuser = oracle s_dbgroup = dba s_dbdomain = ahq.com s_at = /a01/appsclone/CLONE/fs2/EBSapps/appl s_com = /a01/appsclone/CLONE/fs2/EBSapps/comn s_tools_oh = /a01/appsclone/CLONE/fs2/EBSapps/10.1.2 s_weboh_oh = /a01/appsclone/CLONE/fs2/FMW_Home/webtier s_fmw_home = /a01/appsclone/CLONE/fs2/FMW_Home s_dbGlnam = CLONE s_dbSid = CLONE s_dbhost = ahqtest s_clonestage = /a01/appsclone/CLONE/fs2/EBSapps/comn/clone s_dbport = 1554 s_options_symlinks = Options -FollowSymLinks s_proxyhost = s_proxybypassdomain = ahq.com s_proxyport = s_nonproxyhosts = s_javamailer_imapdomainname = NoImapDomain s_javamailer_imaphost = NoImapHost s_javamailer_reply_to = NoReplyTo s_javamailer_outbound_user = changeOnJavaMailerInstall s_smtphost = ahqtest s_smtpdomainname = ahq.com s_file_edition_type = run s_port_pool = 33 s_admhost = ahqtest s_atName = ahqtest s_shared_file_system = true s_webentryurlprotocol = http s_webentryhost = ahqtest s_webentrydomain = ahq.com s_active_webport = 8033 s_endUserMonitoringURL = http://ahqtest.ahq.com:8033/oracle_smp_chronos/oracle_smp_chronos_sdk.gif s_external_url = http://ahqtest.ahq.com:8033 s_login_page = http://ahqtest.ahq.com:8033/OA_HTML/AppsLogin s_temp = s_contextname = s_hostname = s_domainname = s_cphost = s_webhost = s_config_home = s_inst_base = s_display = s_forms-c4ws_display = s_ohs_instance = s_webport = s_http_listen_parameter = s_https_listen_parameter = s_web_applications_status = s_web_entry_status = s_apcstatus = s_root_status = s_batch_status = s_other_service_group_status = s_adminserverstatus = disabled s_web_admin_status = disabled s_apps_jdbc_connect_descriptor = jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS_LIST=(LOAD_BALANCE=YES)(FAILOVER=YES)(ADDRESS=(PROTOCOL=tcp)(HOST=20.20.20.223)(PORT=1554)))(CONNECT_DATA=(SERVICE_NAME=CLONE)))</jdbc_url> s_jdktop = /appstier1/CLONE/fs2/EBSapps/comn/util/jdk32 s_fmw_jdktop = /appstier1/CLONE/fs2/EBSapps/comn/util/jdk64 **************************************************** In target context file context variable s_update_wls_server_ssl_port value doesn't exist so far will be populated as true Base directory value: /a01/appsclone/CLONE Value /a01/appsclone/CLONEis not valid value for s_base The Base directory /a01/appsclone/CLONE is found to be empty.. Exiting clone as the directory structure across nodes should be the same. Before re-running clone, please make sure that Base directory for the node being added is same as that of the source Base directory |
Administrator
|
It gets that directory name from the pairsfile.
How is that value "/a01/appsclone/CLONE" set for the "s_base" in your pairsfile? Did you modify the pairsfile and set the s_base? If you did so? Where did you see this instruction? |
I have modified the pairs file with relevant to target tier. Everything in pairsfile nothing but target side details. Still adclonectx,pl refers source base path and trying to connect to source database.
|
Please check the contents of pairs file :
Everything updated as per target tier. But adclonectx.pl refers source context file and expecting them to be valid. Using admin directory: /appstier1/CLONE/fs2/EBSapps/comn/clone/bin #---------------------------------------------- #------Log File time stamp: 1015121640------------ # $Header: CloneContext.java 120.146.12020000.96 2017/05/31 09:21:12 karisjai ship $ # Running on - prodapp # Source Host - null # Domain Name - ahq.com # Context Location - /appstier1/CLONE/fs2/inst/apps/CLONE_prodapp/appl/admin/CLONE_ahqtest.xml # Context Type - null # Context Template - null # Clone Stage Area - /appstier1/CLONE/fs2/EBSapps/comn/clone/ # Pairs File - /tmp/CLONE_ahqtest_run.txt # Destination Context - null # Validation - true # Platform Migration - true # no prompt - false #---------------------------------------------- Initializing the Apps Service Context variable Hash **************************************************** **************************************************** Variables extracted from pairsfile: /tmp/CLONE_ahqtest_run.txt ****************************************************/n s_base = /appstier1/CLONE s_current_base = /appstier1/CLONE/fs2 s_other_base = /appstier1/CLONE/fs1 s_ne_base = /appstier1/CLONE/fs_ne s_applptmp = /usr/tmp s_appsgroup = dba s_appsuser = appclone s_dbuser = oraclone s_dbgroup = dba s_dbdomain = ahq.com s_at = /appstier1/CLONE/fs2/EBSapps/appl s_com = /appstier1/CLONE/fs2/EBSapps/comn s_tools_oh = /appstier1/CLONE/fs2/EBSapps/10.1.2 s_weboh_oh = /appstier1/CLONE/fs2/FMW_Home/webtier s_fmw_home = /appstier1/CLONE/fs2/FMW_Home s_dbGlnam = CLONE s_dbSid = CLONE s_dbhost = proddb s_clonestage = /appstier1/CLONE/fs2/EBSapps/comn/clone s_dbport = 1554 s_options_symlinks = Options -FollowSymLinks s_proxyhost = s_proxybypassdomain = ahq.com s_proxyport = s_nonproxyhosts = s_javamailer_imapdomainname = NoImapDomain s_javamailer_imaphost = NoImapHost s_javamailer_reply_to = NoReplyTo s_javamailer_outbound_user = changeOnJavaMailerInstall s_smtphost = prodapp s_smtpdomainname = ahq.com s_file_edition_type = run s_port_pool = 33 s_admhost = prodapp s_shared_file_system = true s_webentryurlprotocol = http s_webentryhost = prodapp s_webentrydomain = ahq.com s_active_webport = 8033 s_endUserMonitoringURL = http://prodapp.ahq.com:8033/oracle_smp_chronos/oracle_smp_chronos_sdk.gif s_external_url = http://prodapp.ahq.com:8033 s_login_page = http://prodapp.ahq.com:8033/OA_HTML/AppsLogin s_temp = /appstier1/CLONE/fs2/inst/apps/CLONE_prodapp/temp s_contextname = CLONE_prodapp s_hostname = prodapp s_domainname = ahq.com s_cphost = prodapp s_webhost = prodapp s_config_home = /appstier1/CLONE/fs2/inst/apps/CLONE_prodapp s_inst_base = /appstier1/CLONE s_display = prodapp:0.0 s_forms-c4ws_display = prodapp:0.0 s_ohs_instance = EBS_web_CLONE_OHS1 s_webport = 8033 s_http_listen_parameter = 8033 s_https_listen_parameter = 4476 s_web_applications_status = enabled s_web_entry_status = enabled s_apcstatus = enabled s_root_status = enabled s_batch_status = enabled s_other_service_group_status = disabled s_adminserverstatus = disabled s_web_admin_status = disabled s_apps_jdbc_connect_descriptor = jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS_LIST=(LOAD_BALANCE=YES)(FAILOVER=YES)(ADDRESS=(PROTOCOL=tcp)(HOST=20.20.20.223)(PORT=1554)))(CONNECT_DATA=(SERVICE_NAME=CLONE)))</jdbc_url> s_jdktop = /appstier1/CLONE/fs2/EBSapps/comn/util/jdk32 s_fmw_jdktop = /appstier1/CLONE/fs2/EBSapps/comn/util/jdk64 **************************************************** In target context file context variable s_update_wls_server_ssl_port value doesn't exist so far will be populated as true Base directory value: /a01/appsclone/CLONE Value /a01/appsclone/CLONEis not valid value for s_base The Base directory /a01/appsclone/CLONE is found to be empty.. Exiting clone as the directory structure across nodes should be the same. Before re-running clone, please make sure that Base directory for the node being added is same as that of the source Base directory |
Administrator
|
How do you understand that adclonectl is trying to connect to the source database?
And your updates are inconsistent! in your previous update -> the s_base in pairs file seems to be set to " /a01/appsclone/CLONE " and this last update -> the s_base in pairs file seems to be set to "/appstier1/CLONE" Please clarify your updates and also clarify the things that you have done.. You should be following the document named -> "Application Tier Platform Migration with Oracle E-Business Suite Release 12.2 (Doc ID 2048954.1)" and you should do exactly what is written there. (exactly) |
Please see my updates.
Erman>How do you understand that adclonectl is trying to connect to the source database? Sikky>Log says it clearly! Erman>And your updates are inconsistent! Sikky>Earlier one was the context file without any update relevant to target tier. second one is with updated values relevant to target tier. i posted both to explain you better. in your previous update -> the s_base in pairs file seems to be set to " /a01/appsclone/CLONE " --> This base path in source and this last update -> the s_base in pairs file seems to be set to "/appstier1/CLONE --> this is base path for target tier. Sikky>These are the steps provided in the document. i have done everything mentioned in the doc. steps 4,5,6 from Note id : Create the <COMMON_TOP>/util directory on the patch file system. Copy the Source System run file system context file to the Target System. Clone the Applications context file on both the Target run file system and Target patch file system: Copy the run file system pairsfile (<s_contextname>_run.txt) from <INST_TOP>/appl/admin of the Source run file system to the Target run file system. Modify the pairs file to match the target host details: Add the context variable s_apps_jdbc_connect_descriptor to the pairs file. This value should be set as per the Target System database value. Add the context variables s_jdktop and s_fmw_jdktop to the pairs file. The values should be set as follows: On Linux 64-bit and IBM AIX: s_jdktop should be set to <COMMON_TOP>/util/jdk32 s_fmw_jdktop should be set to <COMMON_TOP>/util/jdk64 On Oracle Solaris and HP-UX Itanium: s_jdktop and s_fmw_jdktop should be set to <COMMON_TOP>/util/jdk Generate the Target System run edition context file: $ cd <COMMON_TOP>/clone/bin $ perl adclonectx.pl migrate java=<RUN JDK_TOP> pairsfile=<pairsfile> contextfile=<Complete Path to Source System Context File Copied to Target System> stage=<Clone Stage Location> Copy the patch file system pairsfile (<s_contextname>_patch.txt) from <INST_TOP>/appl/admin of the Source patch file system to the Target patch file system. Edit the values as per the Target patch file system, and set the patch file system specific values for s_jdktop and s_fmw_jdktop in the same the way the setting was done for the run file system pairs file. Generate the Target System patch file system context file: $ cd <COMMON_TOP>/clone/bin $ perl adclonectx.pl java=<RUN JDK_TOP> contextfile=<Target System Run Context File> pairsfile=PATCH PAIRS FILE stage=<CLONE STAGE LOCATION> outfile=<Complete Path to Target System Patch Context File> Hope i cleared you well. |
Administrator
|
Okay.
So no matter what you do, I mean even if you set the s_base, the adclonectl tries to use the source path. Then, we need to concanctrate on your earlier statement -> Still adclonectx,pl refers source base path and trying to connect to source database. In the pairs file, there is an s_apps_jdbc_connect_descriptor .. It is seen that, you have set it to -> s_apps_jdbc_connect_descriptor = jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS_LIST=(LOAD_BALANCE=YES)(FAILOVER=YES)(ADDRESS=(PROTOCOL=tcp)(HOST=20.20.20.223)(PORT=1554)))(CONNECT_DATA=(SERVICE_NAME=CLONE)))</jdbc_url 1)Does this url point to your source database? -If it points to your target database, please send me "the logs where you see the connection is done to your source database.." -- send me the whole log. -if it points to your source database, I will ask you the question -> why didn't you set the s_apps_jdbc_connect_descriptor accordingly? |
1)Does this url point to your source database?
No. Parameter is pointing to target database. Issue is fixed now. I have created xml files now. After i re-comment the below parameters. s_temp=/appstier1/CLONE/fs2/inst/apps/CLONE_prodapp/temp s_contextname=CLONE_prodapp s_hostname=prodapp s_domainname=ahq.com s_cphost=prodapp s_webhost=prodapp s_config_home=/appstier1/CLONE/fs2/inst/apps/CLONE_prodapp s_inst_base=/appstier1/CLONE s_display=prodapp:0.0 s_forms-c4ws_display=prodapp:0.0 s_ohs_instance=EBS_web_CLONE_OHS1 s_webport=8033 s_http_listen_parameter=8033 s_https_listen_parameter=4476 s_web_applications_status=enabled s_web_entry_status=enabled s_apcstatus=enabled s_root_status=enabled s_batch_status=enabled s_other_service_group_status=disabled s_adminserverstatus=enabled s_web_admin_status=enabled Your efforts are really appreciated. Thanks again. |
This issue described in detail at the post below. Please refer If anyone hit this error or confused at this step.
https://sikkyappsdba.blogspot.com/b/post-preview?token=APq4FmC8kogDEGQjNfJaGkgchBZmfPj0sdrPQjz9cuXO1q6eSOUgeoGSzVPEgYbIwbxuDkN5cMO353lOOCnSQoARq2LXUBkwEFr6Xb1Py0ILnrrZNy953ejqhxBl7SMyN7HJYWRp8krq&postId=5344415689183548190&type=POST |
Administrator
|
I think your issue is a little weird, because s_apps_jdbc_connect_descriptor in pairs file should be enough for making adclonectl connect to target database. So I still couldn't understand your statement "Still adclonectx,pl refers source base path and trying to connect to source database. " .. I need to see the logs.
Also, you have set the s_inst_base wrong. It should be something like -> /u01/R122_EBS/inst.. It should be a subdirectory named inst there. I will take a look at the adclonectx.pl, I mean the code .. But first I need to find a EBS 12.2 to play with :) anyways, good isssue and interesting solution :) but it will be great if we can reveal the exact reason for this problem. Note that: I also think that, changing the directory names while migrating the EBS Apps Tier is not addressed in MOS note "Application Tier Platform Migration with Oracle E-Business Suite Release 12.2 (Doc ID 2048954.1)".. So probably, that's why you have encountered this problem.. |
Free forum by Nabble | Edit this page |