1. Additional ATG Configuration
a. Open DYNAMO_HOME/servers/atg_publishing_lockserver/localconfig/atg/search folder.
b. Create a file SynchronizationInvoker.properties
c. Add the following properties and save the file.
host = localhost
port = 8860
d. Open the file
f. Add the following property and save the file.
2. Additional Weblogic Configuration
a. Open Weblogic Admin Server (http://localhost:7001/console) and logic with your weblogic credentials (weblogic/Welcome1)
b. Under the Domain Services on the left, click on "atg11".
c. Click on JTA tab.
d. Set the "Timeout Settings" value to "1800"
e. Again, Under "atg11" -> "Services" click "Data Sources".
f. Click on ATGProductionDS. Click on Connection Pool tab.
g. Scroll down, and set the "Maximum Capacity" value to 600. Click Save.
h. Repeat the same process for ATGPublishingDS, ATGSwitchingDS_A, ATGSwitchingDS_B
3. Starting the Servers
a. Open CMD
b. Change the directory to your weblogic domain's bin folder
c. Type the command: startManagedWeblogic.cmd atg_production_lockserver
to start the production server.
d. The startup window will pause for weblogic username and password. Type-in weblogic and press enter. Then type Welcome1 as password and press enter.
e. Let the server start.
f. You can hit the production server by URL: http://localhost:7003/dyn/admin
g. Firstly, the system will ask for dyn/admin password. Type-in admin/Welcome1
h. It will again ask for a username/password for weblogic-level authentication. Type-in weblogic/Welcome1
i. This will open dyn/admin for your server. Your dyn/admin page will look like:
If it does not look like above and gives the following ERROR:
Please follow the steps HERE (opens in a new window) to fix this issue.
Similarly, the command at step (c) can be modified to startManagedWeblogic.cmd atg_publishing_lockserver for starting the publishing server.
You can access dyn/admin of publishing server by URL: http://localhost:7103/dyn/admin
You can access BCC by URL: http://localhost:7103/atg/bcc [Credentials: admin/Welcome1]
4. Remove weblogic password during server startup
In the Step#3(d) Server asks for weblogic credentials, which could be a bit annoying. To remove this, you can follow the below steps:-
a. Browse to the weblogic domains directory/atg11/servers [e.g. D:\Oracle\Middleware\domains\atg11\servers]
b. Open the folder AdminServer.
c. Copy the folder named "security".
d. Come back to the "servers" folder.
e. open "atg_production_lockserver" folder and paste the copied folder named security.
f. do the same for "atg_publishing_lockserver".
g. Now start the servers using steps 3(a) to 3(c). The server will start without asking for any user intervention.
5. Run a Full Deployment
a. Start both; publishing and production servers (using different cmd windows)
b. Open BCC using the URL: http://localhost:7103/atg/bcc
c. You should see a screen like this
d. Enter the username/password as admin/Welcome1 and login.
e. In the left panel, under "Content Administration", click "CA Console"
f. A new page opens. Click "Configuration" in the left panel.
g. Again, a new page will open.
h. On Extreme right, there will be a button "Add Site". Click on it.
i. Enter the site name as "production", select "Flag Agents Only (data already imported to site)" and "Workflow target".
j. At the bottom, there will be two combo boxes, with repository names. You have to map left repositories to the right. To do a selection, select a repository on the left, select a repository on the right and click "Add". This will add the combination.
All of the repositories on the left side should be mapped to a repository on the right.
After the mapping, it should look like:-
k. Click on "Save Changes" at the bottom.
l. Click on "Agents" tab. On the extreme right click "Add Agent to Site".
m. Write the agent name as "ProdAgent" and Transport URL as rmi://localhost:8860/atg/epub/AgentTransport
n. Check the "essential" checkbox.
o. Click on the double-right button between the combo-boxes of File Systems.
p. Click on Save Changes. After saving, the "Agents" tab should look like:-
q. Click on "Back to deployment administration configuration" on the top. Next, click on "Make Changes Live" button.
r. Select the "Flag Agents Only (data already imported to site)" and click "Make Changes Live".
s. Click on "Overview" on left side, and then click on "Production".
t. BCC will display the progress of your deployment. It may be fast so some of you might not see it.
u. After this deployment, Endeca Baseline Indexing automatically starts. To check the progress, open the Production server's dyn/admin [http://localhost:7003/dyn/admin]. Enter the username and password as admin/Welcome1 and then weblogic/Welcome1 for subsequent prompts.
h. Search for the component /atg/commerce/endeca/index/ProductCatalogSimpleIndexingAdmin. Wait for the status when all of the sections are "COMPLETED". If this is not started (all fields show PENDING), you can click "Baseline Index" button manually. Check on "Auto Refresh" checkbox, to see frequent updates.
i. Once this is done, you have to run set_templates and promote_content script.
Go to D:/Endeca/Apps/CRS/control and double click on set_templates.bat and thereafter successful execution, run promote_content.bat
j. Now access the storefront application using http://localhost:7003/crs
Now, let us move on to creating a new ATG Module on top of CRS for our practice! Grab-on as it is now going to be very interesting!