[
http://issues.apache.org/jira/browse/GERONIMO-1403?page=comments#action_12362150
]
Gao Yong Pan commented on GERONIMO-1403:
----------------------------------------
I got another different non-repeated error message which is based on most
recent code like below, it seems above error message is gone and doesn't appear
again.
validateFile() needs to be added an evaluation of emptyDir or more common
approach.
10:27:57,054 INFO [Hot Deployer] Deploying anotherEmptyDir
10:27:57,062 ERROR [Hot Deployer] Unable to deploy: Cannot deploy the requested
application module
(moduleFile=/opt/geronimo-1.0-SNAPSHOT/deploy/anotherEmptyDir)
org.apache.geronimo.common.DeploymentException: Cannot deploy the requested
application module
(moduleFile=/opt/geronimo-1.0-SNAPSHOT/deploy/anotherEmptyDir)
at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:226)
at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:102)
at
org.apache.geronimo.deployment.Deployer$$FastClassByCGLIB$$734a235d.invoke(<generated>)
at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java(Inlined
Compiled Code))
at
org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java(Compiled
Code))
at
org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java(Compiled
Code))
at
org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:835)
at
org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:178)
at
org.apache.geronimo.deployment.plugin.local.AbstractDeployCommand.doDeploy(AbstractDeployCommand.java:106)
at
org.apache.geronimo.deployment.plugin.local.DistributeCommand.run(DistributeCommand.java:59)
at java.lang.Thread.run(Thread.java(Compiled Code))
> 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