java - How to activate Payara class loading parameter fish.payara.classloading.delegate? -


i have guava class loading issues , can resolve issues adding glassfish-web.xml stated in official documentation.

however don't want add not backward compatible glassfish-web.xml (deployment on glassfish 3.1.2.2 not working) , activate class loading within payara 162 stated in official documentation , blog article release 162.

i didn't find exact specification on how set system property , no way working tried individually.

  1. jvm-option
    • asadmin create-jvm-options --target server-config -dfish.payara.classloading.delegate=false
  2. system property
    • asadmin create-system-properties --target domain fish.payara.classloading.delegate=false
    • asadmin create-system-properties --target server fish.payara.classloading.delegate=false
    • asadmin create-system-properties --target server-config fish.payara.classloading.delegate=false
    • all 3 system property targets together

none of ways worked.

it's feature, not bug :(

as mentioned developer intended wars not obey global system setting. way achieve wars add configuration in glassfish-web.xml.

https://github.com/payara/payara/issues/1249


Comments

Popular posts from this blog

jOOQ update returning clause with Oracle -

java - Warning equals/hashCode on @Data annotation lombok with inheritance -

java - BasicPathUsageException: Cannot join to attribute of basic type -