DirectoryUtils has the same static code block that essentially (tries
to) determine GERONIMO_BASE (install directory) by getting the parent
directory of bin\server.jar, and prints that error message if it
fails.

I think this code should be removed from static blocks, put in one
place, and only called once when and if it is needed.  (That is, in
DirectoryUtils.getGeronimoInstallDirectory(), and
ConfigurationUtil.loadBootstrapConfiguration().)  It appears not be be
needed in both of the cases you mention.

Ted Kirby

On 3/8/07, Sachin Patel <[EMAIL PROTECTED]> wrote:

Have people noticed this message during the build (though it doesn't cause a
build failure).. I also get it every time when deploying projects to G2.0
using the eclipse-plugin.

10:39:44,927 ERROR [ConfigurationUtil] Cound not determine the installation
directory of Apache Geronimo, because the startup jar could not be found in
the current class loader.

Any thoughts to why this is being thrown?

-sachin


Reply via email to