Monday, 16 January 2017

ATG BCC issues and solutions

The following section describes the  day to day ATG issues and solutions.

1)Problem: Workflow is not loading properly on starting BCC Server due protocol.jar as follows.


/atg/epub/workflow/process/WorkflowProcessManager    ---    atg.process.ProcessException: Process /Common/commonWorkflow.wdl not found in registry

Solution:set the pre_classpath as follows in BCC server startup.

set PRE_CLASSPATH=C:\XX\Oracle\Middleware\Oracle_Home\user_projects\domains\test_domain\lib\protocol.jar

Error due to jar files 

Error :  
**** Error Fri Nov 27 08:14:35 IST 2020 1606445075382 / Unable to resolve component /atg/commerce/catalog/ProductCatalog java.lang.NoClassDefFoundError: atg/adapter/version/PropertyCheckoutDependency
**** Error Fri Nov 27 08:14:35 IST 2020 1606445075382 / at atg.adapter.version.VersionItemDescriptor.addPropertyCheckoutDependency(VersionItemDescriptor.java:10900)
**** Error Fri Nov 27 08:14:35 IST 2020 1606445075382 / at atg.adapter.gsa.Table.addVersionTableExtensions(Table.java:3174)
**** Error Fri Nov 27 08:14:35 IST 2020 1606445075382 / at atg.adapter.gsa.Table.addTableInvalidationListeners(Table.java:2410)
**** Error Fri Nov 27 08:14:35 IST 2020 1606445075382 / at atg.adapter.gsa.GSAItemDescriptor.addTableInvalidationListeners(GSAItemDescriptor.java:11613)
**** Error Fri Nov 27 08:14:35 IST 2020 1606445075382 / at atg.adapter.gsa.GSARepository.addTableInvalidationListeners(GSARepository.java:6206)
**** Error Fri Nov 27 08:14:35 IST 2020 1606445075382 / at atg.adapter.version.VersionRepository.addTableInvalidationListeners(VersionRepository.java:2478)
**** Error Fri Nov 27 08:14:35 IST 2020 1606445075382 / at atg.adapter.gsa.xml.TemplateParser.addDocumentToTemplate(TemplateParser.java:734)
**** Error Fri Nov 27 08:14:35 IST 2020 1606445075382 / at a



Solution:
This the problem with ear .After coping the _DAS_slib_sclasses.jar from another box(working successfully), not getting this error.This might be  temporary solution. Identified by verifying the size of the generated jar in ear(standalone ear)

/opt/EARs/1_16_2018_Ears/xx-pub.ear/atglib/_DAS_slib_sclasses.jar

Permanent solution need to check.Might be issue at DAS classes.jar file


2) Error :Class not found exception

**** Warning Fri Nov 27 14:52:22 IST 2020 1606468942953 /atg/epub/workflow/process/WorkflowProcessManager Error executing action checkInProject[] on process instance 53500001; reverting the process instance to its original state CONTAINER:atg.process.ProcessException; SOURCE:atg.epub.PublishingException: Rolling back current transaction due to a runtime exception: java.lang.NoSuchMethodError: atg.versionmanager.impl.WorkspaceRepositoryImpl.isUpToDate(I)Z.
**** Warning Fri Nov 27 14:52:22 IST 2020 1606468942953 /atg/epub/workflow/process/WorkflowProcessManager at atg.epub.workflow.process.action.CheckinProject.executeAction(CheckinProject.java:115)
**** Warning Fri Nov 27 14:52:22 IST 2020 1606468942953 /atg/epub/workflow/process/WorkflowProcessManager at atg.process.action.ActionImpl.execute(ActionImpl.java:419)
**** Warning Fri Nov 27 14:52:22 IST 2020 1606468942953 /atg/epub/workflow/process/WorkflowProcessManager at atg.process.ProcessManagerService.executeAction(ProcessManagerService.java:14001)
**** Warning Fri Nov 27 14:52:22 IST 2020 1606468942953 /atg/epub/workflow/process/WorkflowProcessManager at atg.process.ProcessManagerService.takeIndividualTransition(ProcessManagerService.java:13408)
**** Warning Fri Nov 27 14:52:22 IST 2020 1606468942953 /atg/epub/workflow/process/WorkflowProcessManager at atg.process.ProcessManagerService.takeIndividualTransition(ProcessManagerService.java:13453)
**** Warning Fri Nov 27 14:52:22 IST 2020 1606468942953 /atg/epub/workflow/process/WorkflowProcessManager at atg.process.ProcessManagerService.receiveIndividualEventMessage(ProcessManagerService.java:11878)
**** Warning Fri Nov 27 14:52:22 IST 2020 1606468942953 /atg/epub/workflow/process/WorkflowProcessManager at atg.process.ProcessManagerService.receiveIndividualEventMessage(ProcessManagerService.java:11573)
**** Warning Fri Nov 27 14:52:22 IST 2020 1606468942953 /atg/epub/workflow/process/WorkflowProcessManager at atg.process.ProcessManagerService.receiveMessage(ProcessManagerService.java:11383)
**** Warning Fri Nov 27 14:52:22 IST 2020 1606468942953 /atg/epub/workflow/process/WorkflowProcessManager at atg.process.ProcessManagerService.receiveMessage(ProcessManagerService.java:11341)
**** Warning Fri Nov 27 14:52:22 IST 2020 1606468942953 /atg/epub/workflow/process/WorkflowProcessManager at atg.dms.patchbay.ElementManager.deliverMessage(ElementManager.java:317)
**** Warning Fri Nov 27 14:52:22 IST 2020 1606468942953 /atg/epub/workflow/process/WorkflowProcessManager at atg.dms.patchbay.InputPort.onMessage(InputPort.java:190)
**** Warning Fri Nov 27 14:52:22 IST 2020 1606468942953 /atg/epub/workflow/process/WorkflowProcessManager at atg.dms.patchbay.InputDestination.onMessage(InputDestination.java:397)
**** Warning Fri Nov 27 14:52:22 IST 2020 1606468942953 /atg/epub/workflow/process/WorkflowProcessManager at atg.dms.local.MessageConsumerImpl.deliverMessage(MessageConsumerImpl.java:296)

Solution:It is also jar issue _Publishing.base_slib_sclasses.jar
/opt/EARs/1_16_2018_Ears/xx-pub.ear/atglib/_Publishing.base_slib_sclasses.jar

3) Error: On starting estore and BCC instances  ,got the following errors due to port conflict.


**** Error      Tue Jan 03 18:05:31 IST 2017    1483446931783   /atg/dynamo/server/RmiInitialization    ---     java.rmi.server.ExportException: Port already in use: 0; nested exception is:
**** Error      Tue Jan 03 18:05:31 IST 2017    1483446931783   /atg/dynamo/server/RmiInitialization            java.net.BindException: Address already in use: JVM_Bind
**** Error      Tue Jan 03 18:05:31 IST 2017    1483446931783   /atg/dynamo/server/RmiInitialization            at sun.rmi.transport.tcp.TCPTransport.listen(TCPTransport.java:328)
**** Error      Tue Jan 03 18:05:31 IST 2017    1483446931783   /atg/dynamo/server/RmiInitialization            at sun.rmi.transport.tcp.TCPTransport.exportObject(TCPTransport.java:236)
**** Error      Tue Jan 03 18:05:31 IST 2017    1483446931783   /atg/dynamo/server/RmiInitialization            at sun.rmi.transport.tcp.TCPEndpoint.exportObject(TCPEndpoint.java:411)
**** Error      Tue Jan 03 18:05:31 IST 2017    1483446931783   /atg/dynamo/server/RmiInitialization            at sun.rmi.transport.LiveRef.exportObject(LiveRef.java:147)
**** Error      Tue Jan 03 18:05:31 IST 2017    1483446931783   /atg/dynamo/server/RmiInitialization            at sun.rmi.server.UnicastServerRef.exportObject(UnicastServerRef.java:207)
**** Error      Tue Jan 03 18:05:31 IST 2017    1483446931783   /atg/dynamo/server/RmiInitialization            at java.rmi.server.UnicastRemoteObject.exportObject(UnicastRemoteObject.java:310)
**** Error      Tue Jan 03 18:05:31 IST 2017    1483446931783   /atg/dynamo/server/RmiInitialization            at java.rmi.server.UnicastRemoteObject.exportObject(UnicastRemoteObject.java:252)
**** Error      Tue Jan 03 18:05:31 IST 2017    1483446931783   /atg/dynamo/server/RmiInitialization            at java.rmi.server.UnicastRemoteObject.<init>(UnicastRemoteObject.java:150)
**** Error      Tue Jan 03 18:05:31 IST 2017    1483446931783   /atg/dynamo/server/RmiInitialization            at java.rmi.server.UnicastRemoteObject.<init>(UnicastRemoteObject.java:136)
**** Error      Tue Jan 03 18:05:31 IST 2017    1483446931783   /atg/dynamo/server/RmiInitialization            at atg.core.net.RegisteringUnicastRemoteObject.<init>(RegisteringUnicastRemoteObject.jav
a:121)
**** Error      Tue Jan 03 18:05:31 IST 2017    1483446931783   /atg/dynamo/server/RmiInitialization            at atg.server.rmi.TestImpl.<init>(TestImpl.java:86)
**** Error      Tue Jan 03 18:05:31 IST 2017    1483446931783   /atg/dynamo/server/RmiInitialization            at atg.server.rmi.RmiInitialization.doStartService(RmiInitialization.java:343)
**** Error      Tue Jan 03 18:05:31 IST 2017    1483446931783   /atg/dynamo/server/RmiInitialization            at atg.nucleus.GenericService.startService(GenericService.java:561)
**** Error      Tue Jan 03 18:05:31 IST 2017    1483446931783   /atg/dynamo/server/RmiInitialization            at atg.nucleus.NucleusNameResolver.startService(NucleusNameResolver.java:1726)
**** Error      Tue Jan 03 18:05:31 IST 2017    1483446931783   /atg/dynamo/server/RmiInitialization            at atg.nucleus.NucleusNameResolver.configureAndStartService(NucleusNameResolver.java:139
7)
**** Error      Tue Jan 03 18:05:31 IST 2017    1483446931783   /atg/dynamo/server/RmiInitialization            at atg.nucleus.NucleusNameResolver.createFromName(NucleusNameResolver.java:928)
**** Error      Tue Jan 03 18:05:31 IST 2017    1483446931783   /atg/dynamo/server/RmiInitialization            at atg.nucleus.NucleusNameResolver.createFromName(NucleusNameResolver.java:667)
**** Error      Tue Jan 03 18:05:31 IST 2017    1483446931783   /atg/dynamo/server/RmiInitialization            at atg.nucleus.NucleusNameResolver.createFromName(NucleusNameResolver.java:648)
**** Error      Tue Jan 03 18:05:31 IST 2017    1483446931783   /atg/dynamo/server/RmiInitialization            at atg.nucleus.NucleusNameResolver.resolveName(NucleusNameResolver.java:493)


Solution: Same RMI port is used in store and BCC. Need to configure properly at server layes of Configuration component.

Not able to login using admin credentials at dyn/admin.

Solution:Delete the record from dsa table and restart the server. It will come automattcally.

delete from  das_account where account_name='admin';


4)Prodblem:While triggering CMS, got the following error

java.lang.NoSuchMethodError: atg.adapter.gsa.GSAItem.getInternalRepositoryId()Ljava/lang/String;
        at atg.adapter.gsa.GSAWeakItemCache.storeItem(GSAWeakItemCache.java:384)
        at atg.adapter.gsa.GSAWeakItemCache.storeItem(GSAWeakItemCache.java:368)
        at atg.adapter.gsa.ItemCache.putItemInWeakCache(ItemCache.java:1574)
        at atg.adapter.gsa.GSALocalItemCache.removeItemInternal(GSALocalItemCache.java:564)
        at atg.adapter.gsa.GSALocalItemCache.removeItemInternal(GSALocalItemCache.java:524)
        Truncated. see log file for complete stacktrace

Solution: It is DAS/classes.jar issue.

I copied the jar file from existing system. Directly I changed in  ear itself (in store  ear).
Sample i mentioned the path /opt/EARs/xx-store.ear/atglib/_DAS_slib_sclasses.jar.
Issue is resovled and CMS is successfully trigerried.

5)BCC Project is stucked in Last state(Not done last step)

Issue :The BCC project is completed some steps like Author, staging completed and Production completed but not deployed the assets in BCC.Means last step is pending.




The error at back end

**** Warning Thu Sep 15 21:20:41 CEST 2016 1473967241796 /atg/epub/workflow/process/WorkflowProcessManager Error executing action checkInProject[] on process instance 2300182; reverting the process instance to its original state CONTAINER:atg.process.ProcessException; SOURCE:atg.epub.PublishingException: Rolling back current transaction due to a runtime exception: java.lang.NullPointerException.
**** Warning Thu Sep 15 21:20:41 CEST 2016 1473967241796 /atg/epub/workflow/process/WorkflowProcessManager at atg.epub.workflow.process.action.CheckinProject.executeAction(CheckinProject.java:115)
**** Warning Thu Sep 15 21:20:41 CEST 2016 1473967241796 /atg/epub/workflow/process/WorkflowProcessManager at atg.process.action.ActionImpl.execute(ActionImpl.java:419)
**** Warning Thu Sep 15 21:20:41 CEST 2016 1473967241796 /atg/epub/workflow/process/WorkflowProcessManager at atg.process.ProcessManagerService.executeAction(ProcessManagerService.java:14001)
**** Warning Thu Sep 15 21:20:41 CEST 2016 1473967241796 /atg/epub/workflow/process/WorkflowProcessManager at atg.process.ProcessManagerService.takeIndividualTransition(ProcessManagerService.java:13408)
**** Warning Thu Sep 15 21:20:41 CEST 2016 1473967241796 /atg/epub/workflow/process/WorkflowProcessManager at atg.process.ProcessManagerService.receiveIndividualEventMessage(ProcessManagerService.java:11878)
**** Warning Thu Sep 15 21:20:41 CEST 2016 1473967241796 /atg/epub/workflow/process/WorkflowProcessManager at atg.process.ProcessManagerService.receiveIndividualEventMessage(ProcessManagerService.java:11573)
**** Warning Thu Sep 15 21:20:41 CEST 2016 1473967241796 /atg/epub/workflow/process/WorkflowProcessManager at atg.process.ProcessManagerService.receiveMessage(ProcessManagerService.java:11383)
**** Warning Thu Sep 15 21:20:41 CEST 2016 1473967241796 /atg/epub/workflow/process/WorkflowProcessManager at atg.process.ProcessManagerService.receiveMessage(ProcessManagerService.java:11341)
**** Warning Thu Sep 15 21:20:41 CEST 2016 1473967241796 /atg/epub/workflow/process/WorkflowProcessManager at atg.dms.patchbay.ElementManager.deliverMessage(ElementManager.java:316)
**** Warning Thu Sep 15 21:20:41 CEST 2016 1473967241796 /atg/epub/workflow/process/WorkflowProcessManager at atg.dms.patchbay.InputPort.onMessage(InputPort.java:190)
**** Warning Thu Sep 15 21:20:41 CEST 2016 1473967241796 /atg/epub/workflow/process/WorkflowProcessManager at atg.dms.patchbay.InputDestination.onMessage(InputDestination.java:397)
**** Warning Thu Sep 15 21:20:41 CEST 2016 1473967241796 /atg/epub/workflow/process/WorkflowProcessManager at atg.dms.local.MessageConsumerImpl.deliverMessage(MessageConsumerImpl.java:296)
**** Warning Thu Sep 15 21:20:41 CEST 2016 1473967241796 /atg/epub/workflow/process/WorkflowProcessManager at atg.dms.local.TopicImpl.deliverToRecipients(TopicImpl.java:113)
**** Warning Thu Sep 15 21:20:41 CEST 2016 1473967241796 /atg/epub/workflow/process/WorkflowProcessManager at atg.dms.local.DestinationImpl.deliverMessage(DestinationImpl.java:260)
**** Warning Thu Sep 15 21:20:41 CEST 2016 1473967241796 /atg/epub/workflow/process/WorkflowProcessManager at atg.dms.local.TopicPublisherImpl.publish(TopicPublisherImpl.java:163)
**** Warning Thu Sep 15 21:20:41 CEST 2016 1473967241796 /atg/epub/workflow/process/WorkflowProcessManager at atg.dms.patchbay.OutputDestination.sendMessage(OutputDestination.java:203)
**** Warning Thu Sep 15 21:20:41 CEST 2016 1473967241796 /atg/epub/workflow/process/WorkflowProcessManager at atg.dms.patchbay.OutputPort.sendMessage(OutputPort.java:162)
**** Warning Thu Sep 15 21:20:41 CEST 2016 1473967241796 /atg/epub/workflow/process/WorkflowProcessManager at atg.dms.patchbay.ElementManager.sendMessage(ElementManager.java:385)
----------
**** Warning Thu Sep 15 21:20:41 CEST 2016 1473967241796 /atg/epub/workflow/process/WorkflowProcessManager Caused by :atg.epub.PublishingException: Rolling back current transaction due to a runtime exception: java.lang.NullPointerException.
**** Warning Thu Sep 15 21:20:41 CEST 2016 1473967241796 /atg/epub/workflow/process/WorkflowProcessManager at atg.epub.project.ProjectMethods.checkin(ProjectMethods.java:913)
**** Warning Thu Sep 15 21:20:41 CEST 2016 1473967241796 /atg/epub/workflow/process/WorkflowProcessManager at atg.epub.project._Project_Impl.checkin(_Project_Impl.java:62)
**** Warning Thu Sep 15 21:20:41 CEST 2016 1473967241796 /atg/epub/workflow/process/WorkflowProcessManager at atg.epub.workflow.process.action.CheckinProject.executeAction(CheckinProject.java:94)
**** Warning Thu Sep 15 21:20:41 CEST 2016 1473967241796 /atg/epub/workflow/process/WorkflowProcessManager at atg.process.action.ActionImpl.execute(ActionImpl.java:419)
**** Warning Thu Sep 15 21:20:41 CEST 2016 1473967241796 /atg/epub/workflow/process/WorkflowProcessManager at atg.process.ProcessManagerService.executeAction(ProcessManagerService.java:14001)
**** Warning Thu Sep 15 21:20:41 CEST 2016 1473967241796 /atg/epub/workflow/process/WorkflowProcessManager at atg.process.ProcessManagerService.takeIndividualTransition(ProcessManagerService.java:13408)
**** Warning Thu Sep 15 21:20:41 CEST 2016 1473967241796 /atg/epub/workflow/process/WorkflowProcessManager at atg.process.ProcessManagerService.receiveIndividualEventMessage(ProcessManagerService.java:11878)
**** Warning Thu Sep 15 21:20:41 CEST 2016 1473967241796 /atg/epub/workflow/process/WorkflowProcessManager at atg.process.ProcessManagerService.receiveIndividualEventMessage(ProcessManagerService.java:11573)
**** Warning Thu Sep 15 21:20:41 CEST 2016 1473967241796 /atg/epub/workflow/process/WorkflowProcessManager at atg.process.ProcessManagerService.receiveMessage(ProcessManagerService.java:11383)
**** Warning Thu Sep 15 21:20:41 CEST 2016 1473967241796 /atg/epub/workflow/process/WorkflowProcessManager at atg.process.ProcessManagerService.receiveMessage(ProcessManagerService.java:11341)
**** Warning Thu Sep 15 21:20:41 CEST 2016 1473967241796 /atg/epub/workflow/process/WorkflowProcessManager at atg.dms.patchbay.ElementManager.deliverMessage(ElementManager.java:316)
**** Warning Thu Sep 15 21:20:41 CEST 2016 1473967241796 /atg/epub/workflow/process/WorkflowProcessManager at atg.dms.patchbay.InputPort.onMessage(InputPort.java:190)
**** Warning Thu Sep 15 21:20:41 CEST 2016 1473967241796 /atg/epub/workflow/process/WorkflowProcessManager at atg.dms.patchbay.InputDestination.onMessage(InputDestination.java:397)
**** Warning Thu Sep 15 21:20:41 CEST 2016 1473967241796 /atg/epub/workflow/process/WorkflowProcessManager at atg.dms.local.MessageConsumerImpl.deliverMessage(MessageConsumerImpl.java:296)


Solution: In Dyn/admin, Go the the following component.

/atg/epub/messaging/PublishingMessageSource/

Need to select the project and send Deployment complete the project
Release a Stalled Deployment
Resolution of project deployment—successful and unsuccessful—depends on delivery of a Success or Failure status message to the project’s workflow. Under rare circumstances, this message is never delivered., and the project stalls indefinitely in the workflow’s Wait for staging deployment completion or Wait for production deployment completion stage. When this happens, the ATG Business Control Center Admin Console shows no deployment information for this project as active or pending.
You can resolve this problem in the Dynamo Administration Component Browser as follows:
Navigate to this component:
/atg/epub/messaging/PublishingMessageSource
Construct a message to send to the stalled deployment, by setting the following fields:
Select Project: Choose the project whose deployment is stalled.
Select Target: Choose the deployment’s target site.
Select Success or Failure State: Choose the message to send, Success or Failure. A Success message advances the workflow; a Failure message reverts the workflow to its previous stage, Approve for production deployment, or Approve for staging deployment. In general, it is safest to send a Failure message and retry the deployment.
Click Send Deployment Complete Message.

6)Exception: META - DATA EXCEPTION

In full deployment:
Snapshot ID '11906' is not valid for target 'Production'. Please verify that each agent server in target '11906' has a valid snapshot, or delete all deployment meta-data on each
agent server before attempting to re-use it as a part of a new target.

Solution:Need to delete the files under data folder - home server (store and pub)
Ex(home\servers\local-pub-xx\Publishing\deployment\data)


7)Not able to deploy the project (journal.idx file missed at store front 
PublishAgent folder)

The journal.idx file is removed by some one from server location. 
Opt/oracle/commerce/envs/stg2/ATG-Data/servers/app1/publishingAgent/deploymentConfig/data/config/journel/journal.idx file is missing



 Solution:

We have annalized  that the  journal.idx  file was removed by some one from the above mentioned path(in Error).
Once we restarted the  ConfigFileSystem component(at Store not BCC ), again new files and folder is crated . Then able to deploy this project.





Log Error:


**** Error      Wed Aug 03 13:06:42 CEST 2016   1470222402757   /atg/epub/DeploymentServer      ---     CONTAINER:atg.deployment.common.DeploymentException: error activating deployment on target:agent 'Production:app1' : ERROR_ACTIVATE : An exception was encountered switching data stores.; SOURCE:atg.deployment.agent.SwitchableException
**** Error      Wed Aug 03 13:06:42 CEST 2016   1470222402757   /atg/epub/DeploymentServer              at atg.deployment.common.ResourceUtil.exception(ResourceUtil.java:445)
**** Error      Wed Aug 03 13:06:42 CEST 2016   1470222402757   /atg/epub/DeploymentServer              at atg.deployment.server.Deployment.agentException(Deployment.java:5203)
**** Error      Wed Aug 03 13:06:42 CEST 2016   1470222402757   /atg/epub/DeploymentServer              at atg.deployment.server.Deployment.activateDeployment(Deployment.java:5338)
**** Error      Wed Aug 03 13:06:42 CEST 2016   1470222402757   /atg/epub/DeploymentServer              at atg.deployment.server.Deployment.run(Deployment.java:1971)
**** Error      Wed Aug 03 13:06:42 CEST 2016   1470222402757   /atg/epub/DeploymentServer              at java.lang.Thread.run(Thread.java:745)
**** Error      Wed Aug 03 13:06:42 CEST 2016   1470222402757   /atg/epub/DeploymentServer      Caused by :atg.deployment.agent.SwitchableException
**** Error      Wed Aug 03 13:06:42 CEST 2016   1470222402757   /atg/epub/DeploymentServer              at atg.vfs.switchable.SwitchableLocalFileSystem.performSwitch(SwitchableLocalFileSystem.java:974)
**** Error      Wed Aug 03 13:06:42 CEST 2016   1470222402757   /atg/epub/DeploymentServer              at atg.deployment.agent.DeploymentAgent.switchDataStores(DeploymentAgent.java:1965)
**** Error      Wed Aug 03 13:06:42 CEST 2016   1470222402757   /atg/epub/DeploymentServer              at atg.deployment.agent.DeploymentAgent.activateDeployment(DeploymentAgent.java:1853)
**** Error      Wed Aug 03 13:06:42 CEST 2016   1470222402757   /atg/epub/DeploymentServer              at atg.deployment.agent.DeploymentAgent.handleCommand(DeploymentAgent.java:1052)
**** Error      Wed Aug 03 13:06:42 CEST 2016   1470222402757   /atg/epub/DeploymentServer              at atg.deployment.agent.RMIClientAgentTransport.sendCommand(RMIClientAgentTransport.java:191)
**** Error      Wed Aug 03 13:06:42 CEST 2016   1470222402757   /atg/epub/DeploymentServer              at sun.reflect.GeneratedMethodAccessor1298.invoke(Unknown Source)
**** Error      Wed Aug 03 13:06:42 CEST 2016   1470222402757   /atg/epub/DeploymentServer              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
**** Error      Wed Aug 03 13:06:42 CEST 2016   1470222402757   /atg/epub/DeploymentServer              at java.lang.reflect.Method.invoke(Method.java:606)
**** Error      Wed Aug 03 13:06:42 CEST 2016   1470222402757   /atg/epub/DeploymentServer              at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:322)
**** Error      Wed Aug 03 13:06:42 CEST 2016   1470222402757   /atg/epub/DeploymentServer              at sun.rmi.transport.Transport$2.run(Transport.java:202)
**** Error      Wed Aug 03 13:06:42 CEST 2016   1470222402757   /atg/epub/DeploymentServer              at sun.rmi.transport.Transport$2.run(Transport.java:199)
**** Error      Wed Aug 03 13:06:42 CEST 2016   1470222402757   /atg/epub/DeploymentServer              at java.security.AccessController.doPrivileged(Native Method)
**** Error      Wed Aug 03 13:06:42 CEST 2016   1470222402757   /atg/epub/DeploymentServer              at sun.rmi.transport.Transport.serviceCall(Transport.java:198)
**** Error      Wed Aug 03 13:06:42 CEST 2016   1470222402757   /atg/epub/DeploymentServer              at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:567)
**** Error      Wed Aug 03 13:06:42 CEST 2016   1470222402757   /atg/epub/DeploymentServer              at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:828)
**** Error      Wed Aug 03 13:06:42 CEST 2016   1470222402757   /atg/epub/DeploymentServer              at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.access$400(TCPTransport.java:619)
**** Error      Wed Aug 03 13:06:42 CEST 2016   1470222402757   /atg/epub/DeploymentServer              at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler$1.run(TCPTransport.java:684)
**** Error      Wed Aug 03 13:06:42 CEST 2016   1470222402757   /atg/epub/DeploymentServer              at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler$1.run(TCPTransport.java:681)
**** Error      Wed Aug 03 13:06:42 CEST 2016   1470222402757   /atg/epub/DeploymentServer              at java.security.AccessController.doPrivileged(Native Method)
**** Error      Wed Aug 03 13:06:42 CEST 2016   1470222402757   /atg/epub/DeploymentServer              at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:681)
**** Error      Wed Aug 03 13:06:42 CEST 2016   1470222402757   /atg/epub/DeploymentServer              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
**** Error      Wed Aug 03 13:06:42 CEST 2016   1470222402757   /atg/epub/DeploymentServer              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
**** Error      Wed Aug 03 13:06:42 CEST 2016   1470222402757   /atg/epub/DeploymentServer              at java.lang.Thread.run(Thread.java:745)
**** Error      Wed Aug 03 13:06:42 CEST 2016   1470222402757   /atg/epub/DeploymentServer      Caused by (#2):java.io.FileNotFoundException: /opt/oracle/commerce/envs/stg2/ATG-Data/servers/app1/PublishingAgent/deploymentconfig/data/config/journal/journal.idx (No such file or directory)
**** Error      Wed Aug 03 13:06:42 CEST 2016   1470222402757   /atg/epub/DeploymentServer              at java.io.FileInputStream.open(Native Method)

**** Error      Wed Aug 03 13:06:42 CEST 2016   1470222402757   /atg/epub/DeploymentServer              at java.io.FileInputStream.<init>(FileInputStream.java:146)
**** Error      Wed Aug 03 13:06:42 CEST 2016   1470222402757   /atg/epub/DeploymentServer              at java.io.FileInputStream.<init>(FileInputStream.java:101)
**** Error      Wed Aug 03 13:06:42 CEST 2016   1470222402757   /atg/epub/DeploymentServer              at atg.core.io.FileUtils.copyFile(FileUtils.java:352)
**** Error      Wed Aug 03 13:06:42 CEST 2016   1470222402757   /atg/epub/DeploymentServer              at atg.vfs.switchable.SwitchableLocalFileSystem.backupJournal(SwitchableLocalFileSystem.java:1060)
**** Error      Wed Aug 03 13:06:42 CEST 2016   1470222402757   /atg/epub/DeploymentServer              at atg.vfs.switchable.SwitchableLocalFileSystem.performSwitch(SwitchableLocalFileSystem.java:972)
**** Error      Wed Aug 03 13:06:42 CEST 2016   1470222402757   /atg/epub/DeploymentServer              at atg.deployment.agent.DeploymentAgent.switchDataStores(DeploymentAgent.java:1965)
**** Error      Wed Aug 03 13:06:42 CEST 2016   1470222402757   /atg/epub/DeploymentServer              at atg.deployment.agent.DeploymentAgent.activateDeployment(DeploymentAgent.java:1853)
**** Error      Wed Aug 03 13:06:42 CEST 2016   1470222402757   /atg/epub/DeploymentServer              at atg.deployment.agent.DeploymentAgent.handleCommand(DeploymentAgent.java:1052)
**** Error      Wed Aug 03 13:06:42 CEST 2016   1470222402757   /atg/epub/DeploymentServer              at atg.deployment.agent.RMIClientAgentTransport.sendCommand(RMIClientAgentTransport.java:191)
**** Error      Wed Aug 03 13:06:42 CEST 2016   1470222402757   /atg/epub/DeploymentServer              at sun.reflect.GeneratedMethodAccessor1298.invoke(Unknown Source)
**** Error      Wed Aug 03 13:06:42 CEST 2016   1470222402757   /atg/epub/DeploymentServer              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
**** Error      Wed Aug 03 13:06:42 CEST 2016   1470222402757   /atg/epub/DeploymentServer              at java.lang.reflect.Method.invoke(Method.java:606)
**** Error      Wed Aug 03 13:06:42 CEST 2016   1470222402757   /atg/epub/DeploymentServer              at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:322)
**** Error      Wed Aug 03 13:06:42 CEST 2016   1470222402757   /atg/epub/DeploymentServer              at sun.rmi.transport.Transport$2.run(Transport.java:202)
**** Error      Wed Aug 03 13:06:42 CEST 2016   1470222402757   /atg/epub/DeploymentServer              at sun.rmi.transport.Transport$2.run(Transport.java:199)
**** Error      Wed Aug 03 13:06:42 CEST 2016   1470222402757   /atg/epub/DeploymentServer              at java.security.AccessController.doPrivileged(Native Method)
**** Error      Wed Aug 03 13:06:42 CEST 2016   1470222402757   /atg/epub/DeploymentServer              at sun.rmi.transport.Transport.serviceCall(Transport.java:198)
**** Error      Wed Aug 03 13:06:42 CEST 2016   1470222402757   /atg/epub/DeploymentServer              at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:567)
**** Error      Wed Aug 03 13:06:42 CEST 2016   1470222402757   /atg/epub/DeploymentServer              at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:828)
**** Error      Wed Aug 03 13:06:42 CEST 2016   1470222402757   /atg/epub/DeploymentServer              at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.access$400(TCPTransport.java:619)
**** Error      Wed Aug 03 13:06:42 CEST 2016   1470222402757   /atg/epub/DeploymentServer              at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler$1.run(TCPTransport.java:684)
**** Error      Wed Aug 03 13:06:42 CEST 2016   1470222402757   /atg/epub/DeploymentServer              at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler$1.run(TCPTransport.java:681)
**** Error      Wed Aug 03 13:06:42 CEST 2016   1470222402757   /atg/epub/DeploymentServer              at java.security.AccessController.doPrivileged(Native Method)
**** Error      Wed Aug 03 13:06:42 CEST 2016   1470222402757   /atg/epub/DeploymentServer              at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:681)
**** Error      Wed Aug 03 13:06:42 CEST 2016   1470222402757   /atg/epub/DeploymentServer              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
**** Error      Wed Aug 03 13:06:42 CEST 2016   1470222402757   /atg/epub/DeploymentServer              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
**** Error      Wed Aug 03 13:06:42 CEST 2016   1470222402757   /atg/epub/DeploymentServer              at java.lang.Thread.run(Thread.java:745)
**** Error      Wed Aug 03 13:06:42 CEST 2016   1470222402757   /atg/epub/DeploymentServer
**** Warning    Wed Aug 03 13:07:10 CEST 2016   1470222430615   /atg/epub/DeploymentServer      Failed to connect to agent 'app2'.  This agent has no deployment responsibilities and its absence will not adversely affect data application.  The server will continue attempts to intialize the connection.  Set loggingDebug to true for continued exception and stacktrace logging.
**** Warning    Wed Aug 03 13:07:11 CEST 2016   1470222431841   /atg/userprofiling/InternalProfileUserAuthority Attempt to log into account admin with incorrect password
**** Warning    Wed Aug 03 13:07:14 CEST 2016   1470222434841   /atg/dynamo/servlet/sessiontracking/GenericSessionManager/iqdQFdhAReb6Tt3F4DgRKRXANIDn1A5Zv8z1JRnOtxfvYCH9v1aC!-733712767!1470222424128/atg/dynamo/security/InternalProfileIdentityManager      Authentication failed for login admin
<Aug 3, 2016 1:07:25 PM CEST> <Warning> <Socket> <BEA-000449> <Closing the socket, as no data read from it on 10.41.156.29:51,340 during the configured idle timeout of 5 seconds.>
**** Warning    Wed Aug 03 13:07:40 CEST 2016   1470222460532   /atg/epub/DeploymentServer      Failed to connect to agent 'app2'.  This agent has no deployment responsibilities and its absence will not adversely affect data application.  The server will continue attempts to intialize the connection.  Set loggingDebug to true for continued exception and stacktrace logging.
<Aug 3, 2016 1:07:41 PM CEST> <Info> <Health> <BEA-310002> <46% of the total memory in the server is free.>
**** Warning    Wed Aug 03 13:08:10 CEST 2016   1470222490615   /atg/epub/DeploymentServer      Failed to connect to agent 'app2'.  This agent has no deployment responsibilities and its absence will not adversely affect data application.  The server will continue attempts to intialize the connection.  Set loggingDebug to true for continued exception and stacktrace logging.
**** Warning    Wed Aug 03 13:08:40 CEST 2016   1470222520531   /atg/epub/DeploymentServer      Failed to connect to agent 'app2'.  This agent has no deployment responsibilities and its absence will not adversely affect data application.  The server will continue attempts to intialize the connection.  Set loggingDebug to true for continued exception and stacktrace logging.
**** Warning    Wed Aug 03 13:09:10 CEST 2016   1470222550615   /atg/epub/DeploymentServer      Failed to connect to agent 'app2'.  This agent has no deployment responsibilities and its absence will not adversely affect data application.  The server will continue attempts to intialize the connection.  Set loggingDebug to true for continued exception and stacktrace logging.
**** Warning    Wed Aug 03 13:09:40 CEST 2016   1470222580532   /atg/epub/DeploymentServer      Failed to connect to agent 'app2'.  This agent has no deployment responsibilities and its absence will not adversely affect data application.  The server will continue attempts to intialize the connection.  Set loggingDebug to true for continued exception and stacktrace logging.
**** Warning    Wed Aug 03 13:10:10 CEST 2016   1470222610614   /atg/epub/DeploymentServer      Failed to connect to agent 'app2'.  This agent has no deployment responsibilities and its absence will not adversely affect data application.  The server will continue attempts to intialize the connection.  Set loggingDebug to true for continued exception and stacktrace logging.
**** Warning    Wed Aug 03 13:10:40 CEST 2016   1470222640532   /atg/epub/DeploymentServer      Failed to connect to agent 'app2'.  This agent has no deployment responsibilities and its absence will not adversely affect data application.  The server will continue attempts to intialize the connection.  Set loggingDebug to true for continued exception and stacktrace logging.
 

