logo       

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

java.enhydra.general

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

Hi !

PLEASE wait some more days for the upcoming 5.1 maintenance release of
Enhydra 5.1 and DODS 5.1. We HAVE solved the DODS_HOME issue !!!

DODS will support to read the necessary runtime configuration for DB
vendors from the runtime jar file (if it can not find ENHYDRA_HOME
and/or DODS_HOME).

Greetings.

Alfred

-----Ursprüngliche Nachricht-----
Von: Vladimir Ritz Bossicard [mailto:vbossica@xxxxxxxxx]
Bereitgestellt: Mittwoch, 26. November 2003 17:53
Bereitgestellt in: Enhydra
Unterhaltung: Enhydra: Re: Dods standalone program (Vladimir Ritz
Bossicard)
Betreff: Re: Enhydra: Re: Dods standalone program (Vladimir Ritz
Bossicard)


> Still the same message: JVM can not find neither DODS
> HOME nor ENHYDRA HOME!

what I do is a HUGE hack. But it works:

1) set the dods home location in a property of the servlet (web.xml
file)

<servlet>
<servlet-name>ApplicationGateway</servlet-name>

<init-param>
<param-name>DodsHome</param-name>
<param-value>/opt/java/install/dods-5.1</param-value>
</init-param>

<init-param>
<param-name>DodsConfig</param-name>

<param-value>/home/vladimir/proto/test/config/dods.conf</param-value>
</init-param>

2) in your servlet initialization code:

System.setProperty("DODS_HOME", config.getInitParameter("DodsHome"));
DODS.startup(config.getInitParameter("DodsConfig"));

I won't say that it's a nice solution, but it does the job.

hth

-Vladimir


=====
Vladimir Ritz Bossicard
www.bossicard.com

__________________________________
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
http://companion.yahoo.com/
_______________________________________________
Enhydra mailing list
Enhydra@xxxxxxxxxxx http://www.enhydra.org/mailman/listinfo.cgi/enhydra

Attachment: smime.p7s
Description: S/MIME cryptographic signature

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

News | FAQ | advertise