apache / apache/apisix-java-plugin-runner

request help: I try to run java plugin with debug model,but show error

Offen
#285 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Java
Sterne
152
Forks
102
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

Issue description
I run the apisix in docker
image

the apisix config as below

image

the docker-compose.yml as below
image

my java plugin application.yaml as below

image

I use the command "docker exec -it 8d1e345a9659 /bin/bash " login docker and run the below java command, the java plugin is up
in the docker container.
nohup /jdk17/bin/java --add-opens java.base/java.lang=ALL-UNNAMED --add-opens java.base/java.math=ALL-UNNAMED --add-opens java.base/java.util=ALL-UNNAMED --add-opens java.base/java.lang.reflect=ALL-UNNAMED -jar -DAPISIX_LISTEN_ADDRESS=unix:/tmp/runner.sock -DAPISIX_CONF_EXPIRE_TIME=3600 /path/to/dubbo-plugin-0.0.1-SNAPSHOT-exec.jar > a.log &

image

### which step or configuration is wrong?

Environment
linux centos

your apisix-java-plugin-runner 0.4.0

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.