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 to your build path ,you need to go to "Order and Export" tab and move your  updated jar above the other one,after this  you may able to build your Project smoothly without any issues.Second is to resolve the runtime conflicts

ATG has provided a beautiful way of handling this scenario,we have in ATG a better way of loading the CLASSPATHS,ATG looks for  MANIFEST.MF file,this file will specify which oder your Application Server has to load the CLASSPATHs.So put your updated JAR files before the other one in this Property.

Below is the example

ATG-Class-Path: lib/updated.jar lib/old.jar

Here its generally not that tough to resolve the issue by either finding the Class and the dependant Files , but there are situations in which we might face the similiar issues in OOTB Classes of different Vendors which need to be resolved.So this will be a good reference for the Beginners.

MANIFEST.MF
Manifest-Version: 1.0
Ant-Version: Apache Ant 1.7.0
Created-By: 16.0-b13 (Sun Microsystems Inc.)
ATG-Product: The Commerce Reference Store
ATG-Class-Path: classes lib/
lib/updated.jar lib/old.jar
ATG-Config-Path: config
ATG-Required:Store.EStore

After Configuring the Manifest File and Deploying the Application you can verify the Application Server Startup logs.You may see the updated.jar will be loaded first then the old.jar will be loaded.

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 Catalogs and Parent Catalogs properties of a Product which Service should you use
Ans :AncestorGeneratorService

How to Disable ATG OOTB funcitionality  of Persisting Cart
Ans :ShoppingCart.persistOrders = false

What does childproduct property of an item category contain
Ans :fixedChildProducts and computedChildProducts

What will happen if addItem() has never called afer createItem()
Ans :Item will be in memory and  not persisted

Which component are the different stages of ShoppingProcess in ATG is defined
Ans :ShoppingOrderConfiguration

What are the three methods in ItemPriceCalculator
Ans :priceitem,priceitems,priceeachitem

What are the three methods of ATG OOTB RepositoryFormHandler
Ans :create,update and delete

If there is a Business Requirement to show only three items in Slot,how will we do that
Ans :Limit the number of items in the Slot,Define the Limit property in the Targeter

What is the purpose of TabletInfo Component
Ans :Layout of the table,get information about Headers

What is the propety in Customer Profile which contains the list PromotionStatus Repository Items
Ans :activePromotions

What xmls laoded by Product Catalog
Ans :All xmls sepecified in the xml definition of ProductCatalog component will be loaded

How does a  developer preserve request scope
Ans : a_request parameter as hidden variable

Which 3 pricing engines shold set the Qualifier class to determine which object should do discount
Ans :Item,Order and Shipping

Best Option to display content of Open Parameter in Droplet
Ans :request.serviceParameter



Item Descriptors which are subtypes of Media Item


Ans :media external,media internal text,media internal binary

Repository stores information about converted Orders


Ans :abandlonedOrderLogRepository

Share Gift List across sites


Ans :gifltListManager.sitescope=all


When a Stock level reaches a threshold 


Ans :an event is generated

Which FormHandler and Droplet is used to Approve or Reject an order in pendng_approval State
Ans :ApprovaFormHandler,ApprovalRequiredDroplet

Two ways in which Nucleus can be configured
Ans :Through Property Files or through Component Configuration in ACC

Each daatabase operation is automatically wrapped in a transacation type of

Ans :supports


What are the different Component Scopes
Ans :Request,Session,Global,Window,Protocol

How do we prevent Inventory Deadlocks in database



Ans :From the InventoryManager Component we have a acquireInventoryLock() and releaseInventoryLock () methods to prevent the Deadlocks

If both siteScope and SiteIds are defined 


Ans :siteScope property is ignored

Scope of GiftList Search Component

Ans :GiftList Search Component is Session scoped

Defaults Sharing behaviour of userProfiles 


Ans : It is shared across all Sites
Orderfullfuller and Hardgood FullFiller uses Client Lock Manager

Ans :To prevent one component for processing messages for two different Orders at same time

Remove a Profile Marker from Profile


Ans :Use scenario with tin- "Remove markers from profile" action

Full Deployment in Production 
 
Ans :Full deployment will flush the Data/Assets ,Deploy it  in a passive database, Switch, then to other database

