jianqing1990 opened a new issue, #137:
URL: https://github.com/apache/apisix-java-plugin-runner/issues/137

   ### Issue description
   
   ### Environment
   
   * your apisix-java-plugin-runner version 0.2.0
   
   代码在本地运行调试没有问题,采用 jar包加 ext-plugin: path_for_test: /tmp/runner.sock 运行 没有问题
   
   但是采用ext-plugin:  cmd:['java', 
'-jar','-Xmx4g','-Xms4g','/home/apisix-runner-bin/apisix-java-plugin-runner.jar']
 部署报错
   Error starting ApplicationContext. To display the conditions report re-run 
your application with 'debug' enabled.
   , context: ngx.timer
   2022/04/06 17:35:35 [warn] 3196#3196: *44523 [lua] init.lua:798: 2022-04-06 
17:35:35.280 ERROR 4114 --- [           main] o.s.b.SpringApplication           
       : Application run failed
   
   java.lang.IllegalStateException: Failed to execute CommandLineRunner
           at 
org.springframework.boot.SpringApplication.callRunner(SpringApplication.java:822)
 [spring-boot-2.4.5.jar!/:2.4.5]
           at 
org.springframework.boot.SpringApplication.callRunners(SpringApplication.java:803)
 [spring-boot-2.4.5.jar!/:2.4.5]
           at 
org.springframework.boot.SpringApplication.run(SpringApplication.java:346) 
[spring-boot-2.4.5.jar!/:2.4.5]
           at 
org.springframework.boot.builder.SpringApplicationBuilder.run(SpringApplicationBuilder.java:144)
 [spring-boot-2.4.5.jar!/:2.4.5]
           at 
org.apache.apisix.plugin.runner.PluginRunnerApplication.main(PluginRunnerApplication.java:32)
 [classes!/:0.2.0]
           at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native 
Method) ~[?:?]
           at 
jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
 ~[?:?]
           at 
jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 ~[?:?]
           at java.lang.reflect.Method.invoke(Method.java:566) ~[?:?]
           at 
org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:49) 
[apisix-java-plugin-runner.jar:0.2.0]
           at 
org.springframework.boot.loader.Launcher.launch(Launcher.java:108) 
[apisix-java-plugin-runner.jar:0.2.0]
           at org.springframework.boot.loader.Launcher.launch(Launcher.java:58) 
[apisix-java-plugin-runner.jar:0.2.0]
           at 
org.springframework.boot.loader.PropertiesLauncher.main(PropertiesLauncher.java:467)
 [apisix-java-plugin-runner.jar:0.2.0]
   Caused by: io.netty.channel.unix.Errors$NativeIoException: bind(..) failed: 
No such file or directory
   
   能帮忙看下是什么问题么
   


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