geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeremy Boynes (JIRA)" <>
Subject [jira] Commented: (GERONIMO-504) dependencies defined by plan are not "validated"
Date Sat, 27 Nov 2004 01:39:19 GMT
     [ ]
Jeremy Boynes commented on GERONIMO-504:

I can see merit in validating during deployment as it would avoid the possibility of ClassNotFoundExceptions
as we try to create GBean instances. However, this means that all dependencies would need
to be present during deployment whereas in reality they may not actually be needed to deploy
the module - for example, dependencies could be used to make classes available for application
use (e.g. struts) but we would not need those to actually create the target configuration.

Regardless of whether we check during deployment, the possibility of missing dependencies
will always exist at configuration start time. For example, someone could have removed the
dependency from the target server after the configuration had been installed.

Given this, I would suggest we fix this by checking dependencies during normal deployment
but that we also add an option to the deployer that would allow this check to be disabled.

> dependencies defined by plan are not "validated"
> ------------------------------------------------
>          Key: GERONIMO-504
>          URL:
>      Project: Apache Geronimo
>         Type: Wish
>   Components: deployment
>     Versions: 1.0-M3, 1.0-M2, 1.0-M1
>     Reporter: Gianny DAMOUR
>     Priority: Minor

> <dependency> elements defined by the various deployment plans are not validated.
It is possible to deploy successfully plans defining dependencies, which are not defined by
the installed repositories.
> When such configurations are started, the Kernel throws as expected a MissingDependencyException
identifying the missing dependency.
> This should be done upfront during deployment.

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