Skip to main content

Posts

Featured post

ATG Installation guide step by step

Please find the below environment setup details required for the ATG installation. Step: 1 1. OS: Windows (64-bit) 2. RAM: 8GB minimum  3. JDK 1.8 4. JBoss-eap-6.4 5.   Eclipse mars or neon 6.  Database: Oracle XE 11g Express Edition  7.   Oracle SQL Developer 4.0.3.16  Now its time to follow step 2. (To get all the below software login https://edelivery.oracle.com and download from there) Step 2:   Oracle ATG Web Commerce:  1.  Oracle Commerce ACC (11.2.0.0.0) 2.  Oracle Commerce Platform (11.2.0.0.0) 3.  Oracle Commerce Reference Store (11.2.0.0.0) 4.  Oracle Commerce Store Accelerator (11.2.0.0.0) Oracle Endeca Developer 1.  Oracle Commerce Experience Manager Tools and Frameworks (11.2.0.0.0) 2.  Oracle Commerce Content Acquisition System (11.2.0.0.0) 3.  Oracle Commerce Developer Studio (11.2.0.0.0) 4.  Oracle Commerce Guided Search Platform Services (11.2.0.0.0) 5.  O...
Recent posts

How to generate Stub Code for a Java Client using cmd in Windows

Use the following steps to generate the stub code for a Java web services client application, using the  wsimport   tool that is included with the Java Development Kit. 1.  Copy the both *.xsd and *.wsdl file to JAVA bin directory. 2.  Open command prompt window and change to the directory to $JAVA_HOME/bin. 3. And type the below comment: C:\Program Files\Java\jdk1.7.0_76\bin>wsimport -keep -d "C:\Users\sub.kumar\Desktop\AG\classes" -s "C:\Users\sub.kumar\Desktop\A G\src" InboundPocProv.wsdl
Copy specific number of file from multiple files Step1. Go to the source directory Step 2 . Execute the below command.                mv `ls -p | grep -v / | tail -10` <destination dir> Note: where 10 is the number of files. -----------------------------------------------------------------------------------------------------------

Top Linux Basic Command

1.  To grep the pattern using awk command:                awk '{print $1,$2,$3,$4,$5,$6,$7}' <file_name> | sort | uniq -c | sort -nr | grep <pattern> 2. To grep the pattern from zipped(*.gz) file using awk command:                   awk '{print $1,$2,$3 }' <(gzip -dc <zipped_file_name>) | sort uniq -c | sort -nr | grep <pattern> 3. Copy the file from one server to another:             scp -r root@10.200.134.243:/<source-path> root@10.200.134.195:/<destination-path> 4. To monitor the log:                 tail –f  /var/log/atg/server.log                5. To find string the directory:                 grep -nr "string"  <my_directory> 6. To find directo...

Finding Oracle SID of a database

How to find oracle SID for database: 1. go to the ORACLE_HOME.                      cd $ORACLE_HOME 2. Follow the path : cd network/admin/ 3. Check the tnsnames.ora file:                   cat tnsnames.ora eg:           PRACT =   (DESCRIPTION =     (ADDRESS = (PROTOCOL = TCP)(HOST = agdb.int.bell.ca)(PORT = 2349))     (CONNECT_DATA =       (SERVER = DEDICATED)       (SERVICE_NAME = PRACT)     )   ) You will get the HOST, PORT and SID from here.

ATG Installation guide step by step in Linux environment (CentOS)

Please find the below environment setup details required for the ATG installation. Step: 1 1.  OS: CentOS or any Linux (64-bit) 2.  RAM: 8GB minimum  3.  JDK 1.8 4.  JBoss-eap-6.4 5.   Eclipse mars or neon 6.  Database: Oracle XE 11g Express Edition  7.   Oracle SQL Developer 4.0.3.16  Now its time to follow step 2. (To get all the below software login  https://edelivery.oracle.com  and download from there) Step 2:   Oracle ATG Web Commerce:  1.  Oracle Commerce ACC (11.2.0.0.0) 2.  Oracle Commerce Platform (11.2.0.0.0) 3.  Oracle Commerce Reference Store (11.2.0.0.0) 4.  Oracle Commerce Store Accelerator (11.2.0.0.0) Oracle Endeca Developer 1.  Oracle Commerce Experience Manager Tools and Frameworks (11.2.0.0.0) 2.  Oracle Commerce Content Acquisition System (11.2.0.0.0) 3.  Oracle Commerce Developer Studio (11.2.0.0.0) 4.  Or...

Configuring CRS(Commerce Reference Store) With CIM

Starting CIM:  Open the cmd prompt or terminal(linux) Go to the following path: <ATG Root>/home/bin  Type cim.bat and press enter. Now follow the below example to configure CRS store [skumar@localhost ~]$ cd /home/skumar/ATG/ATG11.2/home/bin/ [skumar@localhost bin]$ sh cim.sh Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=128m; support was removed in 8.0 The following installed Oracle Commerce components are being used to launch:   ATGPlatform version 11.2 installed at /home/skumar/ATG/ATG11.2 Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=128m; support was removed in 8.0 Nucleus running      Oracle Commerce Configuration Installation Manager -------START OPSS SERVICES------------------------------------------------------ enter [h]Help, [q]Quit to exit Starting the Oracle Platform Security Services (OPSS) =======CIM MAIN MENU==========================...