On 26/11/2020 22:52, Hrafn Malmquist wrote:
> Ahhhh
> 
> 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 want to revert the change you made to appBase.

> So, best practice is to remove contexts from host and place either under
> [engine]/[host] or directly in META-INF in app?

Generally, yes although I'd recommend changing one thing at a time so
get the DataSource working before you start moving config files around.

You'll want something like:

<Context path="" docBase="/dspace/webapps/xmlui">
    <ResourceLink name="jdbc/dspace"
                  global="jdbc/dspaceWeb"
                  type="javax.sql.DataSource"
                  />
</Context>

in server.xml

Mark


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to