Hi Aliosha, Have you mounted Greg to Both ESB instances ? If not follow these guides [1], [2] and implement mounting.
[1] https://docs.wso2.com/display/Governance460/Remote+Instance+and+Mount+Configuration+Details [2] http://ajithvblogs.blogspot.com/2012/09/create-jdbc-mount-to-wso2-governance.html Thanks On Tue, Oct 21, 2014 at 2:24 PM, Aliosha <[email protected]> wrote: > I'm following the procedure described at this documentation url: > > https://docs.wso2.com/display/Governance460/ESB+Asset+Models > > The configuration works fine trying it with 1 WSO2 ESB 4.8.1 and 1 WSO2 > GREG 4.6.0. > > What about the task configuration in the registry.xml, if I have 2 WSO2 > ESB connected with the registry (localhost:9443/, localhost:9445/)? > > I tried to replicate the code, > > <task name="MediationTask" > class="org.wso2.carbon.governance.platform.extensions.mediation.MediationArtifactPopulatorTask"> > > <trigger cron="0/10 * * * * ?"/> > > <property key="userName" value="admin" /> > > <property key="password" value="admin" /> > > <property key="serverUrl" value=" > https://localhost:9443/services/"/> > > <property key="proxyArtifactKey" value="proxy" /> > > <property key="sequenceArtifactKey" value="sequence" /> > > <property key="endpointArtifactKey" value="endpoint" /> > > </task> > > adding another task (MediationTask1): > > <task name="MediationTask1" > class="org.wso2.carbon.governance.platform.extensions.mediation.MediationArtifactPopulatorTask"> > > <trigger cron="0/9 * * * * ?"/> > > <property key="userName" value="admin" /> > > <property key="password" value="admin" /> > > <property key="serverUrl" value=" > https://localhost:9445/services/"/> > > <property key="proxyArtifactKey" value="proxy" /> > > <property key="sequenceArtifactKey" value="sequence" /> > > <property key="endpointArtifactKey" value="endpoint" /> > > </task> > > But after rebooting the Greg it seems to be a conflict situation in wich > just one artifact (from ESB1 or ESB2) is uploaded into the registry. > > Thanks > > -- Prasanna Dangalla Software Engineer, WSO2, Inc.; http://wso2.com/ lean.enterprise.middleware cell: +94 777 55 80 30 | +94 718 11 27 51 twitter: @prasa77
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
