[dspace-tech] Sword protocol 1.1 with DSpace 5.7

2017-09-07 Thread luskaner
Hello:

How can I make a working Sword 1.1 protocol server linked to DSpace 5.7?. 
As far as I have looked the included Sword 1.3 no longer has the search 
function (and interface) that Sword 1.1 has.

Thanks in advance.

-- 
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 dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


Re: [dspace-tech] Changing Messages.properties file and updates not visible

2017-09-07 Thread Lewatle Johannes Phaladi
Hi Claudia,

Thanks a lot for your reply on my server : $ls -l 
/dspace-6.0-src-release/dspace/modules/jspui/src/main/resources/
total 0
the directory is empty, I will copy 
[dspace-source]/dspace-api/src/main/resources/Messages.properties to 
/dspace-6.0-src-release/dspace/modules/jspui/src/main/resources/ 

so that I will edit 
/dspace-6.0-src-release/dspace/modules/jspui/src/main/resources/Messages.properties

then rebuild as you have clearly indicated.

Regards,
Lewatle 


On Wednesday, 6 September 2017 12:47:52 UTC+2, Claudia Jürgen wrote:
>
> Hello Lewatle,
>
> best customize the message catalogue in 
> [dspace-source]/dspace/modules/jspui/src/main/resources/
> as describe in:
>
> https://wiki.duraspace.org/display/DSDOC6x/Localization+L10n#LocalizationL10n-JSPUIspecificlocalization
>
> Then you got to rebuild (mvn package, ant update, deploy webapp) your 
> appliction as described in:
>
> https://wiki.duraspace.org/display/DSDOC6x/JSPUI+Configuration+and+Customization
>
> Hope this helps
>
> Claudia Jürgen
>
>
> Am 06.09.2017 um 10:57 schrieb Lewatle Johannes Phaladi:
>
> Hi Team, 
>
> I have tried to edit 
> [dspace-source]/dspace-api/src/main/resources/Messages.properties 
> and changed the word DSpace to InstitutionTestSystem
> Communities in DSpace to Communities in InstitutionTestSystem 
> also changed sign on to My DSpace to sign on to InstitutionTestSystem
>
> I have then shutdown tomcat and run the following command 
>
> /dspace-6.0-src-release/dspace/target/dspace-installer$ ant update 
>
>
> I did not run mvn package please advise because there is no changes 
> happened on DSpace web interface the wording still says My DSpace, 
> Comminities in DSpace etc. 
>
> please share step by stem to enable word changes on JSPUI web interface 
> using DSpace 6.0
>
> Regards,
> Lewatle 
>
>
>
>
>
> -- 
> Claudia Juergen
> Eldorado
>
> Technische Universität Dortmund
> Universitätsbibliothek
> Vogelpothsweg 76
> 44227 Dortmund
>
> Tel.: +49 231-755 40 43
> Fax: +49 231-755 40 32claudia...@tu-dortmund.de 
> 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 dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


Re: [dspace-tech] Changing Messages.properties file and updates not visible

2017-09-07 Thread Claudia Jürgen

Hi Lewatle,

per default nothing is alread in the overlay section you always got to
copy the things you wish to overlay be it the message catalogue or som
jsps etc. over.

Sunny greetings

Claudia Jürgen


Am 07.09.2017 um 11:39 schrieb Lewatle Johannes Phaladi:

Hi Claudia,

Thanks a lot for your reply on my server : $ls -l
/dspace-6.0-src-release/dspace/modules/jspui/src/main/resources/
total 0
the directory is empty, I will copy
[dspace-source]/dspace-api/src/main/resources/Messages.properties to
/dspace-6.0-src-release/dspace/modules/jspui/src/main/resources/

so that I will edit
/dspace-6.0-src-release/dspace/modules/jspui/src/main/resources/Messages.properties

then rebuild as you have clearly indicated.

Regards,
Lewatle


On Wednesday, 6 September 2017 12:47:52 UTC+2, Claudia Jürgen wrote:

Hello Lewatle,

best customize the message catalogue in
[dspace-source]/dspace/modules/jspui/src/main/resources/
as describe in:

https://wiki.duraspace.org/display/DSDOC6x/Localization+L10n#LocalizationL10n-JSPUIspecificlocalization

Then you got to rebuild (mvn package, ant update, deploy webapp) your
appliction as described in:

https://wiki.duraspace.org/display/DSDOC6x/JSPUI+Configuration+and+Customization

Hope this helps

Claudia Jürgen


Am 06.09.2017 um 10:57 schrieb Lewatle Johannes Phaladi:

Hi Team,

I have tried to edit
[dspace-source]/dspace-api/src/main/resources/Messages.properties
and changed the word DSpace to InstitutionTestSystem
Communities in DSpace to Communities in InstitutionTestSystem
also changed sign on to My DSpace to sign on to InstitutionTestSystem

I have then shutdown tomcat and run the following command

/dspace-6.0-src-release/dspace/target/dspace-installer$ ant update


I did not run mvn package please advise because there is no changes
happened on DSpace web interface the wording still says My DSpace,
Comminities in DSpace etc.

