Hi Velimir,
Changing "ContextPath" should be sufficient to keep two instances of the
TDS deployed under the same servlet container completely separate. If
you run into any problems, please let us know.
Ethan
Velimir Mlaker1 wrote:
> I should mention that, while browsing both catalogs under the same
> Tomcat, things appear okay; unique datasets show under each TDS. So it
> seems that changing "ContextPath" is sufficient. If someone who's done
> it before could chime in to validate, that would set me more at ease.
> Either way, I'll let you know if I encounter problems.
>
> Thanks,
> Velimir
>
>
> Velimir Mlaker1 wrote:
>> Hi,
>>
>> Is it possible to install two TDSs under one Tomcat?
>>
>> I copied the ${tomcat}/webapps/thredds.war to
>> ${tomcat}/webapps/thredds.2.wa2 . Tomcat exploded the copy just fine.
>> I then changed the ContextPath parameter in WEB-INF/web.xml as so:
>>
>> <context-param>
>> <param-name>ContextPath</param-name>
>> <param-value>thredds.2</param-value>
>> </context-param>
>>
>> This had the effect of creating ${tomcat}/content/thredds.2 directory,
>> right alongside the original thredds directory.
>>
>> Will this safely keep the two servers disjoint? I am guessing the
>> recommended procedure would be to configure the name "thredds.2" when
>> building from source. However, source appears unavailable.
>>
>> Our system is:
>> Tomcat 6.0.18 in jsvc (port 80) mode.
>> TDS 3.16.44.0
>> uname -a
>> Linux pcmdi3.llnl.gov 2.6.18-92.el5 #1 SMP Tue Apr 29 13:16:12 EDT
>> 2008 i686 i686 i386 GNU/Linux
>> (Enterprise Linux 5)
>>
>>
>> Best regards,
>>
>> Velimir Mlaker
>> PCMDI
>>
>
>
> --
> Velimir Mlaker
> Computer Scientist, PCMDI
> Lawrence Livermore National Laboratory
> Phone: (925) 422-0330
> Email: mlaker1@xxxxxxxx
>
> _______________________________________________
> thredds mailing list
> thredds@xxxxxxxxxxxxxxxx
> For list information or to unsubscribe, visit:
> http://www.unidata.ucar.edu/mailing_lists/
--
Ethan R. Davis Telephone: (303) 497-8155
Software Engineer Fax: (303) 497-8690
UCAR Unidata Program Center E-mail: edavis@xxxxxxxx
P.O. Box 3000
Boulder, CO 80307-3000 http://www.unidata.ucar.edu/
---------------------------------------------------------------------------