[dspace-tech] 'submitted by' in dc.provenance

2022-11-10 Thread 'Bill Tantzen' via DSpace Technical Support
In DSpace 7.4, newly submitted items do not contain a 'Submitted by' field
in dc.provenance.  Is there a way to configure what gets placed in
provenance metadata?

Thanks!
~~Bill

-- 
Human wheels spin round and round
While the clock keeps the pace... -- John Mellencamp

Bill TantzenUniversity of Minnesota Libraries
612-626-9949 (U of M)612-325-1777 (cell)

-- 
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/CADgrb7E3C26H%3DdC3MgLtaomZpvEWuN7TRhNBws7FpRPw9DE%2BQA%40mail.gmail.com.


Re: [dspace-tech] Cannot find class [org.dspace.submit.lookup.RemoveBracketsDateModifier] when install DSpace 4

2022-11-10 Thread 'Tim Donohue' via DSpace Technical Support
Hi,

There's no class named "org.dspace.submit.lookup.RemoveBracketsDateModifier" in 
DSpace 4.x (or even in 5.x or 6.x or 7.x).  See the 4.x code at 
https://github.com/DSpace/DSpace/tree/dspace-4_x/dspace-api/src/main/java/org/dspace/submit/lookup

According to the error, you have a reference to this class in your 
/dspace/config/spring/api/bte.xml file for some reason. Maybe this isn't a 
plain DSpace installation?  Maybe you've installed custom code or a custom 
plugin?

At the very least, you likely need to remove the reference to that class in 
your "bte.xml".  But, I'm not sure why it would exist in the first place, since 
that class doesn't exist in DSpace.  It sounds like you've added custom code or 
similar which is causing this problem.

As a sidenote, you may want to consider installing a newer version of DSpace. 
DSpace 4 is no longer under support (it went end-of-life in July 2021): 
https://wiki.lyrasis.org/display/DSPACE/Releases

Tim


From: dspace-tech@googlegroups.com  on behalf of 
jjbeni...@gmail.com 
Sent: Thursday, November 10, 2022 6:10 AM
To: DSpace Technical Support 
Subject: [dspace-tech] Cannot find class 
[org.dspace.submit.lookup.RemoveBracketsDateModifier] when install DSpace 4

I have the following problem with DSpace 4
I build and deploy the first time and everything is fine.
The second time I compile, when I try to deploy with ant, it gives me the 
following error.

[java] Exception in thread "main" java.lang.IllegalStateException: Failure 
during filter init: Failed to startup the DSpace Service Manager: failure 
starting up spring service manager: Error creating bean with name 
'org.dspace.servicemanager.spring.DSpaceBeanPostProcessor#0' defined in class 
path resource [spring/spring-dspace-applicationContext.xml]: Unsatisfied 
dependency expressed through constructor argument with index 0 of type 
[org.dspace.servicemanager.config.DSpaceConfigurationService]: : Cannot find 
class [org.dspace.submit.lookup.RemoveBracketsDateModifier] for bean with name 
'removeBracketsDate' defined in file [/dspace/config/spring/api/bte.xml]; 
nested exception is java.lang.ClassNotFoundException: 
org.dspace.submit.lookup.RemoveBracketsDateModifier; nested exception is 
org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find 
class [org.dspace.submit.lookup.RemoveBracketsDateModifier] for bean with name 
'removeBracketsDate' defined in file [/dspace/config/spring/api/bte.xml]; 
nested exception is java.lang.ClassNotFoundException: 
org.dspace.submit.lookup.RemoveBracketsDateModifier
 [java] at 
org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:72)
 [java] Caused by: java.lang.RuntimeException: Failed to startup the DSpace 
Service Manager: failure starting up spring service manager: Error creating 
bean with name 'org.dspace.servicemanager.spring.DSpaceBeanPostProcessor#0' 
defined in class path resource [spring/spring-dspace-applicationContext.xml]: 
Unsatisfied dependency expressed through constructor argument with index 0 of 
type [org.dspace.servicemanager.config.DSpaceConfigurationService]: : Cannot 
find class [org.dspace.submit.lookup.RemoveBracketsDateModifier] for bean with 
name 'removeBracketsDate' defined in file [/dspace/config/spring/api/bte.xml]; 
nested exception is java.lang.ClassNotFoundException: 
org.dspace.submit.lookup.RemoveBracketsDateModifier; nested exception is 
org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find 
class [org.dspace.submit.lookup.RemoveBracketsDateModifier] for bean with name 
'removeBracketsDate' defined in file [/dspace/config/spring/api/bte.xml]; 
nested exception is java.lang.ClassNotFoundException: 
org.dspace.submit.lookup.RemoveBracketsDateModifier
 [java] at 
org.dspace.servicemanager.DSpaceServiceManager.startup(DSpaceServiceManager.java:224)
 [java] at 
org.dspace.servicemanager.DSpaceKernelImpl.start(DSpaceKernelImpl.java:150)
 [java] at 
org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:57)
 [java] Caused by: java.lang.IllegalStateException: failure starting up 
spring service manager: Error creating bean with name 
'org.dspace.servicemanager.spring.DSpaceBeanPostProcessor#0' defined in class 
path resource [spring/spring-dspace-applicationContext.xml]: Unsatisfied 
dependency expressed through constructor argument with index 0 of type 
[org.dspace.servicemanager.config.DSpaceConfigurationService]: : Cannot find 
class [org.dspace.submit.lookup.RemoveBracketsDateModifier] for bean with name 
'removeBracketsDate' defined in file [/dspace/config/spring/api/bte.xml]; 
nested exception is java.lang.ClassNotFoundException: 
org.dspace.submit.lookup.RemoveBracketsDateModifier; nested exception is 
org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find 
class [org.dspace.submit.lookup.RemoveBracketsDateModifier] for bean with name 
'removeBracketsDate' defined in file [/dspace/c

Re: [dspace-tech] Kill java processes (dspace/webapps/oai)

2022-11-10 Thread Mark H. Wood
On Wed, Nov 09, 2022 at 12:20:35PM -0800, José Luis Silva wrote:
> Hello community, I have a version 6.3 of dspace.
> 
> I checked the running processes and saw four 'java' processes exceeding 
> %CPU, we increased the server CPU and memory to 10 vCPU and 18 GB RAM. This 
> has no effect, the same processes are running above the threshold.
> 
> I tried 'kill -9' to kill these processes with their PID, but they 
> immediately ran again.

I see two separate issues here.

1.  *Possible* runaway processes.  These could simply be doing work
that takes a lot of CPU for a significant amount of time, but would
eventually complete.  The first thing to do is to find out what
application is running in each, then find out what that
application is doing.  Check the appropriate log files to see if
there is a problem.

2.  Killed processes are automatically re-created.  This sounds like
those applications are running under a process monitor that is
configured to keep them running.  There are many of these -- for
example, here we use 'monit' to start and restart daemons such as
Tomcat and Solr.  If this is how those processes of yours are run,
then you'll need to find out what is monitoring them and use that
to control their states.

-- 
Mark H. Wood
Lead Technology Analyst

University Library
Indiana University - Purdue University Indianapolis
755 W. Michigan Street
Indianapolis, IN 46202
317-274-0749
www.ulib.iupui.edu

-- 
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/Y2z5LhSlFauImiS8%40IUPUI.Edu.


signature.asc
Description: PGP signature


[dspace-tech] Hello List

2022-11-10 Thread Ruck Zuck
I just installed a DSpace 7.4 backend to localhost following the 
instructions pretty close. All went well so far, but somehow the rest api 
seems to fail. 
config/local.cfg:
   dspace.server.url = http://localhost:8080/server
   dspace.ui.url = http://localhost:4000

bin/dspace healthcheck
  Url: http://localhost:4000
  Assetstore size : 0 bytes
  etc., looks normal to me
bin/dspace database test
  Connected successfully!

The HAL browsers appears at http://localhost:8080/server
But: 
   curl http://localhost:8080/server/api/  says HTTP Status 404

At least webapps/server/WEB-INF/lib/dspace-api-7.4.jar is where it needs to 
be.
Anyone any idea on where to look next to get the API working ?

Thanks a lot in advance !
  -- Goetz

-- 
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/b1733c37-c6e3-480f-976f-7c79cb1dc686n%40googlegroups.com.


[dspace-tech] Cannot find class [org.dspace.submit.lookup.RemoveBracketsDateModifier] when install DSpace 4

2022-11-10 Thread jjbeni...@gmail.com
I have the following problem with DSpace 4
I build and deploy the first time and everything is fine.
The second time I compile, when I try to deploy with ant, it gives me the 
following error.

[java] Exception in thread "main" java.lang.IllegalStateException: Failure 
during filter init: Failed to startup the DSpace Service Manager: failure 
starting up spring service manager: Error creating bean with name 
'org.dspace.servicemanager.spring.DSpaceBeanPostProcessor#0' defined in 
class path resource [spring/spring-dspace-applicationContext.xml]: 
Unsatisfied dependency expressed through constructor argument with index 0 
of type [org.dspace.servicemanager.config.DSpaceConfigurationService]: : 
Cannot find class [org.dspace.submit.lookup.RemoveBracketsDateModifier] for 
bean with name 'removeBracketsDate' defined in file 
[/dspace/config/spring/api/bte.xml]; nested exception is 
java.lang.ClassNotFoundException: 
org.dspace.submit.lookup.RemoveBracketsDateModifier; nested exception is 
org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find 
class [org.dspace.submit.lookup.RemoveBracketsDateModifier] for bean with 
name 'removeBracketsDate' defined in file 
[/dspace/config/spring/api/bte.xml]; nested exception is 
java.lang.ClassNotFoundException: 
org.dspace.submit.lookup.RemoveBracketsDateModifier
 [java] at 
org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:72)
 [java] Caused by: java.lang.RuntimeException: Failed to startup the 
DSpace Service Manager: failure starting up spring service manager: Error 
creating bean with name 
'org.dspace.servicemanager.spring.DSpaceBeanPostProcessor#0' defined in 
class path resource [spring/spring-dspace-applicationContext.xml]: 
Unsatisfied dependency expressed through constructor argument with index 0 
of type [org.dspace.servicemanager.config.DSpaceConfigurationService]: : 
Cannot find class [org.dspace.submit.lookup.RemoveBracketsDateModifier] for 
bean with name 'removeBracketsDate' defined in file 
[/dspace/config/spring/api/bte.xml]; nested exception is 
java.lang.ClassNotFoundException: 
org.dspace.submit.lookup.RemoveBracketsDateModifier; nested exception is 
org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find 
class [org.dspace.submit.lookup.RemoveBracketsDateModifier] for bean with 
name 'removeBracketsDate' defined in file 
[/dspace/config/spring/api/bte.xml]; nested exception is 
java.lang.ClassNotFoundException: 
org.dspace.submit.lookup.RemoveBracketsDateModifier
 [java] at 
org.dspace.servicemanager.DSpaceServiceManager.startup(DSpaceServiceManager.java:224)
 [java] at 
org.dspace.servicemanager.DSpaceKernelImpl.start(DSpaceKernelImpl.java:150)
 [java] at 
org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:57)
 [java] Caused by: java.lang.IllegalStateException: failure starting up 
spring service manager: Error creating bean with name 
'org.dspace.servicemanager.spring.DSpaceBeanPostProcessor#0' defined in 
class path resource [spring/spring-dspace-applicationContext.xml]: 
Unsatisfied dependency expressed through constructor argument with index 0 
of type [org.dspace.servicemanager.config.DSpaceConfigurationService]: : 
Cannot find class [org.dspace.submit.lookup.RemoveBracketsDateModifier] for 
bean with name 'removeBracketsDate' defined in file 
[/dspace/config/spring/api/bte.xml]; nested exception is 
java.lang.ClassNotFoundException: 
org.dspace.submit.lookup.RemoveBracketsDateModifier; nested exception is 
org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find 
class [org.dspace.submit.lookup.RemoveBracketsDateModifier] for bean with 
name 'removeBracketsDate' defined in file 
[/dspace/config/spring/api/bte.xml]; nested exception is 
java.lang.ClassNotFoundException: 
org.dspace.submit.lookup.RemoveBracketsDateModifier
 [java] at 
org.dspace.servicemanager.DSpaceServiceManager.startup(DSpaceServiceManager.java:208)
 [java] ... 2 more
 [java] Caused by: 
org.springframework.beans.factory.UnsatisfiedDependencyException: Error 
creating bean with name 
'org.dspace.servicemanager.spring.DSpaceBeanPostProcessor#0' defined in 
class path resource [spring/spring-dspace-applicationContext.xml]: 
Unsatisfied dependency expressed through constructor argument with index 0 
of type [org.dspace.servicemanager.config.DSpaceConfigurationService]: : 
Cannot find class [org.dspace.submit.lookup.RemoveBracketsDateModifier] for 
bean with name 'removeBracketsDate' defined in file 
[/dspace/config/spring/api/bte.xml]; nested exception is 
java.lang.ClassNotFoundException: 
org.dspace.submit.lookup.RemoveBracketsDateModifier; nested exception is 
org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find 
class [org.dspace.submit.lookup.RemoveBracketsDateModifier] for bean with 
name 'removeBracketsDate' defined in file 
[/dspace/config/spring/api/bte.xml]; nested exception is 
java.lang.ClassNotFound

Re: [dspace-tech] Filter media running for 4 days is it normal process?

2022-11-10 Thread Lewatle Johannes Phaladi

Hi DSpace Team,

I  am getting this error when running filter-media on item or collection, 
please see error message :

ERROR filtering, skipping bitstream:
Item Handle: 10539332/20434665   Bundle Name: ORIGINAL   File 
Size: 984696   Checksum: 3bb9367338a7d40a5e76ec4e5056e8c6 (MD5)   
 Asset Store: 0
org.im4java.core.CommandException: convert-im6.q16: attempt to perform an 
operation not allowed by the security policy `PDF' @ 
error/constitute.c/IsCoderAuthorized/421.
The script has completed
On Wednesday, 9 November 2022 at 11:14:42 UTC+2 Lewatle Johannes Phaladi 
wrote:

> Hello Emilio,
>
> much appreciated this will help.
>
> Regards,
> Lewatle 
>
>
> On Tuesday, 8 November 2022 at 18:17:39 UTC+2 elor...@arvo.es wrote:
>
>> At least in versions 5 & 6 the command -i works flawlessly
>>
>> example:   
>>
>> dspace filter-media -f -i x/1685 -p "ImageMagick Image 
>> Thumbnail","ImageMagick PDF Thumbnail"
>>
>> being x/1685  a top level community or a collection or any handle
>>
>> We haven´t tested yet in Version7. 
>>
>> Best luck
>>
>> Emilio
>>
>> On 08/11/2022 16:15, 'Tim Donohue' via DSpace Technical Support wrote:
>>
>> Hi, 
>>
>> Based on my reading of the "filter-media" code, I think the "-i" flag can 
>> also be used to reference a Community or Collection.  In that scenario, all 
>> Items in that Community or Collection will be processed.
>>
>> See the code at: 
>> https://github.com/DSpace/DSpace/blob/main/dspace-api/src/main/java/org/dspace/app/mediafilter/MediaFilterScript.java#L227-L250
>>
>> Tim
>>
>> On Monday, November 7, 2022 at 8:21:23 AM UTC-6 Mark H. Wood wrote:
>>
>>> On Mon, Nov 07, 2022 at 05:40:25AM -0800, Lewatle Johannes Phaladi 
>>> wrote: 
>>> > I have shared your respond with my colleagues to see if we can have 
>>> > solution. Is there anyway to run filter-media on community or 
>>> collection. 
>>> > 
>>> > maybe by breaking that index can make it complete the task. 
>>>
>>> 'bin/dspace filter-media -h' shows that it can be run on individual 
>>> items, but I see no option to process a single community or 
>>> collection. 
>>>
>>> You could make lists of item IDs in each collection and create 
>>> scripts for 'bin/dspace read': 
>>>
>>> filter-media -i 12345/1 
>>> filter-media -i 12345/2 
>>> ... 
>>>
>>> This should be faster than running each item separately. 
>>>
>>> -- 
>>> Mark H. Wood 
>>> Lead Technology Analyst 
>>>
>>> University Library 
>>> Indiana University - Purdue University Indianapolis 
>>> 755 W. Michigan Street 
>>> Indianapolis, IN 46202 
>>> 317-274-0749 <(317)%20274-0749> 
>>> www.ulib.iupui.edu 
>>>
>> -- 
>> 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...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/dspace-tech/4f9696e2-1b07-4401-bbd6-6cd9d4d46454n%40googlegroups.com
>>  
>> 
>> .
>>
>>

-- 
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/63e66f01-d564-4cec-8e8a-60d85bdf6c36n%40googlegroups.com.