mayunSaicmotor opened a new issue, #286:
URL: https://github.com/apache/apisix-java-plugin-runner/issues/286
### Description
Issue description
I run the apisix in docker
[root@cloudpark-test ~]# docker ps
```
CONTAINER ID IMAGE COMMAND
CREATED STATUS PORTS
NAMES
8fa47e223cf5 apache/apisix:3.7.0-debian "/docker-entrypoint.…"
About an hour ago Up About an hour 0.0.0.0:9091-9092->9091-9092/tcp,
0.0.0.0:9180->9180/tcp, 0.0.0.0:9443->9443/tcp, 0.0.0.0:9070->9080/tcp
docker-apisix_apisix_1
d09627d5d710 apache/apisix-dashboard:latest "/usr/local/apisix-d…" 12
days ago Up About an hour 0.0.0.0:9000->9000/tcp
docker-apisix_dashboard_1
f4b08fac1152 prom/prometheus:v2.25.0 "/bin/prometheus --c…" 12
days ago Up About an hour 0.0.0.0:9090->9090/tcp
docker-apisix_prometheus_1
986fd4064e6c nginx:1.19.0-alpine "/docker-entrypoint.…" 12
days ago Up About an hour 0.0.0.0:9081->80/tcp
docker-apisix_web1_1
cb6534b915ab bitnami/etcd:latest "/opt/bitnami/script…" 12
days ago Up About an hour 0.0.0.0:2379->2379/tcp, 2380/tcp
docker-apisix_etcd_1
8c38d3344d9a grafana/grafana:7.3.7 "/run.sh" 12
days ago Up About an hour 0.0.0.0:3000->3000/tcp
docker-apisix_grafana_1
c5b1976abe51 nginx:1.19.0-alpine "/docker-entrypoint.…" 12
days ago Up About an hour 0.0.0.0:9082->80/tcp
```
the apisix config as below
<img width="1376" alt="image"
src="https://github.com/apache/apisix/assets/22955377/97a3228d-8b38-43e2-8383-bb99e0131dd7">
the docker-compose.yml as below
<img width="908" alt="image"
src="https://github.com/apache/apisix/assets/22955377/d18fe6fa-a0cc-4dc1-b335-75580fa922ce">
my java plugin application.yaml as below
<img width="568" alt="image"
src="https://github.com/apache/apisix/assets/22955377/5214a95d-f32c-4957-bbd9-878536110e74">
<img width="840" alt="image"
src="https://github.com/apache/apisix/assets/22955377/a6d5aee3-e92f-4c99-aeb6-b12b6d98e71f">
I use the command "docker exec -it 8fa47e223cf5 /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="1540" alt="image"
src="https://github.com/apache/apisix/assets/22955377/32737f77-54b7-4cc7-8e36-406bb5666596">
### which step or configuration is wrong?
### Environment
- APISIX version (run `apisix version`):3.7.0
- Operating system (run `uname -a`):linux centos
- OpenResty / Nginx version (run `openresty -V` or `nginx -V`):
- etcd version, if relevant (run `curl
http://127.0.0.1:9090/v1/server_info`):
- APISIX Dashboard version, if relevant:
- Plugin runner version, for issues related to plugin runners: java plugin
0.4.0
- LuaRocks version, for installation issues (run `luarocks --version`):
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]