apache / apisix-java-plugin-runner

APISIX Plugin Runner in Java
https://apisix.apache.org/
Apache License 2.0
130 stars 96 forks source link

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

Open mayunSaicmotor opened 9 months ago

mayunSaicmotor commented 9 months ago

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