Error | mis-match in live data store

2,628 views
Skip to first unread message

Naga

unread,
Jun 7, 2008, 9:17:16 AM6/7/08
to atg_...@googlegroups.com, atg_d...@googlegroups.com
Hi,

We are running ATG2007.1 on JDK1.5.0_11 + JBoss 4.0.5. We have configured our Store Catalog to use SwitchableDataSource and its working as expected. But every now and then when we start our Store server we get the following error in the server console.

18:47:54,852 ERROR [DeploymentAgent] mis-match in live data store name of switchable data stores : 'DataSourceB' != 'DataSourceA'

and when we get this error the Merchandising [ATG Publishing] server is showing the agent is not accepting deployments.

Please help us in fixing the above issue.

Thanks,
Naga

--
http://www.linkedin.com/in/nagarajanseshadri

O'Brien, Paul

unread,
Jun 9, 2008, 9:36:53 AM6/9/08
to atg_...@googlegroups.com
You can fix this by manually switching the live data source.  Navigate to /atg/commerce/jdbc/ProductCatalogSwitchingDataSource in the admin UI, and invoke the "prepareSwitch" and "peformSwitch" methods.   The configurations of the switching data sources on the publishing and production sides should then be in sync, and you should be able to deploy.


From: atg_...@googlegroups.com [mailto:atg_...@googlegroups.com] On Behalf Of Naga
Sent: Saturday, June 07, 2008 9:17 AM
To: atg_...@googlegroups.com; atg_d...@googlegroups.com
Subject: [atg_tech:1053] Error | mis-match in live data store

phani

unread,
Jun 9, 2008, 11:11:31 AM6/9/08
to ATG_Tech
HI,

I am also working on Merchandising 20071 how to configure
SwitchingDataSource for target site.

My question is how can switch data base of actual site. Once Merch &
CA admin deploy data from BCC on target database (Inactive database),
how CA admin can switch the data base of actual site from active
database to Inactive database.


Thank you
Phani

O'Brien, Paul

unread,
Jun 9, 2008, 11:23:52 AM6/9/08
to atg_...@googlegroups.com
You can do the same thing on the production site if you want to do the switch on that side. The component should be the same.

Raja Ramachandran

unread,
Jun 9, 2008, 4:54:21 PM6/9/08
to atg_...@googlegroups.com
You can also control the datasources from CA. Go to admin console in
BCC. Click on Overview -> Click on the target and click on the agents
tab. Right above the agent name, you will have a link to
SwitchableDatastores ( if you configured the CA for switch deployments
). Click on it. All that listed should be pointing to the same
datasource. If you see any mis-match, click on the check box and hit
switch selected datastore. That should fix this error.

Naga

unread,
Jun 10, 2008, 12:47:07 PM6/10/08
to atg_...@googlegroups.com
Yes Raja. Thats exactly what I did and it fixed the issue. Thanks a  lot.

Naga
--
http://www.linkedin.com/in/nagarajanseshadri

phani

unread,
Jun 10, 2008, 11:52:37 PM6/10/08
to ATG_Tech
HI,

Could you please tell what are the step required for doing
SwitchableDataSource.
publishing and production sides.

Thank you and Regards
Phani

On Jun 9, 6:36 pm, "O'Brien, Paul" <pobr...@atg.com> wrote:

Gordon Cooke

unread,
Jun 11, 2008, 1:20:43 PM6/11/08
to atg_...@googlegroups.com
This is documented in the ATG docs in the Commerce Programming Guide
on the non-versioned side and in the Content admin manual on the
Versioned side.

Gordon

Belmont, Adam

unread,
Jun 17, 2008, 5:24:49 PM6/17/08
to atg_...@googlegroups.com
You need to run the DCS.PublishingAgent module on your targets.
(BTW, before 2007.1 just run DCS.PublishingAgent on one target, the others
should have just plain old "PublishingAgent" module)
CA makes an RMI connection to the target servers. It'll invoke the
prepareSwitch and switchMethods on the switching datasource during
deployment. You shouldn't have to switch it manually. (Unless it got out of
sync somehow)

-- Adam

-----Original Message-----
From: atg_...@googlegroups.com [mailto:atg_...@googlegroups.com] On Behalf

Of phani
Sent: Monday, June 09, 2008 11:12 AM
To: ATG_Tech


HI,


Thank you
Phani

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"ATG_Tech" group.
To post to this group, send email to atg_...@googlegroups.com
To unsubscribe from this group, send email to
atg_tech-u...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/atg_tech?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply all
Reply to author
Forward
0 new messages