source: main/trunk/greenstone3/resources/tomcat/greenstone3.xml.in@ 28905

Last change on this file since 28905 was 28905, checked in by kjdon, 10 years ago

Configuration files that may be edited by the user, and that need some regex search and replace done at startup time now are insvn as a .in file. On ant prepare, these are copied to a version without the .in, in the same folder as original. User can edit these new versions here, then on ant start, they get copied to their correct place in web, with replacements done on them.

  • Property svn:keywords set to Author Date Id Revision
File size: 1.3 KB
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 <!-- Session Manager. Default values are used. See
19 packages/tomcat/webapps/docs/config/manager.html for more info.
20 Pathname may be absolute, or relative to greenstone3 context work
21 directory: packages/tomcat/work/Catalina/localhost/greenstone3.
22 Set pathname="" to disable storing session info between restarts.
23 To manually clear session info, stop Tomcat and delete the session
24 file. -->
25 <Manager pathname="SESSIONS.ser" />
26</Context>
Note: See TracBrowser for help on using the repository browser.