8) ProtletException BCC Screens broken without doing anything.

     Issue:BCC screen is broken.

Solution : Oracle gave Patch.

One more solution

Solution : Given at Oracle forum (Mentioned as increase to -Xss value.)


As per Oracle support, increased the -Xss value to 1536k java argument during server startup resolved this issue. I would like to thank Oracle support for their prompt support and resolution on this


 Temporary solution: Restart the BCC server. It will work.

Error:

**** Error      Fri May 13 06:56:42 CEST 2016   1463115402804   /atg/portal/portletstandard/ATGContainerService PortletInvokerImpl.render() - Error while dispatching portlet.       javax.portlet.PortletException
**** Error      Fri May 13 06:56:42 CEST 2016   1463115402804   /atg/portal/portletstandard/ATGContainerService         at org.apache.pluto.core.impl.PortletRequestDispatcherImpl.include(PortletRequestDispatcherImpl.java:58)
**** Error      Fri May 13 06:56:42 CEST 2016   1463115402804   /atg/portal/portletstandard/ATGContainerService         at atg.portlet.DispatchPortlet.handleRender(DispatchPortlet.java:175)
**** Error      Fri May 13 06:56:42 CEST 2016   1463115402804   /atg/portal/portletstandard/ATGContainerService         at atg.portlet.GenericPortletService.render(GenericPortletService.java:581)
**** Error      Fri May 13 06:56:42 CEST 2016   1463115402804   /atg/portal/portletstandard/ATGContainerService         at atg.portlet.service.filter.PortletFilter.dispatch(PortletFilter.java:139)
**** Error      Fri May 13 06:56:42 CEST 2016   1463115402804   /atg/portal/portletstandard/ATGContainerService         at atg.portlet.service.filter.PortletFilter.doFilter(PortletFilter.java:165)
**** Error      Fri May 13 06:56:42 CEST 2016   1463115402804   /atg/portal/portletstandard/ATGContainerService         at atg.portlet.service.filter.FilterChainService.doFilter(FilterChainService.java:151)
**** Error      Fri May 13 06:56:42 CEST 2016   1463115402804   /atg/portal/portletstandard/ATGContainerService         at atg.portlet.service.filter.DropletEventFilter.doFilter(DropletEventFilter.java:277)
**** Error      Fri May 13 06:56:42 CEST 2016   1463115402804   /atg/portal/portletstandard/ATGContainerService         at atg.portlet.service.filter.FilterChainService.doFilter(FilterChainService.java:151)

9)BCC WorkBench Configuration

 Issue:On clincking the workbench url not redirecting to expected XM Workbench URL 

Solution: We change the following component

Atg/endeca/ApplicationConfiguration.properties

workbenchPort=0 (it can be empty also)
workbenchHostName=need to give host name(like abc.xy.com)


And also extended the class ApplicationConfiguration.java to override the method getWorkBenchURL().

 

8) Not Able to deploy the Project(NullpointerException)


Error Log:


**** Error      Tue Aug 16 07:08:10 EDT 2016    1471345690524   /atg/dynamo/servlet/sessiontracking/GenericSessionManager/yr6TBSfhNYjumOyPfZ4Ie3tj3eXt5oudWp4vx12zZs2_JfElvAZh!1767238723!1471345403874/atg/remote/assetmanager/epub/service/PublishingService
[Flex Messaging] 08/16/2016 07:08:10.553 [ERROR] [Message.General] Exception when invoking service 'remoting-service': flex.messaging.MessageException: flex.messaging.MessageException: atg.flex.service.RemoteOperationException : java.lang.NullPointerException
  incomingMessage: Flex Message (flex.messaging.messages.RemotingMessage)
    operation = getProjectAssetsInConflict
    clientId = 5CF2BAE8-AC2D-CF56-19D1-AFEF19A1A087
    destination = /atg/remote/assetmanager/epub/service/PublishingService
    messageId = 9DBD28B2-E37D-176D-42DD-930984C6B191
    timestamp = 1471345690484
    timeToLive = 0
    body = null
    hdr(DSId) = 5CF23857-611C-C701-2A49-188627DBDCBB
    hdr(DSEndpoint) = atg-amf
  Exception: flex.messaging.MessageException: flex.messaging.MessageException: atg.flex.service.RemoteOperationException : java.lang.NullPointerException
        at flex.messaging.services.RemotingService.serviceMessage(RemotingService.java:225)
        at flex.messaging.MessageBroker.routeMessageToService(MessageBroker.java:1503)
        at flex.messaging.endpoints.AbstractEndpoint.serviceMessage(AbstractEndpoint.java:884)
        at flex.messaging.endpoints.amf.MessageBrokerFilter.invoke(MessageBrokerFilter.java:121)
        at flex.messaging.endpoints.amf.LegacyFilter.invoke(LegacyFilter.java:158)
        at flex.messaging.endpoints.amf.SessionFilter.invoke(SessionFilter.java:44)
        at flex.messaging.endpoints.amf.BatchProcessFilter.invoke(BatchProcessFilter.java:67)
        at flex.messaging.endpoints.amf.SerializationFilter.invoke(SerializationFilter.java:146)
        at flex.messaging.endpoints.BaseHTTPEndpoint.service(BaseHTTPEndpoint.java:278)
        at flex.messaging.MessageBrokerServlet.service(MessageBrokerServlet.java:322)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:844)
        at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:280)
        at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:254)
        at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:136)
        at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:341)
       at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:25)
        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
        at atg.service.configuration.ResponseWrappingConfiguration.invokeFilterChainWithPossibleWrapping(ResponseWrappingConfiguration.java:460)
        at atg.servlet.pipeline.TailPipelineServlet.service(TailPipelineServlet.java:174)
        at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
        at atg.servlet.pipeline.DispatcherPipelineServletImpl.service(DispatcherPipelineServletImpl.java:275)
        at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
        at com.xx.endeca.servlet.xxAssemblerPipelineServlet.service(xxAssemblerPipelineServlet.java:437)
        at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
        at atg.servlet.http.CookieBufferServlet.service(CookieBufferServlet.java:119)
        at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
        at atg.userprofiling.ExpiredPasswordServlet.service(ExpiredPasswordServlet.java:383)
        at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
        at atg.servlet.pipeline.MimeTyperPipelineServlet.service(MimeTyperPipelineServlet.java:228)
        at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
        at atg.droplet.DropletEventServlet.service(DropletEventServlet.java:696)
        at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
        at atg.epub.servlet.LocaleServlet.service(LocaleServlet.java:84)
        at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
        at atg.search.servlet.SearchClickThroughServlet.service(SearchClickThroughServlet.java:418)
        at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
        at atg.userprofiling.PageEventTriggerPipelineServlet.service(PageEventTriggerPipelineServlet.java:191)
        at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
        at atg.multisite.SiteSessionEventTriggerPipelineServlet.service(SiteSessionEventTriggerPipelineServlet.java:161)
        at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
        at atg.userprofiling.SessionEventTrigger.service(SessionEventTrigger.java:512)
        at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
        at atg.service.preview.PreviewCommandServlet.service(PreviewCommandServlet.java:192)
        at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
        at atg.userprofiling.ProfilePropertyServlet.service(ProfilePropertyServlet.java:230)
        at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
        at atg.multisite.SiteContextPipelineServlet.service(SiteContextPipelineServlet.java:367)
        at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
        at atg.epub.servlet.ProjectServlet.service(ProjectServlet.java:109)
        at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
        at atg.epub.servlet.PublishingSecurityServlet.service(PublishingSecurityServlet.java:80)
        at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
        at atg.commerce.order.CommerceCommandServlet.service(CommerceCommandServlet.java:150)
        at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
        at atg.commerce.promotion.PromotionServlet.service(PromotionServlet.java:213)
        at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
        at atg.userprofiling.AccessControlServlet.service(AccessControlServlet.java:697)
        at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
        at atg.servlet.sessionsaver.SessionSaverServlet.service(SessionSaverServlet.java:2452)
        at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
        at com.xx.servlet.pipeline.xxCheckCheckoutPageAccessServlet.service(xxCheckCheckoutPageAccessServlet.java:282)
        at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
        at atg.userprofiling.ProfileRequestServlet.service(ProfileRequestServlet.java:461)
        at com.xx.userprofiling.xxProfileRequestServlet.service(xxProfileRequestServlet.java:214)
        at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
        at com.xx.servlet.pipeline.xxSecurePageservlet.service(xxSecurePageservlet.java:971)
        at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
        at com.xx.servlet.pipeline.xxCheckSessionExpiration.service(xxCheckSessionExpiration.java:248)
        at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
        at com.xx.servlet.pipeline.xxDeviceDetectionServlet.service(xxDeviceDetectionServlet.java:340)
        at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
        at com.xx.servlet.pipeline.xxCookieServlet.service(xxCookieServlet.java:286)
        at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
        at atg.ondemand.servlet.pipeline.NetscalerServlet.service(NetscalerServlet.java:92)
        at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
        at atg.servlet.pipeline.CachePreventionServlet.service(CachePreventionServlet.java:141)
        at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
        at atg.servlet.pipeline.DynamoPipelineServlet.service(DynamoPipelineServlet.java:491)
        at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
        at atg.servlet.pipeline.URLArgumentPipelineServlet.service(URLArgumentPipelineServlet.java:298)
        at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
        at atg.servlet.pipeline.PathAuthenticationPipelineServlet.service(PathAuthenticationPipelineServlet.java:392)
        at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
        at atg.servlet.security.ThreadUserBinderServlet.service(ThreadUserBinderServlet.java:113)
        at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
        at atg.dtm.TransactionPipelineServlet.service(TransactionPipelineServlet.java:234)
        at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
        at atg.servlet.pipeline.SecurityServlet.service(SecurityServlet.java:200)
        at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
        at atg.servlet.pipeline.HeadPipelineServlet.passRequest(HeadPipelineServlet.java:1281)
        at atg.servlet.pipeline.HeadPipelineServlet.service(HeadPipelineServlet.java:950)
        at atg.servlet.pipeline.PipelineableServletImpl.service(PipelineableServletImpl.java:272)
        at atg.filter.dspjsp.PageFilter.innerDoFilter(PageFilter.java:348)
        at atg.filter.dspjsp.PageFilter.doFilter(PageFilter.java:206)
        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
        at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3388)
        at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3354)
        at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
        at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
        at weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:57)
        at weblogic.servlet.internal.WebAppServletContext.doSecuredExecute(WebAppServletContext.java:2238)
        at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2154)
        at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2132)
        at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1564)
        at weblogic.servlet.provider.ContainerSupportProviderImpl$WlsRequestExecutor.run(ContainerSupportProviderImpl.java:254)
        at weblogic.work.ExecuteThread.execute(ExecuteThread.java:312)
        at weblogic.work.ExecuteThread.run(ExecuteThread.java:264)