Multisite how to determine request is associated

Ans :Sticky Site Parameter,Domain,Path
 
Best options to  implement a custom FormHandler is to extend

Ans :GenericFormhandler,EmptyFormHandler,TansactionFormHandler



Querty types not supported in SQLRepository

Ans :includesAll,indexof,elementAt


/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:350)
 Mon Jul 08 22:07:25 IST 2013    1373301445080   /atg/epub/DeploymentServer              at

atg.deployment.common.Status.read(Status.java:2736)
 Mon Jul 08 22:07:25 IST 2013    1373301445080   /atg/epub/DeploymentServer              at

atg.deployment.common.StatusUtil.read(StatusUtil.java:439)
 Mon Jul 08 22:07:25 IST 2013    1373301445080   /atg/epub/DeploymentServer              at

atg.deployment.server.DeploymentServer.recoverDeployments(DeploymentServer.java:2105)
 Mon Jul 08 22:07:25 IST 2013    1373301445080   /atg/epub/DeploymentServer              at

atg.deployment.server.DeploymentServer.reinitializeTopology(DeploymentServer.java:1759)
 Mon Jul 08 22:07:25 IST 2013    1373301445080   /atg/epub/DeploymentServer              at

atg.deployment.server.DeploymentServer.doStartService(DeploymentServer.java:1232)
 Mon Jul 08 22:07:25 IST 2013    1373301445080   /atg/epub/DeploymentServer              at

atg.nucleus.GenericService.startService(GenericService.java:561)
 Mon Jul 08 22:07:25 IST 2013    1373301445080   /atg/epub/DeploymentServer              at

atg.nucleus.NucleusNameResolver.startService(NucleusNameResolver.java:1726)
 Mon Jul 08 22:07:25 IST 2013    1373301445080   /atg/epub/DeploymentServer              at

atg.nucleus.NucleusNameResolver.configureAndStartService(NucleusNameResolver.java:1397)
 Mon Jul 08 22:07:25 IST 2013    1373301445080   /atg/epub/DeploymentServer              at

atg.nucleus.NucleusNameResolver.createFromName(NucleusNameResolver.java:928)
 Mon Jul 08 22:07:25 IST 2013    1373301445080   /atg/epub/DeploymentServer              at

atg.nucleus.NucleusNameResolver.createFromName(NucleusNameResolver.java:667)
 Mon Jul 08 22:07:25 IST 2013    1373301445080   /atg/epub/DeploymentServer              at

atg.nucleus.NucleusNameResolver.createFromName(NucleusNameResolver.java:648)
 Mon Jul 08 22:07:25 IST 2013    1373301445080   /atg/epub/DeploymentServer              at

atg.nucleus.NucleusNameResolver.resolveName(NucleusNameResolver.java:493)
 Mon Jul 08 22:07:25 IST 2013    1373301445080   /atg/epub/DeploymentServer              at

atg.nucleus.ConfigurationRefArray.getValue(ConfigurationRefArray.java:183)
 Mon Jul 08 22:07:25 IST 2013    1373301445080   /atg/epub/DeploymentServer              at

atg.nucleus.SimpleComponentState.setBeanProperty(SimpleComponentState.java:403)
 Mon Jul 08 22:07:25 IST 2013    1373301445080   /atg/epub/DeploymentServer              at

atg.nucleus.SimpleConfigurationState.saveToBean(SimpleConfigurationState.java:240)
 Mon Jul 08 22:07:25 IST 2013    1373301445080   /atg/epub/DeploymentServer              at

atg.nucleus.SimpleConfigurationState.configureBean(SimpleConfigurationState.java:263)
 Mon Jul 08 22:07:25 IST 2013    1373301445080   /atg/epub/DeploymentServer              at

atg.nucleus.BeanConfigurator.configureBean(BeanConfigurator.java:297)
 Mon Jul 08 22:07:25 IST 2013    1373301445080   /atg/epub/DeploymentServer              at

atg.nucleus.PropertyConfiguration.configureService(PropertyConfiguration.java:984)
 Mon Jul 08 22:07:25 IST 2013    1373301445080   /atg/epub/DeploymentServer              at