please share step by stem to enable word changes on JSPUI web interface
using DSpace 6.0

Regards,
Lewatle





--
Claudia Juergen
Eldorado

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

Tel.: +49 231-755 40 43
Fax: +49 231-755 40 32claudia...@tu-dortmund.de 
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
claudia.juer...@tu-dortmund.de
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 dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


[dspace-tech] passing ssl client certificate from Apache to Dspace

2017-09-07 Thread Paul Warner
Hi,

I have configured Apache with ssl using a self-signed certificate, and then 
generated a client certificate from the server certificate.  With 
SSLVerifyClient set to 'require', I can get to Dspace only from a browser 
with the client certificate installed.  So it works!

But getting Dspace to recognize the certificate is my problem. When I try 
to login with the certificate, at https://myserver/jspui/certificate-login, 
I get the message: 'You do not seem to have a valid Web certificate.'   I 
am running Apache 2.4.18, Apache Tomcat/8.5.15, and Dspace 6.1 on Ubuntu 
16.04.

In my apache conf, I have SSLOptions StdEnvVars ExportCertData.

I loaded my client.crt certificate into the tomcat keystore, following the 
directions in https://wiki.duraspace.org/display/DSDOC6x/Installing+DSpace:

Optional – ONLY if you need to accept client certificates for the X.509 
certificate stackable authentication module See the configuration section 
for instructions on enabling the X.509 authentication method. Load the 
keystore with the CA (certifying authority) certificates for the 
authorities of any clients whose certificates you wish to accept. For 
example, assuming the client CA certificate is in *client1.pem*:


$JAVA_HOME/bin/keytool -import -noprompt -storepass changeit
-trustcacerts -keystore $CATALINA_BASE/conf/keystore  -alias client1
-file client1.pem

I have set authentication.cfg so it includes X509 authentication:

plugin.sequence.org.dspace.authenticate.AuthenticationMethod = 
org.dspace.authenticate.PasswordAuthentication,org.dspace.authenticate.X509Authentication

I have set authentication-x509.cfg to include the keystore and password:

authentication-x509.keystore.path = /opt/tomcat/conf/keystore
authentication-x509.keystore.password = changeit

What am I missing?

Thanks,
Paul



-- 
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 dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


Re: [dspace-tech] value separator for batch import

2017-09-07 Thread dspace . user0
Thanks Claudia Jürgen for reply but that is field separator and I want 
value separator. What if I have two author, how to add them in item 
separately.? 


On Wednesday, September 6, 2017 at 4:29:09 PM UTC+5:30, Claudia Jürgen 
wrote:
>
> Hello, 
>
> csvDataLoader uses the default separater "," 
> see 
> https://wiki.duraspace.org/pages/viewpage.action?pageId=45548176 
>
> Hope this helps 
>
> Claudia Jürgen 
>
>
> Am 06.09.2017 um 09:45 schrieb dspace...@gmail.com : 
> > Hello, 
> > 
> > I am using Administrator > content > Batch Import (not import metadata 
> or 
> > batch metadata edit) functionality. In which I am selecting CSV format. 
> > what is the value separator (Double pipe "||" not working)?? 
> > 
> > version : DSpace 5.X 
> > Interface :JSPUI 
> > File Type : CSV (comma delimited) 
> > 
> > 
> > 
>
> -- 
> 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 
> claudia...@tu-dortmund.de  
> 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 dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


Re: [dspace-tech] value separator for batch import

2017-09-07 Thread Claudia Jürgen

Hi,

sorry should have read more thoroughly.

The || as valueSeparator is only used in batch metadata editing and
configured in
https://github.com/DSpace/DSpace/blob/dspace-5_x/dspace/config/modules/bulkedit.cfg#L9

The csv data loader valueSeparator is set here:
https://github.com/DSpace/DSpace/blob/dspace-5_x/dspace/config/spring/api/bte.xml#L282
If you do not want to use the default one you may add a property.

Hope this helps

Claudia Jürgen


Am 07.09.2017 um 14:36 schrieb dspace.us...@gmail.com:

Thanks Claudia Jürgen for reply but that is field separator and I want
value separator. What if I have two author, how to add them in item
separately.?


On Wednesday, September 6, 2017 at 4:29:09 PM UTC+5:30, Claudia Jürgen
wrote:

Hello,

csvDataLoader uses the default separater ","
see
https://wiki.duraspace.org/pages/viewpage.action?pageId=45548176

Hope this helps

Claudia Jürgen


Am 06.09.2017 um 09:45 schrieb dspace...@gmail.com :

Hello,

I am using Administrator > content > Batch Import (not import metadata

or

batch metadata edit) functionality. In which I am selecting CSV format.
what is the value separator (Double pipe "||" not working)??

version : DSpace 5.X
Interface :JSPUI
File Type : CSV (comma delimited)




--
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
claudia...@tu-dortmund.de 
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
claudia.juer...@tu-dortmund.de
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 dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


[dspace-tech] Re: Unable to locate tools.jar, Buildfile: build.xml does not exist!

