A Tech and Social blog to share latest and greatest stuff from areas like Web technology, eCommerce , Travel and many more ...
Thursday, October 11, 2012
Oracle ATG Search 9.3 configuration on Local (Windows 7 , 64 bit) machine
Tuesday, September 04, 2012
SQL Error: ORA-01591: lock held by in-doubt distributed transaction
01591. 00000 - "lock held by in-doubt distributed transaction %s"
*Cause: Trying to access resource that is locked by a dead two-phase commit
transaction that is in prepared state.
*Action: DBA should query the pending_trans$ and related tables, and attempt
to repair network connection(s) to coordinator and commit point.
If timely repair is not possible, DBA should contact DBA at commit
point if known or end user for correct outcome, or use heuristic
default if given to issue a heuristic commit or abort command to
finalize the local portion of the distributed transaction.
ROLLBACK
statement with the FORCE
option and a text string that indicates either the local or global transaction ID of the in-doubt transaction to commit. Friday, August 10, 2012
Purging Asset Versions in BCC using ATG dynamo PurgingService
(3) Resolving repository data conflict - Purge service might failed on ContentRepository data, to fix this try setting VersionManagerService.enableProtectivePurge as false and then run the purge service.
Wednesday, April 18, 2012
Effective use of robots.txt
As part of sensible SEO practice its important to keep a firm grasp on managing exactly what information we don't want being crawled!
A robots.txt file restricts access to your site by search engine robots that crawl the web. These bots are automated and before they access pages of a site, they check to see if a robots.txt file exists that prevents them from accessing certain pages.
You need a robots.txt file only if your site includes content that you don't want search engines to index. If you want search engines to index everything in your site, you don't need a robots.txt file
The simplest robots.txt file uses two rules:
User-agent: the robot the following rule applies to
Disallow: the URL you want to block
These two lines are considered a single entry in the file. You can include as many entries as you want. You can include multiple Disallow lines and multiple user-agents in one entry.
Some example below -
User-agent: *
Disallow: /images/
User-Agent: Googlebot
Disallow: /archive/
The Disallow line lists the pages you want to block. You can list a specific URL or a pattern. The entry should begin with a forward slash (/).
- To block the entire site, use a forward slash.
- To block a directory and everything in it, follow the directory name with a forward slash.
Disallow: /archive-directory/
- To block a page, list the page.
Disallow: /checkout.jsp
- To remove a specific image from Google Images, add the following:
User-agent: Googlebot-Image
Disallow: /images/logo.jpg
- To remove all images on your site from Google Images:
User-agent: Googlebot-Image
Disallow: /
- To block files of a specific file type (for example, .gif), use the following:
User-agent: Googlebot
Disallow: /*.gif$
- To specify matching the end of a URL, use $. For instance, to block any URLs that end with .xls:
User-agent: Googlebot
Disallow: /*.xls$
We can restrict crawling where it's not needed with robots.txt
A "robots.txt" file tells search engines whether they can access and therefore crawl parts of your site. This file, which must be named "robots.txt", is placed in the root directory of your site. e.g - www.example.com/robots.txt
If you have a multi country site then each country should have its own robots.txt
To further read follow these links for generating and using robots.txt
robots.txt generator
Using robots.txt files
Caveats of each URL blocking method
Kindly note Google has a limit of only being able to process up to 500KB of your robots.txt file.
Thursday, November 25, 2010
11 most commonly used FormHandlers in ATG
Here are some of the commonly used FormHandlers, although ATG provides many out of the box FormHandlers and even we can write our own custom FormHandlers by extending GenericFormHandler class provided by ATG.
CartModifierFormHandler -- This formhandler is used to modify a ShoppingCart by adding items to it, deleting items from it, modifying the quantities of items in it, and preparing it for the checkout process.
ExpressCheckoutFormHandler -- The ExpressCheckoutFormHAndler is used to expedite the checking out of an Order. This supports creating a maximum of one Profile derived HardgoodShippingGroup and one Profile derived CreditCard, followed by committing the Order.
SaveOrderFormHandler -- The SaveOrderFormHandler is used to save the user's current Order based on a descriptive name that the user specifies. A new empty Order is then made the user's current shopping cart. If a descriptive name for the Order is not specified, then one is created based on the user's Locale and date and time.
ShippingGroupFormHandler -- The ShippingGroupFormHandler is used to associate ShippingGroups with the various Order pieces. This component is used during the Order checkout process, and any Order successfully processed by the ShippingGroupFormHandler is ready for the next checkout phase, which may be Payment.
PaymentGroupFormHandler -- The PaymentGroupFormHandler is used to associate PaymentGroups with the various Order pieces. This component is used during the Order checkout process, and any Order successfully processed by the PaymentGroupFormHandler is ready for the next checkout phase, which may be confirmation.
CommitOderFormHandler -- The CommitOrderFormHandler is used to submit the Order for final confirmation. This calls the OrderManager's processOrder method. If there are no errors with processing the Order, then the current Order in the user's ShoppingCart will be set to null and the submitted Order will become the ShoppingCart's last Order.
CancelOderFormHandler -- The CancelOrderFormHandler is used to cancel the user's current Order, which deletes the Order from the ShoppingCart.
RepositoryFromHandler -- Saves repository data to a database.
ProfileFormHandler -- Connects forms with user profiles stored in a profile repository.
SearchFormHandler -- Specifies properties available to a search engine.
SimpleSQLFormHandler -- Works with form data that is stored in a SQL database.Popular Posts
-
In this post I have tried to explore Cartridges and Endeca Assembler Application by examining how they work together in a "Hello Wor...
-
E xploring new software and tool is always exciting and fun way to learn new stuff. With ATG Commerce v11 Oracle has replaced ATG Se...
-
H ope most of you must be knowing about Dynamo Application Framework ( DAF ) and Nucleus concepts in ATG . I have just tried to summarized t...
-
Recently started exploring Hybris commerce suite 5.0.4 and have some of the interesting facts to share. So let’s start with basics. ...
-
Just read one of the white papers from ATG's site , liked the way they have explained about Data Anywhere Architecture. Thought to shar...
-
Well we all have been writing the classic JUnit tests from years now but it becomes challenging to write test cases when you dealing w...
-
Here are some of the commonly used FormHandlers, although ATG provides many out of the box FormHandlers and even we can write our own custom...
-
Recently faced couple of issues with running the Purge Service under BCC and had to do some tuning to finally make it work on large vol...
-
Time to explore barebone concepts around Endeca commerce guided search v11.1. It’s vital to understand the key concepts before moving ahe...
-
R ecently installed ATG search 9.3 on local windows machine and configured search environment and index. It was a good fun as it gave quit...