Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to bring database up in Neo4j 4.3.2 using the `expand-commands' with APOC jar in the plugins directory #2215

Closed
conker84 opened this issue Sep 22, 2021 · 0 comments · Fixed by #2216

Comments

@conker84
Copy link
Collaborator

If the APOC jar is in the plugins directory and the following setting in the conf file

dbms.security.procedures.unrestricted=apoc.*

the following error occurs

[1.207s][info][class,load] org.apache.commons.lang3.SystemUtils source: file:/C:/dev/neo4j/plugins/apoc-4.3.0.0-core.jar
[1.208s][info][class,load] org.apache.commons.lang3.JavaVersion source: file:/C:/dev/neo4j/plugins/apoc-4.3.0.0-core.jar
[1.209s][info][class,load] org.apache.commons.lang3.math.NumberUtils source: file:/C:/dev/neo4j/plugins/apoc-4.3.0.0-core.jar
[1.211s][info][class,load] java.math.BigDecimal source: jrt:/java.base
[1.211s][info][class,load] java.lang.Short$ShortCache source: jrt:/java.base
Exception in thread "main" [1.212s][info][class,load] java.lang.Throwable$PrintStreamOrWriter source: jrt:/java.base
[1.212s][info][class,load] java.lang.Throwable$WrappedPrintStream source: jrt:/java.base
java.lang.NoSuchMethodError: org.apache.commons.lang3.SystemUtils.getUserName()Ljava/lang/String;

After running setting dbms.jvm.additional=-verbose:class, it appears that the configbuilder is pulling in SystemUtils from the apoc jar and not using the commons-lang3-3.11.jar from the lib directory

This issue occurs on windows

vga91 added a commit to vga91/neo4j-apoc-procedures that referenced this issue Sep 22, 2021
…using the `expand-commands' with APOC jar in the plugins directory
vga91 added a commit to vga91/neo4j-apoc-procedures that referenced this issue Sep 22, 2021
…using the `expand-commands' with APOC jar in the plugins directory
fbiville pushed a commit that referenced this issue Oct 1, 2021
…pand-commands' with APOC jar in the plugins directory
github-actions bot pushed a commit that referenced this issue Oct 1, 2021
…pand-commands' with APOC jar in the plugins directory
github-actions bot pushed a commit that referenced this issue Oct 1, 2021
…pand-commands' with APOC jar in the plugins directory
conker84 pushed a commit that referenced this issue Dec 3, 2021
…pand-commands' with APOC jar in the plugins directory
conker84 pushed a commit that referenced this issue Dec 7, 2021
…pand-commands' with APOC jar in the plugins directory
vga91 added a commit to vga91/neo4j-apoc-procedures that referenced this issue Feb 22, 2022
…using the `expand-commands' with APOC jar in the plugins directory
vga91 added a commit to vga91/neo4j-apoc-procedures that referenced this issue Feb 22, 2022
…using the `expand-commands' with APOC jar in the plugins directory
vga91 added a commit to vga91/neo4j-apoc-procedures that referenced this issue Feb 24, 2022
…using the `expand-commands' with APOC jar in the plugins directory
vga91 added a commit to vga91/neo4j-apoc-procedures that referenced this issue Mar 17, 2022
…using the `expand-commands' with APOC jar in the plugins directory
vga91 added a commit to vga91/neo4j-apoc-procedures that referenced this issue Mar 23, 2022
…using the `expand-commands' with APOC jar in the plugins directory
vga91 added a commit to vga91/neo4j-apoc-procedures that referenced this issue Mar 29, 2022
…using the `expand-commands' with APOC jar in the plugins directory
conker84 pushed a commit that referenced this issue Apr 7, 2022
…pand-commands' with APOC jar in the plugins directory
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant