Posts

ATG-Class-Path Usage and Duplicate Class Files in JARS

I came across a situation in which i have two Class Files of the same name in different JARs but with some methods similar and other methods entirely different , these two JARS are required for the same Project with different Modules and i want to access the one which is compatible with my Code and Module,The other Module obviously dont want this Class file but requires other Classes,now the issue is you  have both the jars in CLASSPATH.How will you make sure you are pointing to the correct Class files in this situation, you need the Class Files from one JAR which has your updated method for a new functionality, You may experience the same issue while organizing imports or resolving a Java component. Here you need to do two things,first one is to resolve the component at Compile time in Eclipse or other IDEs,the second part is to resolve the runtime conflicts in the Application Server So for Compile time,Assume if you are using Eclipse and you have both  JAR added ...

ATG Implementation Developer Essential Certifications Reference

I have taken the Certification and cleared it ,Following are the few questions and answers i can recollect.Hope this would help you to prepare for the Certifications to some Extend.All the best for the Certifications. Which two ASE tasks can be performed by ACC but not BCC Ans : Scenarios,Slots,Workflow Role of allocateItemRelQuantitychain Ans : To purchase item from Preorder Backorder and the Avaialble Stock Ininvetory   How many current and saved orders does ATG allows fora User Profile Ans : One current Order and Collection of Saved Orders What is a Reanimated Order Ans : Previously Abandoned Order in which user has added items or modified the item quantities What are the properties we need to add in the Versioned schema for Primary tables and Auxiliary tables Ans : asset_version in both Primary and Auxiliary tables,other 7 columns in Primary tables What component should a shareable component register with Ans : sitegroup If you want to update the Computed Catal...

/atg/epub/DeploymentServer error encountered reading in persisted status java.io.EOFException

 Mon Jul 08 22:07:25 IST 2013    1373301445080   /atg/epub/DeploymentServer      error encountered reading in persisted status   java.io.EOFException  Mon Jul 08 22:07:25 IST 2013    1373301445080   /atg/epub/DeploymentServer              at java.io.ObjectInputStream$BlockDataInputStream.peekByte(ObjectInputStream.java:2553)  Mon Jul 08 22:07:25 IST 2013    1373301445080   /atg/epub/DeploymentServer              at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1296)  Mon Jul 08 22:07:25 IST 2013    1373301445080   /atg/epub/DeploymentServer              at java.io.ObjectInputStream.readObject(ObjectInputStream.java:...

Weblogic Issues during EAR Deployment Exception in AppMerge flows progression

Unable to access the selected application Exception in AppMerge flows progression Bean already exists "weblogic.j2ee.descriptor.ModuleBeanImpl@..../Modules[weblogic.descriptor.internal.Descriptor.Beankey@....] This issue can happen in many scenarios, may be you need to check your deployment descriptors based on Application Servers used, this generally happens due to issue in XML files related to deployment. I got this issue when i mistakenly added the modules twice in the Manifest file, the module 'Store.Storefront' is added more than once in  'ATG-Required'  of my Manifest.MF file,due to this i am seeing the module 'storedocroot.war' is added twice in my application.xml which is located in the  path ATGProd.ear\META-INF\application.xml.Due to this i am not able to deploy my EAR file. I have removed the duplicate entry and deployed the application and everything working fine. ....... <module>         <web>  ...

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...

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 no...

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 s...