atg.nucleus.SingleNucleusConfigurator.configureService(SingleNucleusConfigurator.java:84)
 Mon Jul 08 22:07:25 IST 2013    1373301445080   /atg/epub/DeploymentServer              at

atg.nucleus.NucleusNameResolver.configureService(NucleusNameResolver.java:1643)
 Mon Jul 08 22:07:25 IST 2013    1373301445080   /atg/epub/DeploymentServer              at

atg.nucleus.NucleusNameResolver.configureAndStartService(NucleusNameResolver.java:1368)
 Mon Jul 08 22:07:25 IST 2013    1373301445080   /atg/epub/DeploymentServer              at

atg.nucleus.NucleusNameResolver.createFromName(NucleusNameResolver.java:928)
 Mon Jul 08 22:07:25 IST 2013    1373301445080   /atg/epub/DeploymentServer              at

atg.nucleus.NucleusNameResolver.createFromName(NucleusNameResolver.java:667)
 Mon Jul 08 22:07:25 IST 2013    1373301445080   /atg/epub/DeploymentServer              at

atg.nucleus.NucleusNameResolver.createFromName(NucleusNameResolver.java:648)
 Mon Jul 08 22:07:25 IST 2013    1373301445080   /atg/epub/DeploymentServer              at

atg.nucleus.NucleusNameResolver.resolveName(NucleusNameResolver.java:493)
 Mon Jul 08 22:07:25 IST 2013    1373301445080   /atg/epub/DeploymentServer              at

atg.nucleus.ConfigurationRefArray.getValue(ConfigurationRefArray.java:183)
 Mon Jul 08 22:07:25 IST 2013    1373301445080   /atg/epub/DeploymentServer              at

atg.nucleus.SimpleComponentState.setBeanProperty(SimpleComponentState.java:403)
 Mon Jul 08 22:07:25 IST 2013    1373301445080   /atg/epub/DeploymentServer              at

atg.nucleus.SimpleConfigurationState.saveToBean(SimpleConfigurationState.java:240)
 Mon Jul 08 22:07:25 IST 2013    1373301445080   /atg/epub/DeploymentServer              at

atg.nucleus.SimpleConfigurationState.configureBean(SimpleConfigurationState.java:263)
 Mon Jul 08 22:07:25 IST 2013    1373301445080   /atg/epub/DeploymentServer              at

atg.nucleus.BeanConfigurator.configureBean(BeanConfigurator.java:297)
 Mon Jul 08 22:07:25 IST 2013    1373301445080   /atg/epub/DeploymentServer              at

atg.nucleus.PropertyConfiguration.configureService(PropertyConfiguration.java:984)
 Mon Jul 08 22:07:25 IST 2013    1373301445080   /atg/epub/DeploymentServer              at

atg.nucleus.SingleNucleusConfigurator.configureService(SingleNucleusConfigurator.java:84)
 Mon Jul 08 22:07:25 IST 2013    1373301445080   /atg/epub/DeploymentServer              at

atg.nucleus.NucleusNameResolver.configureService(NucleusNameResolver.java:1643)
 Mon Jul 08 22:07:25 IST 2013    1373301445080   /atg/epub/DeploymentServer              at

atg.nucleus.NucleusNameResolver.configureAndStartService(NucleusNameResolver.java:1368)
 Mon Jul 08 22:07:25 IST 2013    1373301445080   /atg/epub/DeploymentServer              at

atg.nucleus.NucleusNameResolver.createFromName(NucleusNameResolver.java:928)
 Mon Jul 08 22:07:25 IST 2013    1373301445080   /atg/epub/DeploymentServer              at

atg.nucleus.NucleusNameResolver.createFromName(NucleusNameResolver.java:667)
 Mon Jul 08 22:07:25 IST 2013    1373301445080   /atg/epub/DeploymentServer              at

atg.nucleus.NucleusNameResolver.createFromName(NucleusNameResolver.java:648)
 Mon Jul 08 22:07:25 IST 2013    1373301445080   /atg/epub/DeploymentServer              at

atg.nucleus.NucleusNameResolver.resolveName(NucleusNameResolver.java:493)
 Mon Jul 08 22:07:25 IST 2013    1373301445080   /atg/epub/DeploymentServer              at

