[ http://issues.apache.org/jira/browse/GERONIMO-1403?page=all ]
Aaron Mulder updated GERONIMO-1403: ----------------------------------- Component: Hot Deploy Dir (was: deployment) > hot-deployer reports error msg every pollIntervalMillis > ------------------------------------------------------- > > Key: GERONIMO-1403 > URL: http://issues.apache.org/jira/browse/GERONIMO-1403 > Project: Geronimo > Type: Improvement > Components: Hot Deploy Dir > Versions: 1.0 > Reporter: Gao Yong Pan > Priority: Minor > > create a empty directory then the repeated error message is thrown on the > startup console again and again until you delete the empty directory, I hope > the DirectoryMonitor reports this error message once only in the continuing > scanning loop. > 13:45:17,545 ERROR [DirectoryMonitor] Unable to deploy file > /opt/geronimo-1.0-SNAPSHOT/deploy/emptyDir > java.lang.IllegalArgumentException: > /opt/geronimo-1.0-SNAPSHOT/deploy/emptyDir is neither a JAR file nor a > directory! > at > org.apache.geronimo.deployment.cli.DeployUtils.extractModuleIdFromArchive(DeployUtils.java:203) > at > org.apache.geronimo.deployment.hot.DirectoryMonitor.calculateModuleId(DirectoryMonitor.java:231) > at > org.apache.geronimo.deployment.hot.DirectoryMonitor.scanDirectory(DirectoryMonitor.java(Compiled > Code)) > at > org.apache.geronimo.deployment.hot.DirectoryMonitor.run(DirectoryMonitor.java(Compiled > Code)) > at java.lang.Thread.run(Thread.java:568) > 13:45:19,553 ERROR [DirectoryMonitor] Unable to deploy file > /opt/geronimo-1.0-SNAPSHOT/deploy/emptyDir > java.lang.IllegalArgumentException: > /opt/geronimo-1.0-SNAPSHOT/deploy/emptyDir is neither a JAR file nor a > directory! > at > org.apache.geronimo.deployment.cli.DeployUtils.extractModuleIdFromArchive(DeployUtils.java:203) > at > org.apache.geronimo.deployment.hot.DirectoryMonitor.calculateModuleId(DirectoryMonitor.java:231) > at > org.apache.geronimo.deployment.hot.DirectoryMonitor.scanDirectory(DirectoryMonitor.java(Compiled > Code)) > at > org.apache.geronimo.deployment.hot.DirectoryMonitor.run(DirectoryMonitor.java(Compiled > Code)) > at java.lang.Thread.run(Thread.java:568) -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira