Re: Re: Dods standalone program (Vladimir Ritz Bossicard)
Vladimir Puskas <[email protected]> 25 Nov 2003 14:03:45 -0100
| Newsgroups | gmane.comp.java.enhydra.general |
|---|---|
| Organization | Together, Serbia |
| Message-ID | <[email protected]> |
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 <[email protected]>
Together, Serbia