atg.nucleus.ConfigurationRefArray.getValue(ConfigurationRefArray.java:183)
 Mon Jul 08 22:07:25 IST 2013    1373301445080   /atg/epub/DeploymentServer              at

atg.nucleus.SimpleComponentState.setBeanProperty(SimpleComponentState.java:403)
 Mon Jul 08 22:07:25 IST 2013    1373301445080   /atg/epub/DeploymentServer              at

atg.nucleus.SimpleConfigurationState.saveToBean(SimpleConfigurationState.java:240)
 Mon Jul 08 22:07:25 IST 2013    1373301445080   /atg/epub/DeploymentServer              at

atg.nucleus.SimpleConfigurationState.configureBean(SimpleConfigurationState.java:263)
 Mon Jul 08 22:07:25 IST 2013    1373301445080   /atg/epub/DeploymentServer              at

atg.nucleus.BeanConfigurator.configureBean(BeanConfigurator.java:297)
 Mon Jul 08 22:07:25 IST 2013    1373301445080   /atg/epub/DeploymentServer              at

atg.nucleus.PropertyConfiguration.configureService(PropertyConfiguration.java:984)
 Mon Jul 08 22:07:25 IST 2013    1373301445080   /atg/epub/DeploymentServer              at

atg.nucleus.SingleNucleusConfigurator.configureService(SingleNucleusConfigurator.java:84)
 Mon Jul 08 22:07:25 IST 2013    1373301445080   /atg/epub/DeploymentServer              at

atg.nucleus.NucleusNameResolver.configureService(NucleusNameResolver.java:1643)
 Mon Jul 08 22:07:25 IST 2013    1373301445080   /atg/epub/DeploymentServer              at

atg.nucleus.NucleusNameResolver.configureAndStartService(NucleusNameResolver.java:1368)
 Mon Jul 08 22:07:25 IST 2013    1373301445080   /atg/epub/DeploymentServer              at

atg.nucleus.NucleusNameResolver.createFromName(NucleusNameResolver.java:928)
 Mon Jul 08 22:07:25 IST 2013    1373301445080   /atg/epub/DeploymentServer              at

atg.nucleus.NucleusNameResolver.createFromName(NucleusNameResolver.java:667)
 Mon Jul 08 22:07:25 IST 2013    1373301445080   /atg/epub/DeploymentServer              at

atg.nucleus.NucleusNameResolver.createFromName(NucleusNameResolver.java:648)
 Mon Jul 08 22:07:25 IST 2013    1373301445080   /atg/epub/DeploymentServer              at

atg.nucleus.NucleusNameResolver.resolveName(NucleusNameResolver.java:493)
 Mon Jul 08 22:07:25 IST 2013    1373301445080   /atg/epub/DeploymentServer              at

atg.nucleus.ConfigurationRefArray.getValue(ConfigurationRefArray.java:183)
 Mon Jul 08 22:07:25 IST 2013    1373301445080   /atg/epub/DeploymentServer              at

atg.nucleus.SimpleComponentState.setBeanProperty(SimpleComponentState.java:403)
 Mon Jul 08 22:07:25 IST 2013    1373301445080   /atg/epub/DeploymentServer              at

atg.nucleus.SimpleConfigurationState.saveToBean(SimpleConfigurationState.java:240)
 Mon Jul 08 22:07:25 IST 2013    1373301445080   /atg/epub/DeploymentServer              at

atg.nucleus.SimpleConfigurationState.configureBean(SimpleConfigurationState.java:263)
 Mon Jul 08 22:07:25 IST 2013    1373301445080   /atg/epub/DeploymentServer              at

atg.nucleus.BeanConfigurator.configureBean(BeanConfigurator.java:297)
 Mon Jul 08 22:07:25 IST 2013    1373301445080   /atg/epub/DeploymentServer              at

atg.nucleus.PropertyConfiguration.configureService(PropertyConfiguration.java:984)
 Mon Jul 08 22:07:25 IST 2013    1373301445080   /atg/epub/DeploymentServer              at

