Customizing Scarab

There are a number of ways of customizing Scarab.

Changing the Context Scarab runs under

By default, Scarab runs under the context "scarab", so URLS look like

http://myserver:8080/scarab/servlet/scarab
To change this, you will need to update the following files:
/src/WEB-INF/web.xml
Change the servlet-name from Scarab to whatever you want.
You will also need to update the various servlet-mapping's servlet-name and url-pattern tags as well.

/tomcat/webapps/scarab.xml
You will need to update the path that Scarab is running under here as well.

Changing the redirect

To change the redirect for scarab from the default value of:

/scarab/issues
You will need to update the following files:
/src/webapp/index.html
/src/webapp/index.jsp

Changing Maximum Filesize

If the default filesize is too large or too small, then you can change it by updating these files:

/WEB-INF/conf/TurbineResources.properties
/WEB-INF/conf/intake.xml
You will need to update the following parameters
services.UploadService.size.max
intake_MaxFileUploadSizeExceeded