Posts

Showing posts from June, 2013

Endeca ecastore exists - Failed to create database eacstore while running Initialise Services

Caused by: java.sql.SQLException: Failed to create database '/u01/app/endeca/PlatformServices/workspace/state/eacstore', see the next exception for details.     at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown Source)     at org.apache.derby.impl.jdbc.SQLExceptionFactory40.wrapArgsForTransportAcrossDRDA(Unknown Source)     ... 54 more Caused by: java.sql.SQLException: The database directory '/u01/app/endeca/PlatformServices/workspace/state/eacstore' exists. However, it does not contain the expected 'service.properties' file. Perhaps Derby was brought down in the middle of creating this database. You may want to delete this directory and try creating the database again.     at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown Source)     at org.apache.derby.impl.jdbc.SQLExceptionFactory40.wrapArgsForTransportAcrossDRDA(Unknown Source)     at org.apache.derby.impl.jdbc.SQLExceptionFactory40.getSQLException(Unknown So

practice set of questions and answers to test your knowledge

Application has three different email handlers:one for the testing ,one for the internal mail and one for the external.Content Administration  uses the internal mail handler to send the asset update notification to the managers,which of the following directories would be the best place to configure SMTPEmail.emailHandlerHostName? a: atgdir/home/localconfig b: atdir/home/server/yourserver/localconfig c: atdir/yourapp/config d: atdir/yourapp/liveconfig e: atdir/yourapp.versioned/config f: atgdir/yourapp.versioned/live config Answer : b e and f Use the -Standalone option when assembling your ATG application to allow you to : a: Run the application without using a separate application server such as Weblogic or JBoss b: Run a server type with only single instance such as the CA server. c: Deploy EJBs and Web Applications into seperate EARs d: Run the application on a host on which ATG is  not installed Answer : d There should be a node manage

setting nohup in linux for logging and start admin console without startup script

Generally the Application Server Startup logs which has the information of ATG Modules,ATG Classpath,ATG Version etc running under Managed Weblogic Server will not be logged to the logs folder under the ATG Application Server log path (ATG_HOME/server/ATGProduction/logs).Ideally the Application Server would be logging this to the console which includes the output from the stdout and stderr,but as a best practice you may need to manually capture these console logs to some file,otherwise it might loose once the console buffer is filled,its also very difficult to read and thereby troubleshoot an issue. Also in Unix if you run a startup script of an Application Server, The same Server will shutdown if you accidentaly  close the window or somehow the connection is lost to that session. So inorder to address the above issues you can try the below steps I have taken a typical example of Weblogic Application Server.You may change the based on your Application Server startup scrip

Endeca application already exists with the name CRS use --force option

*** info    Thu Jun 06 18:06:31 IST 2013    1370522191743    atg.cim.task.ant.utility.AntLogger    Total time: 0 seconds **** info    Thu Jun 06 18:06:33 IST 2013    1370522193801    atg.cim.productconfig.endeca.EndecaInitializeTask    Intitializing Endeca Application **** info    Thu Jun 06 18:06:33 IST 2013    1370522193824    atg.cim.task.ant.utility.AntLogger    **** info    Thu Jun 06 18:06:33 IST 2013    1370522193824    atg.cim.task.ant.utility.AntLogger    edeca-init.nonwindows: **** info    Thu Jun 06 18:06:33 IST 2013    1370522193831    atg.cim.task.ant.utility.AntLogger         [exec] Initializing Endeca App **** info    Thu Jun 06 18:06:36 IST 2013    1370522196128    atg.cim.task.ant.utility.AntLogger         [exec] [06.06.13 18:06:36] SEVERE: An application already exists with the name, "CRS". Please use the '--force' option if you want to replace all existing configuration. **** info    Thu Jun 06 18:06:36 IST 2013    1370522196156    atg.cim.

Configure Endeca in Linux with Multiple Instances

While integrating ATG and Endeca in Linux with Multiple Instances ,we need to be really careful of the ports ATG, weblogic server and Endeca Services use. Here are few tips on the how can we configure ATG,Weblogic and Endeca Application without conflicting ports. First of all lets start with the Compatibility Matrix for ATG10.2. ATG Compatibility CRS10.2 CRS10.2 Mobile Web Application Endeca Compatibility Oracle Endeca Commerce 3.1.2 Oracle Endeca MDEX Engine 6.4.1 Oracle Endeca Platform Services 6.1.3 Oracle Endeca Tools and Frameworks with Experience Manager 3.1.2 Oracle Endeca Content Acquisition System 3.1.2 Application Server Compatibility Weblogic 10.3.5 or Weblogic Server 10.3.6 or JBoss 5.1.2 EAP Weblogic Server ports ATG Configuring Admin Serve r, select 7003 as Admin port In the WEBLOGIC ONLINE PORT BINDING menu, select [C] Choose Custom Port Binding. In the CHOOSE CUSTOM WEBLOGIC ONLINE PORT BINDING menu, select [3] ports-02: http port is 7203 fo

ATG Questions and Answers for ATG Commerce Implementation Certification

1. The design of the OrderFullfiller and the HardgoodFullfiller used the       ClientLockManager to ------------- A. Prevent one component from processing messages for two different orders      at  same time B. Send messages to all the components that the order is being      modified.Components  C. Helping in caching the order for better performance D. Lock the order so client cannot modify his order after it is submitted E.  Their Item Descriptors has cache mode property set to locked Answer: A Explanation: The design of the OrderFullfiller and the HardgoodFullfiller uses the ClientLockManager to prevent one component from processing messages for two different orders at the same time. 2. Inorder to ensure versioning integrity,a deploying project obtains exclusive       locks on its assets when deployment starts.what is the effect of these locks? A. Until a project's assets locks are released ,other projects that share those       assets cannot add the ass