Hello,

sorry that was not right, should have read more carefully or looked at
our installation

"# In the event that you are not deploying DSpace as the ROOT
# application in the servlet container, this will generate
# incorrect URLs, and you should override the functionality
# by specifying in full as below:
# collection.url = http://www.myu.ac.uk/swordv2/collection";

So having deployed
swordv2 as swordv2
and the UI as someui which is not ROOT, you got to specify the complete
path in swordv2-server.cfg like
url = https://someurl/swordv2
collection.url  = https://someurl/swordv2/collection
and so on

Hope this helps

Claudia Jürgen





Am 14.11.2017 um 09:18 schrieb Claudia Jürgen:
Hello,

if you are not deploying dspace as the root application, you got to
specify the paths in swordv2-server.cfg.
So you got
dspace.url = https://somedomain.de/xmlui

then you got to use this in the sword configuration like
servicedocument.url = https://somedomain.de/xmlui/servicedocument

Hope this helps

Claudia Jürgen



Am 14.11.2017 um 09:01 schrieb [email protected]:
Hello,

I am trying to enable the swordv2 interface in our dspace 5
installation,
hoewever the servicedocument can not be found when i enterr the url (see
below) in my browser.


This is the sword specific *output of tomcat* after restart:


Nov 14 08:10:33 ub11 server: INFORMATION: Deploying web application
directory /data/dspace/webapps-deploy/swordv2
Nov 14 08:10:37 ub11 server: INFO [localhost-startStop-1]
(XmlBeanDefinitionReader.java:315) - Loading XML bean definitions
from URL
[jar:file:/data/dspace/webapps/swordv2/WEB-INF/lib/additions-5.3.jar!/spring/spring-dspace-addon-example-services.xml]
Nov 14 08:10:37 ub11 server: INFO [localhost-startStop-1]
(XmlBeanDefinitionReader.java:315) - Loading XML bean definitions
from URL
[jar:file:/data/dspace/webapps/swordv2/WEB-INF/lib/dspace-api-5.3.jar!/spring/spring-dspace-addon-sherpa-configuration-services.xml]
Nov 14 08:10:37 ub11 server: INFO [localhost-startStop-1]
(XmlBeanDefinitionReader.java:315) - Loading XML bean definitions
from URL
[jar:file:/data/dspace/webapps/swordv2/WEB-INF/lib/dspace-api-5.3.jar!/spring/spring-dspace-addon-requestitem-services.xml]
Nov 14 08:10:37 ub11 server: INFO [localhost-startStop-1]
(XmlBeanDefinitionReader.java:315) - Loading XML bean definitions
from URL
[jar:file:/data/dspace/webapps/swordv2/WEB-INF/lib/dspace-api-5.3.jar!/spring/spring-dspace-addon-sherpa-services.xml]
Nov 14 08:10:37 ub11 server: INFO [localhost-startStop-1]
(XmlBeanDefinitionReader.java:315) - Loading XML bean definitions
from URL
[jar:file:/data/dspace/webapps/swordv2/WEB-INF/lib/dspace-api-5.3.jar!/spring/spring-dspace-addon-discovery-services.xml]
Nov 14 08:10:37 ub11 server: INFO [localhost-startStop-1]
(XmlBeanDefinitionReader.java:315) - Loading XML bean definitions
from URL
[jar:file:/data/dspace/webapps/swordv2/WEB-INF/lib/dspace-api-5.3.jar!/spring/spring-dspace-core-services.xml]
Nov 14 08:10:37 ub11 server: INFO [localhost-startStop-1]
(XmlBeanDefinitionReader.java:315) - Loading XML bean definitions
from URL
[jar:file:/data/dspace/webapps/swordv2/WEB-INF/lib/dspace-services-5.3.jar!/spring/spring-dspace-core-services.xml]
Nov 14 08:10:37 ub11 server: INFO [localhost-startStop-1]
(DefaultListableBeanFactory.java:623) - Overriding bean definition
for bean 'org.dspace.identifier.IdentifierService': replacing
[Generic bean: class [org.dspace.identifier.IdentifierServiceImpl];
scope=singleton; abstract=false; lazyInit=false; autowireMode=2;
dependencyCheck=0; autowireCandidate=true; primary=false;
factoryBeanName=null; factoryMethodName=null; initMethodName=null;
destroyMethodName=null; defined in URL
[jar:file:/data/dspace/webapps/swordv2/WEB-INF/lib/dspace-api-5.3.jar!/spring/spring-dspace-core-services.xml]]
with [Generic bean: class
[org.dspace.identifier.IdentifierServiceImpl]; scope=singleton;
abstract=false; lazyInit=false; autowireMode=2; dependencyCheck=0;
autowireCandidate=true; primary=false; factoryBeanName=null;
factoryMethodName=null; initMethodName=null; destroyMethodName=null;
defined in file [/opt/dspace/config/spring/api/identifier-service.xml]]
Nov 14 08:10:37 ub11 server: INFO [localhost-startStop-1]
(DefaultListableBeanFactory.java:623) - Overriding bean definition
for bean 'org.dspace.app.requestitem.RequestItemAuthorExtractor':
replacing [Generic bean: class
[org.dspace.app.requestitem.RequestItemMetadataStrategy]; scope=;
abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0;
autowireCandidate=false; primary=false; factoryBeanName=null;
factoryMethodName=null; initMethodName=null; destroyMethodName=null;
defined in URL
[jar:file:/data/dspace/webapps/swordv2/WEB-INF/lib/dspace-api-5.3.jar!/spring/spring-dspace-addon-requestitem-services.xml]]
with [Generic bean: class
[org.dspace.app.requestitem.RequestItemMetadataStrategy]; scope=;
abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0;
autowireCandidate=false; primary=false; factoryBeanName=null;
factoryMethodName=null; initMethodName=null; destroyMethodName=null;
defined in file [/opt/dspace/config/spring/api/requestitem.xml]]
Nov 14 08:10:37 ub11 server: INFO [localhost-startStop-1]
(DefaultListableBeanFactory.java:623) - Overriding bean definition
for bean
'org.dspace.app.sherpa.submit.SHERPASubmitConfigurationService':
replacing [Generic bean: class
[org.dspace.app.sherpa.submit.SHERPASubmitConfigurationService];
scope=; abstract=false; lazyInit=false; autowireMode=0;
dependencyCheck=0; autowireCandidate=true; primary=false;
factoryBeanName=null; factoryMethodName=null; initMethodName=null;
destroyMethodName=null; defined in URL
[jar:file:/data/dspace/webapps/swordv2/WEB-INF/lib/dspace-api-5.3.jar!/spring/spring-dspace-addon-sherpa-configuration-services.xml]]
with [Generic bean: class
[org.dspace.app.sherpa.submit.SHERPASubmitConfigurationService];
scope=; abstract=false; lazyInit=false; autowireMode=0;
dependencyCheck=0; autowireCandidate=true; primary=false;
factoryBeanName=null; factoryMethodName=null; initMethodName=null;
destroyMethodName=null; defined in file
[/opt/dspace/config/spring/api/sherpa.xml]]
Nov 14 08:10:38 ub11 server: INFORMATION: Deployment of web
application directory /data/dspace/webapps-deploy/swordv2 has
finished in 5,024 ms


