Changes between Version 2 and Version 3 of HowToRunMultipleGeonetworkInstancesUnderJetty


Ignore:
Timestamp:
11/07/13 09:04:17 (11 years ago)
Author:
ticheler
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • HowToRunMultipleGeonetworkInstancesUnderJetty

    v2 v3  
    1111__Worked example__
    1212
    13 I have two branded geonetwork installs (based on 2.6.0 and 2.6.1) running on localhost 8080 and 8081, which I want to be visible at /261/xmleditor and /260/xmleditor:
     13I have two branded !GeoNetwork installs (based on 2.6.0 and 2.6.1) running on localhost 8080 and 8081, which I want to be visible at /261/xmleditor and /260/xmleditor:
    1414
    1515My geonetwork.xml in my geonetwork.2.6.1 install is as follows.  There is a very similar(!) one in my 2.6.0 install:
    1616
     17
     18{{{
    1719<?xml version="1.0"  encoding="ISO-8859-1"?>
    1820<!DOCTYPE Configure PUBLIC "-//Mort Bay Consulting//DTD Configure//EN" "http://jetty.mortbay.org/configure.dtd">
     
    2123  <Set name="war"><SystemProperty name="jetty.home" default="."/>/../web/geonetwork/</Set>
    2224</Configure>
     25}}}
    2326
    24 In Apache's ProxyPass and ProxyPassReverse settings, make your localhost context the same as your public context. 
     27In Apache's !ProxyPass and !ProxyPassReverse settings, make your localhost context the same as your public context. 
    2528
     29{{{
    2630ProxyPass /261/xmleditor http://localhost:8080/261/xmleditor
    27 
    2831ProxyPassReverse /261/xmleditor http://localhost:8080/261/xmleditor
    2932
    3033ProxyPass /260/xmleditor http://localhost:8081/260/xmleditor
    31 
    3234ProxyPassReverse /260/xmleditor http://localhost:8081/260/xmleditor
    33 
     35}}}
    3436
    3537I have added –Djetty.port=8080 (or 8081 for the other one) to the java line in bin/start-geonetwork.sh