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.4 using the `expand-commands' with APOC jar in the plugins directory #3048

Closed
pecollet opened this issue Jul 13, 2022 · 0 comments

Comments

@pecollet
Copy link
Contributor

Expected Behavior (Mandatory)

Neo4j 4.4, on windows, with APOC 4.4 plugin, using expand-commands should start up with no fuss

Actual Behavior (Mandatory)

Neo4j 4.4, on windows, with APOC 4.4 plugin, using expand-commands fails to start.

The following error occurs on startup :

2022-07-06 14:35:19 Apache Commons Daemon procrun stderr initialized.
java.lang.NoSuchMethodError: 'java.lang.String org.apache.commons.lang3.SystemUtils.getUserName()'
              at org.neo4j.configuration.Config$Builder.validateFilePermissionForCommandExpansion(Config.java:356)
              at org.neo4j.configuration.Config$Builder.build(Config.java:318)
              at org.neo4j.server.NeoBootstrapper.start(NeoBootstrapper.java:115)
              at org.neo4j.server.BlockingBootstrapper.start(BlockingBootstrapper.java:45)
              at org.neo4j.server.NeoBootstrapper.start(NeoBootstrapper.java:95)
              at com.neo4j.server.enterprise.EnterpriseEntryPoint.start(EnterpriseEntryPoint.java:38)

This issue seems similar to issue #2215 (org.apache.commons.lang3 version conflict between Neo4j dependency and APOC dependency), fixed by #2216 but only on 4.3 apparently.

How to Reproduce the Problem

Steps (Mandatory)

  • Deploy a neo4j 4.4 on windows
  • with APOC 4.4.0.3 plugin
  • neo4j.conf : use a command expansion some.setting=$(echo 123)
  • use neo4j start --expand-commands to start neo4j

Versions

  • OS: windows
  • Neo4j: 4.4.8
  • Neo4j-Apoc: 4.4.0.3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants