[dspace-tech] Best Location for Robots.txt

2022-11-16 Thread Keith Jones
Hi All,

Where should the Robots.txt file reside when running Dspace 7 via https?

Thanks
Keith

-- 
All messages to this mailing list should adhere to the Code of Conduct: 
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
--- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/CAJ6iCzOy1JY1xGtYax%2B_B1fswNwW7QtbarFGaNuK-bOkD3mtaQ%40mail.gmail.com.


[dspace-tech] Database Load into Dspace 7

2021-10-08 Thread Keith Jones
Hi All,

I've installed a base version of both front end and back end Dspace 7
on the same machine. I'm able to log into the new system, even create
new Communities. I then tried to load a pgdump file from an existing
Dspace version 5.3. The file restore into Postgres goes without an
error. When I restart Dspace 7, the system will display the top header
but only dots in the other half of the page.

Has anyone been able to import data from dspace 5.3?

Thanks
Keith

-- 
All messages to this mailing list should adhere to the Code of Conduct: 
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
--- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/CAJ6iCzMJHrSFbjLLWdAJu4%2BHZg4UmQvpiAPDNo_H6xLzub1bDA%40mail.gmail.com.


Re: [dspace-tech] Dspace 7 Front end error

2021-09-17 Thread Keith Jones
Thanks Tim.

I am able to run the front end using the yarn start. When I go to the
url, I get some interface response but I'm also getting the following
errors:

Environment: Production
No _links section found at https://utley.lib.udel.edu/server/api
No _links section found at https://utley.lib.udel.edu/server/api
No _links section found at https://utley.lib.udel.edu/server/api


and errors continue:

ERROR Error: undefined doesn't contain the link sites
at MapSubscriber.project
(/home/dspace/SOFTWARE/dspace-angular-dspace-7.0/dist/server/main.js:256927:23)
at MapSubscriber._next
(/home/dspace/SOFTWARE/dspace-angular-dspace-7.0/node_modules/rxjs/internal/operators/map.js:49:35)
at MapSubscriber.Subscriber.next
(/home/dspace/SOFTWARE/dspace-angular-dspace-7.0/node_modules/rxjs/internal/Subscriber.js:66:18)
at MapSubscriber._next
(/home/dspace/SOFTWARE/dspace-angular-dspace-7.0/node_modules/rxjs/internal/operators/map.js:55:26)
at MapSubscriber.Subscriber.next
(/home/dspace/SOFTWARE/dspace-angular-dspace-7.0/node_modules/rxjs/internal/Subscriber.js:66:18)
at TakeSubscriber._next
(/home/dspace/SOFTWARE/dspace-angular-dspace-7.0/node_modules/rxjs/internal/operators/take.js:54:30)
at TakeSubscriber.Subscriber.next
(/home/dspace/SOFTWARE/dspace-angular-dspace-7.0/node_modules/rxjs/internal/Subscriber.js:66:18)
at FilterSubscriber._next
(/home/dspace/SOFTWARE/dspace-angular-dspace-7.0/node_modules/rxjs/internal/operators/filter.js:52:30)
at FilterSubscriber.Subscriber.next
(/home/dspace/SOFTWARE/dspace-angular-dspace-7.0/node_modules/rxjs/internal/Subscriber.js:66:18)
at MapSubscriber._next
(/home/dspace/SOFTWARE/dspace-angular-dspace-7.0/node_modules/rxjs/internal/operators/map.js:55:26)

Then I am getting some 200 reponses:

GET / 200 506.147 ms - -
GET /styles.0324863878df4752a58c.css 200 4.651 ms - 346
GET /dspace-theme.css 200 1.231 ms - -
GET /runtime-es2015.bfc7b4c3632b68fcfa67.js 200 7.956 ms - -
GET /assets/images/dspace-logo.svg 200 8.637 ms - -
GET /polyfills-es2015.473cd1992a6ad138d0e6.js 200 3.538 ms - -
GET /main-es2015.1404cdbe3f3368ec46fa.js 200 5.493 ms - -
GET /assets/fonts/fa-solid-900.woff2 200 1.171 ms - 80300
GET /25-es2015.b09d3ba9b53c98168491.js 200 8.464 ms - -
GET /assets/i18n/en.json5 200 6.916 ms - 126854
GET /79-es2015.1d3d2d87bd7969ff080d.js 200 3.644 ms - -
GET /80-es2015.1628eec9b3c265b32bc3.js 200 1.180 ms - -
GET /82-es2015.9124c792844bf9d9a09c.js 200 2.031 ms - -
GET /common-es2015.a61f806adcb8ed987a9a.js 200 7.944 ms - -
GET /assets/images/favicon.ico 200 1.089 ms - -

Still when I try to compile and run the front end, i'm still getting
the same error.

Keith

On Mon, Sep 13, 2021 at 11:16 AM Tim Donohue  wrote:
>
> Hi Keith,
>
> If PM2 is throwing an odd error, I'd recommend starting basic first..  Try 
> and simply run "yarn start" from the commandline for the UI.  This will build 
> the UI for production and start it on port 4000 (by default).  This also will 
> often provide you with a more useful error if the UI setup is incorrect.  
> Once you get it working via "yarn start", then go back to using PM2 (as PM2 
> helps ensure the app stays up and provides better monitoring/logging).
>
> If you hit errors when running "yarn start", we have a number of common 
> errors listed in the install guide & how to usually fix them: 
> https://wiki.lyrasis.org/display/DSDOC7x/Installing+DSpace#InstallingDSpace-CommonInstallationIssues
>
> If you have further questions let us know on this list.
>
> Tim
> 
> From: dspace-tech@googlegroups.com  on behalf 
> of Keith Jones 
> Sent: Friday, September 10, 2021 2:07 PM
> To: DSpace Technical Support 
> Subject: [dspace-tech] Dspace 7 Front end error
>
> Hi,
>
> I'm in the process of installing and running Dspace 7. I've installed
> the backend and frontend on a Centos 8 machine. When I start the front
> end, I get the following error:
>
>
> [PM2] Spawning PM2 daemon with pm2_home=/home/dspace/.pm2
> [PM2] PM2 Successfully daemonized
> [PM2][WARN] Applications dspace-angular not running, starting...
> [PM2] App [dspace-angular] launched (1 instances)
> ┌─┬───┬─┬─┬─┬──┬┬──┬───┬──┬──┬──┬
>──┐
> │ id  │ name  │ namespace   │ version │ mode│ pid
> │ uptime │ ↺│ status│ cpu  │ mem  │ user │ watchin
>g │
> ├─┼───┼─┼─┼─┼──┼┼──┼───┼──┼──┼──┼
>──┤
> │ 0   │ dspace-angular│ default │ N/A │ fork│ N/A
> │ 0  │ 0│ errored   │ 0%   

[dspace-tech] Dspace 7 Front end error

2021-09-10 Thread Keith Jones
Hi,

I'm in the process of installing and running Dspace 7. I've installed
the backend and frontend on a Centos 8 machine. When I start the front
end, I get the following error:


[PM2] Spawning PM2 daemon with pm2_home=/home/dspace/.pm2
[PM2] PM2 Successfully daemonized
[PM2][WARN] Applications dspace-angular not running, starting...
[PM2] App [dspace-angular] launched (1 instances)
┌─┬───┬─┬─┬─┬──┬┬──┬───┬──┬──┬──┬
   ──┐
│ id  │ name  │ namespace   │ version │ mode│ pid
│ uptime │ ↺│ status│ cpu  │ mem  │ user │ watchin
   g │
├─┼───┼─┼─┼─┼──┼┼──┼───┼──┼──┼──┼
   ──┤
│ 0   │ dspace-angular│ default │ N/A │ fork│ N/A
│ 0  │ 0│ errored   │ 0%   │ 0b   │ dspace   │ disable
   d │
└─┴───┴─┴─┴─┴──┴┴──

I checked the log file using this command: pm2 logs
Here is the output:

[TAILING] Tailing last 15 lines for [all] processes (change the value
with --lines option)
/home/dspace/.pm2/pm2.log last 15 lines:
PM2| 2021-09-10T14:56:18: PM2 log: RPC socket file  :
/home/dspace/.pm2/rpc.sock
PM2| 2021-09-10T14:56:18: PM2 log: BUS socket file  :
/home/dspace/.pm2/pub.sock
PM2| 2021-09-10T14:56:18: PM2 log: Application log path :
/home/dspace/.pm2/logs
PM2| 2021-09-10T14:56:18: PM2 log: Worker Interval  : 3
PM2| 2021-09-10T14:56:18: PM2 log: Process dump file:
/home/dspace/.pm2/dump.pm2
PM2| 2021-09-10T14:56:18: PM2 log: Concurrent actions   : 2
PM2| 2021-09-10T14:56:18: PM2 log: SIGTERM timeout  : 1600
PM2| 2021-09-10T14:56:18: PM2 log:
===
PM2| 2021-09-10T14:56:18: PM2 log: App [dspace-angular:0]
starting in -fork mode-
PM2| 2021-09-10T14:56:18: PM2 log: App [dspace-angular:0] online
PM2| 2021-09-10T14:56:18: PM2 error: Error: spawn /usr/bin/yarn ENOENT
PM2| at Process.ChildProcess._handle.onexit
(internal/child_process.js:269:19)
PM2| at onErrorNT (internal/child_process.js:467:16)
PM2| at processTicksAndRejections
(internal/process/task_queues.js:82:21)
PM2| 2021-09-10T14:56:18: PM2 error: Cancelling versioning data parsing


I'm new to 7 and not sure what is causing the error and where to start
troubleshooting, any help will be appreciated.

Thanks
Keith

-- 
All messages to this mailing list should adhere to the Code of Conduct: 
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
--- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/CAJ6iCzOgS9LR%2BxCU%3DE7f0GLZFXcQn7tzHRUZ%3DQ-0saBXYWCoLw%40mail.gmail.com.


[dspace-tech] Shibboleth and Dspace 5.10

2021-08-12 Thread Keith Jones
Hi,

I've brought up a new version of Dspace 5.10 and I'm trying to use
Shibboleth as the authentication module, but I'm not able to create
new accounts.

The database has no users, so one a user gets authenticated by my
Shibbloleth provider, the account should be created and the user
logged into Dspace.

>From what I've researched, it seems that I'm not getting the proper
information from the Shibboleth provider, is there a way I can track
down the miscommunication.

Thanks

Keith

-- 
All messages to this mailing list should adhere to the Code of Conduct: 
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
--- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/CAJ6iCzN%2BDfUhjFzUUcofXEL9YS6Cm9J5ssAQm7J5wdwC%2B-fxVg%40mail.gmail.com.


[dspace-tech] Shibboleth problems

2021-08-04 Thread Keith Jones
Hi,

I've recently set up shibboleth on my institutional repository to do
authentication. Previously authentication was done via CAS. I'm
running into the following problem, I am getting some accounts that
authenticate without problem but also have other existing accounts
that fail and I'm not able to get new accounts to be created.

Have others run into the same issue?

Keith

-- 
All messages to this mailing list should adhere to the Code of Conduct: 
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
--- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/CAJ6iCzOGnon2DqH4K07w-Sskh9BwXi_MLGtaXAVNH3Hoee8sgA%40mail.gmail.com.


[dspace-tech] SOLR connection refused

2021-04-09 Thread Keith Jones
Hi,

I'm running Dspace 5.4 and I'm using SOLR for the discovery layer and
that is working fine. When I try using the dspace stats-util options,
I'm getting Server refused connection.  I have the solr webapp
deployed to the webapps area in Tomcat. I have Dspace behind Https.
Any thoughts on why the connection is being refused?

Thanks
Keith

-- 
All messages to this mailing list should adhere to the Code of Conduct: 
https://duraspace.org/about/policies/code-of-conduct/
--- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/CAJ6iCzObH3GRRLkFJNSqWUWjvMLmzqqMbzpkfO7MWeaOrXTveA%40mail.gmail.com.


[dspace-tech] Accessing a Static xml file

2021-03-25 Thread Keith Jones
Hi,

I'm trying to create a bing indexing xml file and I've placed it in
the webapps/static area where the robots.txt is located. When I try to
access the bing.xml file through a browser the Dspace system displays
page not found, but I can access a robots.txt file. When I can change
the robots.txt file to robots.xml then Dspace application displays not
found.

Has anyone else run into the issue with serving up static xml files?

Thanks
Keith

-- 
All messages to this mailing list should adhere to the Code of Conduct: 
https://duraspace.org/about/policies/code-of-conduct/
--- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/CAJ6iCzOxf%3D5ijvYCWg3yL%2BCpWuyGHJQo5h7aon-JzLiN-N32iQ%40mail.gmail.com.


[dspace-tech] Withdrawn Items

2020-10-26 Thread Keith Jones
Hi All,

I'm running an instance of dspace 5.3 using the xmlui interface, and
recently had a user send me a request for a withdrawn item. I was
wondering how the user was able to send the request, when I try to
access the item, the public interface just says the item is withdrawn.
How did the user generate the "Request copy of document" email?

Thanks
Keith

-- 
All messages to this mailing list should adhere to the DuraSpace Code of 
Conduct: https://duraspace.org/about/policies/code-of-conduct/
--- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/CAJ6iCzMGqi438h_FmF4grkVqNweD%3DpD4y4WHPoFjSb_gFCssLA%40mail.gmail.com.


[dspace-tech] GeoLite

2020-04-08 Thread Keith Jones
Hi All,

Does Dspace still use the Geolite database and if so, how can one get
access to an updated copy?

Thanks

Keith

-- 
All messages to this mailing list should adhere to the DuraSpace Code of 
Conduct: https://duraspace.org/about/policies/code-of-conduct/
--- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/CAJ6iCzNj%3DW7kX9nj7urqqurwb8jFBtys7HVeueJjTWHSeWy6fA%40mail.gmail.com.


[dspace-tech] Remove Entries from a Collection Workflow

2020-03-09 Thread Keith Jones
Hi All,

I'm working on trying to remove 1000 plus entries that are sitting in
a collection workflow. There was a mis-hap with a vendor who deposited
items into my repository using SWORD. Now I have 1000 plus entries I
need to remove from my workflow, these items have not been finalized
and do not reside in the collection.

I working in Dspace version 5.3. Looks like i can get a workflow_id
from from the dspace ui, and then use it to remove the entry in the
workflowitem table, do I also need to consider removing entries from
the item table and the metadatavalue table? Do I also need to remove
entries from the bistream table. I'm not sure how much orphaned data
would be around if I only remove the entries from the workflowitem
table.

Thanks
Keith

-- 
All messages to this mailing list should adhere to the DuraSpace Code of 
Conduct: https://duraspace.org/about/policies/code-of-conduct/
--- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/CAJ6iCzOwDe%2B9Rwk9TYSGNRMKy9piBRusFC-Ozo-UuDjGVnDV0Q%40mail.gmail.com.


[dspace-tech] Custom Themes

2020-01-27 Thread Keith Jones
Hi,

I'm following the documentation for making a custom theme in dspace
version 5.3. When I rebuild from local source code, the new theme does
not show up in the webapps/xmlui directory.


I've created a new theme in the following location:
dspace-source/dspace-xmlui/src/main/webapp/themes

Inside the new theme I create the sitemap.xmap file

Then the documentation says to rebuild and deploy the webapp, but my
new theme doesn't appear in the webapps area.

What am I missing.

Thanks
Keith

-- 
All messages to this mailing list should adhere to the DuraSpace Code of 
Conduct: https://duraspace.org/about/policies/code-of-conduct/
--- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/CAJ6iCzM9iZEr%2B1QndwsGQ-CK-u88ONyD9CN-GnYZNR_cMyU6_A%40mail.gmail.com.


Re: [dspace-tech] Database connectivity Issue

2019-06-26 Thread Keith Jones
Hi Thanks for the information:

I used the getenforce and the result says: Enforcing.

Checking the audit log gives me this error:

type=AVC msg=audit(156186.173:6325): avc:  denied  { name_connect
} for  pid=15077 comm="java" des
t=5432 scontext=system_u:system_r:tomcat_t:s0
tcontext=system_u:object_r:postgresql_port_t:s0 tclass=t
cp_socket permissive=0
type=SYSCALL msg=audit(156186.173:6325): arch=c03e syscall=42
success=no exit=-13 a0=35 a1=7f6
7977312f0 a2=1c a3=224 items=0 ppid=1 pid=15077 auid=4294967295 uid=53
gid=53 euid=53 suid=53 fsuid=53
 egid=53 sgid=53 fsgid=53 tty=(none) ses=4294967295 comm="java"
exe="/usr/lib/jvm/java-1.8.0-openjdk-1
.8.0.212.b04-0.el7_6.x86_64/jre/bin/java"
subj=system_u:system_r:tomcat_t:s0 key=(null)

Running the CLI dspace database command gives me this result:
dspace databse test

Attempting to connect to database using these configurations:
 - URL: jdbc:postgresql://localhost:5432/dspace
 - Driver: org.postgresql.Driver
 - Username: dspace
 - Password: [hidden]
 - Schema:

Testing connection...
Connected successfully!

Also when I run the command to connect to postgres, it runs fine as well:
As the dspace use I run the psql command, and get this:

psql (9.2.24)
Type "help" for help.

dspace=>

Run \l command and get this:

 List of databases
   Name|  Owner   | Encoding |  Collate   |   Ctype|   Access
privileges
---+--+--+++---
 dspace| dspace   | UTF8 | en_US.utf8 | en_US.utf8 |
 postgres  | postgres | LATIN1   | en_US  | en_US  |
 template0 | postgres | LATIN1   | en_US  | en_US  |
=c/postgres  +
   |  |  |||
postgres=CTc/postgres
 template1 | postgres | UTF8 | en_US.utf8 | en_US.utf8 |
(4 rows)

I'm still not able to get the xmlui running.

Thanks
Keith

On Tue, Jun 18, 2019 at 12:26 AM Tony Brian Albers  wrote:
>
> What does getenforce say? This might be SELinux doing its job ;)
>
> Check /var/log/audit/audit.log for stuff related to tomcat/catalina,
> pgsql etc.
>
> Check the pgsql logs, they usually have some pointer as to where it
> goes wrong. Also check the tomcat logs.
>
> And an important thing:
>
> The password stated in dspace.cfg or local.cfg must be entered as
> follows:
>
> db.password = un@b0mb3R?
>
> make sure the spaces are there and be careful that your password
> doesn't contain = or localized characters (german umlaut etc.)
>
> also try to connect to pgsql directly from the CLI as the dspace user
> like so:
>
> [dspace@rigel config]$ psql -U dspace -W -d dspace
> Password for user dspace:
> psql (9.5.14)
> Type "help" for help.
>
> dspace=>> \l
>   List of databases
>Name|  Owner   | Encoding |   Collate   |Ctype|   Access
> privileges
> ---+--+--+-+-+-
> --
>  dspace| dspace   | UTF8 | C   | C   |
>  postgres  | postgres | UTF8 | en_GB.UTF-8 | en_GB.UTF-8 |
>  template0 | postgres | UTF8 | en_GB.UTF-8 | en_GB.UTF-8 |
> =c/postgres  +
>|  |  | | |
> postgres=CTc/postgres
>  template1 | postgres | UTF8 | en_GB.UTF-8 | en_GB.UTF-8 |
> =c/postgres  +
>|  |  | | |
> postgres=CTc/postgres
> (4 rows)
>
> dspace=>
>
> HTH
>
> /tony
>
> On Mon, 2019-06-17 at 09:35 -0400, Keith Jones wrote:
> > Hi,
> > I checked the dspace.cfg file and the information is correct.
> >
> > I've run this:
> >
> > -bash-4.2$ ../bin/dspace database test
> >
> > Attempting to connect to database using these configurations:
> >  - URL: jdbc:postgresql://localhost:5432/dspace
> >  - Driver: org.postgresql.Driver
> >  - Username: dspace
> >  - Password: [hidden]
> >  - Schema:
> >
> > Testing connection...
> > Connected successfully!
> >
> > On Mon, Jun 17, 2019 at 9:26 AM Ayuka Phanuel  > > wrote:
> > >
> > > Confirm your database credentials (name, url, password, username)
> > > added to your local.cfg or dspace.cfg
> > >
> > >
> > >
> > > On Mon, Jun 17, 2019 at 4:21 PM Keith Jones 
> > > wrote:
> > > >
> > > > Hi All,
> > > >
> > > > I'm trying to move an installation of Dspace 5.3 to a new Centos
> > > > 7
> > > > server. I've installed all the software required and have
> > > > everything

Re: [dspace-tech] Database connectivity Issue

2019-06-17 Thread Keith Jones
Hi,
I checked the dspace.cfg file and the information is correct.

I've run this:

-bash-4.2$ ../bin/dspace database test

Attempting to connect to database using these configurations:
 - URL: jdbc:postgresql://localhost:5432/dspace
 - Driver: org.postgresql.Driver
 - Username: dspace
 - Password: [hidden]
 - Schema:

Testing connection...
Connected successfully!

On Mon, Jun 17, 2019 at 9:26 AM Ayuka Phanuel  wrote:
>
> Confirm your database credentials (name, url, password, username) added to 
> your local.cfg or dspace.cfg
>
>
>
> On Mon, Jun 17, 2019 at 4:21 PM Keith Jones  wrote:
>>
>> Hi All,
>>
>> I'm trying to move an installation of Dspace 5.3 to a new Centos 7
>> server. I've installed all the software required and have everything
>> running. I'm able to compile the Dspace software, which goes without a
>> problem. I test the database connection and it works fine. When I
>> deploy the xmlui into the webapps area of Tomcat, I'm getting the
>> following error:
>>
>> SEVERE: Exception sending context destroyed event to listener instance
>> of class org.dspace.app.util.DS
>> paceContextListener
>> java.lang.IllegalStateException: The connection attempt failed.
>> at 
>> org.dspace.storage.rdbms.DatabaseManager.getDataSource(DatabaseManager.java:655)
>> at 
>> org.dspace.storage.rdbms.DatabaseManager.getConnection(DatabaseManager.java:629)
>> at org.dspace.core.Context.init(Context.java:121)
>> at org.dspace.core.Context.(Context.java:95)
>> at 
>> org.dspace.app.util.AbstractDSpaceWebapp.deregister(AbstractDSpaceWebapp.java:97)
>> at 
>> org.dspace.app.util.DSpaceContextListener.contextDestroyed(DSpaceContextListener.java:146)
>> at 
>> org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:5165)
>> at 
>> org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java:5829)
>> at 
>> org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:221)
>> at 
>> org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:149)
>> at 
>> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:899)
>> at 
>> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:875)
>> at 
>> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:652)
>> at 
>> org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1260)
>> at 
>> org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:2002)
>> at 
>> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
>> at java.util.concurrent.FutureTask.run(FutureTask.java:266)
>> at 
>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
>> at 
>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
>> at java.lang.Thread.run(Thread.java:748)
>> Caused by: org.postgresql.util.PSQLException: The connection attempt failed.
>> at 
>> org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:
>> 152)
>> at 
>> org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:66)
>> at 
>> org.postgresql.jdbc2.AbstractJdbc2Connection.(AbstractJdbc2Connection.java:125)
>> at 
>> org.postgresql.jdbc3.AbstractJdbc3Connection.(AbstractJdbc3Connection.java:30)
>> at 
>> org.postgresql.jdbc3g.AbstractJdbc3gConnection.(AbstractJdbc3gConnection.java:22)
>> at 
>> org.postgresql.jdbc4.AbstractJdbc4Connection.(AbstractJdbc4Connection.java:32)
>> at 
>> org.postgresql.jdbc4.Jdbc4Connection.(Jdbc4Connection.java:24)
>> at org.postgresql.Driver.makeConnection(Driver.java:393)
>> at org.postgresql.Driver.connect(Driver.java:267)
>> at java.sql.DriverManager.getConnection(DriverManager.java:664)
>> at java.sql.DriverManager.getConnection(DriverManager.java:247)
>> at 
>> org.apache.commons.dbcp.DriverManagerConnectionFactory.createConnection(DriverManagerConnec
>> tionFactory.java:75)
>> at 
>> org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java
>> :582)
>> at 
>> org.apache.commons.pool.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:974)
>> at 
>> org.apache.commons.dbcp.PoolingDataSource.getConnection(PoolingDataSource.java:106

[dspace-tech] Database connectivity Issue

2019-06-17 Thread Keith Jones
Hi All,

I'm trying to move an installation of Dspace 5.3 to a new Centos 7
server. I've installed all the software required and have everything
running. I'm able to compile the Dspace software, which goes without a
problem. I test the database connection and it works fine. When I
deploy the xmlui into the webapps area of Tomcat, I'm getting the
following error:

SEVERE: Exception sending context destroyed event to listener instance
of class org.dspace.app.util.DS
paceContextListener
java.lang.IllegalStateException: The connection attempt failed.
at 
org.dspace.storage.rdbms.DatabaseManager.getDataSource(DatabaseManager.java:655)
at 
org.dspace.storage.rdbms.DatabaseManager.getConnection(DatabaseManager.java:629)
at org.dspace.core.Context.init(Context.java:121)
at org.dspace.core.Context.(Context.java:95)
at 
org.dspace.app.util.AbstractDSpaceWebapp.deregister(AbstractDSpaceWebapp.java:97)
at 
org.dspace.app.util.DSpaceContextListener.contextDestroyed(DSpaceContextListener.java:146)
at 
org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:5165)
at 
org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java:5829)
at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:221)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:149)
at 
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:899)
at 
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:875)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:652)
at 
org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1260)
at 
org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:2002)
at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Caused by: org.postgresql.util.PSQLException: The connection attempt failed.
at 
org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:
152)
at 
org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:66)
at 
org.postgresql.jdbc2.AbstractJdbc2Connection.(AbstractJdbc2Connection.java:125)
at 
org.postgresql.jdbc3.AbstractJdbc3Connection.(AbstractJdbc3Connection.java:30)
at 
org.postgresql.jdbc3g.AbstractJdbc3gConnection.(AbstractJdbc3gConnection.java:22)
at 
org.postgresql.jdbc4.AbstractJdbc4Connection.(AbstractJdbc4Connection.java:32)
at org.postgresql.jdbc4.Jdbc4Connection.(Jdbc4Connection.java:24)
at org.postgresql.Driver.makeConnection(Driver.java:393)
at org.postgresql.Driver.connect(Driver.java:267)
at java.sql.DriverManager.getConnection(DriverManager.java:664)
at java.sql.DriverManager.getConnection(DriverManager.java:247)
at 
org.apache.commons.dbcp.DriverManagerConnectionFactory.createConnection(DriverManagerConnec
tionFactory.java:75)
at 
org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java
:582)
at 
org.apache.commons.pool.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:974)
at 
org.apache.commons.dbcp.PoolingDataSource.getConnection(PoolingDataSource.java:106)
at 
org.dspace.storage.rdbms.DatabaseManager.initialize(DatabaseManager.java:1336)
at 
org.dspace.storage.rdbms.DatabaseManager.getDataSource(DatabaseManager.java:650)
... 19 more
Caused by: java.net.SocketException: Permission denied (connect failed)
at java.net.PlainSocketImpl.socketConnect(Native Method)
at 
java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
at 
java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
at 
java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at java.net.Socket.connect(Socket.java:589)
at java.net.Socket.connect(Socket.java:538)
at java.net.Socket.(Socket.java:434)
at java.net.Socket.(Socket.java:211)
at org.postgresql.core.PGStream.(PGStream.java:62)
at 
org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:
76)
... 35 more

Any help would be appreciated.

Thanks
Keith

-- 
All messages to this mailing list should adhere to the DuraSpace Code of 
Conduct: https://duraspace.org/about/policies/code-of-conduct/
--- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.

Re: [dspace-tech] xmlui not loading in tomcat

2019-03-22 Thread Keith Jones
Hi Tim,

I was able to fix the access issue to the database by making the selinux
permissions of the whole dspace install area to a tomcat user.  Not sure if
this is the most efficient and secure solution.

Thanks for your help.

Keith

On Thu, Mar 21, 2019 at 3:28 PM Tim Donohue  wrote:

> Hi Keith,
>
> The general errors are listed in the log snippet you provided. Take a look
> at these SEVERE logs, which essentially say that Tomcat cannot run "/xmlui":
>
> SEVERE: One or more listeners failed to start. Full details will be found
> in the appropriate container log file
> Mar 21, 2019 2:10:35 PM org.apache.catalina.core.StandardContext
> startInternal
> SEVERE: Context [/xmlui] startup failed due to previous errors
> Mar 21, 2019 2:10:35 PM org.apache.catalina.loader.WebappClassLoaderBase
> clearReferencesJdbc
> SEVERE: The web application [/xmlui] registered the JDBC driver
> [org.postgresql.Driver] but failed to unregister it when the web
> application was stopped. To prevent a memory leak, the JDBC Driver has been
> forcibly unregistered.
> Mar 21, 2019 2:10:35 PM org.apache.catalina.loader.WebappClassLoaderBase
> clearReferencesJdbc
> SEVERE: The web application [/xmlui] registered the JDBC driver
> [org.postgresql.Driver] but failed to unregister it when the web
> application was stopped. To prevent a memory leak, the JDBC Driver has been
> forcibly unregistered.
>
> The first one in that list says "Full details will be found in the
> appropriate container log file".  That essentially means there's a
> different Tomcat log which should have the full error details.  My guess is
> you might be looking at "catalina.out", but the error might be detailed
> fully in a "localhost.[date].log" or a separate "catalina.[date].log".  I'd
> recommend looking at any other logs that are in your Tomcat for more
> specific errors when you see that message.
>
> - Tim
>
> On Thu, Mar 21, 2019 at 1:29 PM Keith Jones  wrote:
>
>> Hi Tim,
>>
>> I've gone into Tomcat's log file and it doesn't give me enough
>> information to help me figure out why it will not load the xmlui folder.
>> I copied the xmlui folder into the webapps directory in Tomcat.
>>
>> Here is the log file:
>>
>> Mar 21, 2019 2:10:22 PM org.apache.coyote.AbstractProtocol pause
>> INFO: Pausing ProtocolHandler ["http-bio-8090"]
>> Mar 21, 2019 2:10:22 PM org.apache.coyote.AbstractProtocol pause
>> INFO: Pausing ProtocolHandler ["ajp-bio-8009"]
>> Mar 21, 2019 2:10:22 PM org.apache.catalina.core.StandardService
>> stopInternal
>> INFO: Stopping service Catalina
>> Mar 21, 2019 2:10:22 PM org.apache.coyote.AbstractProtocol stop
>> INFO: Stopping ProtocolHandler ["http-bio-8090"]
>> Mar 21, 2019 2:10:22 PM org.apache.coyote.AbstractProtocol stop
>> INFO: Stopping ProtocolHandler ["ajp-bio-8009"]
>> Mar 21, 2019 2:10:22 PM org.apache.coyote.AbstractProtocol destroy
>> INFO: Destroying ProtocolHandler ["http-bio-8090"]
>> Mar 21, 2019 2:10:22 PM org.apache.coyote.AbstractProtocol destroy
>> INFO: Destroying ProtocolHandler ["ajp-bio-8009"]
>> Mar 21, 2019 2:10:27 PM org.apache.catalina.startup.VersionLoggerListener
>> log
>> INFO: Server version:Apache Tomcat/7.0.76
>> Mar 21, 2019 2:10:27 PM org.apache.catalina.startup.VersionLoggerListener
>> log
>> INFO: Server built:  Oct 16 2018 09:15:49 UTC
>> Mar 21, 2019 2:10:27 PM org.apache.catalina.startup.VersionLoggerListener
>> log
>> INFO: Server number: 7.0.76.0
>> Mar 21, 2019 2:10:27 PM org.apache.catalina.startup.VersionLoggerListener
>> log
>> INFO: OS Name:   Linux
>> Mar 21, 2019 2:10:27 PM org.apache.catalina.startup.VersionLoggerListener
>> log
>> INFO: OS Version:3.10.0-862.14.4.el7.x86_64
>> Mar 21, 2019 2:10:27 PM org.apache.catalina.startup.VersionLoggerListener
>> log
>> INFO: Architecture:  amd64
>> Mar 21, 2019 2:10:27 PM org.apache.catalina.startup.VersionLoggerListener
>> log
>> INFO: Java Home:
>>  /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.201.b09-2.el7_6.x86_64/jre
>> Mar 21, 2019 2:10:27 PM org.apache.catalina.startup.VersionLoggerListener
>> log
>> INFO: JVM Version:   1.8.0_201-b09
>> Mar 21, 2019 2:10:27 PM org.apache.catalina.startup.VersionLoggerListener
>> log
>> INFO: JVM Vendor:Oracle Corporation
>> Mar 21, 2019 2:10:27 PM org.apache.catalina.startup.VersionLoggerListener
>> log
>> INFO: CATALINA_BASE: /usr/share/tomcat
>> Mar 21, 2019 2:10:27 P

Re: [dspace-tech] xmlui not loading in tomcat

2019-03-22 Thread Keith Jones
Hi Tim,

Thanks for pointing to the localhost file. After checking the file, I was
seeing the following error:

Mar 22, 2019 2:28:10 PM org.apache.catalina.core.ApplicationContext log
INFO: No Spring WebApplicationInitializer types detected on classpath
Mar 22, 2019 2:28:12 PM org.apache.catalina.core.StandardContext
listenerStart
SEVERE: Exception sending context initialized event to listener instance of
class org.dspace.app.util.
DSpaceContextListener
java.lang.IllegalStateException: java.lang.NullPointerException
at
org.dspace.storage.rdbms.DatabaseManager.getDataSource(DatabaseManager.java:655)
at
org.dspace.storage.rdbms.DatabaseManager.getConnection(DatabaseManager.java:629)
at org.dspace.core.Context.init(Context.java:121)
at org.dspace.core.Context.(Context.java:95)
at
org.dspace.app.util.AbstractDSpaceWebapp.register(AbstractDSpaceWebapp.java:79)
at
org.dspace.app.util.DSpaceContextListener.contextInitialized(DSpaceContextListener.java:128
)
at
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5118)
at
org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5634)
at
org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)
at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:899)
at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:875)
at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:652)
at
org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1260)
at
org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:2002)
at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.sql.SQLException: java.lang.NullPointerException
at
org.dspace.storage.rdbms.DatabaseManager.initialize(DatabaseManager.java:1387)
at
org.dspace.storage.rdbms.DatabaseManager.getDataSource(DatabaseManager.java:650)
... 18 more
Caused by: java.lang.NullPointerException
at
org.dspace.storage.rdbms.DatabaseUtils.setupFlyway(DatabaseUtils.java:295)
at
org.dspace.storage.rdbms.DatabaseUtils.updateDatabase(DatabaseUtils.java:369)
at
org.dspace.storage.rdbms.DatabaseUtils.updateDatabase(DatabaseUtils.java:338)
at
org.dspace.storage.rdbms.DatabaseManager.initialize(DatabaseManager.java:1373)
... 19 more

I've gone through all the database setup again, and also ran the following
command:

dspace database test

Results:
Attempting to connect to database using these configurations:
 - URL: jdbc:postgresql://localhost:5432/dspace
 - Driver: org.postgresql.Driver
 - Username: dspace
 - Password: [hidden]
 - Schema:

Testing connection...
Connected successfully!


I'm not sure why the database is not able to connect when laucnhing Dspace
thru tomcat.

Keith




On Thu, Mar 21, 2019 at 3:28 PM Tim Donohue  wrote:

> Hi Keith,
>
> The general errors are listed in the log snippet you provided. Take a look
> at these SEVERE logs, which essentially say that Tomcat cannot run "/xmlui":
>
> SEVERE: One or more listeners failed to start. Full details will be found
> in the appropriate container log file
> Mar 21, 2019 2:10:35 PM org.apache.catalina.core.StandardContext
> startInternal
> SEVERE: Context [/xmlui] startup failed due to previous errors
> Mar 21, 2019 2:10:35 PM org.apache.catalina.loader.WebappClassLoaderBase
> clearReferencesJdbc
> SEVERE: The web application [/xmlui] registered the JDBC driver
> [org.postgresql.Driver] but failed to unregister it when the web
> application was stopped. To prevent a memory leak, the JDBC Driver has been
> forcibly unregistered.
> Mar 21, 2019 2:10:35 PM org.apache.catalina.loader.WebappClassLoaderBase
> clearReferencesJdbc
> SEVERE: The web application [/xmlui] registered the JDBC driver
> [org.postgresql.Driver] but failed to unregister it when the web
> application was stopped. To prevent a memory leak, the JDBC Driver has been
> forcibly unregistered.
>
> The first one in that list says "Full details will be found in the
> appropriate container log file".  That essentially means there's a
> different Tomcat log which should have the full error details.  My guess is
> you might be looking at "catalina.out", but the error might be detailed
> fully in a "localhost.[date].log" or a separate "catalina.[date].log".  I'd
> recommend looking at any other logs that are in your Tomcat for more
> 

Re: [dspace-tech] xmlui not loading in tomcat

2019-03-21 Thread Keith Jones
Hi Tim,

I've gone into Tomcat's log file and it doesn't give me enough information
to help me figure out why it will not load the xmlui folder.
I copied the xmlui folder into the webapps directory in Tomcat.

Here is the log file:

Mar 21, 2019 2:10:22 PM org.apache.coyote.AbstractProtocol pause
INFO: Pausing ProtocolHandler ["http-bio-8090"]
Mar 21, 2019 2:10:22 PM org.apache.coyote.AbstractProtocol pause
INFO: Pausing ProtocolHandler ["ajp-bio-8009"]
Mar 21, 2019 2:10:22 PM org.apache.catalina.core.StandardService
stopInternal
INFO: Stopping service Catalina
Mar 21, 2019 2:10:22 PM org.apache.coyote.AbstractProtocol stop
INFO: Stopping ProtocolHandler ["http-bio-8090"]
Mar 21, 2019 2:10:22 PM org.apache.coyote.AbstractProtocol stop
INFO: Stopping ProtocolHandler ["ajp-bio-8009"]
Mar 21, 2019 2:10:22 PM org.apache.coyote.AbstractProtocol destroy
INFO: Destroying ProtocolHandler ["http-bio-8090"]
Mar 21, 2019 2:10:22 PM org.apache.coyote.AbstractProtocol destroy
INFO: Destroying ProtocolHandler ["ajp-bio-8009"]
Mar 21, 2019 2:10:27 PM org.apache.catalina.startup.VersionLoggerListener
log
INFO: Server version:Apache Tomcat/7.0.76
Mar 21, 2019 2:10:27 PM org.apache.catalina.startup.VersionLoggerListener
log
INFO: Server built:  Oct 16 2018 09:15:49 UTC
Mar 21, 2019 2:10:27 PM org.apache.catalina.startup.VersionLoggerListener
log
INFO: Server number: 7.0.76.0
Mar 21, 2019 2:10:27 PM org.apache.catalina.startup.VersionLoggerListener
log
INFO: OS Name:   Linux
Mar 21, 2019 2:10:27 PM org.apache.catalina.startup.VersionLoggerListener
log
INFO: OS Version:3.10.0-862.14.4.el7.x86_64
Mar 21, 2019 2:10:27 PM org.apache.catalina.startup.VersionLoggerListener
log
INFO: Architecture:  amd64
Mar 21, 2019 2:10:27 PM org.apache.catalina.startup.VersionLoggerListener
log
INFO: Java Home:
 /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.201.b09-2.el7_6.x86_64/jre
Mar 21, 2019 2:10:27 PM org.apache.catalina.startup.VersionLoggerListener
log
INFO: JVM Version:   1.8.0_201-b09
Mar 21, 2019 2:10:27 PM org.apache.catalina.startup.VersionLoggerListener
log
INFO: JVM Vendor:Oracle Corporation
Mar 21, 2019 2:10:27 PM org.apache.catalina.startup.VersionLoggerListener
log
INFO: CATALINA_BASE: /usr/share/tomcat
Mar 21, 2019 2:10:27 PM org.apache.catalina.startup.VersionLoggerListener
log
INFO: CATALINA_HOME: /usr/share/tomcat
Mar 21, 2019 2:10:27 PM org.apache.catalina.startup.VersionLoggerListener
log
INFO: Command line argument: -Dcatalina.base=/usr/share/tomcat
Mar 21, 2019 2:10:27 PM org.apache.catalina.startup.VersionLoggerListener
log
INFO: Command line argument: -Dcatalina.home=/usr/share/tomcat
Mar 21, 2019 2:10:27 PM org.apache.catalina.startup.VersionLoggerListener
log
INFO: Command line argument: -Djava.endorsed.dirs=
Mar 21, 2019 2:10:27 PM org.apache.catalina.startup.VersionLoggerListener
log
INFO: Command line argument: -Djava.io.tmpdir=/var/cache/tomcat/temp
Mar 21, 2019 2:10:27 PM org.apache.catalina.startup.VersionLoggerListener
log
INFO: Command line argument:
-Djava.util.logging.config.file=/usr/share/tomcat/conf/logging.properties
Mar 21, 2019 2:10:27 PM org.apache.catalina.startup.VersionLoggerListener
log
INFO: Command line argument:
-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
Mar 21, 2019 2:10:27 PM org.apache.catalina.core.AprLifecycleListener
lifecycleEvent
INFO: The APR based Apache Tomcat Native library which allows optimal
performance in production environments was not found on the
java.library.path:
/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
Mar 21, 2019 2:10:27 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-bio-8090"]
Mar 21, 2019 2:10:27 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["ajp-bio-8009"]
Mar 21, 2019 2:10:27 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 970 ms
Mar 21, 2019 2:10:27 PM org.apache.catalina.core.StandardService
startInternal
INFO: Starting service Catalina
Mar 21, 2019 2:10:27 PM org.apache.catalina.core.StandardEngine
startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.76
Mar 21, 2019 2:10:27 PM org.apache.catalina.startup.HostConfig
deployDirectory
INFO: Deploying web application directory /var/lib/tomcat/webapps/ROOT
Mar 21, 2019 2:10:27 PM org.apache.catalina.startup.TldConfig execute
INFO: At least one JAR was scanned for TLDs yet contained no TLDs. Enable
debug logging for this logger for a complete list of JARs that were scanned
but no TLDs were found in them. Skipping unneeded JARs during scanning can
improve startup time and JSP compilation time.
Mar 21, 2019 2:10:27 PM org.apache.catalina.startup.HostConfig
deployDirectory
INFO: Deployment of web application directory /var/lib/tomcat/webapps/ROOT
has finished in 616 ms
Mar 21, 2019 2:10:27 PM org.apache.catalina.startup.HostConfig
deployDirectory
INFO: Deploying web application directory

[dspace-tech] DSpace 5.3 Not loading

2019-03-01 Thread Keith Jones
Hi All,

I'm looking for some help trying to find out why I can not get Dspace
version 5.3 to load in tomcat.

Right now I have a Centos 7 machine, with Tomcat running through HTTPS.
I've check that the connector is working between httpds and tomcat because
tomcats start-up page is viewable. I've downloaded the 5.3 source, compiled
it and moved the xmlui interface into the webapps area of tomcat, replacing
the ROOT folder content with the xmlui folder content.

I've checked the log files and I'm seeing the following error:

SEVERE: Exception sending context destroyed event to listener instance of
class org.dspace.app.util.DS
paceContextListener
java.lang.NullPointerException
at
org.dspace.storage.rdbms.DatabaseManager.delete(DatabaseManager.java:784)
at
org.dspace.app.util.AbstractDSpaceWebapp.deregister(AbstractDSpaceWebapp.java:98)
at
org.dspace.app.util.DSpaceContextListener.contextDestroyed(DSpaceContextListener.java:146)
at
org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:5165)
at
org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java:5829)
at
org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:221)
at
org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:149)
at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:899)
at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:875)
at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:652)
at
org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1260)
at
org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:2002)
at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)



I'm running postgres, check that it is running and that I'm able to connect
to the database.

Thanks for any help.

-- 
All messages to this mailing list should adhere to the DuraSpace Code of 
Conduct: https://duraspace.org/about/policies/code-of-conduct/
--- 
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] Loading Config File

2019-02-18 Thread Keith Jones
Hi All,

I'm trying to get a new installation of DSpace version 5.3 running on
Centos 6 and I'm running into the following error.

SEVERE: Exception sending context initialized event to listener instance of
class org.dspace.app.util.DSpaceContextListener
java.lang.IllegalStateException: Cannot load configuration:
file:/home/dspace/config/dspace.cfg
at
org.dspace.core.ConfigurationManager.loadConfig(ConfigurationManager.java:683)
at
org.dspace.app.util.DSpaceContextListener.contextInitialized(DSpaceContextListener.java:102)
at
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5118)
at
org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5634)
at
org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)
at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:899)
at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:875)
at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:652)
at
org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1260)
at
org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:2002)
at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.io.FileNotFoundException: /home/dspace/config/dspace.cfg
(Permission denied)
at java.io.FileInputStream.open0(Native Method)
at java.io.FileInputStream.open(FileInputStream.java:195)
at java.io.FileInputStream.(FileInputStream.java:138)
at java.io.FileInputStream.(FileInputStream.java:93)
at
sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:90)
at
sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:188)
at java.net.URL.openStream(URL.java:1045)
at
org.dspace.core.ConfigurationManager.loadConfig(ConfigurationManager.java:660)
... 14 more

Feb 18, 2019 3:02:53 PM org.apache.catalina.core.StandardContext
listenerStop
SEVERE: Exception sending context destroyed event to listener instance of
class org.dspace.app.util.DSpaceContextListener
java.lang.NullPointerException
at
org.dspace.app.util.DSpaceContextListener.contextDestroyed(DSpaceContextListener.java:146)
at
org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:5165)
at
org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java:5829)
at
org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:221)
at
org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:149)
at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:899)
at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:875)
at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:652)
at
org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1260)
at
org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:2002)
at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)


I can't get the config file to load, not sure if it's a problem with tomcat.

Thanks
Keith

-- 
All messages to this mailing list should adhere to the DuraSpace Code of 
Conduct: https://duraspace.org/about/policies/code-of-conduct/
--- 
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] Fwd: Dspace Stops Responding

2018-09-19 Thread Keith Jones
Hi All,

My institution is currently running Dspace version 5.3 in Tomcat backed by
Postgres and we've recently been experiencing an uptick in our system being
non-responsive. I can restart tomcat and everything returns. Have others
been experiencing this and are there was to reduce the system from going
down.

Thanks
Keith

-- 
All messages to this mailing list should adhere to the DuraSpace Code of 
Conduct: https://duraspace.org/about/policies/code-of-conduct/
--- 
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] Fwd: OAI questions

2017-10-24 Thread Keith Jones
Hi,

I'm trying to find information about how much customizing one can do with
OAI harvesting.
Is it possible to define what level of data is returned when a Dspace
repository is accessed via OAI.
Can you also set up different data returned based on
Community/Collection/Item levels?

Thanks
Keith

-- 
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] Rest Question

2017-04-06 Thread Keith Jones
Thanks for the information. I will get back to you after I've had an
opportunity to look things over.



On Tue, Apr 4, 2017 at 11:25 AM, Terry Brady 
wrote:

> The REST api for the demo.dspace.org server is available.
>
> https://demo.dspace.org/rest
>
> Are the same requests successful on that server?
>
> If so, can you find any errors in your log files that were triggered by
> your requests?
>
> What version of DSpace are you running?
>
> On Tue, Apr 4, 2017 at 7:51 AM, Keith Jones  wrote:
>
>>
>> Hi All,
>>
>> I'm doing some testing of the REST api with my Repository installation.
>> In my testing, I'm able to do such base request as community and collection
>> and item lists, but when I try some other calls I'm getting 404 results.
>>
>> I can make the following calls:
>>
>> url/rest/communities
>> url/rest/collections
>> url/rest/collections/id
>>
>> But if I try calls such as:
>>
>> url/rest/groups
>> url/rest/communities/id/administrators
>> url/rest/collections/id/items/count
>>
>> I get and 404 response.
>>
>> Any idea as to why some calls work and others do not.
>>
>> Thanks
>>
>> --
>> 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.
>>
>
>
>
> --
> Terry Brady
> Applications Programmer Analyst
> Georgetown University Library Information Technology
> http://georgetown-university-libraries.github.io/
> 425-298-5498 (Seattle, WA)
>

-- 
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] Metadata bulk update Question

2017-04-06 Thread Keith Jones
Thanks for the information.

On Thu, Apr 6, 2017 at 3:08 AM, helix84  wrote:

> That is not the case. If you have "Author1||Author2" in
> "dc.contributor.author" and you change it to "AuthorA||AuthorB", the
> former will be replaced with the later.
>
> However, make sure you're not running into the following bug, which
> may have symptoms similar to what you're describing:
>
> https://wiki.duraspace.org/display/DSPACE/TechnicalFaq#TechnicalFAQ-
> MetadatavaluesinCSVexportseemtohaveduplicatecolumns
>
> Exporting to CSV should tell you if that's the case.
>
>
> Regards,
> ~~helix84
>
> Compulsory reading: DSpace Mailing List Etiquette
> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
>
>
>
> On Wed, Apr 5, 2017 at 10:20 PM, Keith Jones  wrote:
> >
> > Hi All,
> >
> > I'm using the UI tool in XML to bulk change metadata using a CSV file. My
> > question is, if I want to change metadata in a field that has a value
> now,
> > but want to change it to another value, do I have to run a metadata csv
> > upload twice. Meaning, once to remove the data in the field and another
> run
> > to put in the new data?
> >
> > I tried running it once, but I seem to be adding a new data element and
> > still keeping the old data element.
> >
> > Thanks
> >
> > Keith
> >
> > --
> > 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] Metadata bulk update Question

2017-04-05 Thread Keith Jones
Hi All,

I'm using the UI tool in XML to bulk change metadata using a CSV file. My
question is, if I want to change metadata in a field that has a value now,
but want to change it to another value, do I have to run a metadata csv
upload twice. Meaning, once to remove the data in the field and another run
to put in the new data?

I tried running it once, but I seem to be adding a new data element and
still keeping the old data element.

Thanks

Keith

-- 
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] Rest Question

2017-04-04 Thread Keith Jones
Hi All,

I'm doing some testing of the REST api with my Repository installation. In
my testing, I'm able to do such base request as community and collection
and item lists, but when I try some other calls I'm getting 404 results.

I can make the following calls:

url/rest/communities
url/rest/collections
url/rest/collections/id

But if I try calls such as:

url/rest/groups
url/rest/communities/id/administrators
url/rest/collections/id/items/count

I get and 404 response.

Any idea as to why some calls work and others do not.

Thanks

-- 
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] Change Ownership

2017-01-17 Thread Keith Jones
Hi All,

Has anyone worked on a way to change ownership of and item from one user to
a different user. I was able to assign and item from on use to another
using the following sql call:

update item set submitter_id="new user" where item_id=(item id #);

This worked partially, where the new user now shows the item, but no
context menu shows, that would allow the new user to actually edit the item.

Thanks
Keith

-- 
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] Correction

2016-10-05 Thread Keith Jones
Hi again,

I actually meant Richard Jones, who is listed as the author of
SwordAuthenticator.java.

Thanks

-- 
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] SowrdAuth

2016-10-05 Thread Keith Jones
Hi All,

Would anyone have Robert Jones's email, I wanted to get in contact with him
to ask a question about the SwordAuthentication class.

Thanks

-- 
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] Authentication

2016-09-21 Thread Keith Jones
Thanks Andrea,

This method works. I appreciate the help.

Keith

On Fri, Sep 16, 2016 at 5:51 AM, Andrea Bollini 
wrote:

> Hi Keith,
>
> I do that in the past, if I remember correctly you just need a small
> customization to the org.dspace.authenticate.PasswordAuthentication
>
> change the loginPageURL and the loginPageTitle methods to return null, in
> such way it will be not shown to the user as an authentication option but
> will be available as provider to authenticate the credential collected with
> basic auth for rest/sword.
>
> To keep things more clean you should rename the class and put it in the
> additions module. Remember to change the authentication.cfg file accordly.
>
> Hope this help,
>
> Andrea
>
>
>
>
> Il 08/09/2016 21:47, Keith Jones ha scritto:
>
>
>
> Hi All,
>
> We have an installation of DSpace and we are using CAS as the
> authentication process.
> I'm planning on running SWORD and REST and wanted to know if it is
> possible to by pass the CAS authentication and used the default password
> option, while still having CAS managing authentication when end users log
> into the web interface.
>
> Thanks
> Keith
> --
> 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.
>
>
> --
> Andrea Bollini
> Chief Technology and Innovation Officer
>
> 4Science,  www.4science.it
> office: Via Edoardo D'Onofrio 304, 00155 Roma, Italy
> mobile: +39 333 934 1808
> skype: a.bollini
> linkedin: andreabollini
> orcid: -0002-9029-1854
>
> an Itway Group Company
> Italy, France, Spain, Portugal, Greece, Turkey, Lebanon, Qatar, U.A.Emirates
>
>

-- 
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] Authentication

2016-09-08 Thread Keith Jones
Hi All,

We have an installation of DSpace and we are using CAS as the
authentication process.
I'm planning on running SWORD and REST and wanted to know if it is possible
to by pass the CAS authentication and used the default password option,
while still having CAS managing authentication when end users log into the
web interface.

Thanks
Keith

-- 
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] DSpace XML namespaces

2016-08-10 Thread Keith Jones
Thanks Tim for the information.

What I'm trying to do is to parse the mets file for say an item. I'm
looking to call the mets file via the wbe into php and parse the
information returned.

Not sure if anyone has done work on this.

Keith

On Wed, Aug 10, 2016 at 9:58 AM, Tim Donohue  wrote:

> Hi Keith,
>
> The simple answer is that most of the DSpace XML namespaces are treated
> more like URIs than URLs.  That means they are non-resolvable (and never
> have been, from the time they were created, which was about 10 years ago
> for some).
>
> In more recent years, we have been trying to make a conscious effort to
> include XSDs (XML Schema Definitions) within the DSpace source code itself.
> But, there are still a few that are known to be missing since the beginning
> (e.g. the DSpace Intermediate Metadata or DIM schema never seems to have
> ever been created).
>
> We do welcome contributions to DSpace, and I'd love to see us correct
> existing XSDs or recreate any XSDs that are missing. So, if there are
> particular schemas you are looking for, it may be worth opening up a ticket
> in our JIRA issue tracker (https://jira.duraspace.org/projects/DS/issues),
> so that we can work to find a volunteer developer to recreate or update the
> schema.  If you (or anyone else on this list) have any interest in helping
> recreate these, we also welcome code contributions:
> https://wiki.duraspace.org/display/DSPACE/Code+Contribution+Guidelines
>
> - Tim
>
> On 8/10/2016 8:38 AM, Keith Jones wrote:
>
>
> Hi All,
>
> I was trying to access the Dspace XML namespaces at the following links:
>
> http://www.dspace.org/xmlns/dspace and http://www.dspace.org/
> xmlns/dspace/dlm,
>
> but both links are not working.
>
> Does anyone know where I can find this information.
>
> Thanks
> Keith
> --
> 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] DSpace XML namespaces

2016-08-10 Thread Keith Jones
Hi All,

I was trying to access the Dspace XML namespaces at the following links:

http://www.dspace.org/xmlns/dspace and http://www.dspace.org/xmlns/
dspace/dlm,

but both links are not working.

Does anyone know where I can find this information.

Thanks
Keith

-- 
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] Wordpress and Dspace

2016-07-28 Thread Keith Jones
Hi All,

I was wondering if anyone has worked with pulling information from
dspace(metadata) and presenting it in Wordpress.

I've looked at using the rest api, and possible using the mets file. Any
thoughts or information would be greatly appreciated.

Thanks
Keith

-- 
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] Sword Config question

2016-06-06 Thread Keith Jones
Hi All,

I'm still trying to figure out setting up sword on out Dspace installation.

Going through the documentation, Im not sure how to correctly configure
this setting.

Property:

collection.url

Example Value:
collection.url = http://www.myu.ac.uk/swordv2/collection



Is collection the url to the collection you want to send deposits? Can you
configure more then one collection destination?

Thanks
Keith

-- 
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] Sword URL

2016-06-01 Thread Keith Jones
Hi All,

I'm in the process of trying to set up the swordv2 server in our
installation of DSpace, but I'm not too sure of how to specify the
collection url.

I'm looking at the documentation but I'm not sure if I'm suppose to specify
the entire URL of a collection where I would want the sword server to
deposit the items. Can I use more then one URL?

Thanks
Keith

-- 
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] Sword Questions

2016-04-13 Thread Keith Jones
Hi,

Does anyone have any links to sword clients that I could use to test sword
on my repository.
Does sword use the dspace database for checking who has access permissions?

Thanks

-- 
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] Set User Password via Command Line

2016-04-04 Thread Keith Jones
Hi All,

I have Dspace version 5.3 running and I'm using CAS to login. In doing so,
no password is set in the database, I was wondering if anyone has a way to
set the user password via the command line.

Thanks

Keith

-- 
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] Batch Import Question

2016-03-18 Thread Keith Jones
Hello,

Is there a recommended upload limit when importing items into dspace using
the xmlui "import batch load (Zip)" or when using the xmlui "import
metadata" functions?

Thanks
Keith

-- 
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] Biblio-Transformation-Engine

2016-02-17 Thread Keith Jones
Thanks Helix, that was exactly right. I appreciate the information about
the future of this feature.

On Tue, Feb 16, 2016 at 4:22 PM, helix84  wrote:

> You're probably looking for it in XMLUI. XMLUI doesn't expose BTE,
> that was only done for JSPUI (Administer, then Content - Batch
> import). You can also use BTE from CLI.
>
> From here on, it doesn't seem that BTE will see much new development
> because the contract terms of most of its developers at EKT have
> ended. In DSpace 6, there will be an alternative import framework in
> XMLUI contributed by @mire that addresses some of their architectural
> concerns with BTE. In DSpace 7 and later we'll see which one will be
> used, as our goal is not to have duplicate ways to do the same thing.
>
>
> Regards,
> ~~helix84
>
> Compulsory reading: DSpace Mailing List Etiquette
> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
>

-- 
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] Import Metadata

2016-02-17 Thread Keith Jones
Thanks Helix.

On Tue, Feb 16, 2016 at 4:27 PM, helix84  wrote:

> That's the Batch Metadata Editing interface, documented here:
>
> https://wiki.duraspace.org/display/DSDOC5x/Batch+Metadata+Editing
>
>
> Regards,
> ~~helix84
>
> Compulsory reading: DSpace Mailing List Etiquette
> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
>

-- 
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] Import Metadata

2016-02-16 Thread Keith Jones
Hi all,

I'm currently running version 5.3 of the Dspace software with an XMLUI.
Under the Administrative Menu there is an option to Import Metadata and it
request that you upload a CSV file. I've looked through the documentation
and can not find any information explaining what Import Metadata does and
what should be in the CSV file. Can someone point me to some documentation
that explains this feature.

Thanks
Keith

-- 
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] Biblio-Transformation-Engine

2016-02-16 Thread Keith Jones
Hi All,

I've looked over the documentation for the BTE engine. The documentation
says there is a UI for version 5 but my installation doesn't show the link.
Under Administrative->Content I see the following options: items, Withdrawn
Items, Private Items, Import Metadata and Batch Import (ZIP). I do not see
a link for Batch Import Metadata (BTE) is there a configuration that needs
to be set to activate this feature?

Thanks
Keith

-- 
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] Task Lists

2016-02-10 Thread Keith Jones
Thanks Andrea for the link.



On Mon, Feb 8, 2016 at 7:04 PM, Andrea Schweer 
wrote:

> Hi Keith,
>
> On 09/02/16 07:15, Keith Jones wrote:
>
>> Does anyone know of a way to look at all the pending items in the
>> repository. I have Dspace version 5.3 running. I know as a user you can
>> only see the items which you have submitted. If I set of a workflow and use
>> workflow steps 2 and 3 then a user can only see items in the task list if
>> the user is authorized. Is there a way for the superuser(admin) to see all
>> the task/pending items for all users in all collections?
>>
>
> This depends on the workflow option you're using. In the classic workflow,
> there is no way for someone to see all workflow tasks in the way you
> describe. In the configurable workflow (
> https://wiki.duraspace.org/display/DSDOC5x/Configurable+Workflow), I
> believe there is a workflow overview page that does what you want -- see
> the "Workflow overview features" section on the page I linked to.
>
> The above is for XMLUI -- the situation may be different for JSPUI (where
> there is no configurable workflow option).
>
> cheers,
> Andrea
>
> --
> Dr Andrea Schweer
> Lead Software Developer, ITS Information Systems
> The University of Waikato, Hamilton, New Zealand
> +64-7-837 9120
>
>

-- 
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] Task Lists

2016-02-08 Thread Keith Jones
Hi All,

Does anyone know of a way to look at all the pending items in the
repository. I have Dspace version 5.3 running. I know as a user you can
only see the items which you have submitted. If I set of a workflow and use
workflow steps 2 and 3 then a user can only see items in the task list if
the user is authorized. Is there a way for the superuser(admin) to see all
the task/pending items for all users in all collections?

Thanks
Keith

-- 
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] Change in Tables

2016-02-01 Thread Keith Jones
Hi All,

I've have a support program running for dspace that creates some custom
stats and sends out emails to users who subscribe to the custom stats.

The report is generated by handles. In versions prior dspace 5.0, I used
the handle to get the community/collection/item name. In older database
structure I was able to get the community name from the community table and
the collection name from the collection table. The new database structure
no longer has the "name" field in community and collection table.

My research indicates these values are now stored in the metadatavalue
table.

I'm looking for help putting together database calls to pull out the
name(title) of a Community, Collection and Item.

Any help would be appreciated.

Keith

-- 
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] Mets

2016-01-29 Thread Keith Jones
Thanks


On Fri, Jan 29, 2016 at 9:39 AM, helix84  wrote:

> On Fri, Jan 29, 2016 at 3:28 PM, Keith Jones  wrote:
>
>> I know there is a way to see the mets file use by an item, how can I view
>> it via the browser.
>>
>
> It's this URL (XMLUI only):
>
> http://demo.dspace.org/xmlui/metadata/handle/10673/6/mets.xml
>
>
> Regards,
> ~~helix84
>
> Compulsory reading: DSpace Mailing List Etiquette
> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
>
>

-- 
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] Mets

2016-01-29 Thread Keith Jones
Hi All,

I know there is a way to see the mets file use by an item, how can I view
it via the browser.

Thanks
Keith

-- 
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] Discovery Layer Index Issue

2016-01-28 Thread Keith Jones
Hi All,

I have dspace version 5.3 installed, running xmlui and using the discovery
layer.
I've added 3 additional filters/facets to show up on communities and
collections, the new fields are Program, Department and Advisor. These are
the fields in the dublincore
definitions, dc.description.department, dc.description.advisor
and dc.description.program. In the dspace.cfg file I've set them up as
search indexes and in the discovery.xml file I've added each as a search
filter and a filter facet.

I've run the index-discovery command, which I'm getting results for the new
filters and the facets are showing but the correct count is not showing.

Here is an example:

The link below is to a community in the repository:

http://udspace.udel.edu/handle/19716/13077

When the link is clicked the department facet is produced but the results
counts are not correct.

If you click on the author facet link (Zide. J. M . O.) which shows 4
results which is correct, but this author's has 3 items in the University
of Delaware. Department of Materials Science and Engineering department.

At this link: http://udspace.udel.edu/handle/19716/13077
The department "University of Delaware. Department of Materials Science and
Engineering" only shows one result count in the department facet.

When you go to this link:
http://udspace.udel.edu/handle/19716/13077/discover?filtertype=author&filter_relational_operator=equals&filter=Zide%2C+J.+M.+O
.

The same department above now show a count of 3 items.

I've cleared the index and re-run them but I'm still getting the same
results.

This is a big concern because we are using the discovery layer as means to
locate items in the repository.

Any help with this will be appreciated.

Thanks
Keith

-- 
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] Intermittent Error

2016-01-13 Thread Keith Jones
HI All,

I have Dspace 5.3 up and running. I've been looking in the logs and I'm
seeing this error occurring.

ERROR net.sf.ehcache.store.DiskStore @ cocoon-ehcacheCache: Could not read
dis
k store element for key
PK_G-aspect-cocoon://DRI/8/handle/19716/6810?pipelinehash=-1131579570632695726
_T-Navigation-3842632138536986939. Error was null
java.io.EOFException

Have others had this problem or an ideas as to what is causing the error.

Thanks
Keith

-- 
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] SSL with REST

2015-12-09 Thread Keith Jones
Thanks so much for all the information, this is a big help.

Keith

On Wed, Dec 9, 2015 at 6:35 AM, helix84  wrote:

> > DSpace REST requires SSL, because the client could send the auth-token
> to any request
>
> I'd add to that that not only tokens get sent via the connection, but
> also passwords. Password authentication is currently the only
> authentication method supported by dspace-rest.
>
> > What did you do to configure just REST running as SSL?
>
> Here's how you can configure a HTTPS connector in Tomcat:
> https://tomcat.apache.org/tomcat-8.0-doc/ssl-howto.html
>
> Alternatively, if you prefer setting up HTTPS in Apache HTTPD, you can
> use mod_proxy_ajp to connect Tomcat with HTTPD:
> https://wiki.duraspace.org/display/DSPACE/Running+DSpace+on+Standard+Ports
>
> If you're going to only run REST via HTTPS, it's fine to use
> self-signed certificates. Otherwise I'd recommend you get a
> certificate from a certificate authority. Let's encrypt is a free one
> that just launched:
> https://letsencrypt.org/
>
>
> Regards,
> ~~helix84
>
> Compulsory reading: DSpace Mailing List Etiquette
> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
>

-- 
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 http://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


Re: [dspace-tech] SSL with REST

2015-12-08 Thread Keith Jones
We want to run REST and the documentation says it should run with SSL
enabled.

What did you do to configure just REST running as SSL?

Thanks
Keith

On Tue, Dec 8, 2015 at 9:09 AM, helix84  wrote:

> On Tue, Dec 8, 2015 at 2:32 PM, Keith Jones  wrote:
> > I have another REST question? Really about SSL, has anyone set up their
> site
> > to run REST with SSL but do not run the repository with SSL?
>
> Yes, why?
>
> http://demo.dspace.org/xmlui/
> https://demo.dspace.org/rest/
>
>
> Regards,
> ~~helix84
>
> Compulsory reading: DSpace Mailing List Etiquette
> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
>

-- 
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 http://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


[dspace-tech] SSL with REST

2015-12-08 Thread Keith Jones
Hello All,

I have another REST question? Really about SSL, has anyone set up their
site to run REST with SSL but do not run the repository with SSL?

Thanks
Keith

-- 
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 http://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


[dspace-tech] DSpace 5.3 and REST API

2015-12-07 Thread Keith Jones
HI all,

When using the new REST API on Dspace 5.3, does the authentication use the
username and password stored in the dspace database?

Thanks
Keith

-- 
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 http://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


Re: [dspace-tech] Dspace 5.2 and Browse by Author

2015-09-28 Thread Keith Jones
Hi Andrea,

Thanks, that was exactly what I was looking for. I did need to remember to
restart the system after making the change, and doing a re-index once the
system is back online.

Keith

On Mon, Sep 21, 2015 at 5:24 PM, Andrea Schweer 
wrote:

> Hi,
>
> On 22/09/15 05:45, mad...@udel.edu wrote:
>
> I'm working on Dspace version 5.2 and was wondering if anyone can point me
> to a place where I can find out how to change the metadata being indexed
> for the browse by author.
> Currently it seems that the Discovery layer is using the dc.contributor.*
> and dc.creator to populate the browser by author. I want to limit the
> fields and not use all the qualified fields in the dc.contributor element.
>
>
> The documentation for configuring the browse options is here:
> https://wiki.duraspace.org/display/DSDOC5x/Configuration+Reference#ConfigurationReference-DefiningtheIndexes
>
> You probably want to change this line for 5.2:
> https://github.com/DSpace/DSpace/blob/dspace-5.2/dspace/config/dspace.cfg#L1147
>
> Currently:
> webui.browse.index.2 = author:metadata:dc.contributor.***,dc.creator:text
>
> Eg to use only dc.contributor.author and dc.creator:
> webui.browse.index.2 = author:metadata:dc.contributor.*author*
> ,dc.creator:text
>
> cheers,
> Andrea
>
> --
> Dr Andrea Schweer
> IRR Technical Specialist, ITS Information Systems
> The University of Waikato, Hamilton, New Zealand+64-7-837 9120
>
>

-- 
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 http://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.