2017-09-07 Thread Βασιλική Γώγου
build success on mvn package, but build failled on ant fresh_install.
my local.cfg is attached

root@dima-vm:/dspace-6.1-src-release/dspace/target/dspace-installer# ant 
fresh_install
Buildfile: /dspace-6.1-src-release/dspace/target/dspace-installer/build.xml

init_installation:

prepare_configs:
[mkdir] Created dir: 
/dspace-6.1-src-release/dspace/target/dspace-installer/config-temp
 [copy] Copying 158 files to 
/dspace-6.1-src-release/dspace/target/dspace-installer/config-temp
 [copy] Copying 1 file to 
/dspace-6.1-src-release/dspace/target/dspace-installer/config-temp
 [copy] Copying 16 files to 
/dspace-6.1-src-release/dspace/target/dspace-installer/config-temp

init_configs:
 [copy] Copying 1 file to /dspace/config
   [delete] Deleting directory 
/dspace-6.1-src-release/dspace/target/dspace-installer/config-temp

test_database:
 [java] 2017-09-07 17:22:37,207 WARN 
 org.dspace.services.email.EmailServiceImpl @ Couldn't get an email session 
from environment:  Need to specify class name in environment or system 
property, or as an applet parameter, or in an application resource file: 
 java.naming.factory.initial
 [java]
 [java] Error running 'test':
 [java]  - java.sql.SQLException: Cannot create 
PoolableConnectionFactory (Connection to 192.168.6.232:5432 refused. Check 
that the hostname and port are correct and that the postmaster is accepting 
TCP/IP connections.)
 [java]
 [java] Please see the DSpace documentation for assistance.
 [java]
 [java] java.sql.SQLException: Cannot create PoolableConnectionFactory 
(Connection to 192.168.6.232:5432 refused. Check that the hostname and port 
are correct and that the postmaster is accepting TCP/IP connections.)
 [java] at 
org.apache.commons.dbcp2.BasicDataSource.createPoolableConnectionFactory(BasicDataSource.java:2294)
 [java] 2017-09-07 17:22:38,289 ERROR 
org.dspace.storage.rdbms.DatabaseUtils @ Unable to setup Flyway against 
DSpace database
 [java] java.sql.SQLException: Cannot create PoolableConnectionFactory 
(Connection to 192.168.6.232:5432 refused. Check that the hostname and port 
are correct and that the postmaster is accepting TCP/IP connections.)
 [java] at 
org.apache.commons.dbcp2.BasicDataSource.createPoolableConnectionFactory(BasicDataSource.java:2294)
 [java] at 
org.apache.commons.dbcp2.BasicDataSource.createDataSource(BasicDataSource.java:2039)
 [java] at 
org.apache.commons.dbcp2.BasicDataSource.getConnection(BasicDataSource.java:1533)
 [java] at 
org.dspace.storage.rdbms.DatabaseUtils.setupFlyway(DatabaseUtils.java:473)
 [java] at 
org.dspace.storage.rdbms.DatabaseUtils.main(DatabaseUtils.java:98)
 [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native 
Method)
 [java] at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
 [java] at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 [java] at java.lang.reflect.Method.invoke(Method.java:498)
 [java] at 
org.dspace.app.launcher.ScriptLauncher.runOneCommand(ScriptLauncher.java:229)
 [java] at 
org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:81)
 [java] Caused by: org.postgresql.util.PSQLException: Connection to 
192.168.6.232:5432 refused. Check that the hostname and port are correct 
and that the postmaster is accepting TCP/IP connections.
 [java] at 
org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:265)
 [java] at 
org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:55)
 [java] at 
org.postgresql.jdbc.PgConnection.(PgConnection.java:219)
 [java] at org.postgresql.Driver.makeConnection(Driver.java:407)
 [java] at org.postgresql.Driver.connect(Driver.java:275)
 [java] at 
org.apache.commons.dbcp2.DriverConnectionFactory.createConnection(DriverConnectionFactory.java:39)
 [java] at 
org.apache.commons.dbcp2.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:256)
 [java] at 
org.apache.commons.dbcp2.BasicDataSource.validateConnectionFactory(BasicDataSource.java:2304)
 [java] at 
org.apache.commons.dbcp2.BasicDataSource.createDataSource(BasicDataSource.java:2039)
 [java] at 
org.apache.commons.dbcp2.BasicDataSource.getConnection(BasicDataSource.java:1533)
 [java] at 
org.dspace.storage.rdbms.DatabaseUtils.main(DatabaseUtils.java:105)
 [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native 
Method)
 [java] at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
 [java] at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 [java] at java.lang.reflect.Method.invoke(Method.java:498)
 [java] at 
org.dspace.app.launcher.ScriptLauncher.runOneCommand(ScriptLauncher.java:229)
  

[dspace-tech] Re: Unable to locate tools.jar, Buildfile: build.xml does not exist!

2017-09-07 Thread Βασιλική Γώγου
my local.cfg

