HI KasunG,

  Previous workable deployment,

SynapseAppDeployer.java
---------------------------------------

 /**
     * Finds the correct deployer for the given artifact type
     *
     * @param axisConfig - AxisConfiguration instance
     * @return Deployer instance
     */
    private Deployer getDeployer(AxisConfiguration axisConfig, String
directory) {
        Deployer deployer = null;
        // access the deployment engine through axis config
        DeploymentEngine deploymentEngine = (DeploymentEngine)
axisConfig.getConfigurator();
        String tenantId = AppDeployerUtils.getTenantIdString(axisConfig);
        SynapseEnvironmentService environmentService =
DataHolder.getInstance().
                getSynapseEnvironmentService(Integer.parseInt(tenantId));
        if (environmentService != null) {
            String synapseConfigPath =
ServiceBusUtils.getSynapseConfigAbsPath(

environmentService.getSynapseEnvironment().getServerContextInformation());
            String endpointDirPath = synapseConfigPath
                                     + File.separator + directory;
            deployer = deploymentEngine.getDeployer(endpointDirPath,

ServiceBusConstants.ARTIFACT_EXTENSION);
        }
        return deployer;
    }




change You have done.. GIT ref* {79e529f18c4db6b45d7d0c8fd5f2288a70aee680}*

   /**
     * Finds the correct deployer for the given artifact type
     *
     * @param axisConfig - AxisConfiguration instance
     * @return Deployer instance
     */
    private Deployer getDeployer(AxisConfiguration axisConfig, String
directory) {

        // access the deployment engine through axis config
        DeploymentEngine deploymentEngine = (DeploymentEngine)
axisConfig.getConfigurator();
        String endpointDirPath = getArtifactDirPath(axisConfig, directory);
        return deploymentEngine.getDeployer(endpointDirPath,

SynapseAppDeployerConstants.ARTIFACT_EXTENSION);
    }

questions ?

Any reason why this done ? for the same reason ESB CAP deployment broken ..

cheers,
Dushan Abeyruwan | Associate Tech Lead
Integration Technologies Team
PMC Member Apache Synpase
WSO2 Inc. http://wso2.com/
Blog:http://dushansview.blogspot.com/
Mobile:(0094)713942042
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to