GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Postgres plugin not activating on windows start file · Issue #97 · ArcadeData/arcadedb

Postgres plugin not activating on windows start file #97

New issue
Copy link
New issue
Copy link
Closed
Closed
Postgres plugin not activating on windows start file#97
Copy link
Assignees
lvca
Labels
workaround-provided
Milestone
23.6.1

Description

@Jurgen-Aquilina
Jurgen-Aquilina
opened on Oct 5, 2021
Issue body actions

ArcadeDB Version: 21.10

JDK Version: Oracle 8

OS: Windows 10

Expected behavior

Postgres Protocol plugin started displayed.

Actual behavior

Starting ArcadeDB Server with plugins []... displayed

Steps to reproduce

server.bat -Darcadedb.server.plugins=Postgres

Activity

Next
  1. lvca
    self-assigned this
    on Oct 5, 2021
  2. lvca
    added
    bug
    on Oct 5, 2021
  3. lvca commented on Oct 5, 2021

    @lvca
    lvca
    on Oct 5, 2021
    Member
    More actions

    Fond the issue, the commands are passed after the class but they should be before the Java class.

    java ... %CMD_LINE_ARGS% com.arcadedb.server.ArcadeDBServer
    
  4. lvca
    added a commit that references this issue on Oct 5, 2021

    Fixed plugin activation from server script

    8566141
  5. lvca commented on Oct 5, 2021

    @lvca
    lvca
    on Oct 5, 2021
    Member
    More actions

    Ok, tested the unix/macosx/linux version and works. I don't have a Windows quickly to try.

    Could you please get the latest distribution from git, build it (mvn clean install -DskipTests) and then:

    server.bat -Darcadedb.server.plugins=Postgres:com.arcadedb.postgres.PostgresProtocolPlugin
    
  6. Jurgen-Aquilina commented on Oct 5, 2021

    @Jurgen-Aquilina
    Jurgen-Aquilina
    on Oct 5, 2021
    Author
    More actions

    Ok, tested the unix/macosx/linux version and works. I don't have a Windows quickly to try.

    Could you please get the latest distribution from git, build it (mvn clean install -DskipTests) and then:

    server.bat -Darcadedb.server.plugins=Postgres:com.arcadedb.postgres.PostgresProtocolPlugin
    

    It gives the following error now:

    Error: Could not find or load main class Postgres:com.arcadedb.postgres.PostgresProtocolPlugin
    Caused by: java.lang.ClassNotFoundException: Postgres:com.arcadedb.postgres.PostgresProtocolPlugin
    
  7. lvca commented on Oct 6, 2021

    @lvca
    lvca
    on Oct 6, 2021
    Member
    More actions

    I guess : cause troubles under Windows. Could you please try this:

    server.bat -Darcadedb.server.plugins="Postgres:com.arcadedb.postgres.PostgresProtocolPlugin"
    
  8. Jurgen-Aquilina commented on Oct 6, 2021

    @Jurgen-Aquilina
    Jurgen-Aquilina
    on Oct 6, 2021
    Author
    More actions

    I guess : cause troubles under Windows. Could you please try this:

    server.bat -Darcadedb.server.plugins="Postgres:com.arcadedb.postgres.PostgresProtocolPlugin"
    

    This displays "Starting ArcadeDB Server with plugins []... displayed"

  9. lvca commented on Oct 6, 2021

    @lvca
    lvca
    on Oct 6, 2021
    Member
    More actions

    I pushed a fix for that, please let me know if you can retry it after pulling from the latest version..

  10. lvca
    added this to the 21.10.2 milestone on Oct 6, 2021
  11. Jurgen-Aquilina commented on Oct 7, 2021

    @Jurgen-Aquilina
    Jurgen-Aquilina
    on Oct 7, 2021
    Author
    More actions

    @lvca apologies I accidentally ran it on the release distribution. On the latest commit in the main branch it results in the same error again as below:

    Error: Could not find or load main class Postgres:com.arcadedb.postgres.PostgresProtocolPlugin
    Caused by: java.lang.ClassNotFoundException: Postgres:com.arcadedb.postgres.PostgresProtocolPlugin
    
  12. lvca commented on Oct 7, 2021

    @lvca
    lvca
    on Oct 7, 2021
    Member
    More actions

    The weird thing is that is trying to load the class Postgres:com.arcadedb.postgres.PostgresProtocolPlugin but it should look for com.arcadedb.postgres.PostgresProtocolPlugin. it's seems the parsing of parameters doesn't work under windows. I'm looking for a windows machine where to run our tests.

  13. Jurgen-Aquilina commented on Oct 7, 2021

    @Jurgen-Aquilina
    Jurgen-Aquilina
    on Oct 7, 2021
    Author
    More actions

    Could it be that the command says Postgres:com.arcadedb.postgres.PostgresProtocolPlugin rather than com.arcadedb.postgres.PostgresProtocolPlugin? I ran the latter now but got the following error:

    Error: Main method not found in class com.arcadedb.postgres.PostgresProtocolPlugin, please define the main method as:
       public static void main(String[] args)
    or a JavaFX application class must extend javafx.application.Application
    

    If you need anymore testing for windows in the short-term let me know

  14. lvca commented on Oct 7, 2021

    @lvca
    lvca
    on Oct 7, 2021
    Member
    More actions

    The syntax is <plugin-name>:<class>, so it's correct Postgres:com.arcadedb.postgres.PostgresProtocolPlugin. But for some reason, it's not splitting the string.

  15. lvca commented on Oct 13, 2021

    @lvca
    lvca
    on Oct 13, 2021
    Member
    More actions

    @Jurgen-Aquilina could you please retry with the latest release? Thanks in advance.

  16. 16 remaining items

  17. lvca
    removed this from the 21.12.1 milestone on Dec 31, 2021
  18. lvca
    removed
    waiting for user
    on Jan 4, 2022
  19. lvca commented on Jan 4, 2022

    @lvca
    lvca
    on Jan 4, 2022
    Member
    More actions

    Does anybody have a Windows machine that can help with this? Waiting for the final solution, this works for now: setting the plugin in ARCADEDB_SETTING environment variable and then run the server:

    set ARCADEDB_SETTINGS=-Darcadedb.server.plugins="Postgres:com.arcadedb.postgres.PostgresProtocolPlugin"
    bin\server.bat 
    
    Reacted by Shasaur
    Reacted by Shasaur
    Reacted by Shasaur
  20. lvca
    added
    workaround-provided
    on Jan 4, 2022
  21. shasaur commented on Jan 29, 2023

    @shasaur
    shasaur
    on Jan 29, 2023
    Contributor
    More actions

    For anyone trying this on Windows, note: the workaround does not work in the new Terminal, but does work in the old Command Prompt.

  22. lvca
    closed this as completedon Jun 13, 2023
  23. lvca
    added this to the 23.6.1 milestone on Jun 13, 2023
  24. LLuke commented on Nov 17, 2023

    @LLuke
    LLuke
    on Nov 17, 2023
    Contributor
    More actions

    There are bugs with the server.bat, for example, if I want to use a non-default databases location, it would throw errors like

    .\arcadedb-23.10.1\bin\server.bat -Dserver.databaseDirectory=Z:\arcadedb\databases
    ...
    
    ARCADEDB server script path = ...
    ARCADEDB home directory     = ...
    Error: Could not find or load main class Z:\arcadedb\databases
    Caused by: java.lang.ClassNotFoundException: Z:\arcadedb\databases
    

    Edit and add the options in the server.bat including postgres plugin settings will be fine, but such would fail with the command line.

  25. lvca commented on Nov 17, 2023

    @lvca
    lvca
    on Nov 17, 2023
    Member
    More actions

    I'm using server.sh and it correctly instances the Postgres plugin. By the way, how can we fix the server.bat? Adding quotes for paths?

  26. LLuke
    added a commit that references this issue on Nov 19, 2023

    Fix ArcadeData#97

    eac3c1e
  27. LLuke commented on Nov 19, 2023

    @LLuke
    LLuke
    on Nov 19, 2023
    Contributor
    More actions

    I just created a PR for you #1333 and this also fixed #173 under windows.

  28. lvca
    added a commit that references this issue on Nov 20, 2023

    Fix #97 (#1333)

    4b98478
  29. tae898
    added 2 commits that reference this issue on Jun 28, 2026

    Fixed plugin activation from server script

    3784512

    Fix ArcadeData#97 (ArcadeData#1333)

    945504b
  30. tae898
    added a commit that references this issue on Sep 15, 2026

    publish_results_asset: the rows and the payload as a checkable releas…

    f61aeff
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @lvca
    lvca

Labels

workaround-provided

Type

No type

Projects

No projects

    Milestone

    • 23.6.1

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.