logo       

Re: Re: Dods standalone program (Vladimir Ritz Bossicard): msg#00031

java.enhydra.general

Subject: Re: Re: Dods standalone program (Vladimir Ritz Bossicard)

On Tue, 2003-11-25 at 11:01, Axel Wilhelm Berle wrote:
>
> I am still trying to run the standalone DODS
> application in Netbeans 3.5.1. It doesn't work.
>
> ...
>
> Still the same message: JVM can not find neither DODS
> HOME nor ENHYDRA HOME!

In your application conf file ("C:\\dods5.1\\output\\testando.conf") add
new parameter:

DatabaseManager.ConfigurationDir = @DODS_HOME@/build/conf

and you won't depend on environment variables or java properties.


While this solution works, it does have problems pointed by Vladimir
Ritz Bossicard.

For upcoming DODS release we changed configuring sequence, according to
his suggestion - dodsConf.xml is in dods-runtime.jar, and will be loaded
as resource, if other means fail (no ConfigurationDir, DODS nor ENHYDRA
homes).

Hope this helps.
--
Vladimir Puskas <v.puskas@xxxxxxxxxxxxxx>
Together, Serbia


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise