Repeated hot deployment of EBA fails
------------------------------------
Key: GERONIMO-5958
URL: https://issues.apache.org/jira/browse/GERONIMO-5958
Project: Geronimo
Issue Type: Bug
Security Level: public (Regular issues)
Components: Hot Deploy Dir
Affects Versions: 3.0
Reporter: Jarek Gawor
Repeated hot deployment of EBA file fails with NPE. Here's how to reproduce:
1) Start server
2) Drop .eba file into $GERONIMO_HOME/deploy directory.
3) Wait for the eba to be deployed and then remove the .eba from the deploy/
directory.
4) Wait 30s or so and drop the .eba file into deploy/ directory again.
At that time the .eba fails to deploy and the following error message is
visible on the console:
2011-05-12 14:56:01,051 ERROR [DirectoryMonitor] Error during hot deploymen
java.lang.NullPointerException
at
org.apache.geronimo.kernel.repository.Artifact.create(Artifact.java:59)
at
org.apache.geronimo.kernel.repository.Artifact.create(Artifact.java:51)
at
org.apache.geronimo.deployment.hot.DirectoryMonitor.doRemoves(DirectoryMonitor.java:183)
at
org.apache.geronimo.deployment.hot.DirectoryMonitor.scanDirectory(DirectoryMonitor.java:258)
at
org.apache.geronimo.deployment.hot.DirectoryMonitor.run(DirectoryMonitor.java:219)
at java.lang.Thread.run(Thread.java:662)
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira