I can confirm that I am also getting this issue in our test servers when 
upgrading to dspace-7.3. For the dspace command line tools to work and make 
use of our customisations I need to modify the following line in the dspace 
script:

# Get the JARs in $DSPACEDIR/jsp/WEB-INF/lib, separated by ':'

JARS="$DSPACEDIR/lib/additions-7.3.jar:$DSPACEDIR/lib/*"


Anyone else is experiencing this issue?

Best,

Agustina

On Thursday, 12 May 2022 at 16:43:41 UTC+1 Agustina Martinez wrote:

> Hi all,
>
> I'm experiencing a weird issue in local environment which is running 
> DSpace 7.2.1 with the order of customised classes being loaded.
>
> I have some customised classes in the additions module, e.g. 
> DOIIdentifierProvider.java which also require some modifications to the 
> spring beans configuration.
>
> When I try to run any dspace commands via the dspace utility I get errors 
> that indicate that the dspace classes are being loaded instead of the ones 
> I have in the additions module. This is also confirmed by the fact that if 
> I add this to the dspace script:
>
>  Get the JARs in $DSPACEDIR/jsp/WEB-INF/lib, separated by ':'
> JARS="$DSPACEDIR/lib/additions-7.2.1.jar:$DSPACEDIR/lib/*"
>
> Things work as expected. Moreover, when I deploy in our of our test 
> environments (based on Ubuntu 20.04) I am able to run the dspace script 
> without any issues.
>
> Is anyone else experiencing a similar issue? Is there any way to ensure 
> that additions classes are always loaded first?
>
> Best,
> Agustina
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/24dba5a3-0dc0-45b1-890c-e3b29f03cc88n%40googlegroups.com.

Reply via email to