Issue Type: Bug Bug
Affects Versions: 1.0.0
Assignee: Unassigned
Created: 30/May/12 3:30 PM
Description:

The defaults release/kitchensink assemblies contain an "example" amdatu-core-config.xml. When actually using this in a provisioning scenario the following scenario result in failure.

1) Start clean managementagent
2) Deploy distribution including amdatu-core-config.xml
3) Deploy distribution excluding amdatu-core-config.xml

this triggers...

[Error] [   ] Preparing commit for resource processor failed
org.osgi.service.deploymentadmin.spi.ResourceProcessorException: Unable to prepare for commit for resource
Listening for transport dt_socket at address: 8000
        at org.amdatu.deployment.autoconf.AutoConfResourceProcessor.prepare(AutoConfResourceProcessor.java:347)
        at org.apache.felix.deploymentadmin.spi.CommitResourceCommand.execute(CommitResourceCommand.java:42)
        at org.apache.felix.deploymentadmin.spi.DeploymentSessionImpl.call(DeploymentSessionImpl.java:74)
        at org.apache.felix.deploymentadmin.DeploymentAdminImpl.installDeploymentPackage(DeploymentAdminImpl.java:208)
        at org.apache.ace.deployment.deploymentadmin.DeploymentAdminDeployer.install(DeploymentAdminDeployer.java:51)
        at org.apache.ace.deployment.service.impl.DeploymentServiceImpl.installVersion(DeploymentServiceImpl.java:120)
        at org.apache.ace.deployment.task.DeploymentUpdateTask.run(DeploymentUpdateTask.java:57)
        at org.apache.ace.scheduler.Executer.run(Executer.java:92)
        at java.util.TimerThread.mainLoop(Timer.java:555)
        at java.util.TimerThread.run(Timer.java:505)
Caused by: java.io.IOException: Unable to delete file: C:\bramk\Amdatu\ivol\.\felix-cache\bundle8\data\amdatu-core-config.xml
        at org.apache.felix.deployment.rp.autoconf.PersistencyManager.delete(PersistencyManager.java:89)
        at org.amdatu.deployment.autoconf.AutoConfResourceProcessor.prepare(AutoConfResourceProcessor.java:317)
        ... 9 more


initial analysis...

At step 1 During process the AutoConfProcessor discovers no designates and simply returns. Nothing is added to the install list and thus, during prepare the file is not stored by the PersistenceManager.

At step 2 During dropped the AutoConfProcessor adds the file to the deleted list and during prepare it tries to make the PersistenceManager delete a file that was never stored.

Project: Amdatu Management
Priority: Major Major
Reporter: Bram de Kruijff
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
Amdatu-developers mailing list
[email protected]
http://lists.amdatu.org/mailman/listinfo/amdatu-developers

Reply via email to