You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by Sachin Patel <sp...@gmail.com> on 2007/03/08 16:42:25 UTC

Cound not determine the installation directory of AG, because ... messages

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



Re: Cound not determine the installation directory of AG, because ... messages

Posted by Ted Kirby <te...@gmail.com>.
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 <sp...@gmail.com> 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
>
>

Re: Cound not determine the installation directory of AG, because ... messages

Posted by Anita Kulshreshtha <a_...@yahoo.com>.
  I have seen this while building geronimo-kernel...

Anita

--- Sachin Patel <sp...@gmail.com> 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
> 
> 
> 



 
____________________________________________________________________________________
TV dinner still cooling? 
Check out "Tonight's Picks" on Yahoo! TV.
http://tv.yahoo.com/