Editing the file attachments allow list in Jama Connect 2015.5 and older

Options
Jason Ritz
Jason Ritz Jama Staff, Data Exchange, Automotive Solution, Medical Devices & Life Sciences Solution, Robotics Solution, Airborne Systems, Jama Connect Interchange™ (JCI), Jama Validation Kit (JVK) + Functional Safety Kit (FSK) Posts: 3
edited October 2021 in

For our self-hosted customers that use any Jama Connect 8.X, adding a file type to the attachments allow list 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 allow list 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!