datadryad / vagrant-dryad

Vagrant and Ansible config for building a (v1) Dryad VM
0 stars 4 forks source link

dspace.baseUrl needs to be set in settings.xml.j2 #29

Closed jar398 closed 6 years ago

jar398 commented 9 years ago

It needs to include the port; otherwise SWORD deposit doesn't work. Something like

    <default.dspace.baseUrl>http://{{ dryad.hostname }}:{{ dryad.port }}</default.dspace.baseUrl>

although I haven't tested this.

I don't understand how this stuff is processed but I wonder if, given the above, the setting of default.db.url can be removed from settings.xml.j2, given that in dpsace.cfg it's set from dspace.baseUrl.

jar398 commented 9 years ago

Oh, I see, if the port is 80 then you don't want to put the :80 in the URL... so maybe just

<default.dspace.baseUrl>{{ dryad.url }}</default.dspace.baseUrl>
jar398 commented 9 years ago

dspace.url also needs to include the port number (when it's not port 80). I'm doing the following

dspace.url = ${dspace.baseUrl}

ryscher commented 6 years ago

This issue is no longer relevant.