source: main/trunk/greenstone3/resources/tomcat/greenstone3.xml@ 28296

Last change on this file since 28296 was 28296, checked in by jlwhisler, 11 years ago

Removed a deprecated comment. The context path is no longer defined in server.xml. Instead, resources/tomcat/(context).xml is the file that specifies the context path. Specifically, it is the NAME of this file that determines the context path, not any path attributes tothe Context element in the file (such an attribute is actually not allowed for individual context.xml files, according to http://tomcat.apache.org/tomcat-5.5-doc/config/context.html). By default the context.xml file for GS3 is greenstone3.xml, so the default context path is greenstone3. We'll be making some commits shortly that will allow this to be changed via build.properties.

  • Property svn:keywords set to Author Date Id Revision
File size: 863 bytes
Line 
1<!-- set allowLinking to true if you want to use symlinks to files or directories outside the docBase directory -->
2<!-- set reloadable to false for a production version. if true, automatically reloads the webapp if it detects changes in classes or lib directories -->
3<!-- see http://tomcat.apache.org/tomcat-5.5-doc/config/context.html for more Context attributes -->
4
5<Context
6 docBase="@gsdl3webwritablehome@"
7 aliases="/interfaces=@gsdl3webhome@/interfaces,/sites=@gsdl3webhome@/sites"
8 debug="1" reloadable="true"
9 @privilegedattribute@
10 allowLinking="false">
11
12 <Realm className="org.apache.catalina.realm.JDBCRealm"
13 driverName="org.apache.derby.jdbc.EmbeddedDriver"
14 connectionURL="jdbc:derby:@gsdl3webhome@/etc/usersDB"
15 userTable="users" userNameCol="username" userCredCol="password"
16 userRoleTable="roles" roleNameCol="role"
17 />
18</Context>
Note: See TracBrowser for help on using the repository browser.