zhlu001 commented on issue #216:
URL: 
https://github.com/apache/apisix-java-plugin-runner/issues/216#issuecomment-1331651858

   > 
   
   No, config is not set for  ext-plugin : path_to_test: /tmp/runner.sock (this 
mode is working).
   We set it as  ext-plugin:  cmd : ['jar','-jar','/path/to/runner.jar']
   
   when execute "apisix start " while there is no conf folder in some folder, 
this error will popup.
   i.e.  executed "apisx start" under /opt. apisix run time will find 
/opt/conf/apisix-{d}.sock.  but definitionally, there is no conf folder.
   when execute "apisix start " under other-folder. apisix runtime  will find 
other-folder/conf/apisix-{d}.sock. 
   
   you could repo this error but use above information.  that's why  we 
recommend that 
   
   1. no matter where "apisix start" executes, it automatically create sock 
file under static folder such as %APISIX_HOME%/conf
   2.  add a mandatory configuration section for "ext-plugin" to let user set 
which folder to create sock file.
       thx
   


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