Caused by: atg.flex.service.RemoteOperationException: flex.messaging.MessageException: atg.flex.service.RemoteOperationException : java.lang.NullPointerException
        at atg.flex.messaging.services.TransactionalJavaAdapter.invoke(TransactionalJavaAdapter.java:206)
        at flex.messaging.services.RemotingService.serviceMessage(RemotingService.java:183)
        ... 106 more
Caused by: flex.messaging.MessageException: atg.flex.service.RemoteOperationException : java.lang.NullPointerException
        at flex.messaging.services.remoting.adapters.JavaAdapter.invoke(JavaAdapter.java:447)
        at atg.flex.messaging.services.TransactionalJavaAdapter.invoke(TransactionalJavaAdapter.java:189)
        ... 107 more
Caused by: atg.flex.service.RemoteOperationException: java.lang.NullPointerException
        at atg.remote.assetmanager.epub.service.PublishingService.getProjectAssetsInConflict(PublishingService.java:1368)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at flex.messaging.services.remoting.adapters.JavaAdapter.invoke(JavaAdapter.java:421)
        ... 108 more
Caused by: java.lang.NullPointerException
        at atg.repository.RepositoryUtils.getItemDisplayPropertyName(RepositoryUtils.java:1293)
        at atg.repository.RepositoryUtils.getItemDisplayPropertyName(RepositoryUtils.java:1252)
        at atg.repository.RepositoryUtils.getItemDisplayPropertyPath(RepositoryUtils.java:1228)
        at atg.adapter.version.VersionItemDescriptor.getItemDisplayPropertyDescriptorForQuery(VersionItemDescriptor.java:8456)
        at atg.adapter.version.VersionItemDescriptor.addDisplayNameToQuery(VersionItemDescriptor.java:8404)
        at atg.adapter.version.VersionItemDescriptor.getUpToDateAssetsSQL(VersionItemDescriptor.java:8240)
        at atg.adapter.version.VersionItemDescriptor.getOutOfDateAssetsInWorkspaceSQL(VersionItemDescriptor.java:8149)
        at atg.adapter.version.VersionItemDescriptor.getWorkspaceVersionIDs(VersionItemDescriptor.java:7462)
        at atg.adapter.version.VersionRepository.getVersionIDsInWorkspace(VersionRepository.java:6662)
        at atg.adapter.version.VersionRepository.getWorkingVersions(VersionRepository.java:6255)

 


Solution: Need to restart the BCC machine.


Oracle Gave to check

When creating an asset, merchandising tries to resolve one of the keys in the autoAddAssetTypescollection from the /atg/remote/assetmanager/workbench/service/WorkbenchServiceto a Nucleus component that represents the actual repository for that specific asset. The asset repository name to the actual repository mapping is defined in the /atg/dynamo/service/AssetResolver/ component.
When the mapping defined in the /atg/remote/assetmanager/workbench/service/WorkbenchService.autoAddAssetTypes collection key does not match an Asset Source Name defined in the /atg/dynamo/service/AssetResolver/ component, a null is returned in place of the actual repository, which causes the NullPointerException.

10)Targetter issue resolution 

Error and screen shot
**** Error      Thu Jan 14 19:33:23 IST 2016    1452780203009   /atg/dynamo/servlet/sessiontracking/GenericSessionManager/TxlAR21vB2EVskK6dnzbO7GlRrUsDC-DNhy--Q-8FBNytW9ByE_c!847993606!1452777368944/atg/web/assetmanager/editor/targeting/TargeterFormHandler     I/O exception reading file /opt/Oracle/Middleware/Oracle_Home/user_projects/domains/bcc_domain/ATG-Data/Publishing/versionFileStore/PublishingFiles/fa100/0/_xxtartegerName_xproperties._fa100470#9
<Jan 14, 2016 7:33:23 PM IST> <Warning> <Socket> <BEA-000449> <Closing the socket, as no data read from it on 172.21.16.16:55,023 during the configured idle timeout of 5 seconds.>

solution
 

 First check targetter in the following table
 select * from epub_file_asset where FILENAME='
xxtartegerName.properties' and IS_HEAD=1
If ther targetter is available in different environment,copy the targtter in the current location.
Set the size also accordingly(size of the available targetter,copied from the other targgetter) as follows.

update epub_file_asset set size_bytes=650 where filename='
xxtartegerName.properties' and is_head=1 and file_asset_id='fa100470'
 Here 470 is the file_asset_Id in the table
epub_file_asset

 
11). WorKFlow registration exception 

ServerId cleanup and WorkFlowProcessManager


   First cleanup the following tables in that pub schema where the local server going to run on top of that.
delete from dss_server_id;
delete from dsi_server_id;
delete from epub_wf_server_id;
delete from epub_coll_workflow;
delete from epub_workflow_info;
      commit;

1  If possible put the WorkFlowProcessManager.xml with my server name and drpport
2 And configure the Protocol.jar if u r using weblogic server.And add that in the environment variables like class path.
3 This should fix the issue.

12). On changing the environment and environment corrupted

select * from epub_int_prj_hist;
select * from epub_int_user;

select * from epub_project;

select * from dpi_user;

update epub_int_prj_hist set SEQUENCE_NUM='2' where PROJECT_ID='prj380008' and USER_ID='portal-admin';



13) SQLIntegrityConstraintViolationException

 

Problem: SQLIntegrityConstraintViolations exception happens some times. This is the data corrupted.See the below following error.

RCA:Child tables asset version is mismatch with parent table asset version. Before executing DB script, we need to identity the how many  child tables are corrupted and those rows need to be removed .The latest  asset version should match the parent table asset_version property.


Solution: We have to execute the DB script to resolve this issues

**** Error      Thu Sep 22 17:35:39 IST 2016    1474545939335   /atg/multisite/SiteRepository-ver       SQL Statement Failed: [++SQLInsert++]
**** Error      Thu Sep 22 17:35:39 IST 2016    1474545939335   /atg/multisite/SiteRepository-ver        INSERT INTO xx_country_payment_methods(id,asset_version,seq_num,payment_methods)
**** Error      Thu Sep 22 17:35:39 IST 2016    1474545939335   /atg/multisite/SiteRepository-ver        VALUES(?,?,?,?)
**** Error      Thu Sep 22 17:35:39 IST 2016    1474545939335   /atg/multisite/SiteRepository-ver       -- Parameters --
**** Error      Thu Sep 22 17:35:39 IST 2016    1474545939335   /atg/multisite/SiteRepository-ver       p[1] = {pd} 800008 (java.lang.String)
**** Error      Thu Sep 22 17:35:39 IST 2016    1474545939335   /atg/multisite/SiteRepository-ver       p[2] = {pd} 19 (java.lang.Integer)
**** Error      Thu Sep 22 17:35:39 IST 2016    1474545939335   /atg/multisite/SiteRepository-ver       p[3] = {pd} 0 (java.lang.Integer)
**** Error      Thu Sep 22 17:35:39 IST 2016    1474545939335   /atg/multisite/SiteRepository-ver       p[4] = {pd: paymentMethods} 900001 (java.lang.String)
**** Error      Thu Sep 22 17:35:39 IST 2016    1474545939335   /atg/multisite/SiteRepository-ver       [--SQLInsert--]
**** Error      Thu Sep 22 17:35:39 IST 2016    1474545939335   /atg/multisite/SiteRepository-ver
**** Error      Thu Sep 22 17:35:39 IST 2016    1474545939336   /atg/dynamo/servlet/pipeline/RequestScopeManager/RequestScope-1270/atg/remote/assetmanager/editor/service/RepositoryAssetService        ---     CONTAINER:atg.repository.RepositoryException; SOURCE:java.sql.SQLIntegrityConstraintViolationException: ORA-00001: unique constraint (xx_PUB_I18N_QC_2.SYS_C0094078) violated
**** Error      Thu Sep 22 17:35:39 IST 2016    1474545939336   /atg/dynamo/servlet/pipeline/RequestScopeManager/RequestScope-1270/atg/remote/assetmanager/editor/service/RepositoryAssetService
**** Error      Thu Sep 22 17:35:39 IST 2016    1474545939336   /atg/dynamo/servlet/pipeline/RequestScopeManager/RequestScope-1270/atg/remote/assetmanager/editor/service/RepositoryAssetService                at atg.adapter.gsa.GSAItemDescriptor.updateItem(GSAItemDescriptor.java:7692)
**** Error      Thu Sep 22 17:35:39 IST 2016    1474545939336   /atg/dynamo/servlet/pipeline/RequestScopeManager/RequestScope-1270/atg/remote/assetmanager/editor/service/RepositoryAssetService                at atg.adapter.version.VersionRepository.updateItem(VersionRepository.java:1506)
**** Error      Thu Sep 22 17:35:39 IST 2016    1474545939336   /atg/dynamo/servlet/pipeline/RequestScopeManager/RequestScope-1270/atg/remote/assetmanager/editor/service/RepositoryAssetService                at atg.adapter.secure.GenericSecuredMutableRepository.updateItem(GenericSecuredMutableRepository.java:391)
**** Error      Thu Sep 22 17:35:39 IST 2016    1474545939336   /atg/dynamo/servlet/pipeline/RequestScopeManager/RequestScope-1270/atg/remote/assetmanager/editor/service/RepositoryAssetService                at atg.remote.assetmanager.editor.service.RepositoryAssetServiceImpl.doUpdateAsset(RepositoryAssetServiceImpl.java:696)
**** Error      Thu Sep 22 17:35:39 IST 2016    1474545939336   /atg/dynamo/servlet/pipeline/RequestScopeManager/RequestScope-1270/atg/remote/assetmanager/editor/service/RepositoryAssetService                at atg.remote.assetmanager.editor.service.AssetServiceImpl.updateAsset(AssetServiceImpl.java:678)
**** Error      Thu Sep 22 17:35:39 IST 2016    1474545939336   /atg/dynamo/servlet/pipeline/RequestScopeManager/RequestScope-1270/atg/remote/assetmanager/editor/service/RepositoryAssetService                at atg.remote.assetmanager.editor.service.AssetEditorService.updateAsset(AssetEditorService.java:683)
**** Error      Thu Sep 22 17:35:39 IST 2016    1474545939336   /atg/dynamo/servlet/pipeline/RequestScopeManager/RequestScope-1270/atg/remote/assetmanager/editor/service/RepositoryAssetService                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
**** Error      Thu Sep 22 17:35:39 IST 2016    1474545939336   /atg/dynamo/servlet/pipeline/RequestScopeManager/RequestScope-1270/atg/remote/assetmanager/editor/service/RepositoryAssetService                at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
**** Error      Thu Sep 22 17:35:39 IST 2016    1474545939336   /atg/dynamo/servlet/pipeline/RequestScopeManager/RequestScope-1270/atg/remote/assetmanager/editor/service/RepositoryAssetService                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
**** Error      Thu Sep 22 17:35:39 IST 2016    1474545939336   /atg/dynamo/servlet/pipeline/RequestScopeManager/RequestScope-1270/atg/remote/assetmanager/editor/service/RepositoryAssetService                at java.lang.reflect.Method.invoke(Method.java:606)
**** Error      Thu Sep 22 17:35:39 IST 2016    1474545939336   /atg/dynamo/servlet/pipeline/RequestScopeManager/RequestScope-1270/atg/remote/assetmanager/editor/service/RepositoryAssetService                at flex.messaging.services.remoting.adapters.JavaAdapter.invoke(JavaAdapter.java:421)
**** Error      Thu Sep 22 17:35:39 IST 2016    1474545939336   /atg/dynamo/servlet/pipeline/RequestScopeManager/RequestScope-1270/atg/remote/assetmanager/editor/service/RepositoryAssetService                at atg.flex.messaging.services.TransactionalJavaAdapter.invoke(TransactionalJavaAdapter.java:189)
**** Error      Thu Sep 22 17:35:39 IST 2016    1474545939336   /atg/dynamo/servlet/pipeline/RequestScopeManager/RequestScope-1270/atg/remote/assetmanager/editor/service/RepositoryAssetService                at flex.messaging.services.RemotingService.serviceMessage(RemotingService.java:183)
**** Error      Thu Sep 22 17:35:39 IST 2016    1474545939336   /atg/dynamo/servlet/pipeline/RequestScopeManager/RequestScope-1270/atg/remote/assetmanager/editor/service/RepositoryAssetService                at flex.messaging.MessageBroker.routeMessageToService(MessageBroker.java:1503)
**** Error      Thu Sep 22 17:35:39 IST 2016    1474545939336   /atg/dynamo/servlet/pipeline/RequestScopeManager/RequestScope-1270/atg/remote/assetmanager/editor/service/RepositoryAssetService                at flex.messaging.endpoints.AbstractEndpoint.serviceMessage(AbstractEndpoint.java:884)
**** Error      Thu Sep 22 17:35:39 IST 2016    1474545939336   /atg/dynamo/servlet/pipeline/RequestScopeManager/RequestScope-1270/atg/remote/assetmanager/editor/service/RepositoryAssetService                at flex.messaging.endpoints.amf.MessageBrokerFilter.invoke(MessageBrokerFilter.java:121)
**** Error      Thu Sep 22 17:35:39 IST 2016    1474545939336   /atg/dynamo/servlet/pipeline/RequestScopeManager/RequestScope-1270/atg/remote/assetmanager/editor/service/RepositoryAssetService                at flex.messaging.endpoints.amf.LegacyFilter.invoke(LegacyFilter.java:158)
**** Error      Thu Sep 22 17:35:39 IST 2016    1474545939336   /atg/dynamo/servlet/pipeline/RequestScopeManager/RequestScope-1270/atg/remote/assetmanager/editor/service/RepositoryAssetService                at flex.messaging.endpoints.amf.SessionFilter.invoke(SessionFilter.java:44)
**** Error      Thu Sep 22 17:35:39 IST 2016    1474545939336   /atg/dynamo/servlet/pipeline/RequestScopeManager/RequestScope-1270/atg/remote/assetmanager/editor/service/RepositoryAssetService                at flex.messaging.endpoints.amf.BatchProcessFilter.invoke(BatchProcessFilter.java:67)
**** Error      Thu Sep 22 17:35:39 IST 2016    1474545939336   /atg/dynamo/servlet/pipeline/RequestScopeManager/RequestScope-1270/atg/remote/assetmanager/editor/service/RepositoryAssetService                at flex.messaging.endpoints.amf.SerializationFilter.invoke(SerializationFilter.java:146)
**** Error      Thu Sep 22 17:35:39 IST 2016    1474545939336   /atg/dynamo/servlet/pipeline/RequestScopeManager/RequestScope-1270/atg/remote/assetmanager/editor/service/RepositoryAssetService                at flex.messaging.endpoints.BaseHTTPEndpoint.service(BaseHTTPEndpoint.java:278)
**** Error      Thu Sep 22 17:35:39 IST 2016    1474545939336   /atg/dynamo/servlet/pipeline/RequestScopeManager/RequestScope-1270/atg/remote/assetmanager/editor/service/RepositoryAssetService                at flex.messaging.MessageBrokerServlet.service(MessageBrokerServlet.java:322)
**** Error      Thu Sep 22 17:35:39 IST 2016    1474545939336   /atg/dynamo/servlet/pipeline/RequestScopeManager/RequestScope-1270/atg/remote/assetmanager/editor/service/RepositoryAssetService                at javax.servlet.http.HttpServlet.service(HttpServlet.java:844)
**** Error      Thu Sep 22 17:35:39 IST 2016    1474545939336   /atg/dynamo/servlet/pipeline/RequestScopeManager/RequestScope-1270/atg/remote/assetmanager/editor/service/RepositoryAssetService                at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:280)
**** Error      Thu Sep 22 17:35:39 IST 2016    1474545939336   /atg/dynamo/servlet/pipeline/RequestScopeManager/RequestScope-1270/atg/remote/assetmanager/editor/service/RepositoryAssetService                at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:254)
**** Error      Thu Sep 22 17:35:39 IST 2016    1474545939336   /atg/dynamo/servlet/pipeline/RequestScopeManager/RequestScope-1270/atg/remote/assetmanager/editor/service/RepositoryAssetService                at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:136)
**** Error      Thu Sep 22 17:35:39 IST 2016    1474545939336   /atg/dynamo/servlet/pipeline/RequestScopeManager/RequestScope-1270/atg/remote/assetmanager/editor/service/RepositoryAssetService                at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:341)
**** Error      Thu Sep 22 17:35:39 IST 2016    1474545939336   /atg/dynamo/servlet/pipeline/RequestScopeManager/RequestScope-1270/atg/remote/assetmanager/editor/service/RepositoryAssetService                at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:25)
**** Error      Thu Sep 22 17:35:39 IST 2016    1474545939336   /atg/dynamo/servlet/pipeline/RequestScopeManager/RequestScope-1270/atg/remote/assetmanager/editor/service/RepositoryAssetService                at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
**** Error      Thu Sep 22 17:35:39 IST 2016    1474545939336   /atg/dynamo/servlet/pipeline/RequestScopeManager/RequestScope-1270/atg/remote/assetmanager/editor/service/RepositoryAssetService                at atg.service.configuration.ResponseWrappingConfiguration.invokeFilterChainWithPossibleWrapping(ResponseWrappingConfiguration.java:460)
**** Error      Thu Sep 22 17:35:39 IST 2016    1474545939336   /atg/dynamo/servlet/pipeline/RequestScopeManager/RequestScope-1270/atg/remote/assetmanager/editor/service/RepositoryAssetService                at atg.servlet.pipeline.TailPipelineServlet.service(TailPipelineServlet.java:174)
**** Error      Thu Sep 22 17:35:39 IST 2016    1474545939336   /atg/dynamo/servlet/pipeline/RequestScopeManager/RequestScope-1270/atg/remote/assetmanager/editor/service/Rep
ositoryAssetService                at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
**** Error      Thu Sep 22 17:35:39 IST 2016    1474545939336   /atg/dynamo/servlet/pipeline/RequestScopeManager/RequestScope-1270/atg/remote/assetmanager/editor/service/RepositoryAssetService                at atg.servlet.pipeline.DispatcherPipelineServletImpl.service(DispatcherPipelineServletImpl.java:275)
**** Error      Thu Sep 22 17:35:39 IST 2016    1474545939336   /atg/dynamo/servlet/pipeline/RequestScopeManager/RequestScope-1270/atg/remote/assetmanager/editor/service/RepositoryAssetService                at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
**** Error      Thu Sep 22 17:35:39 IST 2016    1474545939336   /atg/dynamo/servlet/pipeline/RequestScopeManager/RequestScope-1270/atg/remo

 

