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 — custom plugins broken after update from 24.2.1 to 24.5.1 · Issue #1684 · ArcadeData/arcadedb

custom plugins broken after update from 24.2.1 to 24.5.1 #1684

New issue
Copy link
New issue
Copy link
Closed
Closed
custom plugins broken after update from 24.2.1 to 24.5.1#1684
Copy link
Assignees
lvca
Milestone
24.10.1

Description

@vic0824
vic0824
opened on Aug 7, 2024
Issue body actions

ArcadeDB Version:

ArcadeDB Server v24.5.1 (build 6800848/1716545156043/main)

OS and JDK Version:

Linux 4.18.0-553.5.1.el8_10.x86_64 - OpenJDK 64-Bit Server VM 11.0.22 (Corretto-11.0.22.7.1)

Expected behavior

custom plugins with custom Undertow routes, continue to work.

Actual behavior

all custom routes return 404 (not found). Setting all logging levels to FINE does not produce any message that explains why Undertow cannot find the routes. Only the fallback handler works

Steps to reproduce

working on a test case

Activity

  1. vic0824 commented on Aug 7, 2024

    @vic0824
    vic0824
    on Aug 7, 2024
    Author
    More actions

    The attached zip file contains:

    • testCustomPlugin: test method
    • OrchestratorPlugin: the class that implements the custom plugin
    • TestHandler: the class that implements the test handler

    steps to reproduce:

    1. Run the testCustomPlugin method
    2. open a browser and point it to http://localhost:8080 (or replace localhost with the appropriate local IP address): verify that the Studio page is displayed
    3. open a browser and point it to http://localhost:8080/orchestrator/test (or replace localhost with the appropriate local IP address): verify that a 404 (not found) page is displayed

    OrchestratorPlugin.zip

  2. vic0824 commented on Aug 8, 2024

    @vic0824
    vic0824
    on Aug 8, 2024
    Author
    More actions

    Update: also v24.4.1 does not work, so something happened between 24.2.1 and 24.4.1 which broke the custom http routes

  3. vic0824 commented on Aug 8, 2024

    @vic0824
    vic0824
    on Aug 8, 2024
    Author
    More actions

    Update: also v24.6.1 does not work.

  4. vic0824 commented on Aug 8, 2024

    @vic0824
    vic0824
    on Aug 8, 2024
    Author
    More actions

    I have found the root cause: up to 24.2.1, in ArcadeDBServer, the registerPlugins() method was called before httpServer.startService().
    Starting from 24.4.1, the registerPlugins() method is called after httpServer.startService(). and therefore the custom routes are not registered.
    I have pulled the latest snapshot from main, moved the registerPlugins() call before the httpServer.startService(), and now the custom routes work as before.

  5. lvca
    added a commit that references this issue on Aug 8, 2024

    fix: server plugin installation priority

    961a9c6
  6. lvca commented on Aug 8, 2024

    @lvca
    lvca
    on Aug 8, 2024
    Member
    More actions

    You're right, we moved that to fix a bug with HA. I think each plugin should declare when it wants to be installed, so I've created a new enum and a new method getInstallationPriority with default BEFORE_HTTP_ON:

    public interface ServerPlugin {
      enum INSTALLATION_PRIORITY {BEFORE_HTTP_ON, AFTER_HTTP_ON, AFTER_DATABASES_OPEN}
    
      default INSTALLATION_PRIORITY getInstallationPriority() {
        return BEFORE_HTTP_ON;
      }
    }
  7. lvca
    closed this as completedon Aug 8, 2024
  8. lvca
    self-assigned this
    on Aug 8, 2024
  9. lvca
    added
    bug
    fixed
    on Aug 8, 2024
  10. lvca
    added this to the 24.8.1 milestone on Aug 8, 2024
  11. mergify
    added a commit that references this issue on Dec 14, 2025

    chore(deps): bump actions/cache from 4.3.0 to 5.0.1 [skip ci]

    6376228
  12. tae898
    added 2 commits that reference this issue on Jun 28, 2026

    fix: server plugin installation priority

    df00ffc

    chore(deps): bump actions/cache from 4.3.0 to 5.0.1 [skip ci]

    0f7324a
  13. mergify
    added a commit that references this issue on Sep 3, 2026

    chore(studio-deps-dev)(deps-dev): bump the build-tools group in /stud…

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

Metadata

Metadata

Assignees

  • @lvca
    lvca

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    • 24.10.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.