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

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

Open
mayunSaicmotor opened this issue Dec 26, 2023 · 0 comments

Comments

@mayunSaicmotor
Copy link

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

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

1 participant