Editing the file attachments whitelist in Jama Connect 2015.5 and older

By Jason posted 30 days ago

  

For our self-hosted customers that use any Jama Connect 8.X, adding a file type to the attachments whitelist is as easy as logging in as the root user and editing the list under System Properties. 

For our customers that are hosting their own Jama Connect version 2015.5 or older, it’s a bit more involved. You’ll need to edit the contour-service-attachment.xml file. To do this you’ll need to:

 Stop the Tomcat server 


systemctl stop tomcat

  1. Take a backup of contour-service-attachment.xml, located on the application server in {tomcat_home} > webapps > contour > WEB-INF > classes > context.
  2. Search for the following line: <bean id="fileExtensionWhitelist" class="java.lang.String"> in the contour-service-attachment.xml file.
  3. Add the new file extension to the existing whitelist in between the <value></value> tags.

    Tags
  4. Restart Tomcat

    systemctl start tomcat

 

That’s all there is to it. Now go add some attachment types!

 

0 comments
7 views