You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by "mayunSaicmotor (via GitHub)" <gi...@apache.org> on 2023/12/26 14:30:13 UTC
[I] request help: I try to run java plugin with debug model,but show error [apisix-java-plugin-runner]
mayunSaicmotor opened a new issue, #285:
URL: https://github.com/apache/apisix-java-plugin-runner/issues/285
Issue description
I run the apisix in docker
<img width="1705" alt="image" src="https://github.com/apache/apisix-java-plugin-runner/assets/22955377/c52c6a62-fdc4-4144-a10c-411693549e36">
the apisix config as below
<img width="1194" alt="image" src="https://github.com/apache/apisix-java-plugin-runner/assets/22955377/ab38f145-f0aa-44d4-aba6-1372a1f6b483">
the docker-compose.yml as below
<img width="985" alt="image" src="https://github.com/apache/apisix-java-plugin-runner/assets/22955377/fee370d7-5b35-4727-a6d9-371a67f4671d">
my java plugin application.yaml as below
<img width="1101" alt="image" src="https://github.com/apache/apisix-java-plugin-runner/assets/22955377/26be2e3f-1c80-4b44-b132-72b743cac9e7">
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 &
<img width="1673" alt="image" src="https://github.com/apache/apisix-java-plugin-runner/assets/22955377/f5afb571-b4df-4a57-92a3-fa0abf376d3a">
### which step or configuration is wrong?
Environment
linux centos
your apisix-java-plugin-runner 0.4.0
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org