It is possible to configure Focal Point to store files (attachments) outside the database (file system)?

Technote (FAQ)


Question

It is possible to configure Focal Point to store files (attachments) outside the database (file system)?

Answer

Yes, this is possible. In order to limit the size of the database, and to provide extra flexibility, a new file storage option is introduced.
 
To store files on the file system (rather than in the database)
  1. Browse to the path C:\Program Files\Apache Software Foundation\Tomcat 5.5\conf\Catalina\localhost
  2. Edit fp.xml in Notepad look for the below lines and change it to as shown below:

<Resource name="focalpoint/filestorage" auth="Container"
type="se.focalpoint.dsp.FileStorage" factory="se.focalpoint.dsp.FileStorageFacto
ry" storageClassName="se.focalpoint.dsp.FileStorageDB" basePath="C:\Program Files\Telelogic\Focal Point 5.3\files" />

to

<Resourcename="focalpoint/filestorage" auth="Container"
type="se.focalpoint.dsp.FileStorage" factory="se.focalpoint.dsp.FileStorageFacto
ry" storageClassName="se.focalpoint.dsp.FileStorageFS" basePath="<filedir>" />

Replace <filedir> with the directory where you want to store your files. This is the directory that must be backed up separately.

Note: If the application already contains files before changing to storing files on the file system, the existing files must be extracted from the database. Do so by downloading filestofiles.zip from attachments section and follow the instructions in the included Readme file.  
 

filestofiles.zip

Historical Number

11517

Rate this page:

(0 users)Average rating

Document information


More support for:

Rational Focal Point
General Information

Software version:

Version Independent

Operating system(s):

Windows

Reference #:

1324230

Modified date:

2009-06-30

Translate my page

Machine Translation

Content navigation