Apache Commons DBCP default configuration for DSpace

2020-12-05 Thread Hrafn Malmquist
Good day I'm wondering what are desirable defaults for a DSpace, open source digital repository software aimed especially at academic, non-profit, and commercial organizations (see https://duraspace.org/dspace/). DSpace supports both Postgres and Oracle and recommends Tomcat, Jetty or Caucho Res

Re: Problems configuring a JNDI JDBC pool to Postgres

2020-11-27 Thread Hrafn Malmquist
/11/2020 22:52, Hrafn Malmquist wrote: > > A > > > > How silly of me. It's right there staring me in the face nested inside > the > > host in server.xml, right? > > Right. > > The changes to GlobalResources look good. > > You'll probably wan

Re: Problems configuring a JNDI JDBC pool to Postgres

2020-11-26 Thread Hrafn Malmquist
A How silly of me. It's right there staring me in the face nested inside the host in server.xml, right? So, best practice is to remove contexts from host and place either under [engine]/[host] or directly in META-INF in app? On Thu, Nov 26, 2020 at 10:43 PM Hrafn Malmquist wrote: &g

Re: Problems configuring a JNDI JDBC pool to Postgres

2020-11-26 Thread Hrafn Malmquist
alhost, but I changed to "dspace/webapps". No change when I restart Tomcat. Under /home/lib/dspace/apache-tomcat-9.0.12/conf/Catalina there are folders for the hosts that have been set up on the server but none of them contain files. I am not sure where to look elsewhere for this Context el

Problems configuring a JNDI JDBC pool to Postgres

2020-11-26 Thread Hrafn Malmquist
Good day fellow Apache Tomcat users I have recently had reason to set a Postgres DataSource via the Tomcat JNDI api. My experiments have been largely unsuccessful, unfortunately I hope you are able to help me. I thank you in advance for taking the time to read this. I am coming to this problem in