Τη Πέμπτη, 17 Αυγούστου 2017 - 1:04:47 π.μ. UTC+3, ο χρήστης Βασιλική Γώγου 
έγραψε:
>
> Hi, 
> I just noticed that the tools.jar and build.xml are missing.
>
> *root@dima-vm:/dspace-6.1-src-release/dspace/target/dspace-installer# ant 
> fresh_install* *Unable to locate tools.jar. Expected to find it in 
> /usr/lib/jvm/java-8-openjdk-amd64/lib/tools.jar* *Buildfile: build.xml 
> does not exist!* *Build failed* 
> root@dima-vm:/dspace-6.1-src-release/dspace/target/dspace-installer#
>
> Any recommedations?
>

-- 
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 dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.
#
# DSpace Configuration
#
# NOTE: The DSpace Configuration File is separated into several sections:
#  * General Configurations
#  * JSPUI & XMLUI Configurations
#  * JSPUI Specific Configurations
#  * XMLUI Specific Configurations
#

#--#
#--GENERAL CONFIGURATIONS--#
#--#
# These configs are used by underlying DSpace API, and are #
# therefore applicable to all interfaces   #
# Local configuration should be made in local.cfg (where possible) #
# Global or more complex configuration can be hardcoded here   #
#--#
# Basic information ##

# DSpace installation directory
# Windows note: Please remember to use forward slashes for all paths (e.g. 
C:/dspace)
dspace.dir = /dspace

# DSpace host name - should match base URL.  Do not include port number.










dspace.hostname = 192.168.6.232

# DSpace base host URL.  Include port number etc.


dspace.baseUrl = http://192.168.6.232:5432

# The user interface you will be using for DSpace. Common usage is either xmlui 
or jspui
dspace.ui = xmlui

# Full link your end users will use to access DSpace. In most cases, this will 
be the baseurl followed by
# the context path to the UI you are using.
#
# Alternatively, you can use a url redirect or deploy the web application under 
the servlet container root.
# In this case, make sure to remove the /${dspace.ui} from the dspace.url 
property.
dspace.url = ${dspace.baseUrl}/${dspace.ui}

# Optional: DSpace URL for mobile access
# This
#dspace.mobileUrl = http://mobile.example.com

# Name of the site
dspace.name = Αποθετήριο Πτυχιακών Εργασιών του Τμήματος Μηχανικών Πληροφορικής 
ΑΤΕΙΘ

# assetstore.dir, look at DSPACE/config/spring/api/bitstore.xml for more options
assetstore.dir = ${dspace.dir}/assetstore

# Default language for metadata values
default.language = en_US

# Solr server/webapp.
# DSpace uses Solr for all search/browse capability (and for usage statistics 
by default).
# The included 'solr' webapp MUST be deployed to Tomcat for DSpace to function.
# Usually it will be available via port 8080 and the 'solr' context path. But,
# But, you may need to modify this if you are running DSpace on a custom port, 
etc.




solr.server = http://192.168.6.232:5432/solr

# Database settings #
# DSpace only supports two database types: PostgreSQL or Oracle

# URL for connecting to database
#* Postgres template: jdbc:postgresql://localhost:5432/dspace
#* Oracle template: jdbc:oracle:thin:@//localhost:1521/xe
db.url = jdbc:postgresql://192.168.6.232:5432/dspace

# JDBC Driver
#* For Postgres: org.postgresql.Driver
#* For Oracle:   oracle.jdbc.OracleDriver
db.driver = org.postgresql.Driver

# Database Dialect (for Hibernate)
#* For Postgres: 
org.dspace.storage.rdbms.hibernate.postgres.DSpacePostgreSQL82Dialect
#* For Oracle:   org.hibernate.dialect.Oracle10gDialect
db.dialect = 
org.dspace.storage.rdbms.hibernate.postgres.DSpacePostgreSQL82Dialect

# Database username and password
db.username = dspace
db.password = dspace

# Database Schema name
#* For Postgres, this is often "public" (default schema)
#* For Oracle, schema is equivalent to the username of your database 
account,
#  so this may be set to ${db.username} in most scenarios.
db.schema = public

## Connection pool parameters

# Maximum number of DB connections in pool (default = 30)
db.maxconnections = 30

# Maximum time to wait before giving up if all connections in pool are busy 
(milliseconds)
# (default = 5000ms or 5 seconds)
db.maxwait = 5000

# Maximum number of idle connections in pool (-1 = unlimited)
# (default = 10)
db.maxidle = 10

# Specify a configured database connection pool to be fetched from a
# directory.  This overrides the pool and driver settings above.  If
# none can be found, then DSpa

[dspace-tech] How to add one more step in the workflow of dspace 6

2017-09-07 Thread maria . caceres . csuc
Good afternoon:

I'm trying to add a new step in the workflow to have an author (create the 
item), a local editor (a reviewer), a final editor (another reviewer) and 
the publication step.

I have modified these files to use a custom workflow:

dspace/config/xmlui.xconf
dspace/config/workflow.xml
dspace/config/spring/api/core-services.xml
dspace/config/spring/api/core-factory-services.xml
dspace/config/hibernate.cfg.xml


But I don't know hoy to modify the aspect and the behavior of the workflow.


I have seen in an implementation of the same workflow in an older version 
of dspace (3.2) and they have modified these files too:

dspace-api/src/main/java/org/dspace/xmlworkflow/state/actions/processingaction/AcceptAndEditMetadataAction.java
dspace-xmlui/src/main/java/org/dspace/app/xmlui/aspect/xmlworkflow/actions/processingaction/AcceptAndEditMetadataAction.java


I have two doubts, do I have to modify both .java files? In that case, how 
I modify the file inside the dspace-api directory? (dspace-xmlui is inside 
dspace/modules/xmlui).


Regards,
María


-- 
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 dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


Re: [dspace-tech] Re: Unable to locate tools.jar, Buildfile: build.xml does not exist!

2017-09-07 Thread Tim Donohue
Hello,

If you take a closer look at the new error message:

"Connection to 192.168.6.232:5432 refused. Check that the hostname and port
are correct and that the postmaster is accepting TCP/IP connections."

That is saying that DSpace cannot connect to your configured database at
192.168.6.232 on port 5432.  So, either the database is not running on that
IP address and port, or the port is not responding (e.g. it's being blocked
by a firewall). DSpace needs to be able to communicate with the database to
fully install all the necessary database tables, etc.

So, you should take a closer look at your db.url setting in your local.cfg.
If the database is running on the same server as DSpace, you also may be
able to simply change "192.168.6.232:5432" to the default value of
"localhost:5432", assuming that your database is running locally on port
5432.

Good luck,

Tim


On Thu, Sep 7, 2017 at 9:31 AM Βασιλική Γώγου 
wrote:

> build success on mvn package, but build failled on ant fresh_install.
> my local.cfg is attached
>
> root@dima-vm:/dspace-6.1-src-release/dspace/target/dspace-installer# ant
> fresh_install
> Buildfile: /dspace-6.1-src-release/dspace/target/dspace-installer/build.xml
>
> init_installation:
>
> prepare_configs:
> [mkdir] Created dir:
> /dspace-6.1-src-release/dspace/target/dspace-installer/config-temp
>  [copy] Copying 158 files to
> /dspace-6.1-src-release/dspace/target/dspace-installer/config-temp
>  [copy] Copying 1 file to
> /dspace-6.1-src-release/dspace/target/dspace-installer/config-temp
>  [copy] Copying 16 files to
> /dspace-6.1-src-release/dspace/target/dspace-installer/config-temp
>
> init_configs:
>  [copy] Copying 1 file to /dspace/config
>[delete] Deleting directory
> /dspace-6.1-src-release/dspace/target/dspace-installer/config-temp
>
> test_database:
>  [java] 2017-09-07 17:22:37,207 WARN
>  org.dspace.services.email.EmailServiceImpl @ Couldn't get an email session
> from environment:  Need to specify class name in environment or system
> property, or as an applet parameter, or in an application resource file:
>  java.naming.factory.initial
>  [java]
>  [java] Error running 'test':
>  [java]  - java.sql.SQLException: Cannot create
> PoolableConnectionFactory (Connection to 192.168.6.232:5432 refused.
> Check that the hostname and port are correct and that the postmaster is
> accepting TCP/IP connections.)
>  [java]
>  [java] Please see the DSpace documentation for assistance.
>  [java]
>  [java] java.sql.SQLException: Cannot create PoolableConnectionFactory
> (Connection to 192.168.6.232:5432 refused. Check that the hostname and
> port are correct and that the postmaster is accepting TCP/IP connections.)
>  [java] at
> org.apache.commons.dbcp2.BasicDataSource.createPoolableConnectionFactory(BasicDataSource.java:2294)
>  [java] 2017-09-07 17:22:38,289 ERROR
> org.dspace.storage.rdbms.DatabaseUtils @ Unable to setup Flyway against
> DSpace database
>  [java] java.sql.SQLException: Cannot create PoolableConnectionFactory
> (Connection to 192.168.6.232:5432 refused. Check that the hostname and
> port are correct and that the postmaster is accepting TCP/IP connections.)
>  [java] at
> org.apache.commons.dbcp2.BasicDataSource.createPoolableConnectionFactory(BasicDataSource.java:2294)
>  [java] at
> org.apache.commons.dbcp2.BasicDataSource.createDataSource(BasicDataSource.java:2039)
>  [java] at
> org.apache.commons.dbcp2.BasicDataSource.getConnection(BasicDataSource.java:1533)
>  [java] at
> org.dspace.storage.rdbms.DatabaseUtils.setupFlyway(DatabaseUtils.java:473)
>  [java] at
> org.dspace.storage.rdbms.DatabaseUtils.main(DatabaseUtils.java:98)
>  [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method)
>  [java] at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>  [java] at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>  [java] at java.lang.reflect.Method.invoke(Method.java:498)
>  [java] at
> org.dspace.app.launcher.ScriptLauncher.runOneCommand(ScriptLauncher.java:229)
>  [java] at
> org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:81)
>  [java] Caused by: org.postgresql.util.PSQLException: Connection to
> 192.168.6.232:5432 refused. Check that the hostname and port are correct
> and that the postmaster is accepting TCP/IP connections.
>  [java] at
> org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:265)
>  [java] at
> org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:55)
>  [java] at
> org.postgresql.jdbc.PgConnection.(PgConnection.java:219)
>  [java] at org.postgresql.Driver.makeConnection(Driver.java:407)
>  [java] at org.postgresql.Driver.connect(Driver.java:275)
>  [java] at
> org.apache.commons

Re: [dspace-tech] passing ssl client certificate from Apache to Dspace

2017-09-07 Thread Tim Donohue
Hi Paul,

I'll admit, I've never used the X.509 cert auth myself, but I notice there
are some more notes in the X.509 docs at:
https://wiki.duraspace.org/display/DSDOC6x/Authentication+Plugins#AuthenticationPlugins-X.509CertificateAuthentication

Namely, I see that it states:
"If you are using HTTPS with Tomcat, note that the  tag
*must* include
the attribute clientAuth="true" so the server requests a personal Web
certificate from the client."

Not sure if that's the problem here, but you might want to carefully review
the instructions here again. If you are still hitting issues, you also
should check your logs to see if there's any errors being logged there, see
https://wiki.duraspace.org/display/DSPACE/Troubleshoot+an+error

- Tim

On Thu, Sep 7, 2017 at 7:25 AM Paul Warner  wrote:

> Hi,
>
> I have configured Apache with ssl using a self-signed certificate, and
> then generated a client certificate from the server certificate.  With
> SSLVerifyClient set to 'require', I can get to Dspace only from a browser
> with the client certificate installed.  So it works!
>
> But getting Dspace to recognize the certificate is my problem. When I try
> to login with the certificate, at https://myserver/jspui/certificate-login,
> I get the message: 'You do not seem to have a valid Web certificate.'   I
> am running Apache 2.4.18, Apache Tomcat/8.5.15, and Dspace 6.1 on Ubuntu
> 16.04.
>
> In my apache conf, I have SSLOptions StdEnvVars ExportCertData.
>
> I loaded my client.crt certificate into the tomcat keystore, following the
> directions in https://wiki.duraspace.org/display/DSDOC6x/Installing+DSpace
> :
>
> Optional – ONLY if you need to accept client certificates for the X.509
> certificate stackable authentication module See the configuration section
> for instructions on enabling the X.509 authentication method. Load the
> keystore with the CA (certifying authority) certificates for the
> authorities of any clients whose certificates you wish to accept. For
> example, assuming the client CA certificate is in *client1.pem*:
>
>
> $JAVA_HOME/bin/keytool -import -noprompt -storepass changeit
> -trustcacerts -keystore $CATALINA_BASE/conf/keystore  -alias client1
> -file client1.pem
>
> I have set authentication.cfg so it includes X509 authentication:
>
> plugin.sequence.org.dspace.authenticate.AuthenticationMethod =
> org.dspace.authenticate.PasswordAuthentication,org.dspace.authenticate.X509Authentication
>
> I have set authentication-x509.cfg to include the keystore and password:
>
> authentication-x509.keystore.path = /opt/tomcat/conf/keystore
> authentication-x509.keystore.password = changeit
>
> What am I missing?
>
> Thanks,
> Paul
>
>
>
> --
> 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 dspace-tech+unsubscr...@googlegroups.com.
> To post to this group, send email to dspace-tech@googlegroups.com.
> Visit this group at https://groups.google.com/group/dspace-tech.
> For more options, visit https://groups.google.com/d/optout.
>
-- 

Tim Donohue
Technical Lead for DSpace & DSpaceDirect
DuraSpace.org | DSpace.org | DSpaceDirect.org

-- 
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 dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


[dspace-tech] SOLR search NOT WORKING Dspace 5

2017-09-07 Thread Tom Avino
We upgraded to Dspace 5.5 XMLUI, and the SOLR search cannot even find words 
that are in a title.  
I have tried rebuilding the indexes using dspace index-db-browse -f -d.  
Not sure what is going on here.  I am looking for the title "CA026540" 
where "CA026540" is the only wording in the title, and the search cannot 
find it.

Tom

-- 
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 dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


Re: [dspace-tech] SOLR search NOT WORKING Dspace 5

2017-09-07 Thread Tim Donohue
Hi Tom,

If you are using Solr (i.e. Discovery) for Search/Browse, then you should
be using the "dspace index-discovery" commandline option to do reindexes.
The "index-db-browse" option you mentioned was deprecated (and now no
longer exists in DSpace 6), as it only reindexed content in the legacy
database-based browse index tables:
https://wiki.duraspace.org/display/DSDOC5x/Legacy+methods+for+re-indexing+content

For more on "index-discovery", see
https://wiki.duraspace.org/display/DSDOC5x/Discovery#Discovery-DiscoverySolrIndexMaintenance


You may wish to run the "dspace index-discovery -b" command (does a full
reindex) and see if that resolves the issue.

