You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@synapse.apache.org by "Heshan Suriyaarachchi (JIRA)" <ji...@apache.org> on 2010/11/24 12:54:13 UTC

[jira] Updated: (SYNAPSE-713) Fixing an issue in AbstractSynapseArtifactDeployer

     [ https://issues.apache.org/jira/browse/SYNAPSE-713?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Heshan Suriyaarachchi updated SYNAPSE-713:
------------------------------------------

    Attachment: SYNAPSE-713.patch

In the AbstractSynapseArtifactDeployer's undeploy() method we are removing the artifacts from the SynapseArtifactDeploymentStore, assuming that it is a hot update. But it should remove these artifacts if it is not a restored file. 

The attached fix resolves this issue. 

> Fixing an issue in AbstractSynapseArtifactDeployer
> --------------------------------------------------
>
>                 Key: SYNAPSE-713
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-713
>             Project: Synapse
>          Issue Type: Bug
>    Affects Versions: NIGHTLY
>            Reporter: Heshan Suriyaarachchi
>             Fix For: FUTURE
>
>         Attachments: SYNAPSE-713.patch
>
>
> If we edit a sequence and then remove the sequence from the file system, following exception occurs. 
> [2010-11-22 09:25:59,115] DEBUG - AbstractSynapseArtifactDeployer UnDeployment of the synapse artifact from file : /home/heshan/Dev/synapse-2.1.0-SNAPSHOT/repository/conf/synapse-config/sequences/seq2.xml : STARTED
> [2010-11-22 09:25:59,115] ERROR - AbstractSynapseArtifactDeployer Artifact representing the filename /home/heshan/Dev/synapse-2.1.0-SNAPSHOT/repository/conf/synapse-config/sequences/seq2.xml is not deployed on Synapse
> [2010-11-22 09:25:59,125]  INFO - DeploymentEngine org.apache.axis2.deployment.DeploymentException: Artifact representing the filename /home/heshan/Dev/released_distributions/wso2esb-3.0.1/repository/conf/synapse-config/sequences/seq2.xml is not deployed on Synapse
> This occurs in endpoints/sequences/proxyservices/eventsources/localentries.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org