This is my *swordv2-server.cfg*:

url = https://somedomain.de/swordv2
collection.url = https://somedomain.de/swordv2/collection
servicedocument.url = https://somedomain.de/swordv2/servicedocument


This is from *dspace.cfg*:

dspace.hostname = somedomain.de
dspace.baseUrl = https://somedomain.de
dspace.url = https://somedomain.de/xmlui


I have replaced my real domain with 'somedomain.de'


When i call somedomain.de/swordv2/servicedocument I get an http 404
Not Found error.

*Can somebody please give me any hints as to what could be the problem?*


--
Claudia Juergen
Eldorado

Technische Universität Dortmund
Universitätsbibliothek
Vogelpothsweg 76
44227 Dortmund

Tel.: +49 231-755 40 43
Fax: +49 231-755 40 32
[email protected]
www.ub.tu-dortmund.de


Wichtiger Hinweis: Die Information in dieser E-Mail ist vertraulich.
Sie ist ausschließlich für den Adressaten bestimmt. Sollten Sie nicht
der für diese E-Mail bestimmte Adressat sein, unterrichten Sie bitte
den Absender und vernichten Sie diese Mail. Vielen Dank.
Unbeschadet der Korrespondenz per E-Mail, sind unsere Erklärungen
ausschließlich final rechtsverbindlich, wenn sie in herkömmlicher
Schriftform (mit eigenhändiger Unterschrift) oder durch Übermittlung
eines solchen Schriftstücks per Telefax erfolgen.

Important note: The information included in this e-mail is
confidential. It is solely intended for the recipient. If you are not
the intended recipient of this e-mail please contact the sender and
delete this message. Thank you. Without prejudice of e-mail
correspondence, our statements are only legally binding when they are
made in the conventional written form (with personal signature) or
when such documents are sent by fax.


--
Claudia Juergen
Eldorado

Technische Universität Dortmund
Universitätsbibliothek
Vogelpothsweg 76
44227 Dortmund

Tel.: +49 231-755 40 43
Fax: +49 231-755 40 32
[email protected]
www.ub.tu-dortmund.de

Wichtiger Hinweis: Die Information in dieser E-Mail ist vertraulich. Sie ist 
ausschließlich für den Adressaten bestimmt. Sollten Sie nicht der für diese 
E-Mail bestimmte Adressat sein, unterrichten Sie bitte den Absender und 
vernichten Sie diese Mail. Vielen Dank.
Unbeschadet der Korrespondenz per E-Mail, sind unsere Erklärungen 
ausschließlich final rechtsverbindlich, wenn sie in herkömmlicher Schriftform 
(mit eigenhändiger Unterschrift) oder durch Übermittlung eines solchen 
Schriftstücks per Telefax erfolgen.

Important note: The information included in this e-mail is confidential. It is 
solely intended for the recipient. If you are not the intended recipient of 
this e-mail please contact the sender and delete this message. Thank you. 
Without prejudice of e-mail correspondence, our statements are only legally 
binding when they are made in the conventional written form (with personal 
signature) or when such documents are sent by fax.

--
You received this message because you are subscribed to the Google Groups "DSpace 
Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.

Reply via email to