You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Rakesh Midha (JIRA)" <ji...@apache.org> on 2006/11/20 06:49:07 UTC

[jira] Updated: (GERONIMO-1403) hot-deployer reports error msg every pollIntervalMillis

     [ http://issues.apache.org/jira/browse/GERONIMO-1403?page=all ]

Rakesh Midha updated GERONIMO-1403:
-----------------------------------

       Patch Info: [Patch Available]
    Fix Version/s: 1.2
         Assignee:     (was: Rakesh Midha)

> hot-deployer reports error msg every pollIntervalMillis
> -------------------------------------------------------
>
>                 Key: GERONIMO-1403
>                 URL: http://issues.apache.org/jira/browse/GERONIMO-1403
>             Project: Geronimo
>          Issue Type: Improvement
>      Security Level: public(Regular issues) 
>          Components: Hot Deploy Dir
>    Affects Versions: 1.0
>            Reporter: Gao Yong Pan
>            Priority: Minor
>             Fix For: 1.2
>
>
> 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