14) Not able to change any property at BCC :Purging service.

 
Error on modifying any property in the BCC.

 


RCA:Purging service is running backend.

Solution: Backend Purging service is running.This service locks all the properties. If we check at CLientLockManager , we can see GlobalAssetEditLock . So we stopped the Purging service. Then it is working fine.

Enable the log of CLientLockManager to debug here we can see GlobalAssetEditLock key which will be added by Purging service.


Error at back end**** Error      /atg/commerce/catalog/ProductCatalog    ---     atg.versionmanager.exceptions.VersionException: The current operation cannot proceed: another process is blocking changes to assets. Please try again later.
**** Error     /atg/commerce/catalog/ProductCatalog            at atg.versionmanager.impl.WorkspaceRepositoryImpl.checkOut(WorkspaceRepositoryImpl.java:836)
**** Error     /atg/commerce/catalog/ProductCatalog            at atg.adapter.version.VersionItemDescriptor.getVersionItem(VersionItemDescriptor.java:2456)
**** Error     /atg/commerce/catalog/ProductCatalog            at atg.adapter.version.CurrentVersionItem.getVersionItem(CurrentVersionItem.java:1099)
**** Error    /atg/commerce/catalog/ProductCatalog            at atg.adapter.version.CurrentVersionItem.setPropertyValue(CurrentVersionItem.java:374)
**** Error    /atg/commerce/catalog/ProductCatalog            at atg.adapter.secure.GenericSecuredRepositoryWorkingVersionItem.setPropertyValue(GenericSecuredRepositoryWorkingVersionItem.java:115)
 ..............

.........


 Error      Thu Apr 21 07:56:47 EDT 2016    1461239807490   /atg/commerce/catalog/ProductCatalog    ---     atg.versionmanager.exceptions.VersionException: The current operation cannot proceed: another process is blocking changes to assets. Please try again later.
**** Error      Thu Apr 21 07:56:47 EDT 2016    1461239807490   /atg/commerce/catalog/ProductCatalog            at atg.versionmanager.impl.WorkspaceRepositoryImpl.checkOut(WorkspaceRepositoryImpl.java:836)
**** Error      Thu Apr 21 07:56:47 EDT 2016    1461239807490   /atg/commerce/catalog/ProductCatalog            at atg.adapter.version.VersionItemDescriptor.getVersionItem(VersionItemDescriptor.java:2456)
**** Error      Thu Apr 21 07:56:47 EDT 2016    1461239807490   /atg/commerce/catalog/ProductCatalog            at atg.adapter.version.CurrentVersionItem.getVersionItem(CurrentVersionItem.java:1099)
**** Error      Thu Apr 21 07:56:47 EDT 2016    1461239807490   /atg/commerce/catalog/ProductCatalog            at atg.adapter.version.CurrentVersionItem.setPropertyValue(CurrentVersionItem.java:374)
**** Error      Thu Apr 21 07:56:47 EDT 2016    1461239807490   /atg/commerce/catalog/ProductCatalog            at atg.adapter.secure.GenericSecuredRepositoryWorkingVersionItem.setPropertyValue(GenericSecuredRepositoryWorkingVersionItem.java:115)

How to debug:  This we can debug using ClientLockManager compnent.


 If we observe GlobalAssetEditLock in the client lock manager at dyn/admin, then all BCC assets are locked.Then we have to restart the BCC server and also need to observe that scheduled time. If it is wrongly configured, we have to change the settings and restart the server.


15) Not able to logIn BCC as Password don't know.

Soltuion:Changed Password and salt  in dpi_user  table by knowing password and salt where we are able to login

 

16)fileMarker cause NullPointerException 

 **** Error    Thu Nov 27 20:53:23 IST 2016    1317098203971    /atg/deployment/DeploymentManager     item = fileMarker:mark100007 cause = java.lang.NullPointerException

**** Error    Thu Nov 27 20:53:23 IST 2016    1317098203971    /atg/deployment/DeploymentManager        at atg.epub.file.VersionFilePropertyDescriptor.verifyLatestFileVersion(VersionFilePropertyDescriptor.java:353)

**** Error    Thu Nov 27 20:53:23 IST 2016    1317098203971    /atg/deployment/DeploymentManager        at atg.epub.file.VersionFilePropertyDescri


Solution: 
Delete all your epub datas and import it again, This issue will arise missing of some required data's, Check your epub tables and if you know the exact value you can directly put that into required tables if not then enable logDebug=true for your repository and DeploymentManager component and find out the table which causing this exception.


17)
Error: "/com/xx/yy/xxComponent" is configured for deployment to this target by another Content Administration culuster named  "management".you must ensure that only one Content Administrator cluster   is responbsible for each repository in a given target.


Solution:
One more BCC instance is configured with the same name. We shouldn’t point 2 BCC instances to the same database.(need to validate this intances)



18)BCC table owner ship issues.(tablePrefix,tableSuffix) :Table ownership
   Especially when a core table is refered from catalog then if there is no permission for schema from other schema. We will get issues.

If the value is fetching from core, then the highlighted properites should point to Core schema name.

                  <table name="xx_promo_info" type="auxiliary" id-column-names="sku_id" >
                  <attribute name="tablePrefix" value="DBLINKNAME.XCORE."/>
                  <attribute name="metaDataSchemaPattern" value="XCORE"/>
                  <property name="xxxiscountPrice" column-names="sku_discount_price" data-type="double" cache-mode="disabled">
                        <attribute name="uiwritable" value="false"/>
                        <attribute name="propertySortPriority" value="-13"/> 
                  </property>
            </table>


If there is any DBlink problem, we can use the SYNONYM.But we never used this.

SYNONYM say CREATE SYNONYM DCS_INVENTORY for DCS_INVENTORY@DB_LINK




 

5 comments:

  1. Thanks a lot very useful with detailed explanation :-)

    ReplyDelete
    Replies
    1. Tech Solutions: Atg Bcc Issues And Solutions >>>>> Download Now

      >>>>> Download Full

      Tech Solutions: Atg Bcc Issues And Solutions >>>>> Download LINK

      >>>>> Download Now

      Tech Solutions: Atg Bcc Issues And Solutions >>>>> Download Full

      >>>>> Download LINK DF

      Delete
  2. This comment has been removed by the author.

    ReplyDelete
  3. Respect and that i have a dandy give: What House Renovations Need Council Approval hgtv home renovation

    ReplyDelete