wodingyang commented on issue #149:
URL: 
https://github.com/apache/apisix-java-plugin-runner/issues/149#issuecomment-1161028497

   step1: install apisix-2.14.1 for centos7
   step2: prepare the apisix-java-plugin-runner:0.2.0 package
   step3: modify confing.yaml: ext-plugin:cmd: ['java', '-jar', '-Xmx4g', 
'-Xms4g', 
'/usr/local/apisix/custom_plugin/apisix-runner-bin/apisix-java-plugin-runner.jar']
   step4: run apisix instance
   
   
   view error.log:
   2022/06/21 08:50:30 [error] 11265#18022: lua pipe child execvp() failed 
while executing java (2: No such file or directory)
   
   
   calling a custom java plugin, view error.log:
   2022/06/21 08:50:34 [crit] 11261#11261: *3522394 connect() to 
unix:/usr/local/apisix/conf/apisix-11258.sock failed (2: No such file or 
directory), client: 192.168.28.12, server: _, request: "POST /hello HTTP/1.1", 
host: "10.110.3.50:9080"
   2022/06/21 08:50:34 [error] 11261#11261: *3522394 [lua] init.lua:841: 
phase_func(): failed to connect to the unix socket 
unix:/usr/local/apisix/conf/apisix-11258.sock: no such file or directory, 
client: 192.168.28.12, server: _, request: "POST /hello HTTP/1.1", host: 
"10.110.3.50:9080"
   2022/06/21 08:50:34 [warn] 11261#11261: *3522394 [lua] plugin.lua:750: 
run_plugin(): ext-plugin-pre-req exits with http status code 503, client: 
192.168.28.12, server: _, request: "POST /hello HTTP/1.1", host: 
"10.110.3.50:9080"
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   在 2022-06-20 20:37:19,"tzssangglass" ***@***.***> 写道:
   
   发现apisix需要带有进程号的rock文件与runner通信
   
   this socket file was generated by APISIX, no need to created by manual.
   
   I need the complete reproduction of the steps.
   
   Also note, do not use docker to run these.
   
   —
   Reply to this email directly, view it on GitHub, or unsubscribe.
   You are receiving this because you authored the thread.Message ID: 
***@***.***>


-- 
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]

Reply via email to