Friday, December 11, 2015

R12.2.4 workflow mailer configuration with GMAIL.

For all those people who want to learn/test workflow mailer setup can now follow the note if:
Using GMAIL's IMAP & SMTP Server Configuring the Oracle Workflow Mailer (Doc ID 2052059.1)

This lists complete steps on how to configure gmail as incoming and outgoing email server.

Sunday, November 29, 2015

12.2 FMW log files

Go to location : $LOG_HOME/appl/admin/log


Oracle Applications E-Business Suite 12.2 Fusion Middleware Log Files: Locate,View, and Control (Doc ID 1366187.1)
Using Oracle Fusion Middleware Diagnostic Framework With Oracle E-Business Suite Release 12.2 (Doc ID 1428056.1)

Log File Name Description
adnodemgrctl.txt weblogic Node Manager controls server instances within a domain providing automatic restart functionality.
adadminsrvctl.txt weblogic AdminServer controls access to administrative pages within weblogic for system wide configuration
adoacorectl.txt weblogic 12.2 Application Server for Self Service web based products
adformsctl.txt weblogic 12.2 Application Forms Server
adoafmctl.txt weblogic 12.2 Application Server for Oracle Transport Agent XML transactions, Secure Enterprise Search (SES) and Web Service
adforms-c4wsctl.txt weblogic 12.2 Application Server utilized by WebService products using java API for Forms
adopmnctl.txt FMW Oracle Process Manager Notification Server (Controls Apache processes)
adapcctl.txt FMW OHS (Apache) Service

Monday, November 23, 2015

adcfgclone.pl appsTier dualfs

Cloning Dualfs the new feature introduced in the latest AD-TXK Delta 7. This feature created both fs1 and fs2 base just by specifying location as seen below.

-bash-4.1$ perl adcfgclone.pl appsTier dualfs

                     Copyright (c) 2002, 2015 Oracle Corporation
                        Redwood Shores, California, USA

                        Oracle E-Business Suite Rapid Clone

                                 Version 12.2

                      adcfgclone Version 120.63.12020000.56

Enter the APPS password :

Enter the Weblogic AdminServer password :

Do you want to add a node (yes/no) [no] :


Running: Context clone...

Log file located at /u25/ITRN/fs1/EBSapps/comn/clone/bin/CloneContext_1121174759.log

Provide the values required for creation of the new APPL_TOP Context file.

Target System Hostname (virtual or normal) [r12erpt] :

Target System Database SID : ITRN

Target System Database Server Node [r12erpt] : r12erpb

Target System Database Domain Name [domain.com] :

Target System Base Directory : /u25/ITRN

Target System Base Directory set to /u25/ITRN

Target System Current File System Base set to /u25/ITRN/fs1

Target System Other File System Base set to /u25/ITRN/fs2

Target System Fusion Middleware Home set to /u25/ITRN/fs1/FMW_Home
Target System Other File System Fusion Middleware Home set to /u25/ITRN/fs2/FMW_Home

Target System Web Oracle Home set to /u25/ITRN/fs1/FMW_Home/webtier
Target System Other File System Web Oracle Home set to /u25/ITRN/fs2/FMW_Home/webtier

Target System Appl TOP set to /u25/ITRN/fs1/EBSapps/appl
Target System Other File System Appl TOP set to /u25/ITRN/fs2/EBSapps/appl

Target System COMMON TOP set to /u25/ITRN/fs1/EBSapps/comn
Target System Other File System COMMON TOP set to /u25/ITRN/fs2/EBSapps/comn

Target System Instance Home Directory [/u25/ITRN] : /u25/ITRN

Target System Current File System Instance Top set to /u25/ITRN/fs1/inst/apps/ITRN_r12erpt

Do you want to preserve the Display [r12prap:0.0] (y/n)  : n

Target System Display [r12erpt:0.0] : r12erpt:3.0

Target System Root Service [enabled] :

Target System Web Entry Point Services [enabled] :

Target System Web Application Services [enabled] :

Target System Batch Processing Services [enabled] :

Target System Other Services [disabled] :

Do you want the target system to have the same port values as the source system (y/n) [y] ? : n

Target System Port Pool [0-99] : 90

Checking the port pool 90
done: Port Pool 90 is free
Report file located at /u25/ITRN/fs1/inst/apps/ITRN_r12erpt/admin/out/portpool.lst

UTL_FILE_DIR on database tier consists of the following directories.

1. /usr/tmp
2. /usr/tmp
3. /u27/ITRN/product/12.1.0/appsutil/outbound/ITRN_r12erpb
4. /usr/tmp
Choose a value which will be set as APPLPTMP value on the target node [1] : 3
The new APPL_TOP context file has been created :
  /u25/ITRN/fs1/inst/apps/ITRN_r12erpt/appl/admin/ITRN_r12erpt.xml
Check Clone Context logfile /u25/ITRN/fs1/EBSapps/comn/clone/bin/CloneContext_1121174759.log for details.

Creating Patch file system context file.....

Log file located at /u25/ITRN/fs1/EBSapps/comn/clone/bin/CloneContextPatch_1121174843.log

Target System Other File System Instance Top set to /u25/ITRN/fs2/inst/apps/ITRN_r12erpt

Target System Port Pool [0-99] : 91

Checking the port pool 91
done: Port Pool 91 is free
Report file located at /u25/ITRN/fs2/inst/apps/ITRN_r12erpt/admin/out/portpool.lst
The new APPL_TOP context file has been created :
  /u25/ITRN/fs2/inst/apps/ITRN_r12erpt/appl/admin/ITRN_r12erpt.xml
Check Clone Context logfile /u25/ITRN/fs1/EBSapps/comn/clone/bin/CloneContextPatch_1121174843.log for details.

FMW Pre-requisite check log file location : /u25/ITRN/fs1/EBSapps/comn/clone/FMW/logs/prereqcheck.log
Running: FMW pre-req check...

Configuring: Run file system....
LogFile located at /u25/ITRN/fs1/inst/apps/ITRN_r12erpt/admin/log/clone/run/RCloneApplyAppstier_11211748.log

Sunday, November 22, 2015

Running /u25/ITRN/fs1/FMW_Home/oracle_common/bin/pasteConfig.sh

START: Creating new WLS domain. 
Running /u25/ITRN/fs1/FMW_Home/oracle_common/bin/pasteConfig.sh -javaHome /u25/ITRN/fs1/EBSapps/comn/util/jdk -al /u25/ITRN/fs1/EBSapps/comn/clone/FMW/WLS/EBSdomain.jar -tdl /u25/ITRN/fs1/FMW_Home/user_projects/domains/EBS_domain_ITRN -tmw /u25/ITRN/fs1/FMW_Home -mpl /u25/ITRN/fs1/EBSapps/comn/clone/FMW/WLS/plan/moveplan.xml -ldl /u25/ITRN/fs1/inst/apps/ITRN_xxxxx/admin/log/clone/run/wlsT2PApply -silent true -debug true -domainAdminPassword /u25/ITRN/fs1/EBSapps/comn/clone/FMW/tempinfo.txt 
Script Executed in 7200406 milliseconds, returning status -1 

Solution:

This status lasts for a long time and ultimately cfgclone fails on the returning status -1

While checking the below logfile I have come across the error.
/u25/ITRN/fs1/inst/apps/ITRN_xxxx/admin/log/clone/run/wlsT2PApply/CLONE2015-11-22_20-46-32_886877957.log 


<< read template from "/var/tmp/CLONINGCLIENT-5410181135532529248/packed_template.jar" 
>> succeed: read template from "/var/tmp/CLONINGCLIENT-5410181135532529248/packed_template.jar" 
<< set config option ServerStartMode to "prod" 
>> succeed: set config option ServerStartMode to "prod" 
<< write Domain to "/u25/ITRN/fs1/FMW_Home/user_projects/domains/EBS_domain_ITRN" 
Exception in thread "Thread-1" java.lang.OutOfMemoryError: Java heap space 
at java.util.Arrays.copyOfRange(Arrays.java:2694) 
at java.lang.String.(String.java:203) 
at java.io.BufferedReader.readLine(BufferedReader.java:349) 
at java.io.BufferedReader.readLine(BufferedReader.java:382) 
at com.oracle.cie.common.util.CRLF.readData(CRLF.java:129) 
at com.oracle.cie.common.util.CRLF.processFile(CRLF.java:67) 
at com.oracle.cie.common.util.CRLF.process(CRLF.java:57) 
at com.oracle.cie.domain.util.stringsub.SubsScriptHelper.processCRLF(SubsScriptHelper.java:167) 
at com.oracle.cie.domain.DomainGenerator.generate(DomainGenerator.java:478) 
at com.oracle.cie.domain.script.ScriptExecutor$2.run(ScriptExecutor.java:2992) 


Steps followed:

Clean the newly created fs2, fs_ne, inst, FMW_HOME and restart the adcfgclone.pl from a new session with the below parameter exported.


·         export CONFIG_JVM_ARGS="-Xms1024m -Xmx2048m"








RC-50208: Exception in method TimedProcessProcess.run

RC-50208: Exception in method TimedProcessProcess.run 
Raised by oracle.apps.ad.util.TimedProcess$TimedProcessProcess: java.io.IOException: Cannot run program "/u25/ITRN/fs1/FMW_Home/webtier/perl/bin/perl": error=2, No such file or directory 
script returned: 

Solution : 

Rerun adpreclone.pl on source tier to generate a fresh FMW_Home.jar, Make sure your oraInst.loc is pointing to the correct location at source before running the preclone.

Monday, November 9, 2015

Using windows printer via Solaris 11

We intended to print documents from Solaris server to a printer locally connected to windows machine. Below is the procedure that was followed.


Install samba service. 
create a smb.conf file. 
Start samba service. 
Configure printer in solaris which was shared in windows with the domain user name and password.

 Below are the simple steps that we followed in Solaris.

root@testsrv:~#pkg install samba
root@testsrv:~# svcs -a | grep samba disabled 11:14:22 svc:/network/samba:default
root@testsrv:~# svcadm enable samba
root@testsrv:~# svcs -a | grep samba maintenance 11:21:43 svc:/network/samba:default root@testsrv:~# svcs -a | grep samba maintenance 11:21:43 svc:/network/samba:default root@testsrv:~# cd /etc/samba root@testsrv:/etc/samba# ls private smb.conf-example root@testsrv:/etc/samba# ls private smb.conf-example
root@testsrv:/etc/samba# cp smb.conf-example smb.conf
root@testsrv:/etc/samba# ls private smb.conf smb.conf-example
root@testsrv:/etc/samba# svcadm clear samba
root@testsrv:/etc/samba# svcs -a | grep samba online 11:23:34 svc:/network/samba:default

 Once the solaris setup is done you should see the new option of "Windows printer via SAMBA"
Hope this helps..