Good luck,

Tim

On Thu, Sep 7, 2017 at 12:46 PM Tom Avino  wrote:

> We upgraded to Dspace 5.5 XMLUI, and the SOLR search cannot even find
> words that are in a title.
> I have tried rebuilding the indexes using dspace index-db-browse -f -d.
> Not sure what is going on here.  I am looking for the title "CA026540"
> where "CA026540" is the only wording in the title, and the search cannot
> find it.
>
> Tom
>
> --
> 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 dspace-tech+unsubscr...@googlegroups.com.
> To post to this group, send email to dspace-tech@googlegroups.com.
> Visit this group at https://groups.google.com/group/dspace-tech.
> For more options, visit https://groups.google.com/d/optout.
>
-- 

Tim Donohue
Technical Lead for DSpace & DSpaceDirect
DuraSpace.org | DSpace.org | DSpaceDirect.org

-- 
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 dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


[dspace-tech] autor orcid se carga mas de una vez

2017-09-07 Thread LinKeRo GM




cuando se sube un archivo con el mismo autor orcid éste se carga mas de una 
vez en esta vista, ¿alguien me puede ayudar con este problema?

-- 
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 dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


Re: [dspace-tech] autor orcid se carga mas de una vez

2017-09-07 Thread Guillermo Esteban Murillo Goussen
A mí me ha pasado y aún no doy con la solución.  De momento lo que he
encontrado es que la diferencia está en el valor de confianza y por eso
aparece en el índice como autoridades diferentes.

No sé si alguien tiene una mejor respuesta.

Saludos.

2017-09-07 14:10 GMT-06:00 LinKeRo GM :

>
> 
>
> cuando se sube un archivo con el mismo autor orcid éste se carga mas de
> una vez en esta vista, ¿alguien me puede ayudar con este problema?
>
> --
> 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 dspace-tech+unsubscr...@googlegroups.com.
> To post to this group, send email to dspace-tech@googlegroups.com.
> Visit this group at https://groups.google.com/group/dspace-tech.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


[dspace-tech] NO PUEDO INGRESAR A LA INTERFAZ JSPUI

2017-09-07 Thread Leidy Madroñero
Buenas tardes,

Acabo de instalar dspace 6 en ubuntu. Accedo normalmente a la interfaz 
xmlui pero cuando trato de ingresar con jspui no me es posible. 
Los pasos que seguí para la instalación están en el siguiente 
enlace: 
http://dspaceclub.blogspot.com.co/2017/03/installing-dspace-60-on-ubuntu-1404-lts.html
No se si de pronto ha faltado algo en la instalación.

Agradezco su atención y colaboración.

-- 
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 dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


Re: [dspace-tech] SOLR search NOT WORKING Dspace 5

2017-09-07 Thread Tom Avino
Thank you Tom.
If I make changes to schema.xml (.e.g., use textgen instead of text) do I 
need to re-run the index-discovery?  We have a large database here, and I 
don't want to do it twice.
Thank you again for your help.

Tom

 

*Tom Avino *

LITES II Application Developer | SAIC 

757.864-8495 | thomas.w.av...@nasa.gov 

On Thursday, September 7, 2017 at 2:00:37 PM UTC-4, Tim Donohue wrote:
>
> Hi Tom,
>
> If you are using Solr (i.e. Discovery) for Search/Browse, then you should 
> be using the "dspace index-discovery" commandline option to do reindexes.  
> The "index-db-browse" option you mentioned was deprecated (and now no 
> longer exists in DSpace 6), as it only reindexed content in the legacy 
> database-based browse index tables:
>
> https://wiki.duraspace.org/display/DSDOC5x/Legacy+methods+for+re-indexing+content
>
> For more on "index-discovery", see
>
> https://wiki.duraspace.org/display/DSDOC5x/Discovery#Discovery-DiscoverySolrIndexMaintenance
>  
>
> You may wish to run the "dspace index-discovery -b" command (does a full 
> reindex) and see if that resolves the issue.
>
> Good luck,
>
> Tim
>
> On Thu, Sep 7, 2017 at 12:46 PM Tom Avino > 
> wrote:
>
>> We upgraded to Dspace 5.5 XMLUI, and the SOLR search cannot even find 
>> words that are in a title.  
>> I have tried rebuilding the indexes using dspace index-db-browse -f -d.  
>> Not sure what is going on here.  I am looking for the title "CA026540" 
>> where "CA026540" is the only wording in the title, and the search cannot 
>> find it.
>>
>> Tom
>>
>> -- 
>> 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 dspace-tech...@googlegroups.com .
>> To post to this group, send email to dspac...@googlegroups.com 
>> .
>> Visit this group at https://groups.google.com/group/dspace-tech.
>> For more options, visit https://groups.google.com/d/optout.
>>
> -- 
>
> Tim Donohue
> Technical Lead for DSpace & DSpaceDirect
> DuraSpace.org | DSpace.org | DSpaceDirect.org
>
>

-- 
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 dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


Re: [dspace-tech] passing ssl client certificate from Apache to Dspace