atg.nucleus.SingleNucleusConfigurator.configureService(SingleNucleusConfigurator.java:84)
 Mon Jul 08 22:07:25 IST 2013    1373301445080   /atg/epub/DeploymentServer              at

atg.nucleus.NucleusNameResolver.configureService(NucleusNameResolver.java:1643)
 Mon Jul 08 22:07:25 IST 2013    1373301445080   /atg/epub/DeploymentServer              at

atg.nucleus.NucleusNameResolver.configureAndStartService(NucleusNameResolver.java:1368)
 Mon Jul 08 22:07:25 IST 2013    1373301445080   /atg/epub/DeploymentServer              at

atg.nucleus.NucleusNameResolver.createFromName(NucleusNameResolver.java:928)
 Mon Jul 08 22:07:25 IST 2013    1373301445080   /atg/epub/DeploymentServer              at

atg.nucleus.NucleusNameResolver.createFromName(NucleusNameResolver.java:667)
 Mon Jul 08 22:07:25 IST 2013    1373301445080   /atg/epub/DeploymentServer              at

atg.nucleus.NucleusNameResolver.createFromName(NucleusNameResolver.java:648)
 Mon Jul 08 22:07:25 IST 2013    1373301445080   /atg/epub/DeploymentServer              at

atg.nucleus.NucleusNameResolver.resolveName(NucleusNameResolver.java:493)
 Mon Jul 08 22:07:25 IST 2013    1373301445080   /atg/epub/DeploymentServer              at

atg.nucleus.Nucleus.resolveName(Nucleus.java:2645)
 Mon Jul 08 22:07:25 IST 2013    1373301445080   /atg/epub/DeploymentServer              at

atg.nucleus.GenericService.resolveName(GenericService.java:378)
 Mon Jul 08 22:07:25 IST 2013    1373301445080   /atg/epub/DeploymentServer              at

atg.nucleus.GenericService.resolveName(GenericService.java:430)
 Mon Jul 08 22:07:25 IST 2013    1373301445080   /atg/epub/DeploymentServer              at

atg.nucleus.Nucleus.<init>(Nucleus.java:1021)
 Mon Jul 08 22:07:25 IST 2013    1373301445080   /atg/epub/DeploymentServer              at

atg.nucleus.Nucleus.<init>(Nucleus.java:790)
 Mon Jul 08 22:07:25 IST 2013    1373301445080   /atg/epub/DeploymentServer              at

atg.nucleus.Nucleus.<init>(Nucleus.java:771)
 Mon Jul 08 22:07:25 IST 2013    1373301445080   /atg/epub/DeploymentServer              at

atg.nucleus.Nucleus.startNucleusCheckLicense(Nucleus.java:4300)
 Mon Jul 08 22:07:25 IST 2013    1373301445080   /atg/epub/DeploymentServer              at

atg.nucleus.servlet.NucleusServlet.initBigEarNucleus(NucleusServlet.java:1297)
 Mon Jul 08 22:07:25 IST 2013    1373301445080   /atg/epub/DeploymentServer              at

atg.nucleus.servlet.NucleusServlet.init(NucleusServlet.java:465)
 Mon Jul 08 22:07:25 IST 2013    1373301445080   /atg/epub/DeploymentServer              at

weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:283)
 Mon Jul 08 22:07:25 IST 2013    1373301445080   /atg/epub/DeploymentServer              at

weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
 Mon Jul 08 22:07:25 IST 2013    1373301445080   /atg/epub/DeploymentServer              at

weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
 Mon Jul 08 22:07:25 IST 2013    1373301445080   /atg/epub/DeploymentServer              at

weblogic.servlet.internal.StubSecurityHelper.createServlet(StubSecurityHelper.java:64)
 Mon Jul 08 22:07:25 IST 2013    1373301445080   /atg/epub/DeploymentServer              at

weblogic.servlet.internal.StubLifecycleHelper.createOneInstance(StubLifecycleHelper.java:58)
 Mon Jul 08 22:07:25 IST 2013    1373301445080   /atg/epub/DeploymentServer              at

weblogic.servlet.internal.StubLifecycleHelper.<init>(StubLifecycleHelper.java:48)
 Mon Jul 08 22:07:25 IST 2013    1373301445080   /atg/epub/DeploymentServer              at

weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:539)
 Mon Jul 08 22:07:25 IST 2013    1373301445080   /atg/epub/DeploymentServer              at

weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:1985)
 Mon Jul 08 22:07:25 IST 2013    1373301445080   /atg/epub/DeploymentServer              at

weblogic.servlet.internal.WebAppServletContext.loadServletsOnStartup(WebAppServletContext.java:19
 Mon Jul 08 22:07:25 IST 2013    1373301445080   /atg/epub/DeploymentServer              at

weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1878)
 Mon Jul 08 22:07:25 IST 2013    1373301445080   /atg/epub/DeploymentServer              at

weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3153)
 Mon Jul 08 22:07:25 IST 2013    1373301445080   /atg/epub/DeploymentServer              at

weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1508)
 Mon Jul 08 22:07:25 IST 2013    1373301445080   /atg/epub/DeploymentServer              at

weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:482)
 Mon Jul 08 22:07:25 IST 2013    1373301445080   /atg/epub/DeploymentServer              at

weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
 Mon Jul 08 22:07:25 IST 2013    1373301445080   /atg/epub/DeploymentServer              at

weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
 Mon Jul 08 22:07:25 IST 2013    1373301445080   /atg/epub/DeploymentServer              at

weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
 Mon Jul 08 22:07:25 IST 2013    1373301445080   /atg/epub/DeploymentServer              at

weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)
 Mon Jul 08 22:07:25 IST 2013    1373301445080   /atg/epub/DeploymentServer              at

weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:247)
 Mon Jul 08 22:07:25 IST 2013    1373301445080   /atg/epub/DeploymentServer              at

weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
 Mon Jul 08 22:07:25 IST 2013    1373301445080   /atg/epub/DeploymentServer              at

weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
 Mon Jul 08 22:07:25 IST 2013    1373301445080   /atg/epub/DeploymentServer              at

weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
 Mon Jul 08 22:07:25 IST 2013    1373301445080   /atg/epub/DeploymentServer              at

weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27)
 Mon Jul 08 22:07:25 IST 2013    1373301445080   /atg/epub/DeploymentServer              at

weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:636)
 Mon Jul 08 22:07:25 IST 2013    1373301445080   /atg/epub/DeploymentServer              at

weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
 Mon Jul 08 22:07:25 IST 2013    1373301445080   /atg/epub/DeploymentServer              at

weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:205)
 Mon Jul 08 22:07:25 IST 2013    1373301445080   /atg/epub/DeploymentServer              at

weblogic.application.internal.EarDeployment.activate(EarDeployment.java:58)
 Mon Jul 08 22:07:25 IST 2013    1373301445080   /atg/epub/DeploymentServer              at

weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
 Mon Jul 08 22:07:25 IST 2013    1373301445080   /atg/epub/DeploymentServer              at

weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
 Mon Jul 08 22:07:25 IST 2013    1373301445080   /atg/epub/DeploymentServer              at

weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:184)
 Mon Jul 08 22:07:25 IST 2013    1373301445080   /atg/epub/DeploymentServer              at

weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeployment
 Mon Jul 08 22:07:25 IST 2013    1373301445080   /atg/epub/DeploymentServer              at

weblogic.management.deploy.internal.DeploymentAdapter$1.doActivate(DeploymentAdapter.java:51)
 Mon Jul 08 22:07:25 IST 2013    1373301445080   /atg/epub/DeploymentServer              at

weblogic.management.deploy.internal.DeploymentAdapter.activate(DeploymentAdapter.java:200)
 Mon Jul 08 22:07:25 IST 2013    1373301445080   /atg/epub/DeploymentServer              at

weblogic.management.deploy.internal.AppTransition$2.transitionApp(AppTransition.java:30)
 Mon Jul 08 22:07:25 IST 2013    1373301445080   /atg/epub/DeploymentServer              at

weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.ja
 Mon Jul 08 22:07:25 IST 2013    1373301445080   /atg/epub/DeploymentServer              at

weblogic.management.deploy.internal.ConfiguredDeployments.activate(ConfiguredDeployments.java:169
 Mon Jul 08 22:07:25 IST 2013    1373301445080   /atg/epub/DeploymentServer              at

weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:123)
 Mon Jul 08 22:07:25 IST 2013    1373301445080   /atg/epub/DeploymentServer              at

weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:1
 Mon Jul 08 22:07:25 IST 2013    1373301445080   /atg/epub/DeploymentServer              at

weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:96
 Mon Jul 08 22:07:25 IST 2013    1373301445080   /atg/epub/DeploymentServer              at

weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
 Mon Jul 08 22:07:25 IST 2013    1373301445080   /atg/epub/DeploymentServer              at

weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
 Mon Jul 08 22:07:25 IST 2013    1373301445080   /atg/epub/DeploymentServer              at

weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
 Mon Jul 08 22:07:25 IST 2013    1373301445080   /atg/epub/DeploymentServer
 Mon Jul 08 22:07:25 IST 2013    1373301445849   /atg/epub/deployment/DeploymentManager  Resolving

reference to /atg/deployment/DeploymentManager
 Mon Jul 08 22:07:26 IST 2013    1373301446851 

/atg/remote/assetmanager/common/service/PropertyManager Resolving reference to

/atg/userprofiling/InternalPropertyManager
 Mon Jul 08 22:07:26 IST 2013    1373301446924   /atg/seo/SEORepository_production       SQL Repository

startup complete
 Mon Jul 08 22:07:26 IST 2013    1373301446949 

/atg/userprofiling/PersonalizationRepository_production SQL Repository startup complete
 Mon Jul 08 22:07:26 IST 2013    1373301446996   /atg/store/stores/StoreTextRepository_production     

 SQL Repository startup complete
 Mon Jul 08 22:07:27 IST 2013    1373301447789   /atg/commerce/catalog/MerchandisingProductCatalog    

 Resolving reference to /atg/commerce/catalog/SecureProductCatalog
 Mon Jul 08 22:07:28 IST 2013    1373301448548   /atg/search/repository/IncrementalItemQueueRepository

 SQL Repository startup complete
 Mon Jul 08 22:07:33 IST 2013    1373301453185   /atg/commerce/endeca/index/CategoryTreeService

service started.
 Mon Jul 08 22:07:33 IST 2013    1373301453365 

/atg/commerce/promotion/template/PromotionTemplateManager       Promotion Template scheduler started
 Mon Jul 08 22:07:35 IST 2013    1373301455801   /atg/commerce/catalog/CatalogChangesListener  

Resolving reference to /atg/commerce/catalog/custom/CatalogChangesListener


 running, app server startup continuing


Solution
This issue is happening when i am starting my Publishing Server Instance.
The common root cause  will be  your dep-stat files  are corrupted due to that its throwing EOFException,to resolve this issue you have to navigate to the Folder eg: C:\ATG\ATG10.2\home\servers\ATGPublishing\Publishing\deployment\data in your Windows/Linux Box, rename the dep-stat file to some other name, i have done like this, for eg:dep-stat-1371662649154 to bkupdep-stat-1371662649154,After that uou have to bounce your Publishing Server and this issue will not come again ,other places you may want to try this is in Production Server Navigate to eg: C:\ATG\ATG10.2\home\servers\ATGProduction\PublishingAgent\data.Modify the dep-stat file similiar way but only in case if you are seeing  similiar startup issues in Production Server.

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>
            <web-uri>atg_bootstrap.war</web-uri>
            <context-root>/dyn</context-root>
        </web>
    </module>   
    <module>
        <web>
            <web-uri>storedocroot.war</web-uri>
            <context-root>crsdocroot</context-root>
        </web>
    </module>
    <module>
        <web>
            <web-uri>storedocroot.war</web-uri>
            <context-root>crsdocroot</context-root>
        </web>
    </module>

</application> 

But as a permanent solution you need to remove the duplicate entry 'Store.Storefront' from the Manifest.MF file.
 ....
<module>
        <web>
            <web-uri>atg_bootstrap.war</web-uri>
            <context-root>/dyn</context-root>
        </web>
    </module>   
    <module>
        <web>
            <web-uri>storedocroot.war</web-uri>
            <context-root>crsdocroot</context-root>
        </web>
    </module>
 

</application> 


Related Posts Plugin for WordPress, Blogger...