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:45:06 UTC

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

    [ http://issues.apache.org/jira/browse/GERONIMO-1403?page=comments#action_12451228 ] 
            
Rakesh Midha commented on GERONIMO-1403:
----------------------------------------


This issue is fixed, with patchs provided in https://issues.apache.org/jira/browse/GERONIMO-1813

With exception message, now the files/directories in deploy are deleted and follwoing message is printed:
16:15:51,223 INFO  [DirectoryHotDeployer] Deleting the Directory: C:\geronimo\bu
ild\geronimo-tomcat-j2ee-1.2-SNAPSHOT\deploy\blank

I think we can close this JIRA.

> 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
>         Assigned To: Rakesh Midha
>            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