On Fri, Apr 26, 2013 at 08:33:29AM +0200, Hilton Gibson wrote: [on a tangent] > Perhaps when a config database is used then things will get better. > > In my opinion, all DSpace needs to know are the database connection > parameters, then from there all other configs can be stored, just like with > other LAMP stack webapps.
[continuing the tangent] Not even that much, really. You can pass a pre-configured connection pool in through JNDI. I've begun doing this, using a Tomcat <Resource>definition and Tomcat 7's own pool instead of DBCP. So far it's working well. I hope that this will let me tune the parameters in dspace.cfg for the commandline tools, which probably want quite different settings. It also lets all the webapp.s share a single pool, which may let me economize somewhat on connections. However, some of the DSpace configuration is necessarily structured in ways that make it ugly and hard to understand when shoehorned into tabular form. We may want to think some more about how individual configuration items are persisted, and concentrate on revamping the consuming code to cope with runtime-mutable configuration and lack of any configuration, so that we can build UI to populate whatever persistence format(s) we think best for each. -- Mark H. Wood, Lead System Programmer [email protected] Machines should not be friendly. Machines should be obedient.
signature.asc
Description: Digital signature
------------------------------------------------------------------------------ Try New Relic Now & We'll Send You this Cool Shirt New Relic is the only SaaS-based application performance monitoring service that delivers powerful full stack analytics. Optimize and monitor your browser, app, & servers with just a few lines of code. Try New Relic and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
_______________________________________________ DSpace-tech mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

