adairll opened a new issue, #10074:
URL: https://github.com/apache/apisix/issues/10074

   ### Description
   
   Hello, I have encountered some problems and hope to receive help
   
   Developed using github 【apisix-java-plugin-runner-main】and
   Reference Blog 
[https://apisix.apache.org/zh/blog/2021/06/21/use-java-to-write-apache-apisix-plugins/]
   
   apisix config.yaml
   `deployment:
     role: traditional
     role_traditional:
       config_provider: etcd
     admin:
       admin_key:
         - name: admin
           key: edd1c9f034335f136f87ad84b625c8f1  # using fixed API token has 
security risk, please update it when you deploy to production environment
           role: admin
   apisix:
     node_listen: 8000 # APISIX listening port
   
   ext-plugin:
     cmd: ['java', '-jar', 
'/usr/local/apisix/apisix/plugins/apisix-runner-bin/apisix-java-plugin-runner.jar']`
   
   error log
   `2023-08-22 21:04:59,224 ERROR main                             - 
Application run failed
    java.lang.IllegalStateException: Failed to execute CommandLineRunner
        at 
org.springframework.boot.SpringApplication.callRunner(SpringApplication.java:785)
        at 
org.springframework.boot.SpringApplication.callRunners(SpringApplication.java:766)
        at 
org.springframework.boot.SpringApplication.run(SpringApplication.java:314)
        at 
org.springframework.boot.builder.SpringApplicationBuilder.run(SpringApplicationBuilder.java:164)
        at 
org.apache.apisix.plugin.runner.PluginRunnerApplication.main(PluginRunnerApplication.java:38)
        at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at 
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:566)
        at 
org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:49)
        at org.springframework.boot.loader.Launcher.launch(Launcher.java:108)
        at org.springframework.boot.loader.Launcher.launch(Launcher.java:58)
        at 
org.springframework.boot.loader.PropertiesLauncher.main(PropertiesLauncher.java:467)
   Caused by: io.netty.channel.unix.Errors$NativeIoException: bind(..) failed: 
No such file or directory`
   
   ### Environment
   
   - APISIX version (run `apisix version`):
   - Operating system (run `uname -a`):
   - 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:
   - 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]

Reply via email to