geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [jira] Commented: (GERONIMO-132) Adds deployments based on their modification time
Date Sun, 21 Dec 2003 23:10:39 GMT
The following comment has been added to this issue:

     Author: Jacek Laskowski
    Created: Sun, 21 Dec 2003 5:10 PM
I've just noticed a possible bug in Geronimo. It's related to the patch so I'm adding it to

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:

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:

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

   Reporter: Jacek Laskowski

    Created: Sun, 21 Dec 2003 4:50 PM
    Updated: Sun, 21 Dec 2003 5:10 PM

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 by rising its threshold to DEBUG or INFO.

This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:

If you want more information on JIRA, or have a bug to report see:

View raw message