Posts

CSC Frames debugging

Image
Inorder to debug CSC, to find out the right component or from which JSP the particular frame is rendering is difficult. Please enable these two Properties in the dyn/admin of CSC to find out an help symbol on top of all the frames which gives all the necessary information. /atg/svc/agent/ui/AgentUIConfiguration

CSC Cloning/returns Failing with Connection time out

There is bug that has been introduced in ATG 11 pertaining to CSC Clone order. If we try to clone order which has coupons associated with it, It will fail to copy most of the times. When Performing returns/Copy order we generally perform Cloning of the Order in CSC and Work on the Cloned order. When doing this operation it generally takes more time and it fails if it was not able to fetch the details in Specific time frame. Below is the error that is been Seen in the logs. Error Tue Nov 29 16:29:59 EST 2016 1480454999909 /atg/dynamo/servlet/pipeline/RequestScopeManager/RequestScope-103429/atg/commerce/custsvc/returns/StartReturnExchangeProcess Caused by (#5):java.lang.RuntimeException: CONTAINER:atg.repository.RepositoryException; SOURCE:java.sql.SQLException: Unexpected exception while enlisting XAConnection java.sql.SQLException: XA error: XAResource.XAER_NOTA start() failed on resource 'SwitchB':   XAER_NOTA : The XID is not valid  Error Tue Nov 29 16:29:59 EST

ATG Support Analysis Database Queries

Hi Guys, Just wanted to share with you all the database Queries that can be used to analyse various things from database perspective. Every fault that occurs in ATG has some link with the Database and we also start analysing things starting from Database standpoint. Here i have used simple sql Queries but yet they will give perfect results (Iam not DB expert to give more optimised Queries. Any suggestions for new and optimised Queries are welcome). Orders Placed on Particular date in Particular state select o.* from dcspp_order o inner join dcspp_pay_group p on o.order_id = p.order_ref join DCSPP_BILL_ADDR b on p.PAYMENT_GROUP_ID = b.PAYMENT_GROUP_ID where substr(o.creation_date,0,9) = '31-JUL-17' and o.state not in('SUBMITTED','REMOVED');  Orders with Specific ShippingGroup(for example hardgoodShippingGroup) select * from atgcore.dcspp_order o inner join atgcore.dcspp_ship_group s on o.order_id=S.ORDER_REF where s.state  not i

ATG Database Tables

Most Important Tables that is required when analysing ATG related things are been listed below with all the description. The below list of tables is been divided based on the schemas in which they reside. The schemas that have been classified is based in Switching Database Architecture. For nonSwitching it a bit different which you will get to know when you reach the end. Schemas are : Production Schema Catalog Schema(SwitchA/CatA/SwitchB/CatB) Publishing Schema Production Schema :       User: DPS_USER - Has all the User details, whoever registers their account in ATG will have its entry its here. DPS_CREDIT_CARD - Contains all the User profile save cards info. This is been linked to DPS_USER table with linking table(DPS_USR_CREDITCARD). DPS_CONTACT_INFO - All the User saved addresses will be saved here like firstname, lastname, Address1, City, State, Phone Number. This table is linked with DPS_USER table using DPS_USER_ADDRESS. DCS_USER - This tables Contains U

ATG BCC Users Roles

Each and Every person Who ever Login's to the ATG System Should have Users created in ProfileRepositoy. Their accesses to perform different Actions/Activities depends on the kind of Roles assigned to that User. Below are the Different roles that User Should Possess for Accessing BCC. User Role Description EPub-User Business User Who Creates and manages Assets. He Cannot Review them or Deploy them. EPub-Manager User Who Reviews and Approves the Assets created by ‘EPub-User’ and can deploy the same on Staging and Production. He can also create New Assets and Move them between the Targets. EPub-Admin Users Can Create new Users and grant Access to different users. Can create new users. Can assign new Responsibilities/remove responsibilities  to/from existing User. He is Same as Epub-user in case of Assests creation. He can just create/manage but cannot move them between targets. EPub-Super-Admin Has all the permissions. of the Above three

Resetting the Dynamo Admin password

Facing difficulty in Logging in to dynamo admin or Forgot Password for the same. NO PROBLEM. Please Follow below Steps to reset it. 1) Delete all the rows from table das_account . 2) Restart the server instance. This Creates all the rows in das_account with default Values. 3) LOGIN to dyn/admin with default credentials admin/admin . 4) After Login DYN ADMIN ask to reset the password. Reset to the desired Value. Hope this Helps.

CIM(Configuration and Installation Manger) Setup. Step -3 Ear Assembly and Deployment to server. (ATG 10.2)

After Setting Up the Databases and Creation of server instances. Next step would be creation Enterprise Archives (EAR) files with all the necessary modules and deploy it to servers. We can do that Manually but CIM provides very easy way to do it. If you haven't setup ATG Required Databases then please check the Step-1 ( CIM(Configuration and Installation Manger) Setup. Step -1 DataBases Setup. (ATG 10.2) ) . If you haven't created the ServerInstances then Please Check the Step-2 ( CIM(Configuration and Installation Manger) Setup. Step -2 ServerInstance-Configuration. (ATG 10.2) ) . Below are the Next series of steps. ====================================== C:\ATG10.2_New\ATG10.2\home\bin>cim.bat Application Server: jboss The following installed ATG components are being used to launch:   ATGPlatform version 10.2 installed at C:\ATG10.2_New\ATG10.2 Nucleus running      Oracle ATG Web Commerce Configuration Installation Manager =======CIM MAIN MENU====================