proper way to reconfigure OLFS?
Nathan Potter
ndp at opendap.org
Mon Apr 23 13:07:34 PDT 2007
Denis & Chris,
I just tested the issue. What I learned:
In a single context (controlled by a single web.xml file) you may run
ONLY ONE copy of the Hyrax servlet.
You can run multiple Hyrax servlets in a single instance of Tomcat as
long as they are in separate contexts - which is exactly what Denis
discovered. Essentially they are running in separate virtual machines.
And in truth the things you may only run one of are the BESManager
and BesAPI classes. Of course without these you won't have a Hyrax
server so...
And finally - I have just release Hyrax 1.2, and it supports multiple
BES's connected to a single instance of the OLFS, so really that
should address to issue entirely.
Let me know if you need help getting the new version configured (or
with anything else!)
Nathan
On Apr 19, 2007, at 12:47 PM, Denis Nadeau wrote:
> Nathan,
>
> try these links....
> http://disc2.nascom.nasa.gov/opendap/
> http://disc2.nascom.nasa.gov/opendap3/
>
>
> Denis
> 2007/4/19, Nathan Potter <ndp at opendap.org>:
>>
>> Um... I don't think so.
>>
>> I'll try to write a test for the issues that I am concerned about and
>> get back to you.
>>
>> N
>>
>>
>>
>> On Apr 19, 2007, at 11:47 AM, Denis Nadeau wrote:
>>
>> > Nathan,
>> >
>> > I have just succeeded to get 2 olfs on one tomcat.
>> >
>> > I have changed the following file olfs.xml.
>> > <BES>
>> > *** <host>myothermachine.nasa.gov</host>
>> > <port>10002</port>
>> > <MaxClients>10</MaxClients>
>> > </BES>
>> >
>> > I have also changed the file WEB-INF.xml
>> > <context-param>
>> > <param-name>ContextPath</param-name>
>> > *** <param-value>opendap3</param-value>
>> > </context-param>
>> >
>>
>>
>>
>>
>> This change:
>>
>>
>> > as well as log4j.xml
>> > *** <logger name="opendap3">
>> > <level value="ALL"/>
>> > <appender-ref ref="ThreddsStdout"/>
>> > </logger>
>> >
>>
>> Will simply break logging for your new instance. The use of the word
>> "opendap" in the log4j.xml has nothing to do with the Tomcat
>> configuration (it's related to the java class names of the actual
>> software components).
>>
>>
>>
>> > I created a new war file called opendap3 in the context_path "/
>> > opendap3"
>> > in tomcat.
>> >
>> > This way I was able to have 2 olfs on one server.
>> >
>> > Is this safe?
>> >
>> > Denis
>> >
>> >
>> >
>> > --
>> > Denis Nadeau
>> > Goddard Earth Sciences Data & Information Services Center
>> > Code 610.2
>> > NASA Goddard Space Flight Center, Greenbelt, MD 20771
>> > Phone: (301) 614-5514
>> > Fax: (301) 614-5268
>> > email: dnadeau at pop600.gsfc.nasa.gov
>> > http://disc.gsfc.nasa.gov
>> > http://giovanni.gsfc.nasa.gov
>> >
>> >
>>
>> =
>> Nathan Potter ndp at opendap.org
>> OPeNDAP, Inc. 541.752.1852
>>
>>
>>
=
Nathan Potter ndp at opendap.org
OPeNDAP, Inc. 541.752.1852
More information about the Opendap-tech
mailing list