The following comment has been added to this issue:
Author: Jacek Laskowski
Created: Sun, 21 Dec 2003 5:10 PM
Body:
I've just noticed a possible bug in Geronimo. It's related to the patch so I'm
adding it to it.
The problem is with the DependencyService and scanner. When the scanner picks
up a file it's handed over to a planner. The planner tries to deploy it and it
succeeds, but see this:
[java] 23:44:00,803 DEBUG [JettyWebApplication] jetty:role=WebApplication,
uri="file:/c:/projects/geronimo/target/geronim
o-DEV/deploy/jetty/geronimo-web-console.war" State changed from stopped to
starting
[java] 23:44:00,844 TRACE [DependencyService] Checking if parent is
running: parent=jetty:role=WebContainer
[java] 23:44:00,844 TRACE [DependencyService] Cannot run because parent is
not running: parent=jetty:role=WebContainer
which means that although the war was to have deployed, it simply failed as the
dependency (WebContainer) was not up. The next time the scanner runs it won't
pick up the war as the modification time hasn't changed since the last scan.
It leds me to a conclusion that it may be a bug with the deployment as a
file/directory may be deployed more than once to succeed if there's a
dependency that is not started yet.
---------------------------------------------------------------------
View the issue:
http://jira.codehaus.org/secure/ViewIssue.jspa?key=GERONIMO-132
Here is an overview of the issue:
---------------------------------------------------------------------
Key: GERONIMO-132
Summary: Adds deployments based on their modification time
Type: Improvement
Status: Unassigned
Priority: Minor
Original Estimate: Unknown
Time Spent: Unknown
Remaining: Unknown
Project: Apache Geronimo
Components:
core
Assignee:
Reporter: Jacek Laskowski
Created: Sun, 21 Dec 2003 4:50 PM
Updated: Sun, 21 Dec 2003 5:10 PM
Description:
The coming patch modifies o.a.g.kernel.deployment.scanner.FileSystemScanner so
that it only adds a file or directory when its modification time equals to or
is greater then the time of the last scan
Added class' javadoc
NOTE: The class informs about its work's status. It may be appropriate to
reflect this in log4j.properties by rising its threshold to DEBUG or INFO.
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira