Consult the Apache Tomcat 7 documentation for details on how to configure your server.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | <? xml version = "1.0" encoding = "UTF-8" ?> < Server > < Service name = "MPI-1" > <!-- Define a non-SSL HTTP/1.1 Connector on port 8080 --> < Connector port = "8080" protocol = "HTTP/1.1" URIEncoding = "UTF-8" /> <!-- Define an AJP 1.3 Connector on port 8009 --> < Connector secretRequired = "false" port = "8009" protocol = "AJP/1.3" URIEncoding = "UTF-8" /> < Engine defaultHost = "localhost" name = "MPI-1" > < Host name = "localhost" > <!-- Write an access log --> < Valve className = "org.apache.catalina.valves.AccessLogValve" pattern = "common" /> <!-- Modify ${mpi.home}/currencies/org/joda/money/MoneyDataExtension.csv to override/extend currencies and their exponents --> <!-- Modify ${mpi.home}/countries/com/netcetera/country/CountriesDataExtension.csv to override/extend countries --> < Context path = "/mpi" > < Loader className = "org.apache.catalina.loader.VirtualWebappLoader" virtualClasspath = "${mpi.home}/currencies/;${mpi.home}/countries/" /> </ Context > </ Host > </ Engine > </ Service > </ Server > |