Issue Details (XML | Word | Printable)

Key: JRA-3141
Type: Improvement Improvement
Status: Open Open
Priority: Major Major
Assignee: Unassigned
Reporter: Ihab A.B. Awad
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
JIRA

Decouple database and app server

Created: 13/Feb/04 12:28 PM   Updated: 20/Oct/04 02:40 AM
Component/s: Backend / Domain Model
Affects Version/s: 2.5.2 Professional
Fix Version/s: None

Time Tracking:
Not Specified

Environment: Using 2.5.2-b2 with bundled (standalone) Tomcat. JDK 1.4.x on Mac OS X 10.3 "Jaguar".
Issue Links:
Reference
 

Participants: Ihab A.B. Awad and Jeff Turner [Atlassian]
Since last comment: 4 years, 20 weeks, 1 day ago
Labels:


 Description  « Hide
When I look at the database contents, the paths for the indexes, backups and attachments are stored in the tables (in PROPERTYSTRING). This couples the database contents with the application server, which violates encapsulation – the database now has a reverse dependency on the configuration details of the application server. This has the very practical implications that moving to a new machine or deployment directory for the application server requires some [afaik undocumented] monkeying around with the paths stored in the database.

(a) If the information pertains to the paths into which the application server is deployed, it should be in the XML configuration descriptors in the webapp.

(b) Attachments are pretty important information anyway, so they should really be in the database. See issue JRA-806.

(c) It would be lovely if the indexes were also stored in the database. (This is possible using Lucene, right?) But it would be an ok solution too if they were stored with the app server – but only if the relevant path was in the app server config, and they were regenerated as needed.



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Jeff Turner [Atlassian] added a comment - 20/May/04 09:37 PM
Hmm, how about if JIRA checks the JNDI tree for parameters specifying index and attachment paths, and if set, uses them (and makes those screens in the web interface read-only)?