You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ace.apache.org by "Marcel Offermans (JIRA)" <ji...@apache.org> on 2014/04/17 10:54:19 UTC
[jira] [Updated] (ACE-449) IllegalStateException when
deploymentversionlimit is re-configured to a value lower than the amount of
deployment versions in the repository
[ https://issues.apache.org/jira/browse/ACE-449?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Marcel Offermans updated ACE-449:
---------------------------------
Fix Version/s: next
> IllegalStateException when deploymentversionlimit is re-configured to a value lower than the amount of deployment versions in the repository
> --------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: ACE-449
> URL: https://issues.apache.org/jira/browse/ACE-449
> Project: ACE
> Issue Type: Bug
> Reporter: Bram Pouwelse
> Assignee: Marcel Offermans
> Fix For: next
>
>
> When the deploymentversionlimit property in org.apache.ace.client.repository.cfg is re-configured to a value that is lower than the number of deployment versions currently available in the repository I get an IllegalStateException when trying to create a workspace.
> Steps to reproduce:
> - Create a new ace instance (with the default deploymentversionlimit of -1)
> - Add a few artifacts ( at least 3)
> - create a feature, distribution and target
> - link the feature, distribution and target
> - add one artifact to the feature
> - store
> - add a second artifact to the feature
> - store
> - add a third artifact to the feature
> - store
> - stop ace (at least the client when not using the allinone distibution)
> - change the deploymentversionlimit to 2
> - start ace again
> - run "ace:cw" in the gogo shell
> For me this results in the following output:
> g! ace:cw
> gogo: ConversionException: java.lang.IllegalStateException: The repository is currently busy, so no objects can be removed.
> ---- Debugging information ----
> message : java.lang.IllegalStateException: The repository is currently busy, so no objects can be removed.
> cause-exception : java.lang.IllegalArgumentException
> cause-message : java.lang.IllegalStateException: The repository is currently busy, so no objects can be removed.
> class : org.apache.ace.client.repository.impl.RepositorySerializer
> required-type : org.apache.ace.client.repository.impl.RepositorySerializer
> path : /repository/deploymentversions/deploymentversion[3]
> line number : 68
> -------------------------------
--
This message was sent by Atlassian JIRA
(v6.2#6252)