Hi,

I have an API Manager distributed setup. There I have two gateway nodes.
When I invoke an API of a tenant, I get the following warning printed in
the log at the time of tenant loading (not always, but most of the times).
Does anyone know the reason for this? Although this warning is printed,
functionality is not affected.

I have gone through the code too. This is the responsible code segment.

Parameter synCfgParam =

cfgCtx.getAxisConfiguration().getParameter(SynapseConstants.SYNAPSE_CONFIG);
        if (synCfgParam == null) {
            throw new DeploymentException("SynapseConfiguration not found.
" +
                    "Are you sure that you are running Synapse?");
        }
        return (SynapseConfiguration) synCfgParam.getValue();

Is this happening in other such setups as well?

TID: [0] [AM] [2014-02-20 07:27:55,109]  WARN
{org.apache.synapse.deployers.AbstractSynapseArtifactDeployer} -  Error
while retrieving the SynapseConfiguration
{org.apache.synapse.deployers.AbstractSynapseArtifactDeployer}

org.apache.axis2.deployment.DeploymentException: SynapseConfiguration not
found. Are you sure that you are running Synapse?

at
org.apache.synapse.deployers.AbstractSynapseArtifactDeployer.getSynapseConfiguration(AbstractSynapseArtifactDeployer.java:399)

at
org.apache.synapse.deployers.AbstractSynapseArtifactDeployer.isHotDeploymentEnabled(AbstractSynapseArtifactDeployer.java:77)

at
org.apache.synapse.deployers.AbstractSynapseArtifactDeployer.deploy(AbstractSynapseArtifactDeployer.java:97)

at
org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:136)

at
org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:807)

at
org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList.java:144)

at
org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.java:377)

at
org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:254)

at
org.apache.axis2.deployment.RepositoryListener.startListener(RepositoryListener.java:371)

at
org.apache.axis2.deployment.scheduler.SchedulerTask.checkRepository(SchedulerTask.java:59)

at
org.apache.axis2.deployment.scheduler.SchedulerTask.run(SchedulerTask.java:67)

at
org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask.runAxisDeployment(CarbonDeploymentSchedulerTask.java:79)

at
org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask.run(CarbonDeploymentSchedulerTask.java:124)

at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)

at
java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:351)

at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:178)

at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178)

at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)

at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

at java.lang.Thread.run(Thread.java:724)


Regards,
AmilaM.
-- 
*Amila Maharachchi*
Senior Technical Lead
WSO2, Inc.; http://wso2.com

Blog: http://maharachchi.blogspot.com
Mobile: +94719371446
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to