2017-09-07 Thread Paul Warner
Hi Tim,

Thanks for the help!  I made two mistakes, and fixed them, following your
suggestions, but I am unfortunately still not connecting from Apache to
Dspace, although it is now clear the certificate information is being
passed through..

First, I was using an outdated format for the listing of the two kinds of
authentication in authentication.cfg, and your pointer to the 6 version was
helpful there.  I had them on the same line, with a comma.  Now they are
loading sequentially, with the certificate auth loading first.  I also was
not looking at the right log file, duh.  Now I can see some error messages,
and can tell that Dspace is grappling with the client certificate, although
still failing to validate it.  I tried all variations of the instructions
for configuring the authentication-x509.cfg file, but in the end I am
getting:

2017-09-08 08:02:34,351 INFO  org.dspace.authenticate.X509Authentication @
anonymous:session_id=EF3D87F4E30DDB194B8C9DCCF2AD4525:ip_addr=141.2.34.31:authentication:X.509
Certificate FAILED SIGNATURE check\colon;
java.security.SignatureException\colon; Signature does not match.
2017-09-08 08:02:34,351 WARN  org.dspace.authenticate.X509Authentication @
anonymous:session_id=EF3D87F4E30DDB194B8C9DCCF2AD4525:ip_addr=141.2.34.31:authenticate:type=x509certificate,
status=BAD_CREDENTIALS (not valid)

I installed the client.p12 file in the browser, and the client.pem file in
Dspace, using the keystore with the correct password.  I produced my files
using these wonderful instructions:

https://gist.github.com/mtigas/952344

Sorry, still mystified.

Best regards,
Paul

On Thu, Sep 7, 2017 at 6:55 PM, Tim Donohue  wrote:

> Hi Paul,
>
> I'll admit, I've never used the X.509 cert auth myself, but I notice there
> are some more notes in the X.509 docs at:
> https://wiki.duraspace.org/display/DSDOC6x/Authentication+Plugins#
> AuthenticationPlugins-X.509CertificateAuthentication
>
> Namely, I see that it states:
> "If you are using HTTPS with Tomcat, note that the  tag *must* 
> include
> the attribute clientAuth="true" so the server requests a personal Web
> certificate from the client."
>
> Not sure if that's the problem here, but you might want to carefully
> review the instructions here again. If you are still hitting issues, you
> also should check your logs to see if there's any errors being logged
> there, see https://wiki.duraspace.org/display/DSPACE/Troubleshoot+an+error
>
>
> - Tim
>
> On Thu, Sep 7, 2017 at 7:25 AM Paul Warner  wrote:
>
>> Hi,
>>
>> I have configured Apache with ssl using a self-signed certificate, and
>> then generated a client certificate from the server certificate.  With
>> SSLVerifyClient set to 'require', I can get to Dspace only from a browser
>> with the client certificate installed.  So it works!
>>
>> But getting Dspace to recognize the certificate is my problem. When I try
>> to login with the certificate, at https://myserver/jspui/
>> certificate-login, I get the message: 'You do not seem to have a valid
>> Web certificate.'   I am running Apache 2.4.18, Apache Tomcat/8.5.15, and
>> Dspace 6.1 on Ubuntu 16.04.
>>
>> In my apache conf, I have SSLOptions StdEnvVars ExportCertData.
>>
>> I loaded my client.crt certificate into the tomcat keystore, following
>> the directions in https://wiki.duraspace.org/display/DSDOC6x/Installing+
>> DSpace:
>>
>> Optional – ONLY if you need to accept client certificates for the X.509
>> certificate stackable authentication module See the configuration section
>> for instructions on enabling the X.509 authentication method. Load the
>> keystore with the CA (certifying authority) certificates for the
>> authorities of any clients whose certificates you wish to accept. For
>> example, assuming the client CA certificate is in *client1.pem*:
>>
>>
>> $JAVA_HOME/bin/keytool -import -noprompt -storepass changeit
>> -trustcacerts -keystore $CATALINA_BASE/conf/keystore  -alias client1
>> -file client1.pem
>>
>> I have set authentication.cfg so it includes X509 authentication:
>>
>> plugin.sequence.org.dspace.authenticate.AuthenticationMethod =
>> org.dspace.authenticate.PasswordAuthentication,org.dspace.authenticate.
>> X509Authentication
>>
>> I have set authentication-x509.cfg to include the keystore and password:
>>
>> authentication-x509.keystore.path = /opt/tomcat/conf/keystore
>> authentication-x509.keystore.password = changeit
>>
>> What am I missing?
>>
>> Thanks,
>> Paul
>>
>>
>>
>> --
>> 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 dspace-tech+unsubscr...@googlegroups.com.
>> To post to this group, send email to dspace-tech@googlegroups.com.
>> Visit this group at https://groups.google.com/group/dspace-tech.
>> For more options, visit https://groups.google.com/d/optout.
>>
> --
>
> Tim Donohue
> Technical Lead for DSpace & DSpaceDirect
> DuraSpace.org | DSpac