Editing the file attachments allow list in Jama Connect 2015.5 and older
Options
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
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
- Take a backup of contour-service-attachment.xml, located on the application server in {tomcat_home} > webapps > contour > WEB-INF > classes > context.
- Search for the following line:
<bean id="fileExtensionWhitelist" class="java.lang.String">
in the contour-service-attachment.xml file. - Add the new file extension to the existing allow list in between the <value></value> tags.
- Restart Tomcat
systemctl start tomcat
That’s all there is to it. Now go add some attachment types!
1