ATG CO User Creation

1. Click on Personalization->InternalUser(Only a user having  
   Epub-SuperAdmin  can see this option. This is  a BAU behavior)
2. Click on create - InternalUser
3. Fill the general information like name, password(as BAU).

create internal user
 Under the org and Roles assign the below  Epub-Browse Role  to   
 create  a Browse only user for Campaign Optimizer.

assign epub browse role to user

 Similiarly Assign the ABTest-User role to give access only to 
 Campaign optimizer section in BCC.

ATG Campaign Optimizer Epub-SuperAdmin Role

After doing all the necesary configurations for the CO,
a new option Campaign Optimizer will be visible to user when he logs in to BCC.Under this Campaign Optimizer different option will be visible based upon the different role.

Lets see take the  user having  the role as EPub-SuperAdmin.So,all the options are visible.

Below are other few roles for CO.

Browse only(We are going to use the existing  Epub-Browse role for this purpose)

ABTest role(This is a OOB role provided by Campaign Optimizer)

Unable to execute the command 'javac -classpath in ATG Server console

This happened when i tried to invoke runAssembler to create and deploy ATG application modules from eclipse IDE.

It was due to the 'bin' folder where the javac executables of JDK is shipped with, is not added to the PATH variable.I still dont know why this is happening from eclipse IDE.
The detailed exception is: Cannot run program "javac": CreateProcess error=2,atg.servlet.pagecompile.PageCompileException:


Its a simple fix,i have added 'bin' directory of my JDK(C:\Program Files (x86)\Java\jdk1.6.0_29\bin) in the Path Variable(Path variable can be accessed by right click myComputer-Properties-Advanced system settings-Environment Variables-System variables).

BCC Creating Site group

1 1. Site group – grouping site item, so that common
     components (like shopping cart etc) can be shared for
     all sites within the site group. 
1 2. Add the sites which we created earlier to the Site
  group,this attribute will group more than one site,
  we shall add this site group further as soon we create more 
2 3. Check all shared data, here shopping cart is shared among all  
     sites in the site group.
1 4. Site group successfully created. Currently group has only 
  one site.  
BCC Creating Site group

BCC Site Creation - Multi Site ATG10

1 Creating site item using BCC tool.

1 1. Login to BCC using admin/admin or siteadmin/siteadmin
2 2. In BCC Home -> Site Administration -> Manage Site
3 3. Site Administration UI opened up as below screenshot where in 
B    BCC user can create site group, site item

4 Below screen shot depicts creating new site item in site-repository.

Adding a site item in site-repository

  5.Fill Basic details like site Name,description.Site Category is default.

A Also see below links on how to create

S Site Category

how startSQLRepository connects to database

The startSQLRepository tool cannot access the datasource that is inside the Application server. So we layer the JTDataSource and make it point to FakeXADataSource which is a datasource setup at the Nucleus level.

When StartSQLRepository tool starts, it creates an instance of Nucleus in a separate JVM that it is starting from the command window and in that Nucleus will create the JTdataSource and the FakeXADataSource components to point to the appropriate schema which we are configuring.

Whenever the startSQLRepository tool is run without giving the –s server_name option, the last layer in the config path will be the home/localconfig. But if we pass on the server name, then the last layer will be the home/servers/server_name/localconfig.

BCC Manage Snapshot functionality

-   Snapshot management means, CA version manager maintains all snapshot number from different targets. If it finds any difference between the two target requires reinitialization.

-   Reinitialization will just changes snapshot number on CA server and make it in synch with the one in Target.
-   Generally this functionality is not available thru BCC but using admin UI it is available.

-   But business wanted to be there in BCC and do not want to go to SAs for doing this so we added this in BCC.
We added atg.deployment.server package in BCC src as some methods used were not public. We have written InitializeSnapshotFormHandler.handleInializeSnapshot().

See how to Reinitialize snapshot id in BCC  

ATG No Search Engines Responded

if you are getting this error message in the commerce console
you can try the below steps to start/restart the Search 
Engine via BCC

1.Open Windows Task manager,verify the processes tab and see
  atgsearch.exe is running,if its there,end the process.

2.Login to BCC,expand the Search Administration tab inside the  
  'operations' section,now click on 'Search Project  
  Administration',expand the 'Projects' link and click on your 
  project(testSearchProj),click on Environments,then stop the 
  engine by clicking 'stop link'.

3.After stopping the engine,navigate to the path
   /SearchConfigurationRepository/ invoke 
   invalidateCaches Method.

4.Now going back to Point2,click 'start link' to start the 
  Search Engine.

no installed platform or application package containing an AppModule which matches your Module

The one common cause for this exception is generally beginners in ATG will start creating a Java project in Eclipse workspace(workspace location is not same as ATG installation directory) and try to deploy that project in some Application Server and end up in getting this Exception.The solution is to create the Module/Project inside the ATG installation directory for eg:Eclipse-New Java Project, you need to choose the path of the New Module/Project to C:\ATG\ATG10.2\,so that the new Module comes under the installation directory, or if its an existing ATG Module/Project,copy that Module/Project to ATG installation directory and import the project into Eclipse workspace.

Error #1

I got this error, when i moved my application EAR which was working perfectly in windows to Unix environment.In our Unix box we are using exactly the same software/versions which we used for local windows machine,but still getting the error.

I verified the ATG Root directory to check the module
DafEar.base is present,i am able to find the module since this is defaultly shipped as part of ATG Installation.But the root cause was i need to modify the ATG Server,Dynamo Home and Dynamo Root Path in dynamo.env file with respect to Unix environment


Modify the dynamo.env file(path->xxx.EAR-atg_bootstrap.war-WEB-INF-dynamo.env)to correct the environment properties specific for unix environment.This solved the issue !!!!,For your reference see the  dynamo.env file for unix env below.


#Dynamo environment properties


Error #2

The other time got this error while creating ATG application Module without ATG Plugin,the MANIFEST.MF file will not get created in this case.Your module need to have this file,otherwise you will get this exception while invoking runAssembler.You will not able to pack your module into an EAR and run the Application.


You need to create a folder META-INF,inside that create the MANIFEST.MF file,Add the required entries,Manifest-Version,ATG-Config-Path,ATG-Required,ATG-J2EE,ATG-EAR-Module,ATG-Class-Path.Here ATG-J2EE and ATG-EAR-Module are optional,we can add this if you have a front end GUI running in ATG application
Related Posts Plugin for WordPress, Blogger...