Project

General

Profile

« Previous | Next » 

Revision 7743

use relative path for oa4mp_client.xml (within servlet context). https://projects.ecoinformatics.org/ecoinfo/issues/5936

View differences:

web.xml.tomcat6
293 293
	<servlet>
294 294
        <servlet-name>startRequest</servlet-name>
295 295
        <servlet-class>edu.ucsb.nceas.metacat.portal.StartRequest</servlet-class>
296
        <load-on-startup>1</load-on-startup>
296
        <load-on-startup>0</load-on-startup>
297 297
    </servlet>
298 298
    <servlet-mapping>
299 299
        <servlet-name>startRequest</servlet-name>
......
303 303
    <servlet>
304 304
        <servlet-name>ready</servlet-name>
305 305
        <servlet-class>edu.ucsb.nceas.metacat.portal.SuccessServlet</servlet-class>
306
        <load-on-startup>1</load-on-startup>
306
        <load-on-startup>0</load-on-startup>
307 307
    </servlet>
308 308
    <servlet-mapping>
309 309
        <servlet-name>ready</servlet-name>
......
313 313
    <servlet>
314 314
        <servlet-name>error</servlet-name>
315 315
        <servlet-class>edu.ucsb.nceas.metacat.portal.FailureServlet</servlet-class>
316
        <load-on-startup>1</load-on-startup>
316
        <load-on-startup>0</load-on-startup>
317 317
    </servlet>
318 318
    <servlet-mapping>
319 319
        <servlet-name>error</servlet-name>
......
331 331
	<!-- TODO: make relative path if possible -->
332 332
	<context-param>
333 333
        <param-name>oa4mp:client.config.file</param-name>
334
        <param-value>/var/lib/tomcat6/webapps/knb/WEB-INF/oa4mp_client.xml</param-value>
334
        <param-value>/WEB-INF/oa4mp_client.xml</param-value>
335 335
    </context-param>
336 336
    
337 337
    <!-- end MyProxy section -->

Also available in: Unified diff