[
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-ver2.patch
While fixing this issue, I came across another issue.
In the SynapseArtifactDeploymentStore, we are having a Map which Keeps track of
the deployed artifacts in the synapse environment named fileName2ArtifactName.
It is defined as a static variable. IMV this should not be a static variable.
The other Map which Keeps track of the updating artifacts in the synapse
environment in a particular instance, is not defined in the static scope. I
think it is the correct way.
Therefore re-attaching the patch with the proposed fix.
> 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-ver2.patch, 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: [email protected]
For additional commands, e-mail: [email protected]